EEL3552C Lab Manual Signal Analysis
EEL3552C Lab Manual Signal Analysis
I have read and understand these rules and procedures. I agree to abide by these rules and pro-
cedures at all times while using these facilities. I understand that failure to follow these rules and
procedures will result in my immediate dismissal from the laboratory and additional disciplinary
action may be taken.
———————————————
Page 3
EEL 3552C Lab Manual
Page 4
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
1.1 Objective:
Analyze the spectral content of a simple signal.
1.2 Equipment:
The equipment used in this experiment are:
1.3 Implementation:
A waveform representing amplitude, as a function of time, is called a time domain display. It is also possible
for a waveform to represent amplitude as a function of frequency. This is called a frequency domain display.
A Spectrum Analyzer is an instrument, which can display the frequency domain of a signal. However, the
RTM3004 Oscilloscope has the capability of producing both time domain and frequency domain displays.
A sine wave is the simplest signal for spectral analysis. The amplitude of the sine wave can be determined
on the vertical scale and the frequency can be determined on the horizontal scale.
The units of amplitude used in this experiment will be dBV, which is dB relative to 1 VRMS (0 dBV = 1VRMS),
according to the formula:
Vsignal
dBV = 20log( ) (1.1)
Vref
where Vsignal is the RMS voltage of the signal and Vref = 1 volt RMS.
Another common unit of amplitude used for spectrum analysis is dBm, which is dB relative to 1 milliwatt,
according to the formula:
Psignal
dBm = 10log( ) (1.2)
Pref
where Psignal is the power of the signal in milliwatts and Pref = 1 mW.
Page 5
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
1.5 Procedure:
1.5.1 Time Domain
a. Set the Function Generator for a sine wave output with a frequency of 4 KHz. Set the amplitude to 2 volt
peak-to-peak with zero DC offset.
Oscilloscope Reset:
b. Connect the Channel 1 output of the Function Generator to Channel 1 input of the Oscilloscope using a
BNC to BNC cable. Turn on the Channel 1 output of the Function Generator.
Switch the oscilloscope to MAX. SA. RATE mode. You can achieve that by clicking on the second upper
label near C1 and change the GSa/s Acquire Mode to High Resolution after a menu appears on the
right of the screen.
This sets the vertical, horizontal, and trigger for a stable display of the waveform.
f. Press Channel 1 button to display the menu on the right side of the screen and select an Input Impedance
of 50 Ohms under the Termination label.
For this experiment, the output of the Function Generator must be terminated into a 50 Ohm load.
Page 6
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
Fig. 1.1
1
Each cycle of the sine wave is 4000 s = 0.00025s = 0.25ms = 250µs. Then 10 cycles will correspond to
10 × 250µs = 2500µs
But the total number of horizontal divisions is 12. Then, for 10 cycles to appear we need the time duration
per division (i.e., Timebase) to be 2500/12 = 208.33µs/div. But the available durations per division are
specified. So pick the value appearing in the scroll menu just above the calculated valued, that is 500µs. Or
click on the menu button and adjust the value to the calculated one 208.33µs/div.
b. Press on the FFT icon touch button on the right top pane.
The screen is split into two panes; see Fig. 1.1. The upper pane (2) displays the previously defined voltage-
time trace for the measured signal and the settings for the horizontal system. That is, the waveform in the
time domain. The zoom and position information is displayed in between the two panes (3). Only the signal
segment that is displayed on the monitor and bound by the two vertical white lines is used for the FFT.
The lower pane (4) shows the result of the FFT analysis, that is, it will display the spectrum of the signal.
Page 7
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
The FFT displays the frequency domain by expressing the input signal as a combination of simple sig-
nals and produces a waveform to display the amplitude verses frequency of the component frequencies
of the input signal.
c. Now, either
i) Double press the FFT button under the Analysis grouping and a menu will appear on the right of the
screen (Fig. 1.2),
ii) or by clicking on the FFT label on the bottom pane, a menu will appear (Fig. 1.3), then Press on Menu.
The right menu will appear (Fig. 1.2).
On this right pane menu (Fig. 1.2), these should be selected, if not already set:
d. First, adjust the time duration per division (timebase) on the top pane from 833.33µs/div to 200ms/div
and then select a maximum signal segment for the FFT.
Page 8
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
Fig. 1.4
Span (4 in Fig. 1.4) shows the size of the currently displayed frequency range. The span, time-
base and selected segment are directly linked to one another. As the selection for the timebase
and the range in the time domain displayed between the two vertical lines increases, so too
decreases the frequency band that can be set. Center defines the frequency at the center of
the segment displayed on the monitor. The minimum step size ∆f can be set indirectly via the
number of points.
e. Set now the value of the RBW (5 in Fig. 1.4) to the maximum (i.e. by clicking on RBW on the bar between
the two screen and adjusting the value to the maximum allowed).
f. On the bar between the two panes that display time and frequency domains respectively, set Start (1 in
Fig. 1.4) value to 0, you can achieve that by clicking on the Start label where calculator form menu appears
and you can set the value. This will be the value of the minimum frequency displayed.
g. Similarly, adjust the Stop (2 in Fig. 1.4) value to a value above 4KHz, let’s say 8KHz. N.B. Usually
you need this value of 8KHz to fall between the minimum value and maximum value allowed for the Stop
value. Therefore, you need to readjust the time duration per division (timebase) so that is satisfied. Adjust
the center frequency to 4KHz you can set this value through clicking on Center in the middle bar. See the
blue frame comments.
Using the Cursors:
First, for a better view of the frequency domain screen. Move the double arrow bar of the lower screen
upwards so that the frequency domain is the only display on the oscilloscope. There are a variety of ways
to measure the amplitude. One method is to use the Cursors.
a. Press the Cursors button twice on the front panel to activate the cursors. At the first click a bar will appear
showing the values at the used cursors. After the second click a right menu will appear. On the Type, set to
Vertical & Horizontal, so that both types of cursors appear on the screen. Set the Source to FFT: Spectrum,
so that the frequency domain cursors appear.
Cursors 1 and 2 are the horizontal cursors.
Cursors 3 and 4 are the vertical cursors.
Click on number 1 on the cursor line and move it to the desired point on the spectrum. Its peak value in
our case. The amplitude measured by the Cursor 1 is now displayed on the bar near label L1 and the
corresponding frequency value near label f1.
b. Does the amplitude agree with the value that you calculated in the Preparation?
Page 9
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
c. Save the Screen Image to your USB Flash Drive to include in your lab report by clicking on the camera
icon in the Action section of the oscilloscope buttons.
d. Change the frequency of the Function Generator to 2 KHz.
Does the spectrum display accurately represent the input signal?
Does it appear on the frequency domain display?
Can you adjust any of the labels in the middle bar so that the peak value appears?
Are you able to adjust accurately the setup so that the center frequency is at 2KHz.
e. Change the frequency of the Function Generator to 1 KHz.
Does the frequency domain waveform confirm that the signal is 1 KHz?
Are you able to answer the questions for part d.
Taking a Measurement:
a. Decrease the amplitude of the Function Generator output to −10 dBV as measured in the frequency
domain display. Now, switch to the time domain display. Press on the measure button. A menu will appear
on the right of the screen. Set the Measure Place to 1. Turn the Measure 1 bar to on. Choose the Type to
the type of measurement (peak to peak). Read the peak-to-peak voltage measurement that will appear on
the bottom left of the screen above the channels bar. Does this measurement agree with the value that you
calculated in the Preparation?
Using the Zoom Feature:
a. Turn the time domain on again by pressing the CH1 button. Turn the Zoom on by pressing the Zoom
button. Press on the part of the signal you want to zoom in. By using the two fingers motion that you use on
the i-pad for zooming, double-tap with two fingers to zoom in and back out so that you can adjust the signal
part you want to inspect to the right resolution.
1.6 Report:
In your report, describe what you have learned in this experiment. Compare your experimental measure-
ments with the theoretical calculations. Remember to insert the picture that you saved as part of your report.
Write all conclusions. Follow the instructions listed in the Appendix regarding outline and required
analysis.
Page 10
EEL 3552C Lab Manual 1. EXPERIMENT: SPECTRUM ANALYSIS
Page 11
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
2 EXPERIMENT: MATLAB
2.1 Objective:
The purpose of this experiment is to be able to implement a signal analysis problem through simulation by
either using MATLAB.
2.2 Equipment:
The equipment used in this experiment are:
2.3 Simulation
MATLAB
MATLAB is a programming languange for technical computing. MATLAB is case sensitive. A variable in
MATLAB is an array. An array has dimensions m × n, m is the number of rows and n is the number of
columns. If m = n = 1, the variable is a scalar. If m = 1 and n > 1, the variable is a row vector. If n = 1 and
m > 1, the variable is a column vector. If both m and n are greater than one, the variable is a matrix, and if
m = n, then the variable is a square matrix. The coefficients of an array can be real or complex numbers.
Please refer to Slide 2.1 for some examples on data types and data accessing.
Slide 2.1
A previously typed command can be recalled with the up-arrow key. When the command is displayed at the
command prompt, it can be modified if needed and executed.
Page 12
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.2
See Slides 2.2 and 2.3 for defining some special matrices (all-zero, all-one, and identity matrices) and some
basic commands. See Slide 2.4 for some helpful commands.
For predefined functions and constants see Table 2.1 and Table 2.2.
For plotting functions see Slide 2.5.
Compact representation of a vector: for example instead of A = [1 3 5 9 11 13] we can say A = 1 : 2 : 13.
π
Another examples is B = 0 : pi/100 : 2 ∗ pi is a vestor that starts at 0 takes steps or increments of 100
stops when 2π is reached. If you omit the increment MATLAB automatically increments by 1.
For element-wise operations on array see Slide 2.6. and Slide 2.7 for some examples.
U. ∗ V = [u1 v1 , u2 v2 , ..., un vn ]
U./V = [u1 /v1 , u2 /v2 , ..., un /vn ]
U.∧V = [uv11 , uv22 , ..., uvnn ]
For inequalities and equations see Slide 2.8. And for logical operators see Slide 2.9.
For plotting use Slide 2.10, 2.11 and Fig. 2.1.
For multiple plots check Slide 2.12.
Page 13
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.3
Slide 2.4
Page 14
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.5
Page 15
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.6
Slide 2.7
Slide 2.8
Page 16
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.9
Slide 2.11
Page 17
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.12
Page 18
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.13
For plotting discrete time signals use stem (see Fig. 2.2)
For using complex numbers check Slide 2.13.
For using loops and conditional statements check Slide 2.14 and example in Slide 2.15.
In MATLAB you can save programs in a file and execute them from the command line. The file is called an
m-file, and can be assigned a name. You can execute the programs in the file by entering the name of the
file on the command line. You can save all our scripts on an m-file. It is a good idea to always start an m-file
with clear all. You can write a function and call it inside your m-file
function [outputs] = function_name(inputs)
Save the example in Slide 2.16 as myfactorial.m
Page 19
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
Slide 2.14
Slide 2.15
Slide 2.16
Page 20
EEL 3552C Lab Manual 2. EXPERIMENT: MATLAB
x1 (t) = t2 − 2t + 3 − 10 ≤ t ≤ 10
π
x2 (t) = 4cost(2πt − ) + 3sin2πt − 2 ≤ t ≤ 2
8
sin(t)
x3 (t) = sinc(t) =
t
x4 (t) = e−at
Problem 2
a. For the functions in Problem 1, plot their discrete versions using stem where n varies on the integers.
x1 (n) = n2 − 2n + 3 − 10 ≤ n ≤ 10
π
x2 (n) = 4cost(2πn − ) + 3sin2πtn − 2 ≤ n ≤ 2
8
sin(n)
x3 (n) = sinc(n) = −5≤n≤5
n
x4 (n) = e−an 0 ≤ n ≤ 10 f or a = 0.1, 1, 3
For each of the above functions compare the graphs of Problem 1 and their corresponding samples in
Problem 2 by plotting both on the same plot.
Problem 3
For functions x1 (t), x2 (t), x3 (t), write a program that plots a graph of a function y(t) for −4 < t < 4 such that
x1 (t)
− 4 < t < −2
y(t) = x2 (t) −2<t<2
x3 (t) 2<t<4
a. Write the above program using a for loop and conditional statements.
b. Write the above program using vector evaluations. i.e., plot(t1 , x1 , t2 , x2 , t3 , x3 )
Page 21
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
3.1 Objective:
To understand the relationships between time waveforms and frequency spectra.
3.2 Equipment:
The equipment used in this experiment are:
3.3 Theory:
3.3.1 Motivation
Consider for a moment the special class of systems that are called linear time-invariant systems. When a
signal is applied to this system, the output can be expressed in terms of linear differential equations with
constant coefficients. An example of such a system is shown in Figure 3.1. The differential equation that
describes the input/output relationship in such a system is given below
d R R
vo + vo = v i (3.1)
dt L L
For a finite input vi (t) we expect to solve this differential equation to find the corresponding output vo (t).
The difficulty involved in this task is that the input has to be a very simple signal. One way to deal with this
complication is to express the input as a linear combination of simpler inputs. The choice of simpler inputs
will affect the difficulty that we may encounter in solving the problem.
There is an intriguing possibility regarding the simpler input signals. Let us, for a moment, assume that we
choose as an input a function that repeats itself under the operation of differentiation. We can show that
such a function at the input will yield the same function as an output multiplied by some algebraic polynomial
involving the parameters of the function and the parameters of the differential equation.
Page 22
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
A function that demonstrates this behavior, that is to repeat itself under the operation of differentiation, is the
function est , where s = σ + jω is a complex number. Since some of the signals that we are interested in are
energy-type signals that may exist for positive or negative time it is wise to choose σ = 0. This discussion
indicates that if the input signal vi (t) in equation (3.1) is of the form ejωt , then we can readily find the output
vo (t) of the system. Furthermore, if we can express the input signal vi (t) as a linear combination of complex
exponential signals (of the form ejωt ), we can still find, without difficulty, the output vo (t) of the system (the
reason being that the system in (3.1) is linear, and as a result if the input vi (t) is a linear combination of
complex exponentials, then the output vo (t) can be expressed as a linear combination of the outputs of the
complex exponentials involved in the input). One version of the Fourier series expresses an arbitrary signal
(like vi (t)) as a linear combination of complex exponentials. This is the first reason that the Fourier series
representation of a signal is so useful.
A close relative of a complex exponential ejωt are the signals cosωt and sinωt (remember Euler’s identity:
ejωt = cosωt + jsinωt). Consider now the following set of familiar signals.
f1 (t) = asinω0 t
f2 (t) = asin2ω0 t
f3 (t) = asin3ω0 t
. .
(3.2)
. .
. .
fn (t) = asinnω0 t
In Figure 3.2 we show a plot of f1 (t) and f2 (t). More generally, we can say that as n increases, the rate
of variation of fn (t) increases as well. One way to quantify the above qualitative statements is to take the
derivative of fn (t) with respect to time. In particular,
d
f (t) = anω0 t (3.3)
dt
From the above equation we observe that as n increases the maximum rate of variation of fn (t) with respect
t time increases. We can represent each one of the fn (t) functions in a little bit different way than the one
used in Fig. 3.2. That is, we can represent these functions by plotting the maximum amplitude of fn (t) (i.e.,
a) versus the angular frequency of the sinusoid (i.e., nω0 ). The product of these two values gives you the
maximum rate of variation for the signal under consideration. In Fig. 3.3 we are representing the functions
f1 (t),f2 (t), and f3 (t) following the aforementioned convention. Obviously, larger values for the location of
the plotted amplitudes imply faster varying time signals; also the larger the amplitudes plotted at a particular
location the faster the corresponding signals vary with respect to time.
Now consider a simple example of an amplitude-modulated signal.
In Fig. 3.4 we plot the aforementioned signal f (t). As we can see from the figure, the amplitude varies
slowly between 0 and 2A. Its rate of variation is given by ωm , the modulating frequency; ω0 is referred to
as the carrier frequency. The amplitude variations form the envelope of the complete signal, and represent
any information being transmitted. Note that
A
A(1 + cosωm t)cosω0 t = Acosω0 t + [cos(ω0 − ωm )t = cos(ω0 − ωm )t] (3.5)
2
Page 23
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Page 24
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
The representation of the aforementioned signal, using the new conventions, is illustrated in Fig. 3.5. As we
observe from Fig. 3.5, larger carrier frequency corresponds to a faster varying signal; also larger modulating
frequency results in a faster varying signal.
The previously discussed signals vary in some sinusoidal fashion. They do not carry any information but we
have used them to focus on an alternative representation of the signal, that conveys to us the information of
how fast the signal changes with respect to time. Another variation of the Fourier series representation of a
signal represents the signal as a linear combination of sines and cosines of appropriate frequencies. As a
result, the Fourier series representation of the signal, which is an extension of the alternative representation
of the simple signals that we discussed above, gives us an idea of how fast the signal changes with respect
to time. This is the second reason that the Fourier series representation of a signal is so useful.
where ω0 = 2π
T . The aforementioned signals (see equations (3.6)) are orthonormal. They also constitute
a complete set of functions. These two properties allow us to state that an arbitrary signal in S can be
expressed as a linear combination of the signals in equations (3.6), such that
∞
X ∞
X
f (t) = C10 φ10 + C1n φ1n + C2n φ2n (3.7)
n=1 n=1
and the coefficients in the linear expansion above can be computed through the following equations:
Z T
1
C10 = √ f (t)dt (3.8a)
T 0
Z T
2
C1n = √ f (t)cosnω0 tdt n = 1, 2, ... (3.8b)
T 0
Page 25
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Z T
2
C2n = √ f (t)sinnω0 tdt n = 1, 2, ... (3.8c)
T 0
The above expansion, due to Fourier, is referred to as the Trigonometric Fourier Series expansion of a
signal f (t). A more common form for the trigonometric Fourier series expansion of a signal is given below.
∞
X ∞
X
f (t) = a0 + an cosnω0 t + bn sinnω0 t (3.9)
n=1 n=1
where Z T
1
a0 = f (t)dt (3.10a)
T 0
Z T
2
an = f (t)cosnω0 tdt n = 1, 2, ... (3.10b)
T 0
Z T
2
bn = f (t)sinnω0 tdt n = 1, 2, ... (3.10c)
T 0
The above equation puts f (t) in the desired form. In other words, we have now expressed f (t) as a linear
combination of sinusoids, and as a result we can represent this signal f (t) by plotting the amplitude of each
one of its sinusoids at the corresponding angular frequency location. This will give rise to the amplitude -
frequency plot of f (t). Observe though that in equation (3.11) each sinusoid involved in the expansion of
f (t) has a phase associated with it. Hence, in order to completely describe the signal f (t) we need to draw
another plot that provides the information of the phase associated with each sinusoid. This plot is denoted
as the phase - frequency plot and it corresponds to a plot of θn at the location ωn .
It is worth mentioning that the aforementioned expansion of f (t) in terms of sinusoidal signals of frequencies
that are integer multiples of the frequency ω0 is often referred to as the expansion of f (t) in terms of its
harmonic components. The frequency ω0 is called the fundamental frequency, or first harmonic, while
multiples of the first harmonic frequency are referred to as the second harmonic, third harmonic, and so
on. The corresponding signals in the expansion are named first harmonic component, second harmonic
component, third harmonic component, and so on. The component a0 in the above expansion is called the
DC component of the signal f (t).
p
Since we shall frequently be interested in the amplitudes, a2n + b2n ’s, and phases, θn ’s, of our signal f (t) it
would be simpler to obtain these directly from f (t), rather than by first finding an and bn . In order to achieve
this, let us consider the functions
1
φn (t) = √ ejnω0 t (3.12)
T
where ω0 = 2πT . The above set of functions is a complete, orthonormal set. Therefore, any function f (t),
defined over an interval of length T , can be expanded as a linear combination of the φn ’s. In particular,
∞ ∞
X X 1
f (t) = Cn φn (t) = Cn √ ejnω0 t (3.13)
n=−∞ n=−∞ T
The coefficients Cn in the above expansion are chosen according to the rules specified by the Orthogonality
Theorem. That is,
Z T
1
Cn = f (t) √ ejnω0 t dt (3.14)
0 T
Page 26
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
The above equation is denoted as the Exponential Fourier Series expansion of the signal f (t). Actually, in
most instances, the exponential Fourier series expansion of a signal is provided by the following equation:
∞
X
f (t) = Fn ejnω0 t (3.15)
n=−∞
where
Z T
1
Fn = f (t)e−jnω0 t dt (3.16)
T 0
Our original goal has now been accomplished, since we can now derive the amplitude - frequency plot of
f (t) by plotting the magnitude of Fn , with respect to frequency, and we can also derive the phase - frequency
plot of f (t) by plotting the phase of Fn with respect to frequency. Note that, in general, the Fn ’s are complex
numbers and a complex number Fn , can be written as the product of its magnitude (|Fn | times ej∠Fn ). One
can show that the coefficients of the exponential Fourier series expansion of f (t) and the coefficients of the
trigonometric Fourier series expansion of f (t) are related as follows:
F0 = a0 (3.17a)
1
Fn = (an − jbn ) 1 ≤ n < ∞. (3.17b)
2
1
F−n = (an + jbn ) 1 ≤ n < ∞. (3.17c)
2
The following are some comments:
• The exponential Fourier series and the trigonometric Fourier series expansion were introduced for a
signal f (t) defined over the interval (0, T ). Actually, the formulas provided are valid for any signal f (t)
defined over any interval of length T (the starting and the ending points of they interval are immaterial,
as far as the length of the interval is equal to T ).
• We expanded so far a signal f (t), defined over an interval of length T , in terms of a linear combination
of sinusoids (Trigonometric Fourier Series expansion), or complex exponentials (Exponential Fourier
Series expansion). It is worth noting, that the trigonometric or exponential Fourier series expansion of
a signal defined over an interval T is a periodic signal of period T ; that is, it repeats itself with period
T . Hence, if the signal of interest f (t) is not periodic the trigonometric or exponential Fourier series
expansion of the signal is only valid for the interval over which the signal is defined.
• Due to the periodicity nature of the Fourier series expansion, Fourier series is primarily used to rep-
resent signals of periodic nature. Signals of aperiodic nature can also be represented as a "sum" of
sinusoids or complex exponentials, but this "sum" is in reality an integral and it is designated by the
name Fourier Transform. The Fourier transform of an aperiodic signal will be introduced later as an
extension of the Fourier series of a periodic signal.
Example 1
(a) Evaluate the trigonometric Fourier series expansion of a signal, which is depicted in Fig. 3.6.
The interval of interest is (− π2 , π2 ). Hence, T = π and as a result ω0 = 2π
T = 2. The trigonometric Fourier
series of a signal f (t) is therefore of the form
∞
X ∞
X
f (t) = a0 + an cos2nt + bn sin2nt (3.18)
n=1 n=1
Page 27
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Z T
1 2
a0 = f (t)dt
T − T2
Z π
1 2
(3.19)
= costdt
π −π
2
2
=
π
Z T
2 2
an = f (t)cos2ntdt
T − T2
Z π
2 2
= costcos2ntdt
π −π
Z
2
π
(3.20)
2 2
= [cos(2n − 1)t + cos(2n + 1)t]dt
π −π
2
2 (−1)n+1 (−1)n
= [ + ]
π 2n − 1 2n + 1
Z T
2 2
bn = f (t)sin2ntdt
T − T2
π
(3.21)
Z
2 2
= costsin2ntdt
π −π
2
=0
The last equation is a result of the fact that f (t) is even and sin2nt is odd. Consequently, f (t)sin2nt is odd,
and whenever an odd function is integrated over an interval which is symmetric around zero, the result of
the integration is zero. Based on the above equations we can write:
∞
2 X 2 (−1)n+1 (−1)n+1
f (t) = + { [ + ]}cos2nt (3.22)
π n=1 π 2n − 1 2n + 1
Page 28
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Also, if we write out a couple of terms from the above equation we get:
2 2 2 2
f (t) = + [1 + cos2t − cos4t + cos6t + ...] (3.23)
π 3 15 35
(b) Find the exponential Fourier series of the signal f (t) in Fig. 3.6.
We can proceed via different paths. We can either find, directly, the exponential Fourier series expansion of
f (t) by applying the pertinent formulas, or we can use the trigonometric Fourier series expansion already
derived to generate the exponential Fourier series expansion. We choose the latter approach, because it is
easier. Recall that
∞
2 X
f (t) = + an cos2nt (3.24)
π n=1
where
2 (−1)n+1 (−1)n+1
an = [ + ] (3.25)
π 2n − 1 2n + 1
ej2nt + e−j2nt
cos2nt = (3.26)
2
∞ ∞
2 X an j2nt X an −j2nt
f (t) = + e + e (3.27)
π n=1 2 n=1
2
Notice also that the exponential Fourier series expansion of the signal f (t) has the following form
∞
X ∞
X ∞
X
f (t) = Fn ej2nt = F0 + Fn ej2nt + F−n e−j2nt (3.28)
n=−∞ n=1 n=1
Comparing, one by one, the terms of equations (3.27) and (3.28) we deduce the following identities:
F0 = a0 (3.29a)
an
Fn = (3.29b)
2
an
F−n = (3.29c)
2
In particular,
Page 29
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Based on equations (3.29) we can plot the amplitude - frequency, and the phase - frequency plots for the
signal f (t). In the case where the coefficients Fn are real we can combine these two plots into one plot; this
plot is denoted as the line spectrum of f (t). The line spectrum of a signal f (t) corresponds to the plot of
Fn ’s with respect to frequency. The line spectrum of the signal f (t) in this example is depicted in Fig. 3.7.
(c) Plot the right hand sides (RHS’s) of equations (3.23) and (3.30).
The plot is shown in Fig. 3.8. Note that the RHS’s of equation (3.23) and (3.30) is equal to the signal f (t)
(see Fig. 3.6) in the interval (− π2 , π2 ). Also the RHS’s of equation (3.23) and (3.30) are periodic with period
π. hence the plot of Fig. 3.8 is produced by reproducing the plot of Fig. 3.7 every π units of time.
Example 2
Evaluate the trigonometric Fourier series expansion of the periodic signal which is depicted in Fig.
3.9.
Let us concentrate on one period of the signal, that is the interval (− π2 , π2 ). Knowing that T = π we conclude
that ω0 = 2π
T = 2. The trigonometric Fourier series of a signal f (t) is therefore of the form
∞
X ∞
X
f (t) = a0 + an cos2nt + bn sin2nt (3.31)
n=1 n=1
Page 30
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
where
Z T
1 2
a0 = f (t)dt
T − T2
π
(3.32)
Z
1 2
= f (t)dt
π −π
2
=0
Z T
2 2
an = f (t)cos2ntdt
T − T2
Z π Z π Z π
2 4 2 4 2 2
= (−1)cos2ntdt + (1)cos2ntdt + (−1)cos2ntdt (3.33)
π π
−2 π π
−4 π π
4
sin( nπ
2 )
=2 π
n2
Z T
2 2
bn = f (t)sin2ntdt
T − T2 (3.34)
=0
The last equation is a result of the fact that f (t) is even and sin2nt is odd. Consequently, f (t)sin2nt is odd,
and whenever an odd function is integrated over an interval which is symmetric around zero, the result of
integration is zero. Based on the above equations we can write:
∞
X sin( nπ
2 )
f (t) = [2 π ]cos2nt (3.35)
n=1
n2
Also, if we write out a couple of terms from the above equation we get:
4 1 1 1
f (t) = [cos2t − cos6t − cos10t + cos14t + ...] (3.36)
π 3 5 7
Z T
1 2
Pf = lim f 2 (t)dt (3.37)
T0 →∞ T0 − T2
It is not difficult to show that if the signal f (t) is periodic with period T , then its power Pf can be computed
as follows
Z T
1 2
Pf = f 2 (t)dt (3.38)
T − T2
Page 31
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Parseval’s relation for periodic signals says that the power content of a periodic signal is the sum of the
power contents of its components in the Fourier series representation of the signal. In particular, if the
exponential Fourier series coefficients of f (t) is given by the following equation:
∞
X
f (t) = Fn ejnω0 t (3.39)
n=−∞
∞
X
|Fn |2 (3.40)
n=−∞
In the above equation |Fn |2 is the magnitude square of the complex number Fn . An alternative expression
of Parseval’s theorem for periodic signals, says that the power of a periodic signal f (t) is equal to
∞
1X 2
a20 + (a + b2n ) (3.41)
2 n=1 n
where the an ’s and bn ’s in the above equation are the trigonometric Fourier series coefficients of the periodic
signal f (t).
Besides being an alternative way of calculating the power of a periodic signal, Parseval’s relation allows us to
calculate the amount of power of a periodic signal that is allocated to each one of its harmonic components.
Example 3
(a) Find the power contained in the first harmonic of the periodic signal f (t) of Example 1.
From the trigonometric Fourier series expansion of f (t) (see equation (3.23)) we observe that the first
harmonic of f (t) is equal to
4
cos(2t) (3.42)
3π
4 2
[ 3π ]
It is not difficult to show that the amount of power contained in the first harmonic is equal to 2 as
Parseval’s relation predicts.
(b) Find the power contained in the first and second harmonics of the periodic signal. f (t) of Example
1
From the trigonometric Fourier series expansion of f (t) (see equation (3.23)), we observe that the first and
second harmonic of f (t) are equal to
4 4
cos(2t) , cos(4t) (3.43)
3π 15π
respectively.
4 2 4 2
[ 3π ] [ 15π ]
It is not difficult to show that the amount of power contained in the first two harmonics is equal to 2 + 2
as Parseval’s relation predicts.
(c) Find the power contained in the DC component of the periodic signal f (t) of Example 1.
From the trigonometric Fourier series expansion of f (t), (see equation (3.23)) we observe that the DC
component of f (t) is equal to π2 . Hence, the amount of power contained in the DC component is equal to
( π2 )2
Page 32
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
3.5 Implementation
In this lab you will be introduced to the relationship between pulse shapes and their spectra. There are
some important concepts to recognize when performing the experiment, such as:
1. When a pulse becomes narrower in the time domain its energy becomes more spread out in frequency.
2. The envelope of the spectrum of a periodic signal is the Fourier transform of the pulse shape.
To illustrate the first concept given above, consider the Fourier Transform of a rectangular pulse shown
in Fig. 3.11. It can be found from the frequency domain graph (Fig. 3.11) that 90% of the energy is
concentrated within the main lobe in frequency. As the pulse width is decreased in time, or T decreases,
the width of the main lobe in the frequency domain spreads, thus spreading out the energy of the signal.
To illustrate the second concept, recall that when two signals are convolved in the time domain, their trans-
forms are multiplied in the frequency domain.
Any periodic signal can be represented mathematically as the basic pulse shape convolved with a time
sequence of pulses. Thus, the spectrum of the periodic signal can be derived as shown in Figure 2.12.
3.6 Procedure:
3.6.1 Sine Wave
In this section you will observe when the signal frequency of a sine wave is shifted, the spectral line will also
shift in frequency.
Time Domain
a. Set the Function Generator for a 1 KHz sine wave output. Set the amplitude to 0.5 volts peak with zero
DC offset.
b. Connect the Channel 1 output of the Function Generator to Channel 1 input of the Oscilloscope using a
BNC to BNC cable. Turn on the Channel 1 output of the Function Generator.
c. View the time domain waveform on the Oscilloscope.
Hint for RS RTM 3004 Oscilloscope: See EXPERIMENT 1, Section 5.1.c
Frequency Domain
a. View the frequency domain waveform of the input signal on the Oscilloscope.
Set the timebase to 2s. Wait for the sampling process shown on the Pre touch button to reach Post 100%
until both time domain and frequency domain are displayed for the signal. Adjust the center frequency to
1KHz.( i.e try to adjust the stop frequency to 2KHz)
Hint for RS RTM 3004 Oscilloscope: See EXPERIMENT 1, Section 5.2.a
b. Determine the amplitude and frequency displayed for the spectrum of the sine wave.
Page 33
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Use the measure button Meas to measure the amplitude and frequency displayed. When the right menu
on he screen appears choose Type by clicking on Vertical button then Amplitude. Similarly by clicking on
Horizontal button then Frequency. On the lower left corner the measurement value will appear.
c. Save the Screen Image to your USB Flash Drive to include in your lab report.
d. Change the Function Generator frequency to 5 KHz. Determine the amplitude and frequency displayed.
(i.e don’t forget to adjust the right sampling rate and frequency ranges as in Time domain part)
e. Save the Screen Image to your USB Flash Drive to include in your lab report.
Sampling Windows
A sine-wave signal is initially measured as an output signal from the signal generator.
Set the following on the function generator:
FUNCTION Sinusoid
FREQUENCY 20 kHz
• Set the timebase for the oscilloscope to 2ms and select a maximum signal segment for the FFT.
• Select the minimum frequency band for these settings and verify that the spectrum of the sinusoidal
signal is displayed correctly.
• Press the FFT button to open the menu again.
• Display the result in dBV.
a. Explain why the window functions are needed, and explain the differences between the various functions.
(For detailed information please see the RTC3004 manual)
Page 34
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
will appear move it over the required harmonic in order to measure its amplitude and frequency. You can
achieve that by either moving the cursor manually or clicking on the buttons Next Peak, Prev. Peak to move
the cursor to different harmonics. On the lower right corner the cursor measurement will appear. Be sure
to adjust the measurement type through using the right type of cursor being Horizontal or Vertical.
c. Save the Screen Image to your USB Flash Drive to include in your lab report.
d. The duty cycle of a pulse is measured as illustrated in Fig. 3.10. Switch the Function Generator to Pulse
and change the duty cycle of the 1 KHz rectangular wave to 10
e. Save the Screen Image to your USB Flash Drive to include in your lab report.
f. Change the duty cycle of the 1 KHz rectangular wave to 25%. Determine the amplitude and frequency of
the 1st, 3rd, 5th, 6th, and 7th harmonics. Determine the location of zeros.
g. Save the Screen Image to your USB Flash Drive to include in your lab report.
h. Change the duty cycle of the 1 KHz square wave to 90%. Determine the amplitude and frequency of the
1st, 2nd, 3rd, 4th, and 5th harmonics. Determine the location of zeros.
i. Save the Screen Image to your USB Flash Drive to include in your lab report.
Page 35
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Page 36
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Fig. 3.12: Mathematical representation of a periodic signal in the time and frequency domains
Page 37
EEL 3552C Lab Manual 3. EXPERIMENT: PERIODIC SIGNAL SPECTRA
Trigonometric series:
• For the DC level, they need to use the coefficient squared of the amplitude.
• For other harmonics, they should used half the coefficient squared of the amplitude.
Exponential series:
• For both DC and other harmonics, they should use coefficient squared of the amplitude.
When finding the spectrum on the oscilloscope (amplitude vs frequency), the amplitudes should always be
positive because these are the RMS values of the coefficients of the exponential series harmonics.
Page 38
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
4.2 Equipment:
The equipment used in this experiment are:
4.3 Theory
4.3.1 Systems
A communication system consists of three major components: the transmitter, the channel and the receiver.
The transmitter and the receiver are comprised of a cascade of black boxes that accept input signals,
produce output signals, and they are referred to as systems. This section is devoted to understanding
what a system does, and clarifying the various types of systems used in the transmitter and receiver for a
communication system.
Definition: A system is a rule for producing an output signal g(t) due to an input signal f (t).
If we denote the rule as T [.], then
An electric circuit with some voltage source as the input and some current branch as the output is an
example of a system.
Note that for two systems in cascade, the output of the first system forms the input to the second system,
thus forming a new overall system. If the rule of the first system is T1 and the rule of the second system
is T2 , then the output of the overall system due to an input f (t) applied to the first system is equal to g(t),
such that
There are a variety of classifications of systems that owe their name to their properties. In this section we will
focus only in the classification of systems into the linear versus nonlinear categories and the time-invariant
versus time-variant categories.
Page 39
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
If a system is linear then the principle of superposition applies. The output of a system with rule that
satisfies the principle of superposition exhibits the following property:
Where a1 and a2 are arbitrary constants. A system is nonlinear if it is not linear. A linear system (friendly
system) is usually described by a linear differential equation of the following form:
an (t)g n (t) + an−1 g n−1 (t) + ... + a1 (t)g 1 (t) + a0 (t)g 0 (t) = f (t) (4.4)
Where g(t) designates the output of the system, while f (t) designates the input of the system. In the above
equation g k (t) denotes the k-th time derivative of the function g(t).
Virtually every system that you considered in your circuit classes (e.g. first order R - C , R - L circuit, second
order R - L - C circuits) is an example of linear systems. Any circuit that has components, whose v - i curve
is nonlinear (e.g., a diode) is likely to be a nonlinear system.
Another useful classification of systems is into the categories of Time-Invariant versus Time-Varying sys-
tems. A system is time-invariant if a time-shift in the input results in a corresponding time-shift in the
output. Quantitatively, a system is time-invariant if
g(t − t0 ) = T [f (t − t0 )] (4.5)
For any t0 and any pair of f (t) and g(t), where f (t) denotes an input to the system and g(t), denotes its
corresponding output. A system is time-varying if it is not time-invariant.
As we emphasized before, a linear system is described by a linear differential equation of the form shown
in equation (4.4). If in the differential equation (4.4) the coefficients ak (0 ≤ k ≤ n) are constants and not
functions of time, then we are dealing with a linear time-invariant system. Otherwise, we are dealing with a
linear time-varying system. Examples of linear time-varying systems from your circuit classes were circuits
consisting of R, L and C components and involving one or more switches that were ON or OFF at special
instances.
Z ∞ Z ∞
g(t) = f (t) ∗ h(t) = f (t − τ )h(τ )dτ = h(t − τ )f (τ )dτ (4.6)
−∞ −∞
Note that the impulse response of a linear, time-invariant system is defined to be the output of the system
due to an input that is equal to an impulse function, located at t = 0. In this manual we are going to
demonstrate the convolution of two rectangular pulses.
Page 40
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Z ∞
f3 (t) = f1 (t) ∗ f2 (t) = f1 (t − τ )f2 (τ )dτ (4.7)
−∞
We want to compute the convolution of f1 (t) and f2 (t). It seems that we have to compute the convolution
integral for infinitely many instances of time t (see equation (4.7)). A more careful observation though allows
us to distinguish the distinct t-range over which the convolution integral needs to be evaluated. One way of
finding the distinct t-range is by remembering that equation (4.7) tells us that we need to slide the rectangle
f1 with respect to the stationary rectangle f2 and identify the product of these two pulses over the common
interval of overlap. It is not difficult to show that the sliding rectangle f1 (actually f1 (t − τ )) is nonzero over
the τ -interval (t − 2, t − 1). We now distinguish five cases:
Case A: f1 (t − τ ) is to the left of f2 (τ ), and f1 and f2 do not overlap (see Fig. 4.2).
In order for Case A to be valid we have to satisfy the constraint that t − 1 < 3 or t < 4 . Then it is easy
to show that
f3 (t) = 0 (4.8)
Case B: f1 (t − τ ) is to the left of f2 (τ ), and overlap partially from the left (see Fig. 4.3)
In order for Case B to be valid we have to satisfy the constraint that 3 < t − 1 < 4 or 4 < t < 5 . Then
is easy to show that
Z t−1
f3 (t) = dτ = t − 4 (4.9)
3
Z t−1
f3 (t) = dτ = (t − 1) − (t − 2) = 1 (4.10)
t−2
Page 41
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Case D: f1 (t − τ ) is to the right of f2 (τ ), and f1 overlap f2 partially from the right (see Fig. 4.5).
In order for Case D to be valid we have to satisfy the constraint that 5 < t − 1 < 6 or 6 < t < 7. Then
it is easy to show that
Z 5
f3 (t) = dτ = 5 − (t − 2) = 7 − t (4.11)
t−2
Case E: f1 (t − τ ) is to the right of f2 (τ ), and f1 and f2 do not overlap (see Fig. 4.6).
In order for Case E to be valid we have to satisfy the constraint that 6 < t − 1 or t > 7. Then is easy
to show that
f3 (t) = 0 (4.12)
0 f or t<4
t − 4 f or 4<t<5
f3 (t) = 1 f or 5<t<6 (4.13)
7−t f or 6<t<7
0 f or t>7
Page 42
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.7: Function f3 (t) ( the result of the convolution of f1 (t) and f2 (t)
Page 43
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
A plot of f1 (t), f2 (t) and f3 (t) is shown in Fig. 4.8. The technique, described above, to compute the
convolution of two rectangular pulses can be generalized, in a trivial way, to compute the convolution of
arbitrary shaped, finite-duration pulse.
All of the above rules pertaining to the convolution of two rectangular pulses can be proven rigorously.
They have been verified above for an example case. In the special case where the pulse (rectangle) f1 (t)
and f2 (t) are defined to be nonzero over an interval of the same width convolution f3 (t) turns out to be a
triangle. Rules 2 and 5, stated above, for the convolution of two rectangular pulsed extend for the case of
the convolution of arbitrary shaped, finite-duration pulses.
Some useful properties of the convolution are listed below. These properties can help us compute the
convolution of signals that are more complicated than the rectangular pulses.
Page 44
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
1. Commutative Law:
2. Distributive Law:
3. Associative Law:
4. Linearity Law:
δ(t)
is not a function (signal), it is a distribution or a generalized function. A distribution is defined in terms of its
effect on another function (usually called "test function") under the integral sign.
The impulse distribution (or signal) can be defined by its effect on the "test function" φ(t), which is assumed
to be continuous at the origin, by the following relation:
(
Z b
φ(0) f or a < 0 < b
φ(t)δ(t) =
a 0 otherwise
This property is called the sifting property of the impulse signal. In other words, the effect of the impulse
signal on the "test function" φ(t) under the integral sign is to extract or sift its value at the origin. As it is
seen, δ(t) is defined in terms of its action on φ(t) and not in terms of its value for different values of t.
Page 45
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.9: Function sequence definition of impulse function: (a) rectangular pulses; (b) triangular
pulses; (c) two-sided exponentials; (d) Gaussian pulses.
One way to visualize the above definition of the impulse function is to think of the impulse function as a
function determined via a limiting operation applied on a sequence of well-known signals. The defining
sequence of signals is not unique and many sequences of signals can be used, such as
1. Rectangular Pulse:
1 τ τ
δ(t) = lim [U (t + ) − U (t − )]
τ →∞ τ 2 2
2. Triangular Pulse:
1 |t|
δ(t) = lim [1 − ]
τ →0 τ τ
3. Two-sided exponential:
1 −2 |t|
δ(t) = lim e τ
τ →0 τ
4. Gaussian Pulse:
Page 46
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
1 −π( t )2
δ(t) = lim e τ
τ →0 τ
(
Z b
φ(t0 ) f or a < t0 < b
φ(t)δ(t − t0 ) =
a 0 otherwise
The impulse function has a number of properties that are very useful in analytical manipulations involving
impulse functions. They are listed below:
• Area (Strength):
The impulse function δ(t) has unit area. That is
Z b
δ(t − t0 )dt = 1 where a < t0 < b
a
• Amplitude:
δ(t − t0 ) = 0 f or allt 6= t0
• Graphic representation:
See Fig. 4.10.
• Symmetry:
δ(t) = δ(−t)
Page 47
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
• Time Scaling:
1
δ(at) = δ(t)
|a|
(
1 f or t ≥ t0
U (t − t0 ) =
0 f or t < t0
Z t
δ(τ − t0 )dτ = U (t − t0 )
−∞
And that
d
δ(τ − t0 )dτ = U (t − t0 )
dt
Similar to the definition of δ(t) we can define δ (1) (t), δ (2) (t), ..., δ (n) (t) the generalized derivatives of δ(t) by
the following equation:
( n
b d
(−1)n dt
Z
(n) n φ(t)|t=0 f or a < 0 < b
δ (t)φ(t)dt =
a 0 otherwise
(
b dn
(−1)n dt
Z
(n) n φ(t)|t=t0 f or a < t0 < b
δ (t − t0 )φ(t)dt =
a 0 otherwise
For even values of n , δ (n) (t)is even, and for odd values of n , δ (n) (t) is odd.
Page 48
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
M K
X dm g(t) X dk f (t)
am = bk (4.18)
m=0
dtm dtk
k=0
In the above equation, f (t) represents the input to the system, and g(t) represents the output of the system.
0
The expression d dtf 0(t) denotes 0-th derivative of f (t); same convention holds for g(t).
Assume for a moment that the input f (t) to the above system is equal to ejωt . Then, we prove that the
output of the system is equal to g(t) = H(w)ejωt with
PK
bk (jω)k
H(ω) = PMk=0 (4.19)
m
m=0 am (jω)
In actuality we are contending that if the input to the system is a complex exponential function ejωt then the
output of the system will be the same exponential function times a constant H(ω) which depends on the
input parameters ω and the system parameters (the a’s and b’s) when we are referring to H(ω) as being
a constant we mean that it is independent of time. The constant H(ω) is called the transfer function of
the system. When the Fourier transform is introduced it will be easy to prove that the transfer function
of a system is the Fourier transform of the impulse response of the system. We have already stated that
the impulse response of a linear time invariant system describes the system completely. We can make
a similar statement about the transfer function of a linear, time-invariant system. That is, if we know the
transfer function of a LTI system we can compute the output of this system due to an arbitrary input. Since,
we are still operating in the context of Fourier series expansions, and since Fourier series expansions are
most appropriate for periodic signals, consider for a moment a periodic input f (t) applied to the system of
equation (4.18). Obviously, f (t) has a Fourier series expansion whose form is given below.
∞
X
f (t) = Fn ejnω0 t (4.20)
n=−∞
It is not difficult to demonstrate that in this case the output g(t) of our system will be equal to
∞
X
g(t) = H(nω0 )Fn ejnω0 t (4.21)
n=−∞
Equation (4.21) validates our claim that the frequency transfer function of a linear time invariant system is
sufficient to describe the output of the system due to an arbitrary input (at least for the case of an input
which is periodic). After the Fourier transform is introduced we will be able to extend this result to aperiodic
inputs as well. Looking at equation (4.21) more carefully we can make a number of observations:
2π
Observation 1: If the input to a linear time-invariant system is periodic with period T0 = ω0 then the output of this
system is periodic with the same period.
Observation 2: Only the frequency components that are present in the input of a LTI system can be present in the
output of the LTI system. This means that a LTI system cannot introduce new frequency components
other than those present in the input. In other words all systems capable of introducing new frequency
are either nonlinear systems or time-varying systems or both.
Page 49
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.11: Input signal f (t) to the filter in "Frequency Transfer Function Example"
Fig. 4.12: Transfer function of the filter in "Frequency Transfer Function Example"
∞
4 X (−1)n 2 5
f (t) = cos[2π(2n + 1)105 t] = ej2π10 t
π n=0 2n + 1 π
(4.22)
2 5 2 j6π105 t 2 −j6π105 t 2 j10π105 t 2 −j10π105 t
+ e−j2π10 t − e − e + e + e + ...
π 3π 3π 5π 5π
To find the output of the system we need to find the output of the system due to every complex exponen-
tial involved in the expansion of f (t). A closer inspection of H(ω) though tells us that only the complex
exponential within the passband of the filter will actually produce an output (the passband is the range of
frequencies from −12π105 rads to 12π105 rads.) Hence, using the already derived formula that gives the
output of an LTI system due to a periodic input, we can write:
Page 50
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
2 j(2π105 t+ π ) 2 −j(2π105 t+ π )
g(t) = e 2 + e 2
π π (4.23)
2 5 π 2 5 π 2 5 π 2 5 π
− ej(6π10 t+ 2 ) − e−j(6π10 t 2 ) + ej(10π10 t+ 2 ) + e−j(10π10 t+ 2 )
π π π π
4.3.8 Filters
Filtering has a commonly accepted meaning of separation - something is retained and something is re-
jected. In electrical engineering, we filter signals usually frequencies. A signal may contain single or multiple
frequencies. We reject frequency components of a signal by designing a filter that provides attenuation over
a specific band of frequencies, and we retain components of a signal through the absence of attenuation
or perhaps even gain over a specified band of frequencies. Gain may be defined as how much the input is
amplified at the output.
Filters are classified according to the function they have to perform. Over the frequency range we define
pass band and stop band. Ideally pass band is defined as the range of frequencies where gain is 1 and at-
tenuation is 0, and stop band is defined, as the range of frequencies where the gain is 0 and the attenuation
is infinite.
Filters can be mainly classified as low pass, high pass, band pass and band stop filters.
A low pass filter can be characterized by the property that the pass band extends from frequency ω = 0 to
ω = ±ωc where ωc is known to be the cutoff frequency. (See Fig. 4.13a)
A high pass filter is the complement of a low pass filter. Here the previous frequency range ω = 0 to
ω = ±ωc is the stop band and the frequency range from ω = ωc to positive infinity and from ω = −ωc to
negative infinity is the pass band. (See Fig. 4.13b)
A band pass filter is defined as the one where frequencies from ω1 to ω2 are passed while all other fre-
quencies are stopped. (See Fig. 4.13c)
A band stop filter is the complement of the band pass filter. Frequencies from ω1 to ω2 are stopped here
and all other frequencies are passed. (See Fig. 4.13d)
In Fig. 4.14 below a practical (non-ideal) 6th order Butterworth low-pass filter is shown.
In this the various filter characteristics such as pass band, cut-off frequency are clearly indicated. In Fig.
4.15 we are illustrating how the filter characteristics change with the order of the filter.
The following Fig. 4.15 shows how the order of a filter changes the frequency response. The higher the
order, the closer the filter behaves as ideal.
Filters are key components in communication systems. An ideal filter will only allow a specified set of
frequencies to pass from input to output with equal gain. However, no filter is ideal, and as a result there
are many types of filters, that are used in modeling an ideal filter closely in one or more aspects. Filters
have many applications besides separating a signal form surrounding noise or other signals. Some of these
applications are listed below.
1. Integration of a signal
2. Differentiation of a signal
3. Pulse shaping
4. Correcting for spectral distortion of a signal
5. Sample and hold circuits
Two Butterworth low pass filters (LPF’s) will be used in this lab: a first order and a fourth-order Butterworth
filter. The general transfer function of a Butterworth LPF is:
Page 51
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.13: The magnitude of the frequency transfer function of low-pass, high-pass, band-pass, band-stop
and all-pass. In all cases the responses are ideal.
Page 52
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.15: Butterworth Filters (How the frequency response changes with order)
A
|H(ω)|2 = ω 2n (4.24)
(1 + ω0 )
1
|H(s)| = (4.25)
(1 + RCs)
1
where ω0 = RC for both filters.
Two applications for low pass filters will be illustrated in this lab:
1. A LPF used as an integrator
2. A LPF used as a first harmonic isolator (square-to-sine conversion).
Integrator
1
The Laplace representation of integration is s (where s = jω). A first order low pass filter can approximate
an integrator when ω >> ω0 ( VVin = 1s )
ω0
th
For an n order low-pass filter, the transfer function will approximate n integrators in series at ω >> ω0
( VVin = ( s1 )n )
ω0
For simplicity, in this lab a first order LPF will be used to perform a single integration on a signal.
Square-to-sine-Converter
Any periodic signal can be expressed as an infinite sum of orthogonal sinusoids. For orthogonality, each
sinusoid (or "harmonic") must have a different frequency, and frequency must be an integer multiple of the
frequency of the periodic signal.
Page 53
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
For example, if the frequency of a square wave is fs , then the nth harmonic will have a frequency of nfs
(where n is any integer from one to infinity). You will see that some of these harmonics will have zero or
negative amplitude.
The harmonics of a square wave of frequency fs are shown in Fig. 4.16 (Not to scale); the DC component
of the square wave is assumed to be equal to zero.
If the square wave excites the input of the low pass filter such that the first harmonic is in the pass band of
the filter transfer function and the remaining harmonics are outside of the pass band, then the output of the
low pass filter will be a single-tone signal (sinusoid).
4.4 Simulation
We will use MATLAB simulation to see the response of our filter circuits. For simulation you will need the
transfer functions of both filter circuits shown in Fig. 4.20 and Fig. 4.21. The transfer functions were given
earlier in this manual (See equation 4.25 and 4.26.)
In both filters and R = 1.6kΩ and C = 0.01F . For the second filter R1 = 10kΩ, R2 = 12kΩ, R3 = 10kΩ,
R4 = 1.5kΩ and C = 0.01F . With the above values for resistors and capacitors the transfer functions will
have the following form (notice that the coefficients are in descending order of s).
1
H1 =
1 + (RC)s
2.2 × 1.5
H2 =
(RC)4 s4 + 2.65(RC)3 s3 + 3.48(RC)2 s2 + 2.65RCs + 1
Page 54
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Fig. 4.17: The simulated gain versus frequency (Hz) plot for both filters (2nd order and 4th order)
The simulated gain versus frequency (Hz) plot for both filters (2nd order and 6th order) is shown above as
Fig. 4.17.
Compare the response of two filters. After the hardware experiment compare the experimental results with
the simulated results.
You may find it easier to add a DC level of A volts. This will only change your spectrum at f = 0, where you
can subtract the DC back out.
2. Assuming an ideal filter with a cutoff frequency of ωc (ωc = 2π
T , show graphically, in the frequency domain,
why the first harmonic of the square wave should be the only harmonic at the output.
3. Suppose you have an input signal with frequency components from 0 to 2 KHz. Is it possible to design a
filter, which will produce an output with frequency components 4 to 6 KHz? Why or why not?
4. What is the difference between dB/octave and dB/decade?
4.6 Procedure
4.6.1 Components
In this lab, we will use Op Amp module TL084, which is shown in Fig. 4.19.
Page 55
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
4.6.2 Filters
a) Build the first order low-pass filter shown in Fig. 4.20.
b) Build the fourth order low-pass filter shown in Fig. 4.21. Keep both circuits built for the remainder of the
lab.
Page 56
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
Meas button and choose type Peak Peak on its menu) The Vpp value will appear at the lower left corner of
the oscilloscope screen.
d) Vary the input frequency until the output level drops 3 dB below the reference level. You can achieve that
by keeping the measure on Vpp and rotating the knob on the functional generator while the cursor is on the
frequency measurement. On the oscilloscope, -3 dB is equivalent to the voltage level reduced by a factor
of .707 (or, at −3dB point,Vout (−3dB) = .707(Vout (ref )). Note this frequency. This is your cutoff frequency.
N.B. Be sure to fit the two scales manually by knobs in case Autoset doesn’t set well.
Op-amp voltage +15V , it can reach +20V
if clipping voltage with Autoset then manually change timebase.
Passband Gain
a) Using the function generator, generate a 0.2 volt sine wave at a frequency that you know to be within the
filter passband. Connect the function generator output to the filter input.
Vo Vo
b) Measure the output voltage (0V). The filter passband gain is equal to Vin = 0.2
Rate of Rolloff
a) Use the function generator to generate a sinusoid at a frequency that is higher than the cutoff frequency
of the filter (maybe by a factor of 2 or so). Record the input amplitude (Vin ) or measure in dB on the digital
multimeter (you may want to use an input amplitude of 1 volt or more since the output will be attenuated).
b) Connect the function generator output to the filter input. Measure the filter output in volts (Vo ) or dB.
Calculate VVin
o
and convert to dB (20log VVin
o
) or subtract the input dB level from the output dB level. This will
give you the attenuation, in dB, at your selected frequency.
c) Repeat steps 1 and 2 with a frequency that is a factor of 2 higher than the first frequency used. If you
take the difference between the two calculated values of attenuation, in dB, this will be your rate of rolloff in
dB/octave. If you want to convert, (x) dB/octave corresponds to (x ∗ (20/6)) dB/decade .
Page 57
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
frequency of each harmonic. Be sure to adjust the timebase to 100 ms or above, for a display that can
show you the needed spectrum. Choose measure frequency by pressing the Meas button and changing
the Type, choose Cursor by pressing its button. A menu will appear, on Source choose FFT: Spectrum.
Then press on Next Peak to measure the frequency at that harmonic.
4.6.5 Integrator
a) Generate a square wave of amplitude 5V (peak) and frequency = 10 × ωc (ten times the cutoff frequency).
Apply this signal to the input of the filter from Fig. 4.20 (the first order filter)
b) Sketch the output of the filter from the oscilloscope, recording signal peak-to-peak amplitude. You can
achieve that by pressing the Meas button and adjusting the Type to Peak Peak by plugging the Basic menu
button. The peak to peak amplitude measurement will appear on the bottom left corner of the oscilloscope
screen.
Page 58
EEL 3552C Lab Manual 4. EXPERIMENT: LOW PASS FILTER
• When implementing the Fourth Order Low Pass Filter, students should use the Op-Amp module
TL084. This module consists of four Op-Amps. The module needs to be stimulated with a DC volt-
age. A typical DC voltage value is +15V to +VCC Pin 4 and −15V to −VEE Pin 11 from the DC Power
Supply.
• When computing the Roll Off value of the filter, the frequencies used should be double the cut off
frequency of the filter or more.
• When using the Low Pass Filters at a high frequency, above the cut off frequency (110 kHz) with an
input signal of a Square wave, the output should be a triangular wave.
• When using a higher order Low Pass Filter, the output result should be smoother (better resolution).
Page 59
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
5.1 Objective
To understand the amplitude modulation.
5.2 Equipment:
The equipment used in this experiment are:
5.3 Theory
5.3.1 From Fourier series to the Fourier Integral
The Fourier series is a means for expanding a periodic signal in terms of complex exponentials. This
expansion considerably decreases the complexity of the description of the signal, and simultaneously, this
expansion is particularly useful when we analyze LTI systems.
We can extend the idea of the Fourier series representation from periodic signals to the case of nonperiodic
signals. That is the expansion of a nonperiodic signal in terms of complex exponentials is still possible.
However, the resulting spectrum is not discrete any more. In other words, the spectrum of nonperiodic
signals covers a continuous range of frequencies. To be able to demonstrate our point, consider for a
moment the periodic signal shown in Fig. 5.1.
We call this periodic signal fT (t) to remind ourselves that we are dealing with a periodic signal of period T .
We can write:
(
−T
fT (t) 2 < t < T2
f (t) = (5.1)
0 otherwise
Page 60
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
where f (t) is equal to the periodic signal fT (t) over the interval ( −T T
2 , 2 ) and zero otherwise. Obviously,
fT (t) has a Fourier series expansion, such that
∞
X
fT (t) = Fn ejnω0 t (5.2)
n=−∞
With
Z T
1 2
Fn = fT (t)e−jnω0 t dt
T − T2
Z T
(5.3)
1 2
−jnω0 t
= f (t)e dt
T − T2
Also, since fT (t) and f (t) are equal over the interval (− T2 , T2 ) we can write that
∞
X
f (t) = Fn ejnω0 t
n=−∞
∞
(5.4)
X1
= F (ωn )ejωn t
n=−∞
T
where
F (ωn ) = T Fn (5.5)
and
ωn = nω0 (5.6)
2π
∆ω = ωn+1 − ωn = ω0 = (5.7)
T
∞
X ∆ω
f (t) = F (ωn )ejωn t (5.8)
n=−∞
2π
Let now T → ∞ , or equivalently, ∆ω → 0. It is easy to see that the equation (5.8) becomes:
Z ∞
1
f (t) = F (ω)ejωt dω (5.9)
2π −∞
Page 61
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Z ∞
F (ω) = f (t)ejωt dω (5.10)
−∞
Equations (5.9) and (5.10) are referred to as the Fourier Transform pair, that allows us to transform the
aperiodic time signal f (t) into the frequency signal F (ω), and vice versa. Based on the aforementioned
discussion we can now formally introduce the Fourier transform theorem.
2. The number of maxima and minima of f (t) in any finite interval of the real line is finite.
3. The number of discontinuities of f (t) in any finite interval of the real line is finite.
Z ∞
F (ω) = f (t)e−jωt dt (5.12)
−∞
exists and the original signal can be obtained from its FT by following the rule
Z ∞
1
f± = F (ω)ejωt dω (5.13)
2π −∞
where
(
f (t) if f (t) is continuous at t
f± (t) = f (t+ )+f (t− ) (5.14)
2 if f (t) is not continuous at t
Observation 1: The Fourier transform, F (ω) of a signal f (t), is, in general, a complex function. Its magnitude |F (ω)|
and phase ∠F (ω) represent the amplitude and phase of various frequency components of f (t).
Observation 2: If the independent variable in the FT of a signal f (t) is chosen to be the frequency f instead of the
angular frequency ω. we have the following Fourier transform pair:
Z ∞
X(f ) = x(t)e−j2πf t dt < ∞ (5.15)
−∞
and
Z ∞
x(t) = X(f )ej2πf t df (5.16)
−∞
Page 62
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
∞
X
fT0 (t) = Fn ejnω0 t (5.17)
n=−∞
where
Z T0
1 2
Fn = f (t)e−jnω0 t dt (5.18)
T0 −
T0
2
and
2π
ω0 = (5.19)
T0
Z T0
1 2
Fn = f (t)e−jnω0 t dt
T0 −
T0
2
Z T0
1 2 2πnt
= f (t)e−j T0
dt
T0 T
− 20
Z τ
1 2 2πnt
(5.20)
= f (t)e−j T0
dt
T0 − τ2
1 T0 nπt nπt
= ( )[e−j T0 − ej T0 ]
T0 −jn2π
sin( nπτ
T0 ) τ
= nπτ
T0 T0
The line spectrum of the signal fT0 (t) is shown in Fig. 5.3 for Tτ0 = k −1 . Note that the separation of
two consecutive lines in the line spectrum of f (t) is equal to 2π T0 . Hence, as T0 gets larger and larger
(i.e., as fT0 (t) becomes less and less periodic-looking) the line spectrum of fT0 (t) becomes denser and
denser. Also, note that the envelope of line spectrum of fT0 (t) is the Fourier transform (within a constant
of proportionality) of the aperiodic pulse of width τ , centered at t = 0. It can be shown that most of the
Page 63
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
• The Linearity Property says that the Fourier Transform (FT) is a linear operation and if we know the
FT of two signals we can easily compute the FT of any linear combination of these two signals.
• The Scaling Property says that by contracting (expanding) the signal in the time domain (through
multiplication with an appropriate time constant) results in the expansion (contraction) of the FT of
the signal (through multiplication with the inverse of the constant); this is another ramification of the
"time-bandwidth" product principle. Note that contraction (expansion) of the signal in the time domain
corresponds to making the signal faster (slower).
• The Delay Property illustrates something that you might have suspected all along. Delaying a signal
in the time domain does not change the frequency content of the signal. The frequency content of the
signal is determined by looking at the magnitude of the FT of the signal. The delay property reiterates
that a time shift will produce a phase shift in the FT of the signal but it will leave the magnitude of the
FT unaltered.
• The Convolution Property assures us that we do not need to perform convolution to produce the
output of a LTI system due to an arbitrary input; simply multiplying the FT of the input and the FT of
the impulse response of the system allows us to compute the FT of the output of the system.
• The Time Differentiation and Time Integration properties demonstrate that making the signal faster/slower
(differentiate/integrate) in the time domain results in an expanded/contracted frequency spectrum
(FT).
Page 64
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
• The Duality Property provides us with a new FT pair, every time a FT pair is computed. In particular,
if F is the FT of f , the duality property says that F would have a FT that is proportional to the mirror
image of f with respect to the ω = 0 axis.
• Finally, the Amplitude Modulation property tells us that we can shift the frequency content of a
signal at an arbitrary frequency by multiplying the signal with a sinusoid. AM systems are based on
this property of the FT.
Consequently, the modulated signal m(t) undergoes a phase reversal whenever the formation signal f (t)
crosses zero as indicated in Fig. 5.4. The envelope of a DSB-SC modulated signal is therefore different
from the information signal.
The Fourier transform of m(t) can easily be determined from the Fourier transform properties of Table 5.2.
That is,
1
M (ω) = Ac [F (ω − ωc ) + f (ω + ωc )] (5.22)
2
For the case when the baseband signal f (t) is bandlimited to the interval [−ωm , ωm ], as in Fig. 5.5(a),
we thus find that the spectrum of m(t) is as illustrated in Fig. 5.5(b). Except for a change in scale factor,
Page 65
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.4: The information signal f (t) and modulated signal m(t)
Fig. 5.5: (a) Spectrum of baseband signal. (b) Spectrum of DSB-SC modulated wave
Page 66
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.7: Illustrating the spectrum of a product modulator out put with a DSB-SC modulated wave as input
the modulation process simply translates the spectrum of the baseband signal by ±ωc . Note that the
transmission bandwidth required by DSB-SC modulation is equal to 2ωm , where ωm stands for the maximum
frequency content of the signal f (t).
The baseband signal f (t) can be uniquely recovered from a DSB-SC wave m(t) by first multiplying m(t)
with a locally generated sinusoidal wave and then low pass filtering the product, as in Fig. 5.6. It is assumed
that the local oscillator signal is exactly coherent or synchronized, in both frequency and phase, with the
carrier wave c(t), used in the product modulator to generate f (t). This method of demodulation is known
as coherent detection or synchronous demodulation.
It is instructive to derive coherent detection as a special case of the more general demodulation process
using a local oscillator signal of the same frequency but arbitrary phase difference φ, measured with respect
0
to the carrier wave c(t). Thus, denoting the local oscillator signal by Ac cos(ωc t + φ) and using equation (5.1)
for the DSB-SC wave, we find that the product modulator output in Fig. 5.7 is
0
e(t) = Ac cos(ωc t + φ)m(t)
0
= Ac Ac cos(ωc t)cos(ωc t + φ)f (t) (5.23)
1 0 1 0
= Ac Ac cos(2ωc t + φ)f (t) + Ac Ac cos(φ)f (t)
2 2
The first term in equation (5.23) represents the DSB-SC modulated signal with a carrier frequency of 2ωc ,
whereas the second term is proportional to the baseband signal f (t). This is further illustrated by the
spectrum (Fourier Transform) E(ω) shown in Fig. 5.7, where it is assumed that the baseband signal f (t)
is limited to the interval [−ωm , ωm ]. It is therefore apparent that the first term in equation (5.23) is removed
by the low-pass filter in Fig. 5.6, provided that the cut-off frequency of this filter is greater than ωm but less
than 2ωc − ωm . This is satisfied by choosing ωc > ωm . At the filter output we then obtain a signal given by
Page 67
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
1 0
o(t) = Ac Ac cos(φ)f (t) (5.24)
2
The demodulated signal o(t) is therefore proportional to f (t) when the phase error φ is a constant. The
amplitude of this demodulated signal is maximum when φ = 0, and is minimum (zero) when φ = ± π2 .
The zero demodulated signal, which occurs for φ = ± π2 , represents the quadrature null effect of the
coherent detector. Thus the phase error φ in the local oscillator causes the detector output to be attenuated
by a factor equal to cos(φ). As long as the phase error φ is a constant, the detector output provides an
undistorted version of the original baseband signal f (t). In practice, however, we usually find that the phase
error φ varies randomly with time, due to random variations in the communications channel. The result is
that at the detector output, the multiplying factor cos(φ) also varies randomly with time, which is obviously
undesirable. Therefore, provision must be made in the system to maintain the local oscillator in the receiver
in perfect synchronism, in both frequency and phase, with the carrier wave used to generate the DSB-SC
modulated signal in the transmitter.
where f1 (t) and f2 (t) denote the two different information signals applied to the product modulators. Thus
m(t) occupies a channel bandwidth of 2ωc centered at the carrier frequency ωc , where ωm is the maximum
frequency content of the signals f1 (t) and f2 (t).
The receiver part of the system is shown in Fig. 5.8(b).The multiplexed signal m(t) is applied simultane-
ously to two separate coherent detectors that are supplied with two local carriers of the same-frequency but
0
differing in phase by −90 degrees. The output of the top detector is 21 Ac Ac f1 (t), whereas the output of the
0
bottom detector is 21 Ac Ac f2 (t). For the system to operate satisfactorily it is important to maintain the correct
phase and frequency relationships between the local oscillators used in the transmitter and receiver parts
of the system.
To maintain this synchronization, we may use a Costas receiver. Another commonly used method is to send
a pilot signal outside the passband of the modulated signal. In the latter method, the pilot signal typically
consists of a low-power sinusoidal tone whose frequency and phase are related to the carrier wave c(t);
at the receiver the pilot signal is extracted by means of a suitably tuned circuit and then translated to the
correct frequency for use in the coherent detector.
Page 68
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 69
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
sidebands, the upper sideband and the lower sideband. There is no need to send both sidebands over
the channel, since the FT of the information signal can be constructed from either the upper or the lower
sideband. The single sideband suppressed carrier (SSB-SC), that we intend to discuss in the following,
takes advantage of the above observation by sending only one of the sidebands over the channel.
Hence, the SSB-SC system differs from the DSB-SC system because just before the modulated wave m(t)
is ready to head-off for the channel, one of the sidebands is chopped off. The block diagram of an SSB-
SC system is shown in Fig. 5.10. Furthermore, the sequence of Fourier transform plots shown in Fig.
5.11 (upper sideband) demonstrate that the system works. The only problem with the block diagram of the
system shown in Fig. 5.10 is that it requires the utilization of a "perfect filter" that eliminates completely the
frequencies a little bit below ωc and passes without distortion the frequencies a little bit above ωc (we are
referring only to the positive frequencies of the upper sideband signal). To relax the requirement for such a
"perfect" filter we will consider another way of generating the upper sideband version of the signal m(t).
For the sake of simplicity consider first the case where the information signal is sinusoidal (i.e., f (t) =
cos(ωm t)). Then, the Fourier transform of m(t) = cos(ωm t)cos(ωc t) is given in Fig. 5.12. From Fig. 5.12, it is
easy to identify the upper sideband of m(t) in the frequency domain; also, the time-domain representation
of this upper sideband is readily defined as follows:
1
m+ (t) = cos((ωc + ωm )t) (5.26)
2
or
1 1
m+ (t) = cos(ωc t)cos(ωm t) − sin(ωc t)sin(ωm t) (5.27)
2 2
In Fig. 5.13 we depict a way of constructing the upper sideband signal of equation (5.27) without having
to resort to the design of perfect filters. In Fig. 5.13 there is a system designated by a block with the −90
notation inside it. We know what this block does to an input signal that is sinusoidal; it shifts the phase of the
sinusoidal signal by −90 degrees. We want to be able to characterize this block in the frequency domain.
Page 70
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.11: FT’s at various stage of the SSB-SC system of Fig. 5.10
Page 71
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
To do so let us identify the Fourier transforms of an input signal to this block, equals to cos(ωm t) and the
output signal produced by this block, equals to cos(ωm t − 90) = sin(ωm t) . Obviously,
where
(
1 ω≥0
signum(ω) = (5.31)
−1 ω<0
Equation (5.30) tells us that the transfer function of the block designated by the notation −90 is equal to
−jsignum(ω). Now we are ready to generalize the construction of an upper sideband signal using the block
diagram of Fig. 5.13 for the case where the information signal f (t) is of arbitrary nature (i.e., not necessarily
sinusoidal). In Fig. 5.14, we provide a block diagram for the construction of the upper sideband signal of a
modulated wave m(t) when the information signal f (t) is arbitrary. Comparing Fig. 5.13 and Fig. 5.14 we
see that they are identical, where in both figures the block designated by the notation −90 corresponds to a
system with transfer function equal to −jsignum(ω).
In Fig. 5.15 we show, in a pictorial fashion, why the block diagram of Fig. 5.14 works. What is worth noting
is that the output of a −90 degree shift system is called the Hilbert transform of the input. Furthermore,
if we designate by the input to a −90 degree shift system the output (Hilbert transform) of this system is
designated by fˆ(t). Finally, it is easy to show that
1
fˆ(t) = f (t) ∗ (5.32)
πt
Page 72
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.13: Block diagram of a system that generates the upper sideband of m(t) where f (t) = cos(ωm t) and
c(t) = cos(ωc t)
Fig. 5.14: Block diagram of a system that generates the upper sideband of m(t)
Page 73
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 74
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.16: DSB-LC Signals for two information signals f1 (t) and f2 (t)
The Fourier transform of is shown in Fig. 5.17 and it is provided by the following expression.
1
M (ω) = Aπ[δ(ω − ωc ) + δ(ω + ωc )] + [F (ω − ωc ) + F (ω + ωc )] (5.34)
2
By looking at Fig. 5.17 we can justify the name DSB-LC for this communication system. The Fourier trans-
form of the modulated wave m(t) has both of the sidebands (upper and lower). Furthermore, the presence
of the pure carrier Acos(ωc t) is evident by the presence of the two impulses in the Fourier transform of m(t).
Consider now the special case where the information signal f (t) is of the form.
Based on our previous discussion, the maximum amplitude of the pure carrier that we need to add to the
DSB-SC modulated signal to make it a legitimate DSB-LC signal must satisfy the following inequality:
Page 75
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
A≥K (5.36)
Then,
k
m(t) = A(1 + cos(ωm t))cos(ωc t) (5.37)
A
We usually define
K
m= (5.38)
A
the modulation index of the system. Since m’s maximum value is one and its minimum value is zero, it is
often given in percent. In Fig. 5.18 we show the DSB-LC signal for the case of an information signal that is
sinusoidal and for various m values (i.e., m = 1, m < 1 and m > 1). The case m > 1 is not allowed because
then we are not going to be able to recover the information signal f (t). In Fig. 5.19 we show a modulated
wave for an arbitrary information signal f (t) and a modulation index m < 1 or m > 1.
As we emphasized before, the information signal f (t) can be recovered from a DSB-LC signal by utilizing a
peak (envelope) detector. An envelope detector consists of a diode and a resistor-capacitor (RC) filter (see
Fig. 5.20). The operation of this envelope detector is as follows.
On a positive half-cycle of the input signal, the diode is forward biased and the capacitor C charges up
rapidly to the peak value of the input signal. When the input signal falls below this value, the diode becomes
reverse-biased and the capacitor C discharges slowly through the load resistor Rl . The discharging process
continues until the next positive half-cycle. When the input signal becomes greater than the voltage across
the capacitor, the diode conducts again and the process is repeated. We assume that the diode is ideal,
presenting resistance rf to current flow in the forward-biased region, and infinite resistance in the reverse-
biased region. We further assume that the AM wave applied to the envelope detector is supplied by a
voltage source of internal impedance Rs . The charging time constant (rf + Rs )C must be short compared
with the carrier period 2π
ωc , that is
2π
(rf + Rs )C << (5.39)
ωc
Page 76
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 77
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.20: Envelop detector. (a) Circuit diagram (b) AM wave input (c) Envelop detector output
Page 78
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
so that the capacitor C charges rapidly and thereby follows the applied voltage up to the positive peak
when the diode is conducting. On the other hand, the discharging time constant Rl C must be long enough
to ensure that the capacitor discharges slowly through the load resistor Rl , between positive peaks of the
modulated wave, but not so long that the capacitor voltage will not discharge at the maximum rate of change
of the modulating wave, that is
2π 1
<< Rl C << (5.40)
ωc ωm
where ωm is the information signal bandwidth. The result is that the capacitor voltage or detector output is
nearly the same as the envelope of the AM wave, as shown in Fig. 5.20.
One of the serious flaws of a DSB-LC system is that it wastes transmitter power. To illustrate that consider
the DSB-LC signal of equation (5.33). It is easy to show that
p
P ower of m(t) = P ower of {Acos(ωc t)} + P ower of {f (t)cos(ωc t)} + P ower of { 2Af (t)cos(ωc t)}
(5.41)
2
The power of Acos(ωc t) is equal to A2 , while the power of f (t)cos(ωc t) can be shown to be equal to the
one-half the power of f (t); the latter result is valid under the legitimate assumption that p
the bandwidth of
the information signal is much smaller than the carrier frequency ωc . Finally, the power of 2Af (t)cos(ωc t)
is equal to zero under the assumptions that
A2 P ower of f (t)
P ower of m(t) = + (5.42)
2 2
For the special case where f (t) = Kcos(ωm t) we can conclude that
A2 A2 m 2 A2 m2
P ower of m(t) = + = (1 + ) (5.43)
2 4 2 2
2
It is worth noting that from the power dedicated to transmit the modulated signal, A2 goes to the transmission
of the pure carrier and the rest goes to the transmission of the useful signal. If we define the efficiency η
of our system as the ratio of the power dedicated to the transmission of the useful signal versus the power
dedicated to the transmission of the modulated signal we conclude that the efficiency of our DSB-LC system
(for a sinusoidal information signal) is equal to
m2
Ef f iciency = η = (5.44)
m2 + 2
The best we can do is to let η assume its maximum value; this happens when m = 1 Then,
Page 79
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
So 67% of the available transmitter power goes to the carrier (alarming quantity!) Usually, we do not know
K so we might operate at less than 33% efficiency.
The notion of the modulation index can be extended to all signals, as long as they are normalized so that
their maximum negative value is unity. To be more specific consider the DSB-LC signal corresponding to
an information signal whose maximum negative value is different than unity. Then,
|min{f (t)}|
(5.47)
A
Actually, the aforementioned definition is applicable independently of whether f (t) has minimum value of
unity or not.
where h(t) is the impulse response of the VSB-SC filter. In the frequency domain the corresponding ex-
pression is
1
M (ω) = [F (ω − ωc ) + F (ω + ωc )]H(ω) (5.49)
2
To determine the frequency-response characteristics of the filter, let us consider the demodulation of the
VSB-SC signal m(t). We multiply m(t) by the carrier component and pass the result through an ideal
lowpass filter, as shown in Fig. 5.22. Thus the product signal is
Page 80
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
or, equivalently
1
E(ω) = [M (ω − ωc ) + M (ω + ωc )] (5.51)
2
If we substitute for M (ω) from equation (5.49) into equation (5.50), we obtain
1 1
E(ω) = [F (ω − 2ωc ) + F (ω)]H(ω − ωc ) + [F (ω + 2ωc ) + F (ω)]H(ω + ωc ) (5.52)
4 4
The lowpass filter rejects the double frequency components and passes only the components in the fre-
quency range |ω| < ωm . Hence the signal spectrum at the output of the ideal lowpass filter is
1
O(ω) = F (ω)[H(ω − ωc ) + H(ω + ωc )] (5.53)
4
We require that the information signal at the output of the lowpass filter be undistorted. Therefore, the
VSB-SC filter characteristic must satisfy the condition:
The condition is satisfied by a filter that has the frequency response characteristic shown in Fig. 5.23. We
note that H(ω) selects the upper sideband and a vestige of the lower sideband. It has an odd symmetry
about the carrier frequency ωc , in the frequency range ωc − ωa < ω < ωc + ωa , where ωa is a conveniently
Page 81
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Fig. 5.24: Frequency response of VSB filter for selecting the lower sideband of the message signals
selected frequency that is some small fraction of ωm , i.e., (ωa << ωm ). Thus, we obtain an undistorted
version of the transmitted signal. Fig. 5.24 illustrates the frequency response of a VSB filter that selects the
lower sideband and a vestige of the upper sideband.
In practice, the VSB filter is designed to have some specified phase characteristics. To avoid distortion of
the information signal, the VSB filter should be designed to have a linear phase over its passband ωc − ωa <
ω < ωc + ωa
1. To raise up the frequency of a signal to reduce the wavelength such that a relatively small antenna
can transmit or receive the signal.
2. To separate base band signals in frequency (or time) so that more than one signal can be transmitted
on the same channel.
The degree to which a signal is modulated is measured by a modulation index, which will have a different
physical significance for each type of modulation. Every form of modulation has advantages and disadvan-
tages when compared to the others. FM has more strengths than weaknesses compared to the others.
Delta Modulation has more weakness than strengths, but all have their applications. Some modulation
techniques and their characteristics are listed in Table 5.3.
Page 82
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
5.3.12 Aliasing
Aliasing occurs in most forms of modulation when the sampling rate or the carrier frequency is not large
enough compared to the maximum message frequency.
Once the spectra have overlapped there is no way to separate the two signals. The Nyquist theorem states
that for a sampled signal, such as PAM, the sampling frequency fs must be at least twice the maximum
frequency of the signal to prevent aliasing from occurring.
5.4 Simulation
In this simulation we are going to see the amplitude modulation and demodulation with different parameters.
Let us consider a sinusoidal message signal of 100 Hz and a sinusoidal carrier in the transmitter of 1000
Hz.
f = 100;
fc = 1000;
m = 0.5;
fs = 16384;
MODULATION
1) Construct the time array as following
t = [0:1/fs:0.05];
2) Construct the message signal as
signal = sin(2 * pi * f * t);
3) Calculate the required dc offset from modulation index definition
A = abs(min(signal))/m;
4) Construct the carrier at the transmitter end as
carrier1 = sin(2 * pi * fc * t);
5) Modulated output of the transmitter is given by
x = (signal+A).*carrier1;
(Notice a dot before the multiplication sign. In Matlab it represents multiplication element by element.)
6) Find the Fourier transform of signal, carrier1 and x. Name them say S1, C1 and X respectively. Use the
ft function for this. You have to create your own ft function. The code for this function is given below. Make
sure that you saved this function as a separate MATLAB file with the same name ft.m in the Matlab working
directory.
function [X]=ft(x,fs)
n2=length(x);
n= 2 ∧(max(nextpow2(f s), nextpow2(n2)));
X1=fft(x,n)/fs;
X=X1(1:n/8);
Page 83
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
An example has been given below how you find the Fourier transform using this MATLAB function. You can
write the following line of code in your main program to find Fourier transform of a signal.
[S1]=ft(signal,fs);
For good demodulation of the received signal, the carrier at the receiver end needs to be of the same
frequency and phase as the carrier of the transmitter end. In practice this may not be the case.
7) Carrier at the receiver (demodulator) is given by the following equation.
carrier2=sin(2 * pi * (fc+delta) * t + phi);
Where delta is the frequency error and phi is the phase error. Initially assume that both of them are zero.
8) For demodulation multiply the received signal by the carrier and name it x1 and then do a low pass
filtering.
For low pass filtering use the following piece of MATLAB code.
b=fir1(24,500/fs);
(The first parameter gives you the order of the filter. The second parameter is the cutoff frequency. Here it
is 200 Hz.)
x_demod=conv2(x1,b,’same’);
Here b is the coefficient of the filter. So to find the filtered output we did the convolution of x1 and b.
9) Find the Fourier transform of carrier2 and x_demod. Name them C2 and S2.
10) Plot the following:
signal: message signal before modulation versus time
x: modulated signal versus time
x_demod: demodulated signal versus time
S1: message signal in frequency domain
C1: carrier at transmitter end in frequency domain
X: modulated signal in frequency domain
C2: carrier at the receiver end in frequency domain
S2: demodulated signal in the frequency domain
You may use following MATLAB functions to plot all of them together.
Subplot
Plot
11) Repeat the simulation using square wave carrier at both ends. What happens if you use different wave
shapes? Explain. Actually in the hardware experiments that follow you will be using a square wave carrier.
12) Repeat the above simulation with a ’sinc’ function as the message signal.
13) Repeat the above simulation with phi = pi/4, pi/2 in step 7). What happens? Explain.
What happens if delta = 200/400 Hz?
Page 84
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
∞
X
p(t) = Pn ejnω0 t (5.55)
n=−∞
1. By providing a qualitative example (i.e. assume a specific p(t), say square wave that we will be using
in our lab) show how the spectrum of the modulated signal will look like.
2. How can we demodulate a signal of this kind?
5.6 Implementation
By this time you already know that in amplitude modulation, the amplitude of the carrier frequency varies
with the amplitude of the desired message signal. Typically the carrier will be a cosine or some sine wave
but in this lab a square wave is used as the carrier for simplicity in implementation. Amplitude Modulation
is implemented by multiplying the message signal with the carrier as in the theory part, which can be
expressed as:
The end result with sinusoidal modulation is such that the spectrum of X(f ) remains unchanged but is
removed in frequency and centered about ωc . For any general carrier, the multiplication of two signals in
time yields convolution in frequency.
A DSB AM signal is described by the equation:
where A is the average value of the signal, or the DC component. Typically a message signal will have no
DC component.
When A > 0, the m(t) is a DSB-LC (Large Carrier) AM signal. In this case the DC term must be added
to the message signal. The case when A = 0 is called Suppressed Carrier (DSB-SC) AM. The modulated
index for AM is a measure of how large A is with respect to the amplitude of f (t).
|f (t)min |
m= (5.58)
A
Where f (t)min is the minimum value of the message signal before any DC is added and A is the amount of
DC added. Note that m = 100% for A = |f (t)min |.
There are two forms of demodulation used in this lab:
1. Synchronous:
The modulated waveform is multiplied by another carrier of (hopefully) identical frequency and phase
to the AM carrier. High frequency terms that result from the multiplication are removed with a filter
and only the message is left. Note that the carrier must be regenerated for an actual receiver.
Page 85
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
2. Envelop Detection:
When m < 100%, peak detection (sample and hold) can be used. Sample and hold means that the
amplitude of the signal at a given point in time is sampled and held until the next sample pulse arrives.
The FET used in the AM modulator and demodulator (Fig. 5.25 and Fig. 5.26) is used as a variable resistor,
where the resistance between the drain (D) and the source (S) varies proportional to the voltage applied to
the gate (G).
Since there is a square wave varying from 0 to −Vcc volts been applied to the gate, the resistance across
the source and the drain can be thought as either an open (R = ∞) when Vg = −Vcc or a short (R = 0) for
Vg = 0. Analysis of the circuit shows a gain of VVout
in
= 1 for R = ∞ (differential amplifier configuration) and
Vout
a gain of Vin = −1 when R = 0(inverting amplifier configuration).
5.7 Procedure
5.7.1 AM Modulation
1) Build the modulator shown in Fig 5.25 and Fig. 5.26.
2) Connect the oscilloscope to the function generator output (or the message oscillator output), Vin (t)
and to the modulator output, Vo (t), using direct coupling (DC) throughout. Set Vin (t) to a sinewave with
fm = 100Hz.
3) Adjust the dc offset and amplitude of the message of the message oscillator to yield a DSB-LC modulated
waveform having a modulation index m = 0.75. Sketch Vin (t) and Vo (t). Change Vin (t) to a triangular
waveform and sketch Vin (t) and Vo (t).
Page 86
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
For a better view of Vo (t) deactivate the channel that reads Vin (t) and set the timebase to 5ms. i.e., Vin (t)
can be plotted clearly at timebase equal to 2ms
4) Adjust the dc offset of the message oscillator to zero, thus producing DSB-SC. Again sketch Vin (t) and
Vo (t) first for Vin (t) sinusoid and then Vin (t) triangular.
5) Obtain once again the DSB-SC signal for Vin (t) sinusoidal and 100=mf Hz. Observe and sketch the
spectra of Vin (t) and Vo (t), using the spectrum analyzer. To see the modulated output you may adjust the
frequency display of the spectrum analyzer (i.e, FFT on oscilloscope) to the value equal to the value of
the carrier frequency. That is, use FFT button adjusted to the channel of the Vo (t) reading. The preferable
timebase is between 2ms and 5ms. The frequency of the modulated signal is between 19KHz and 24KHz.
6) Repeat part 5 for DSB-LC. Furthermore, using the spectrum analyzer, determine the modulation index,
m.
Page 87
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 88
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 89
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 90
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
Page 91
EEL 3552C Lab Manual 5. EXPERIMENT: AMPLITUDE MODULATION
• Distinguish between the Ground G, Source S and Drain D nodes of the transistors according to the
âĂIJkey note in the lab tool kitâĂİ to match the circuit schematic provided.
In the modulation part: the modulation index m should be calculated using the following formula.
|f (t)min |
m= A
where f (t)min is the minimum voltage of the input signal and A is the offset shift needed to make the
input signal all positive
In the demodulation part: When using the spectral analysis on the oscilloscope: The modulation index m
should be calculated using equation (4.41) where the power of the signal is calculated using its spectrum
amplitudes.
A2 A2 m 2 A2 m2
P ower of m(t) = + = (1 + ) (4.41)
2 4 2 2
Using the envelope detection or synchronous detection: The role of the capacitors is to sharpen the out-
put of the demodulation so that it matches the input signal, i.e. by calibrating the capacitor values you will
make the signal thinner matching the input signal shape and thickness. By increasing the capacitor values
further, you will mismatch the original input signal.
Page 92
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
6.1 Objective
To understand the principles of frequency modulation and demodulation.
6.2 Equipment:
The equipment used in this experiment are:
6.3 Theory
6.3.1 Introduction
A sinusoidal carrier c(t) = Acos(ωc t + θ0 ) has three parameters that can be modified (modulated) according
to an information signal f (t).
1. Its amplitude A which leads us to the class of systems designated as amplitude modulating (AM)
systems.
2. Its frequency ωc , which leads us to a class of systems designated as frequency modulating (FM)
systems.
3. Its phase θ0 , which leads us to a class of systems designated as phase modulating (PM) systems.
We have already discussed the class of AM systems. In the sequel we focus on the class of FM and PM
systems. Note that we can write that
where θ(t) is often called the angle of the sinusoid. That’s why FM and PM systems are sometimes referred
to as angle modulating systems.
Page 93
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
where we call θ(t) the instantaneous phase of the carrier. If we differentiate θ(t) with respect to time t we
get a time function that we designate by ωt and we call it the instantaneous frequency. That is
dθ
ω(t) = (6.3)
dt
It is easy to see that the above definition of instantaneous frequency makes sense if we apply it to a pure
carrier c(t) = Acos(ωc t + θ0 ), because then we get
ω(t) = ωc (6.4)
From equation (6.3), above, we see that if you have the instantaneous phase of a sinusoid, you can compute
its instantaneous frequency by differentiation. Furthermore, if you know the instantaneous frequency ωt of
a sinusoid you can compute its instantaneous phase by integration as follows:
Z t
θ(t) = ω(τ )dτ + θ0 (6.5)
0
θ(t) = ωc t + θ0 (6.6)
Phase and frequency modulations are techniques that modify the instantaneous phase and frequency,
respectively, of a sinusoid in a way dictated by an information signal f (t).
where kp is a constant of the modulating device. Hence, the PM modulated signal is equal to
Page 94
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
where kf is a constant due to the modulator. In this case the instantaneous phase is equal to
Z t
θ(t) = ωc t + θ0 + kf f (τ )dτ (6.10)
0
Z t
mf (t) = Acos(ωc t + θ0 + kf f (u)du) (6.11)
0
Now let us discuss FM and PM simultaneously and get a better insight into their similarities and differences.
For simplicity assume that θ0 = 0. Then,
and
Z t
mf (t) = Acos(ωc t + kf f (u)du) (6.13)
0
Page 95
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Let us take mp (t) and find its instantaneous frequency ω(t). Indeed,
df (t)
ω(t) = ωc + kp (6.14)
dt
The above equation tells us that in the PM case the instantaneous frequency has a linear term proportional
to the derivative of the information signal f (t). So, we can say that the PM case is in reality the FM case but
with an information signal being the derivative of the actual information signal. In other words, if we have a
device that produces FM signals we can make it to produce PM signals by giving it as an input the derivative
of the information signal. The above equation also tells us that the FM case is in reality a PM case with the
modulating signal being the integral of the information signal. Also, if we have a device that produces PM,
we can make it to produce FM by providing to it as an input the integral of the information signal.
Hence, what it boils down to is that we need to discuss either PM or FM and not both. We choose to focus
on FM, which is used to transmit baseband analog signals, such as speech or music. PM is primarily used
in transmitting digital signals.
Our primary focus in the examination of FM signals will be the analysis of its frequency characteristics.
Although it has been a straightforward task to find the Fourier transform of an AM signal the same is not
true for FM signals. Let us again consider the general form of an FM signal
If the signal f (t) is known, its Fourier transform F (ω) is also known, and the Fourier transform of g(t) can
be computed. In particular, from well known Fourier transform properties we can deduce that
Based on the above two equations (6.16) and (6.17) we can state that to compute the Fourier transform of
cos(kf g(t)) for an arbitrary signal g(t) becomes a formidable task (we need to compute a lot of convolutions).
Furthermore, it seems that the bandwidth of cos(kf g(t)) is infinite (note that every time we multiply a signal
with itself in the time-domain we double its bandwidth in the frequency domain). Hence if the bandwidth
of g(t) is ωm , the bandwidth of g 2 (t) is 2ωm , the bandwidth g 4 (t) is 4ωm , and so on. In reality though not
all the terms in the Taylor series expansion cos(kf g(t)) contribute equally to the determination of the signal
cos(kf g(t)). Notice that in the Taylor series expansion of cos(kf g(t)) the coefficients multiplying the powers
of g(t) get smaller and smaller. This observation will leads us into the conclusion that the bandwidth of the
terms cos(kf g(t)) and sin(kf g(t)) is indeed finite, and as a result the bandwidth of the FM signal mf (t) is
also finite.
To investigate the bandwidth of an FM signal thoroughly we will discriminate two cases of FM signals: The
case of Narrowband FM and the case of Wideband FM.
Page 96
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
6.3.5 Narrowband FM
Consider again the FM signal mf (t) given by the following equation.
The terms for which FT is difficult to evaluate are: cos(kf g(t)) and sin(kf g(t)). Each one of these terms
has a Taylor series expansion involving infinitely many terms. Let us see what happens if each one of these
terms is approximated only by their first term in the Taylor series expansion. Then,
cos(kf g(t)) ≈ 1
(6.19)
sin(kf g(t)) ≈ kf g(t)
The advantage of the above equation is that we can evaluate its FT, and consequently the FT of mf (t). It is
not difficult to see that the bandwidth of mf (t) is approximately equal to 2 times the bandwidth of f (t)(f (t)
is the information signal). Hence, when the above approximations are accurate we are generating an FM
signal whose bandwidth is approximately equal to the bandwidth of an AM signal. Since, in most cases an
FM signal will occupy much more bandwidth than an AM signal, the aforementioned type of FM signal is
called narrowband FM. In the sequel, we are going to identify (quantitatively) conditions under which we
can call an FM signal narrowband. These conditions will be a byproduct of our discussion of wideband FM
systems.
6.3.6 Wideband FM
To illustrate the ideas of wideband FM let us start with the simplest of cases where the information signal is
a single sinusoid. That is,
Integrating the instantaneous frequency ω(t) we obtain the instantaneous phase θ(t):
kf a
θ(t) = ωc t + sin(ωm t) (6.23)
ωm
Page 97
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
k a
The quantity ωfm is denoted by β and it is referred to as the modulation index of the FM system. Let us now
write the above expression for the signal mf (t) in a more expanded form.
To simplify our discussion, from now on, we will be referring to the quantity cos(βsin(ωm t)) as term A and to
the quantity sin(βsin(ωm t)) as term B. Terms A and B are the real and the imaginary part of the following
complex exponential function
ejβsinωm t (6.26)
2π
which is a periodic function with period ωm . The above function can be expanded as an exponential Fourier
series, as follows:
∞
X
ejβsinωm t = Cn ejnωm t (6.27)
n=−∞
Z π
ωm ωm
Cn = ej(βsinωt−nωt) dt (6.28)
2π − ωπm
Let us now make a substitution of variables in the above equation. In particular, let us substitute ωm t with
x. Then,
Z π
1
Cn = ej(βsinx−nx) dx (6.29)
2π −π
The above integral cannot be evaluated in closed form, but it has been extensively calculated for various
values of β’s and most n’s of interest. It has a special name, called the nth order Bessel function of the first
kind and argument β. This function is commonly denoted by the symbol Jn (β). Therefore, we can write:
Cn = Jn (β) (6.30)
As a result,
∞
X
ejβsinωm t = Jn (β)ejnωm t (6.31)
n=−∞
often called the Bessel Jacobi equation. If we evaluate the real and imaginary parts of the right hand
side of equation (6.31) we will be able to calculate term A and term B, respectively. It turns out that if we
substitute these values for term A and term B in the original equation for mf (t) (see equation (6.25)) we
will end up with
Page 98
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
∞
X
mf (t) = Jn (β)cos((ωc + nωm )t) (6.32)
n=−∞
The property of the Bessel function coefficients (actually Property 1) that led us to the above results is listed
below. Some additional properties of the Bessel function coefficients are also listed.
The advantage of equation (6.32) compared to the original equation (6.24) that defined the FM signal mf (t)
is that now, through equation (6.32), we can compute the FT of the signal mf (t). It will consist of an infinite
sequence of impulses located at positions ωc + nωm where n is an integer. In reality though, no matter how
big β is, the significant Jn (β)’s will be only for indices n ≤ β + 1. Hence, the approximate bandwidth of your
FM signal, when the information signal is of sinusoidal nature, is given by the following equation.
In Fig. 6.2 various plots of the Bessel function coefficients Jn (β) are shown. As we can see these plots
verify our claim, above, that Jn (β) become small for indices n > β + 1. In Fig. 6.3 we show the FT of signals
mf (t) for various β values.
In Table 6.1 the values of the Bessel function coefficients Jn (β) are shown for various β values. We can use
the values of the Table 6.1 to evaluate the bandwidth of the signal mf (t) as follows. We are still operating
under the assumption that the information signal is of sinusoidal nature. As a result, expression (6.32)
is a valid representation of our signal mf (t). Let us now impose the criterion that for the evaluation of the
bandwidth of the signal mf (t) we are going to exclude all terms of the infinite sum with index nmax , such that
|Jn (β)| < 0.01 for n > nmax . This criterion is often called the 1% criterion for the evaluation of bandwidth.
If we find that nmax is the minimum index n that does not violate the 1% criterion then we can claim that the
approximate bandwidth of our signal, according to the 1% criterion, is:
Page 99
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Fig. 6.3: Magnitude line spectra for FM waveforms with sinusoidal modulation (a) for constant ωm (b) for
constant ∆ω
B = 2nmax ωm (6.34)
It is worth mentioning that the evaluation of bandwidth based on equation (6.33) corresponds to the band-
width of your FM signal according to a 10% criterion.
The above procedure followed for the evaluation of the FT of mf (t) can be extended to the cases where the
information signal f (t) is a sum of sinusoidal signals, or a periodic signal. In particular, if
then the phase of our FM signal mf (t) is provided by the following equation.
kf a1 kf a2
θ(t) = ωc t + sin(ω1 t)) + sin(ω2 t)) (6.36)
ω1 ω2
Omitting the details, we arrive at a representation of the signal mf (t) such that
∞
X ∞
X
mf (t) = A Jn (β1 )Jk (β2 )cos((ωc + nω1 + kω2 )t) (6.37)
n=−∞ k=−∞
k a
where β1 = ωf 1 1 and β2 = f rackf a2 ω2 . As we can see from the above equation, we now have impulses at
ωc ± nω1 , ωc ± kω2 as well as ωc ± nω1 ± kω2 .
Most of the aforementioned discussion regarding the FT and the bandwidth of an FM signal mf (t) is based
on the assumption that the information signal f (t) is a sinusoid, a sum of sinusoids, or a periodic signal. We
want to be able to derive a formula for the bandwidth of an FM signal mf (t) for an arbitrary information signal
Page 100
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
f (t). Let us revisit the approximate FM signal bandwidth formula (6.33) derived for a sinusoidal information
signal
The second equality in (6.38) is obtained by substituting the value of β with its equal. Now let us pay a
closer look at the two terms involved in the evaluation of the approximate bandwidth B. The first term akf
is the maximum frequency deviation of the instantaneous frequency ω(t) from the carrier frequency ωc ; it
is often denoted by ∆ω. The second term ωm is the maximum frequency content of the information signal
f (t). Keeping these two clarifications in mind, we now define the approximate bandwidth of an FM signal
f (t) to be equal to
B = 2(∆ω + ωm ) (6.39)
where ∆ω is the maximum frequency deviation from the carrier frequency, and ωm is the maximum fre-
quency content of the information signal f (t). It is not difficult to show that for an arbitrary information signal
f (t), ∆ω = kf maxt |f (t)|. Furthermore, to find ωm we first need to compute the FT of the information
signal f (t). Hence, based on the above equation we can claim that the approximate bandwidth of an FM
signal is computable even for the case of an arbitrary info signal. It is worth pointing out that the bandwidth
formula given above has not been proven to be true for FM signals produced by arbitrary info signals; but it
has been verified experimentally in a variety of cases. Equation (6.39) is referred to as Carson’s formula
(rule) for the evaluation of the bandwidth of an FM signal, and from this point on it can be applied freely,
independently of whether the information signal is of sinusoidal nature or not.
One of the ramifications of Carson’s rule is that we can increase the bandwidth of an FM signal at will,
by increasing the modulation constant kf , or equivalently, by increasing the peak frequency deviation ∆ω.
One of the advantages of increasing the bandwidth of the FM signal is that larger bandwidths result in FM
signals that exhibit better tolerances to noise. Unfortunately the peak frequency deviation of an FM signal
is constrained by other considerations, such as a limited overall bandwidth that needs to be shared by a
multitude of FM users. For example, in commercial FM the peak frequency deviation is specified to be equal
to 75 KHz.
Let us now say a word about PM. From our previous discussions the form of a PM signal produced by a
sinusoidal modulating signal is as follows:
Hence,
∆ω = akp ωm (6.42)
Page 101
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
system you need to find the maximum, with respect to time, of |f˙(t)|, where f˙(t) is the time derivative of
f (t). Actually, for PM systems
One last comment to conclude our discussion of angle modulation systems. It can be shown that the power
of an FM or PM signal of the form
A2
is equal to 2 .
6.5 Simulation
We are going to do the simulation in Simulink of Matlab. To run the Simulink, enter the ’Simulink’ command
in the MATLAB command window. It should look as it is shown in the following. Open a new window using
the left icon.
Construct the following block diagram for the FM modulation and demodulation simulation. The following
blocks will be necessary for your simulation. The paths of the blocks have been given as well.
Page 102
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Just drag and drop the blocks you need for your simulation in your work window. Click the left mouse button,
hold and drag to connect the blocks by wire. The parameters for the individual module have been given as
an example. To set the parameters of a block just double click on it.
Signal Generator
Wave form: sine
Amplitude: 1
Frequency: 1000
Discrete time VCO
Page 103
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Page 104
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Set the simulation stop time at say 0.002 from the simulation -> parameters menu.
Run the simulation from the simulation -> start menu. Then double click on the scopes to see the time
domain signals.
Do the simulation with square wave input signal. Is the demodulated signal the faithful reproduction of the
input signal? Why?
6.6 Implementation
In linear FM (frequency modulation), the instantaneous frequency of the output is linearly dependent on
the voltage at the input. Zero volts at the input will yield a sinusoid at center frequency at the output. The
equation for a FM signal is:
Where ωc t + g(t) = φf (t) (instantaneous phase) and the instantaneous angular frequency is:
dg(t)
ωf (t) = ωc t + (6.45)
dt
Z
ωf (t) = ωc + kf f (t)
Z (6.47)
= ωc t + 2πkf f (t)dt
Z
mf (t) = cos(ωc t + 2πkf f (t)dt) (6.48)
Page 105
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
akf
mf (t) = cos(ωc t + sin(ωm t)) (6.50)
fm
The peak frequency deviation from ωc is akf 2π (radian/sec), and the total peak-to-peak deviation is 2(akf 2π).
The modulation index β for this signal is:
akf
β= (6.51)
fm
Note that β will vary for each frequency component of the signal.
6.6.1 Spectrum of FM
The spectrum of an FM signal is described by Bessel functions. As shown in section 6.3.6, for a single
frequency, constant amplitude message, the spectrum of mf (t) is:
∞
X
mf (t) = Jn (β)cos((ωc + nωm )t) (6.52)
n=−∞
ak 1
R jβsinβ−J (β)
where fmf = β = FM modulation index and Jn (β) = 2π e n
dθ, which is the nth order Bessel
function eva1uated at β. Therefore, for each frequency at the input there are infinite number of spectral
components at the output with the amplitude or each component determined by the modulation index β.
The amplitude of the higher order terms will decrease, on the average, such that there will be a limited
bandwidth where most of the energy is concentrated.
1. The input voltage must be small (usually there is an attenuating circuit at the input).
2. The bandwidth is limited for a linear frequency-to-voltage relationship.
Page 106
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Z
mf (t) = cos(ωc t + 2πkf f (α)dα) (6.53)
R
where kf f (α)dα = θ1 t and the equation of e(t) is
Z
e(t) = cos(ωc t + kd F (α)dα) (6.54)
R
where kd F (α)dα = θ2 t.
Since each signal has the same center frequency ωc , the phase comparator compares the instantaneous
values of θ1 and θ2 . The difference in phase is transformed into a DC voltage level proportional to the phase
difference and then amplified to yield F (t). This voltage is the input for the VCO in the feedback. As a result,
the difference between θ1 and θ2 will be made smaller. This process occurs continually, such that θ1 = θ2
at all times.
Substituting for θ1 = θ2
Z Z
kf
kd F (α)dα = kf f (α)dα and F (t) = f (t) (6.55)
kd
where f (t) was the original message signal and F (t) is the demodulated output.
6.7 Procedure
6.7.1 Modulation
a. Build the FM modulator shown in Fig. 6.5 (a).
b. Determine the constant kf from the following:
(1) Use your triple output power supply to apply the input voltages specified in the following table and record
the output frequency: (Take screen shots for the modulated signal with its frequency measurement) Adjust
the best signal sketch by using the scale knob. You can also use an adequate timebase value.
(2) Plot fout vs. Vin . Draw the best straight line through these points. The slope of this line is kf . Note that
kf has units of Hz/Volts. What is the measured value of kf ?
(3) According to the XR2206 data sheet, the expected voltage-to-frequency conversion gain is kf = − R0.32
1 C1
Hertz/Volts.
Page 107
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Calculate the expected value of kf . Assuming the resistors have a tolerance of ±10% and the capacitors
have a tolerance of ±20%, how do the measured and calculated values compare?
c. Add input coupling capacitor C2 to the circuit as shown in Fig. 6.5 (b). Set the modulation frequency to
fm = 2KHz. Fill in the following table using the following equations: (Take screen shots for the modulated
signal with its frequency measurement) Adjust the best signal sketch by using the scale knob. You can also
use an adequate timebase value.
∆fpeak
|Vin | = (6.57)
kf
d. Use the Vin found as the amplitude of the input signal and find ∆fpeak on the oscilloscope. Compare
∆fpeak calculated and measured. Display only the FM signal on the oscilloscope and trigger on the rising
edge of the waveform such that you see the following Fig. 6.6 (it will look like a ribbon):
This "ribbon" displays all frequencies in the FM signal at once. The minimum and maximum frequencies
can be easily detected and directly measured. Recall that ∆fpeak is only half of the peek-to-peak frequency
swing. What parameters determine the bandwidth of an FM signal?
e. View the frequency domain waveform to obtain modulation indices of 2.4, 5.52, 8.65. These are zero
carrier amplitude indices. Include calculations to verify your results in your lab report.
6.7.2 Demodulation
a. Build the FM demodulator utilizing the LM565N PLL shown in Fig. 6.7. Connect the output of the FM
modulator shown in Fig. 6.5 (b) to the input of the FM demodulator.
Page 108
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
b. Apply a sinusoidal message signal and observe the demodulated message signal. Sketch both wave-
forms. How do they compare?
An FM demodulator is typically followed by a filter to block the carrier. Setting the oscilloscope Trigger
Coupling to HF REJ will help sync on the modulation frequency.
c. Apply a square wave message signal and observe the demodulated message signal. Sketch both
waveforms. How do they compare? Why is the demodulated sinusoidal message more faithfully reproduced
than the demodulated square wave?
Page 109
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
The output of the two different inputs of the filter, i.e. the sine wave or the square wave will be shown
as a sine wave. Although the output of a square wave input through this filter is not necessary a sine wave
The output of the square wave input through the filter is shown as a leveled sine wave (i.e. like a lad-
der)
In part (b), Vin (V olts) is a DC voltage connected from the DC power supply.
The nominal value of kf is calculated from the resistor and capacitor measured values instead of the nomi-
nal (ideal) values.
In part (c), Vin (V olts) is an AC voltage fed from the functional generator with input frequency of 2 kHz
The students should be able to see that the equipment used in frequency demodulation gives a linearized
approximation of the varying frequency of the carrier signal (by the input signal amplitude), which is a fea-
ture of the demodulation apparatus. This linear approximation is best described by a Bessel function up
to a specified order n. So, the better the demodulation equipment the more precise is the output signal
to the original input signal, and the higher the order of the Bessel function approximating this linearization
of frequency. Moreover, the less complicated the input signal used, the better is the demodulation. When
simple input signals are used we don’t need a better hardware demodulator. So, simple signals are better
demodulated than complex signals when using the same demodulator equipment. The simplicity of the
signal is a feature of its spectrum structure. The more harmonics in the spectrum of the input signal the
higher is the order of the Bessel function used for correct demodulation (i.e. the more complicated and
costly is the demodulator hardware) This is why a sine wave is better retrieved than a square wave by our
build circuits, since the spectrum of a sine wave contains one harmonic while that of a square wave contains
more harmonics.
Page 110
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Page 111
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Page 112
EEL 3552C Lab Manual 6. EXPERIMENT: FREQUENCY MODULATION
Page 113
University of Central Florida
Experiment 1
Cover Page Template
Author: Instructor:
Author’s Name Professor’s Name
Description
Section Grade (100)
——
Cover Page A cover page containing the course name and number, experiment title, names of 5
the collaborating students, name of professor and date
——
——
——
Objective A description of the scope and objectives of the experiment 5
——
——
Equipment Descriptions of all the equipments used in the experiment 5
——
——
Prelab An analysis with the needed details, calculations and proofs 15
——
——
Simulation 20
• Mainly a Matlab Simulation
——
——
Experiment 30
• circuit description, discuss its assembly ( no need for real photograph picture
of the assembled circuit) A circuit schematic is preferred
• Detailed answers to all the questions in the experiment lab manual proce-
dure part with the needed tables, graphs and measurements and the required
analysis
——
——
Conclusion A paragraph or two containing a general overview of the experiment: 10
• Objective of experiment
——
——
(Organization) This part is not a sectional part of the lab report it is rather a metric used by the 10
instructor to measure:
——
1 - Graphs and Figures: The figures should be clear with good resolution (not
necessarily colored) and should show the considered measurements (mainly from
oscilloscope) with a well presented caption and a discussion of the measurements
presented
Provide figures for each measurement you take from the oscilloscope.