Biomedical Signal processing Chapter 2 Discrete-Time Signals and Systems - PowerPoint PPT Presentation

1 / 159
About This Presentation
Title:

Biomedical Signal processing Chapter 2 Discrete-Time Signals and Systems

Description:

Chapter 2 Discrete-Time Signals and Systems Zhongguo Liu Biomedical Engineering School of Control Science and Engineering, Shandong University * * Zhongguo Liu ... – PowerPoint PPT presentation

Number of Views:560
Avg rating:3.0/5.0
Slides: 160
Provided by: 6649303
Category:

less

Transcript and Presenter's Notes

Title: Biomedical Signal processing Chapter 2 Discrete-Time Signals and Systems


1
Biomedical 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.
2
Chapter 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
3
Chapter 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
4
2.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
5
2.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
6
Figure 2.1 Graphical representation of a
discrete-time signal
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
6
12/27/2013
7
Sampling the analog waveform
EXAMPLE
Figure 2.2
8
Basic 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
9
Basic sequences
  • Unit sample sequence (discrete-time impulse,
    impulse)

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
9
12/27/2013
10
Basic sequences
A sum of scaled, delayed impulses
  • arbitrary sequence

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
10
12/27/2013
11
Basic sequences
  • Unit step sequence

First backward difference
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
11
12/27/2013
12
Basic Sequences
  • Exponential 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
13
EX. 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
14
Basic sequences
  • Sinusoidal sequence

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
14
12/27/2013
15
Exponential 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
16
Frequency 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
17
Periodic Sequences
  • A periodic sequence with integer period N

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
17
12/27/2013
18
EX. 2.2 Examples of Periodic Sequences
  • Suppose it is periodic sequence with period N

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
18
12/27/2013
19
EX. 2.2 Examples of Periodic Sequences
  • Suppose it is periodic sequence with period N

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
19
12/27/2013
20
EX. 2.2 Non-Periodic Sequences
  • Suppose it is periodic sequence with period N

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
20
12/27/2013
21
High 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
22
2.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
23
EX. 2.3 The Ideal Delay System
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
23
12/27/2013
24
EX. 2.4 Moving Average
for n7, M10, M25
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
24
12/27/2013
25
Properties 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
26
Properties of Discrete-time systems2.2.2
Linear Systems
  • If
  • and only If

additivity property
homogeneity or scaling ?(?)?? property
  • principle of superposition

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
26
12/27/2013
27
Example of Linear System
  • Ex. 2.6 Accumulator system

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
27
12/27/2013
28
Example 2.7 Nonlinear Systems
  • Method find one counterexample

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
28
12/27/2013
29
Properties of Discrete-time systems2.2.3
Time-Invariant Systems
  • Shift-Invariant Systems

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
29
12/27/2013
30
Example of Time-Invariant System
  • Ex. 2.8 Accumulator system

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
30
12/27/2013
31
Example of Time-varying System
  • Ex. 2.9 The compressor system

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
31
12/27/2013
32
Properties 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
33
Ex. 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
34
Properties 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
35
Ex. 2.11 Test for Stability or Instability
is stable
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
35
12/27/2013
36
Ex. 2.11 Test for Stability or Instability
  • Accumulator system
  • Accumulator system is not stable

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
36
12/27/2013
37
2.3 Linear Time-Invariant (LTI) Systems
  • Impulse response

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
37
12/27/2013
38
LTI 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
39
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
39
12/27/2013
40
Computation 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
41
Ex. 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.

43
Ex. 2.13 Analytical Evaluation of the Convolution
For system with impulse response
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
43
12/27/2013
44
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
44
12/27/2013
45
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
45
12/27/2013
46
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
46
12/27/2013
47
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
47
12/27/2013
48
2.4 Properties of LTI Systems
  • Convolution is commutative(????)
  • Convolution is distributed over addition

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
48
12/27/2013
49
Cascade connection of systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
49
12/27/2013
50
Parallel connection of systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
50
12/27/2013
51
Stability 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.
52
Impulse response of LTI systems
  • Impulse response of Ideal Delay systems
  • Impulse response of Accumulator

Zhongguo Liu_Biomedical Engineering_Shandong Univ.
52
12/27/2013
53
Impulse 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

55
Finite-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.

56
Infinite-duration impulse response (IIR)
  • The impulse response of the system is infinite in
    duration.

Stable IIR System
57
Equivalent systems
58
Inverse system
59
2.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.

60
Ex. 2.14 Difference Equation Representation of
the Accumulator
61
Block diagram of a recursive difference equation
representing an accumulator
62
Ex. 2.15 Difference Equation Representation of
the Moving-Average System with
representation 1
63
(No Transcript)
64
Difference 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.

65
Solving 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.

66
Solving the difference equation
  • Output

67
Solving the difference equation recursively
  • If the input and a set of auxiliary value

are specified.
y(n) can be written in a recurrence formula
68
Example 2.16 Recursive Computation of Difference
Equation
69
Example 2.16 Recursive Computation of Difference
Equation
70
Example for Recursive Computation of Difference
Equation
  • The system is noncausal.
  • The system is not linear.
  • The system is not time invariant.

71
Difference 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(??????).

72
Summary
  • 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.

73
Summary
  • 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,

74
Summary
  • and prior values can be obtained by rearranging
    the difference equation as a recursive relation
    running backward in n.

75
Summary
  • 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.

76
Example 2.16 with initial-rest conditions
77
Discussion
  • If the input is , with
    initial-rest conditions,

