SDRN Lab
SDRN Lab
Date: ________________
LEARNING OUTCOME:
Upon successful completion this experiment, the student will be able to phase
modulation technique.
EQUIPMENT:
MATLAB 2015a
LEARNING OUTCOMES:
THEORY:
Cognitive Radio (CR) is an adaptive, intelligent radio and network technology that can
automatically detect available channels in a wireless spectrum and change transmission
parameters enabling more communications. Spectrum sensing is the most important procedure
for the operation of cognitive radio systems. To overcome the shortcomings of the conventional
spectrum sensing techniques, considerable attention has been recently focused on the use of
Modulation Classification (MC) for spectrum sensing. It relies on the fact that all primary users
employ one modulation scheme. In this lab we use phase modulation technique. Phase
modulation (PM) is a method of impressing data onto an alternating-current (AC) waveform by
varying the instantaneous phase of the wave. This scheme can be used with analog or digital
data.
CODING:
clear all
close all
t = 0:0.01:1; % time variable
fc = 5; % carrier frequency
%------------------------------------------
% create message signal m(t)
m = sin(2*pi*t);
%------------------------------------------
kp = pi/2; % phase deviation constant
%------------------------------------------------
% modulating the carrier with the message signal
carrier = cos(2*pi*fc*t);
modulated = cos(2*pi*fc*t + kp*m);
%------------------------------------------------
%------------------------------------------------
% Plotting the signals
plot(t,m,'b',t,carrier,'r',t,modulated,'k--')
axis([0 1 -1.5 1.5]);
xlabel('Time(seconds)');
ylabel('Amplitude(volt)');
title('Phase modulation');
legend('Message','Carrier','Modulated');
Lab Tasks:
Qno.1 Submit the above result.