Professional Documents
Culture Documents
NECES ECE 411 Finals Reviewer AY 2016 2017
NECES ECE 411 Finals Reviewer AY 2016 2017
2016-2017
The stability of a DT system is determined by the position of the poles. The poles are the roots of the denominator
of the system function.
A system is said to be stable if all its poles are inside the unit circle, i.e. . If at least pole of the transfer
function is on the unit circle, then the system is marginally stable. An unstable system has at least one pole outside
the unit circle.
Let
The Schur-Cohn stability test states that the polynomial has all its roots inside the unit circle if and only if the
reflection coefficients for all .
a.
b.
SOLUTION:
a.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 1
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
b.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 2
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
The magnitudes of and are greater than 1, therefore the system is unstable.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 3
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
where
where
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 4
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
a. System function
b. Range of that will make the system stable
SOLUTION:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 5
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
For the system to be stable, the magnitude of the reflection coefficients must be less than 1.
PROBLEM 2: Design a second-order digital oscillator with a peak amplitude of 1 and frequency of 2000 Hz. Use a
sampling rate of 20 kHz.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 6
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Assume a value of for undamped oscillations (meaning the oscillation has a constant amplitude).
Solving for ,
Solving for ,
PROBLEM 3: If , what value of must be preloaded to a second-order system such that the system
will have a response similar to that of PROBLEM 2 even without an impulse input?
SOLUTION: From the previous problem, the difference equation of the filter is known to be
We need to have a filter where the output is the same as the response of the previous problem even there is no
input. In other words, the impulse response of the previous problem will be equated to the zero-input response.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 7
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 8
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
DISCRETE-TIME FOURIER SERIES (DTFS) – For any given periodic sequence, for all , the Fourier
series of consists of harmonically-related exponential functions is expressed as
If is a real-valued function,
The spectrum of a periodic signal , with period , is a periodic sequence with period , i.e.
DISCRETE-TIME FOURIER TRANSFORM (DTFT) – For any given aperiodic sequence with finite energy, the
Fourier transform of is
Note: The DTFT is the -transform of the sequence evaluated on the unit circle , that is, replacing the
variable of the -transform of the signal or system with will result to the DTFT of the signal or system.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 9
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
WIENER-KHINTCHINE THEOREM – The Fourier transform of the autocorrelation sequence is the energy density
spectrum of a discrete-time signal.
a.
b.
SOLUTION:
For :
For :
For :
For :
Alternatively,
For ,
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 11
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Alternatively,
b. For :
For :
For :
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 12
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
For :
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 13
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
2.5
2
x(n)
1.5
0.5
0
-5 0 5 10
n
SOLUTION:
a. For :
For :
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 14
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
For :
For :
Alternative solution:
For :
Alternative solution:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 15
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 16
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
But ,
el ewhere
is
el ewhere
Substituting
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 17
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
By definition,
So becomes,
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 18
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Recall that given a complex number , its magnitude and argument can be computed as
Note:
1.
2.
rg rg
rg rg
Given a system with DTFT where and are the magnitude response and phase
response of the DT system.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 19
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
The impulse response introduces amplitude scaling (gain or attenuation) by a factor of and a phase
shift of to the input signal .
Effects of Poles and Zeros of the Frequency Response of DT Systems on Input Signals:
1. The presence of a zero close to the unit circle causes the magnitude of the frequency response to be small at
frequencies close to the zero.
2. The presence of a pole close to the unit circle causes the magnitude of the frequency response to be large at
frequencies close to the pole.
3. Placing a zero (or pole) close to the pole (or zero) cancels the effect of the pole (or zero).
Lowpass
Filter
Bandpass
Filter
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 20
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Highpass
Filter
Bandstop
Filter
All-pass
Filter
The group delay is the time delay that a signal component of frequency undergoes as it passes from the
input to the output of the system.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 21
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
An ideal filter should have a linear phase response. For a linear phase response, is constant.
MINIMUM PHASE SYSTEMS – Minimum phase systems have all its zeros located inside the unit circle.
MAXIMUM PHASE SYSTEMS – Maximum phase systems have all its zeros located outside the unit circle.
rg rg
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 22
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
rg rg rg
A minimum phase system exhibits smallest group delay among all pole-zero systems having the same magnitude
response.
A system is minimum phase if the system and its inverse system is causal and stable.
Minimum phase systems have the largest partial energy among all pole-zero systems having the same magnitude
response and the same total energy.
PROBLEM 1: Determine the magnitude and phase of the frequency response described by the difference equation
whose maximum magnitude response is unity at .
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 23
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
rg
rg
rg rg
rg r t
r t
r t
PROBLEM 2: Determine the steady-state output of the system described by PROBLEM 1 to the input signal
SOLUTION: The gain and phase shift introduced by the system is dependent on the frequencies of the input signal.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 24
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
r t
r t
r t
r t
r t
r t
f r
f r
PROBLEM 3: Determine the steady-state response of the system with impulse response to the
input
a.
b.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 25
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
with
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 26
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
PROBLEM 4: Determine the magnitude and phase frequency response of the system described by the second-
degree difference equation shown below
Recall that
Thus,
rg
rg rg rg
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 27
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Recall that
rg r t
Simplifying ,
r t r t r t
a. Determine the magnitude and phase of the frequency response of the system function for .
b. Determine the cutoff frequency of the filter for .
c. Determine the reflection coefficients.
SOLUTION:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 28
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
rg rg
rg rg rg
rg r t r t
r t r t
r t r t
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 29
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Recall that
Simplifying ,
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 30
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
rg rg
rg rg rg
Recall that
rg r t
Simplifying ,
r t r t r t
DISCRETE-FOURIER TRANSFORM
Let
Thus, the DFT and IDFT can be expressed in the linearized form.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 31
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
And
PROBLEM: Determine the 4-point DFT of the finite sequence . Check your answer by computing
the IDFT of the resulting DFT values.
SOLUTION: For this problem, the length of DFT is , and at the same time, the length of the sequence is .
The range of values of is from to . Also, the range of values of is from to
.
Solving for
e p e p
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 32
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
To check whether the DFT is correct, we solve for from using IDFT.
e p e p
PRACTICE PROBLEMS:
1. Given
2. Design a causal discrete-time linear time-invariant system with the property that if the input is
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 33
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
a. Determine the system function of a system that satisfies the foregoing conditions.
b. Determine if the system is stable.
c. Determine what type of filter the given system is using the pole-zero plot and using the system
response due to the given input .
APPROXIMATION OF DERIVATIVES
PROBLEM: Convert the analog bandpass filter with system function given below to its equivalent digital bandpass
filter.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 34
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
where and refer to the poles in the - and -plane respectively, and is the sampling interval.
using and .
SOLUTION:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 35
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
Using , the corresponding poles of the analog filter to digital filter are
Using , the corresponding poles of the analog filter to digital filter are
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 36
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
BILINEAR TRANSFORMATION
PROBLEM: Convert the analog lowpass filter with system function given below to a digital bandpass filter
SOLUTION: Using ,
Using ,
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 37
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
PROBLEM: Transform the single-pole LPF with system function given below to a BPF with upper and lower cutoff
frequencies and respectively
SOLUTION:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 38
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
The frequency response of the lowpass filter is given below. We can see that the amplitude is close to at the
frequency rad/s.
0.9
0.8
0.7
0.6
amplitude
0.5
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6 7 8 9 10
(angular frequency in rad/s) 4
x 10
The frequency response of the bandpass filter is given below. Observe that the amplitude is around at
frequencies rad/s and rad/s.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 39
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
0.9
0.8
0.7
0.6
amplitude
0.5
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6 7 8 9 10
(angular frequency in rad/s) 4
x 10
FREQUENCY TRANSFORMATION IN DIGITAL DOMAIN
Parameter: Parameter:
Parameters: Parameters:
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 40
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
PROBLEM: Convert the digital single-pole LPF with system function given below to a digital BPF with lower and
upper cutoff frequencies and respectively.
From the figure below, we can verify that the cutoff frequency of the prototype digital LPF is close to rad/s
or approximately rad/s.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 41
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
angular frequency (in pi radians)
Solving for the filter parameters,
t t t t
To transform the prototype digital LPF to a digital BPF, replace all of the prototype transfer function to
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 42
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
The frequency response of the resulting bandpass filter is shown below. We can see that the cut-off frequencies are
very close to and .
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
angular frequency (in pi radians)
PRACTICE PROBLEMS
4. Convert the analog bandpass filter with system function given below to a digital bandpass filter using (a)
approximation of derivatives, (b) impulse invariance, (c) bilinear transformation at Hz.
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 43
[ECE 411 – SIGNAL, SPECTRA, AND SIGNAL PROCESSING] A.Y. 2016-2017
NECES Academics Committee 2016-2017 | ECE 411 – Signals, Spectra, and Signal Processing 44