Professional Documents
Culture Documents
1/14
________
Date:
Student Name: _________________________ Lab Supervisor: ___________
Personal Number:
Signature: _______________
LAB-1
Simulation of Radio Transceiver
Building Blocks
Prepared by
Rashad.M.Ramzan and Henrik Fredriksson
{rashad}{henrik}@isy.liu.se
2/14
Introduction:
In this lab you will investigate the characteristics and behaviour of some functional blocks
used in RF transmitters and receivers. The models have been implemented in SimulinkTM,
which is a popular tool for functional level modelling and simulation of various systems at
the block-level of abstraction. For our purpose we have mainly used the Communication
Blockset, which offers a variety of RF models. This LAB has five modules which require
a preparatory work to be completed by you before starting the LAB. To complete all the
program, we assume it should not take more than the scheduled four hours if you have
prepared for the LAB. The LAB consists of the following five modules:
1.
2.
3.
4.
5.
AM Modulation/Demodulation
FM Modulation/Demodulation
Two Stage up-conversion
Heterodyne Receiver
Zero-IF Receiver
1. Instructions
1.1. The LAB manual and Simulink files are available on course web page
http://www.ek.isy.liu.se/courses/tsek02/
1.2. You must hand over the Preparatory Exercises (PE) to the lab assistant before the
start of the LAB to get the credit of this LAB. Very brief but to the point answers
are desirable. Please, do not waste eleventh word if the answer in ten words and a
figure is possible.
1.3. If you are not able to complete the LAB during the scheduled hours, you can do it
in your spare time and once everything is in order and complete, show the results
to the teaching assistant.
2. Preparatory Exercise
Q1:
3/14
_________________________________________________________________
_________________________________________________________________
Q2:
2k f Em
= A0 sin 0t +
sin (mt ) = A0 sin (0t + m f sin (mt ))
m
Which also can be expressed as a series of the Bessel functions of the first kind as:
th
_________________________________________________________________
A phase modulated signal can be expressed as: sPM (t ) = A0 sin (0t + k P xBB (t )) where
xBB (t) is the modulating signal.
4/14
c) What is the relationship between the modulating signal and bandwidth of the FM
signal? (Hint: Carsons rule)
Derive also a formula for the FM bandwidth for narrowband modulation (mf << 1)
without resorting to the Carson's rule (Hint: use the Taylor series expansion)
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
d) Compare AM- and FM modulation in terms the bandwidth. For FM consider two
cases: mf << 1 and mf >> 1. What is the AM- and FM receiver minimum bandwidth
as compared to the received BB signal ?
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
e) Consider the FM modulator block-level model as shown in Fig-3 of this manual.
What a mathematical model does it implement? Write down the adequate equation.
_________________________________________________________________
_________________________________________________________________
Q3:
Q4:
5/14
a) Heterodyne receivers have typically: the band selection filter, image rejection
filter, and channel filter. Explain the function of each of these filters.
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
b) A heterodyne receiver is designed to receive a signal at 1.1 GHz using a 0.9 GHz
LO frequency. Calculate the IF frequency and image frequency. Explain what the
image frequency means.
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
c) Explain the purpose of a two-tone test.
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
Q5:
6/14
3. References
[1] J. Dbrowski, Radioelectronics, LiU-Tryck, 2009
[2] R. Blake, Electronic Communication Systems, Delmar, Thomson Learning, 2002
[3] L. E. Frenzel, Principles of Electronic Communication Systems, McGraw-Hill,
2006.
[4] B. Razavi, RF Microelectronics, Prentice Hall, 1998.
7/14
LAB Exercises
3.1.
AM Modulation/Demodulation
Fig-1: AM Modulation/Demodulation
Open the file am.mdl. Simulate the model and observe the time domain signals on
the scope, and frequency domain signals on the FFT analysers.
Change the Modulation Index by changing gain of the block Modulating signal.
Use the following values: 0.2, 0.5, 1, and 2. Observe the output. Does the
demodulator recover the signal correctly in all cases? Comment on the problem.
___________________________________________________________________
___________________________________________________________________
Compare the Rx-OUT signal, with and without the Band-Select Filter.
___________________________________________________________________
___________________________________________________________________
8/14
The non-linear block, following the Up-conversion Mixer, models odd nonlinearity.
Double click on the block and change it to an even-order non-linearity by changing
"u - 0.001*u*u*u" to "u - 0.001*u*u". Simulate and observe what happens to the
TX-OUT signal.
___________________________________________________________________
___________________________________________________________________
Remove the carrier from the AM signal. For this purpose set the value in the
Constant block to 0. In this way a two-tone signal is generated by the UpConverter. To emphasise the effect of the 3rd order nonlinearity redefine the
Nonlinearity block as u - 0.1*u*u*u.
Simulate and observe the available spectra. What are the power levels of the desired
signal, the in-band and out-of-band spectral content evoked by the nonlinear
distortion? (The band is defined by the Band-select filter between 7 and 13 kHz).
For comparison you can also reduce the nonlinearity. Explain the differences.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
3.2.
9/14
FM Modulation/Demodulation
Open the file fm.mdl. Simulate the model and observe the response of the time
domain signals (scope) and frequency domain signals. Carsons rule can be used to
determine the bandwidth of the FM signal (see the preparatory exercise Q2c).
Compare the results from the simulated model with this rule. Do they match?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Change the modulating frequency and amplitude of the modulating signal. Observe
the effect of these changes on the BW? Compare with the Carsons rule.
3.3.
Observe that the BPF used in the quadrature up-converter does not affect the
spectrum signal significantly. In practice, however, this filter is used anyway.
What could be the possible reason for using this filter?
___________________________________________________________________
A very selective BPF at high frequency is difficult to achieve. How can you
improve the lower sideband rejection in a non-quadrature up-conversion without
changing the filter? (Hint: Look at the LO frequencies in the first and second stage)
___________________________________________________________________
___________________________________________________________________
Verify the improvement through simulation. How much suppression of the lower
sideband have you achieved in the modified model?
___________________________________________________________________
3.4.
Heterodyne Receiver
Open the file he_Rx.mdl and run the simulation. This file models a heterodyne
receiver for a 1.1 GHz RF signal and IF of 200 MHz. The band selection and image
rejection filters are band-pass filters with a pass band between 1 and 1.2 GHz. The
nonlinearity of the amplifier is chosen to be very weak. The channel selection filter
(BPF-IF) has a pass-band between 190 and 210 MHz. For each of the signal
sources, identify the corresponding components in the IF spectrum. Explain the
differences in the signal levels in IF band. Compare the spectra at the input and the
output of the IF filter.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Which one of the input signals can be considered the image if the wanted signal is
at 1.1 GHz? How much suppression does it achieve? (a small offset frequency is
used to make the image visible)
___________________________________________________________________
To emphasise the image problem change the LO frequency to 800 MHz. Now the
wanted signal is at IF equal 300 MHz, respectively. (In fact, as the IF frequency is
changed the IF filter should also be changed accordingly, but we skip the IF filter
problem in this investigation). Run the simulation to see the wanted signal and
identify its image (esp. look at the input of the IF filter). Which input signal makes
the image and how much suppression does it achieve in this case? Compare the
image suppression with the previous case when LO was tuned to 900 MHz and
explain the difference.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Disconnect all RF-signals except the 1.1GHz source. Increase the amount of nonlinearity in the LNA by clicking on the symbol and change 10*u[1]-0.0001* u[1]*
u[1]-0.0001* u[1]* u[1]* u[1] to 10*u[1]-1* u[1]* u[1]-1* u[1]* u[1]* u[1]
Open the zero order hold-block and change the sampling time to 1/10e9 as the
third harmonic will reach triple frequency and also be up-converted.
Change the model to perform a two-tone test. Use only two signal sources, one at
1.09 GHz and other at 1.11 GHz and change the sampling time to 1/1e9 for the
zero order hold-block at the IF filter input (there will be much aliasing in the FFT
spectrum but the part of interest will not be affected and IM3 can be measured
well). Calculate the frequencies of the 3rd order intrmodulation products.
___________________________________________________________________
___________________________________________________________________
Measure the relevant spectral components at the input of the IF filter and calculate
IIP3 of the receiver.
___________________________________________________________________
___________________________________________________________________
3.5.
Zero-IF Receiver
Run the simulation and observe the instruments. Identify the down-converted
desired and undesired signal components after the Hilbert transform and addition.
___________________________________________________________________
___________________________________________________________________
Change the amplitude of signal S2 inside the Test generator block from 1/4 to
1. Measure, with the instruments, the mirror rejection ratio (image rejection)
obtained at the output.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Open the LO dialog box. Add a small phase mismatch, say 3 deg. Run the
simulation. What is the image rejection now?
___________________________________________________________________
___________________________________________________________________
Change back the amplitude of signal S2 inside the Test generator block from 1
to 1/4. Observe RF Spectrum at the mixer input. Where are the intermodulation
products generated?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________