You are on page 1of 13

Mobile Communication Lab

Lab 08

To Perform MSK and GMSK


modulation /demodulation in Simulink

Prepared by Engr Ali M Durrani


1
(CECOS University) ali@cecos.edu.pk
Digital Modulation
• Like analog modulation, digital modulation
alters a transmittable signal according to the
information in a message signal.

• However, in this case, the message signal is a


discrete-time signal that can assume finitely
many values

Prepared by Engr Ali M Durrani


2
(CECOS University) ali@cecos.edu.pk
Modulation Methods for Digital Data

Prepared by Engr Ali M Durrani


3
(CECOS University) ali@cecos.edu.pk
Example 8a
The model below uses the MSK Modulator Baseband block to
modulate random data. After passing the symbols through a
noisy channel, the model produces a diagram of the noisy
data

Prepared by Engr Ali M Durrani


4
(CECOS University) ali@cecos.edu.pk
Building the Model
• To start building the model, follow these steps:

• Type commlib at the MATLAB prompt.


This opens the Communications Blockset main library.

• Type dsplib at the MATLAB prompt.


This opens the DSP Blockset main library.

• Type simulink3 at the MATLAB prompt.


This opens the Main Simulink Library.

• From the library's File menu, select New and then select Model.
Prepared by Engr Ali M Durrani
5
(CECOS University) ali@cecos.edu.pk
Random Integer Generator
- Set M-ary number to 2
- Set Initial seed to any positive integer scalar
- Set Sample time to 0.1

Prepared by Engr Ali M Durrani


6
(CECOS University) ali@cecos.edu.pk
• AWGN Channel,
– Set Es/No to 4
– Set Symbol period to 0.1

Prepared by Engr Ali M Durrani


7
(CECOS University) ali@cecos.edu.pk
• Discrete Time Eye Diagram Scope
• Discrete Time Signal Trajectory Scope

Prepared by Engr Ali M Durrani


8
(CECOS University) ali@cecos.edu.pk
• Unipolar to Bipolar Convertor
- Set M-ary number to 2

Prepared by Engr Ali M Durrani


9
(CECOS University) ali@cecos.edu.pk
• MSK Modulator Baseband

Prepared by Engr Ali M Durrani


10
(CECOS University) ali@cecos.edu.pk
Running Simulation
• Connect the blocks as shown
• Set Stop time to 10

Prepared by Engr Ali M Durrani


11
(CECOS University) ali@cecos.edu.pk
Lab Task 8a
Recover the original signal at receiver end and
show both the transmitted and received signals

Prepared by Engr Ali M Durrani


12
(CECOS University) ali@cecos.edu.pk
Labtask 8b
• Build a simulink model that uses the GMSK
Modulation technique to transmit random
data through a noisy channel, show the
diagram of the transmitted ,noisy and
recieved data.

Prepared by Engr Ali M Durrani


13
(CECOS University) ali@cecos.edu.pk

You might also like