78
2.6 Frequency-Domain Representation of
Discrete-Time Signals and systems
  • 2.6.1 Eigenfunction and Eigenvalue for LTI

79
Eigenfunction and Eigenvalue
  • Complex exponentials is the eigenfunction for
    discrete-time systems. For LTI systems

80
Frequency response
  • is called as frequency response of
    the system.
  • Real part, imagine part
  • Magnitude, phase

81
Example 2.17 Frequency response of the ideal Delay
From defination(2.109)
82
Example 2.17 Frequency response of the ideal
Delay
83
Linear combination of complex exponential
84
Example 2.18 Sinusoidal response of LTI systems
85
Sinusoidal response of the ideal Delay
86
Periodic Frequency Response
  • The frequency response of discrete-time LTI
    systems is always a periodic function of the
    frequency variable with period

87
Periodic Frequency Response
  • The low frequencies are frequencies close to
    zero
  • The high frequencies are frequencies close to

88
Example 2.19 Ideal Frequency-Selective Filters
Frequency Response of Ideal Low-pass Filter
89
Frequency Response of Ideal High-pass Filter
90
Frequency Response of Ideal Band-stop Filter
91
Frequency Response of Ideal Band-pass Filter
92
Example 2.20 Frequency Response of the
Moving-Average System
93
(No Transcript)
94
Frequency Response of the Moving-Average System
M1 0 and M2 4
95
2.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

96
2.6.2 Suddenly applied Complex Exponential Inputs
For causal LTI system
  • For n0

97
2.6.2 Suddenly applied Complex Exponential Inputs
  • Steady-state Response
  • Transient response

98
2.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
99
2.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
100
2.7 Representation of Sequences by Fourier
Transforms
  • (Discrete-Time) Fourier Transform, DTFT,
  • analyzing
  • Inverse Fourier Transform, synthesis

101
Fourier Transform
rectangular form
polar form
102
Principal Value(??)
103
Impulse response and Frequency response
  • The frequency response of a LTI system is the
    Fourier transform of the impulse response.

104
Example 2.21 Absolute Summability
  • The Fourier transform

105
Discussion 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.,

106
Discussion of convergence
  • Is called Mean-square Cconvergence

107
Discussion of convergence
  • Mean-square convergence

108
Example 2.22 Square-summability for the ideal
Lowpass Filter
109
Example 2.22 Square-summability for the ideal
Lowpass Filter
110
Gibbs Phenomenon
M3
M1
M19
M7
111
Example 2.22 continued
  • As M increases, oscillatory behavior at
  • is more rapid, but the size of the
    ripple does not decrease. (Gibbs Phenomenon)

112
Example 2.22 continued
113
Example 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.

114
Example 2.23 Fourier Transform of a constant
proof
115
Example 2.24 Fourier Transform of Complex
Exponential Sequences

116
Example Fourier Transform of Complex Exponential
Sequences
117
Example Fourier Transform of unit step sequence
118
2.8 Symmetry Properties of the Fourier Transform
  • Conjugate-symmetric sequence
  • Conjugate-antisymmetric sequence

119
Symmetry Properties of real sequence
  • even sequence a real sequence that is
    Conjugate-symmetric
  • odd sequence real, Conjugate-antisymmetric

real sequence
120
Decomposition of a Fourier transform
Conjugate-symmetric
Conjugate-antisymmetric
121
xn is complex
122
xn is real
123
Ex. 2.25 illustration of Symmetry Properties
124
Ex. 2.25 illustration of Symmetry Properties
  • Real part
  • Imaginary part
  • a0.75(solid curve) and a0.5(dashed curve)

125
Ex. 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)

126
2.9 Fourier Transform Theorems
  • 2.9.1 Linearity

127
Fourier Transform Theorems
  • 2.9.2 Time shifting and frequency shifting

128
Fourier Transform Theorems
  • 2.9.3 Time reversal

129
Fourier Transform Theorems
  • 2.9.4 Differentiation in Frequency

130
Fourier Transform Theorems
  • 2.9.5 Parsevals Theorem

131
Fourier Transform Theorems
  • 2.9.6 Convolution Theorem

if
HW proof
132
Fourier Transform Theorems
  • 2.9.7 Modulation or Windowing Theorem

HW proof
133
Fourier transform pairs
134
Fourier transform pairs
135
Fourier transform pairs
136
Ex. 2.26 Determine the Fourier Transform of
sequence
137
Ex. 2.27 Determine an inverse Fourier Transform of
138
Ex. 2.28 Determine the impulse response from the
frequency respone
139
Ex. 2.29 Determine the impulse response for a
difference equation
  • Impulse response

140
Ex. 2.29 Determine the impulse response for a
difference equation
141
2.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.

142
2.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.

143
2.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.

144
Fourier 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.

145
Stochastic signal as input
146
Stochastic 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

147
Stochastic signal as input
  • The autocorrelation function of output

148
Stochastic signal as input
the power spectrum
DTFT of the autocorrelation function of output
149
Total average power in output
  • provides the motivation for the term power
    density spectrum.
  • ????

150
For 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.

151
Ex. 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

152
Color 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.

153
Color Noise
  • Suppose ,

154
Cross-correlation between the input and output
155
Cross-correlation between the input and output
  • If ,
  • 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.

156
Cross power spectrum between the input and output
  • The cross power spectrum is proportional to the
    frequency response of the system.

157
2.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.

158
2.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.

159
Chapter 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
???
???
? ?
Write a Comment
User Comments (0)
About PowerShow.com