LAB Digital Moduation
LAB Digital Moduation
LABORATORY CHAPTER 5
DIGITAL MODULATION
Prepared by:
DR. WAN NUR SURYANI FIRUZ BINTI WAN ARIFFIN
Objective:
ii. To plot Amplitude Shift keying (ASK), Frequency Shift Keying (FSK) and
Phase Shift Keying (PSK) using Scilab.
ii. To analyse the characteristic of Amplitude Shift Keying (ASK), Frequency
Shift Keying (FSK) and Phase Shift Keying (PSK).
Theory:
Procedure
1. Launch Scilab.
2. Open SciNotes.
3. Write a Scilab command to represent the Amplitude Shift Keying (ASK)
signal as follows:
Vc=A/2.*cos(fc.*t);
Va=(1+Vm).*(Vc);
subplot(3,1,1);
plot(t,Vm,'red');
xlabel("Time")
ylabel("Amplitude of Message Signal")
subplot(3,1,2);
plot(t,Vc, 'green');
xlabel("Time")
ylabel("Amplitude of Carrier Signal")
subplot(3,1,3);
plot(t,Va, 'blue');
xlabel("Time")
ylabel("Amplitude of ASK Signal")
Vm=A.*squarewave(t);
Vc=A.*cos(wc.*t);
fc=wc/(2*%pi);
subplot(3,1,1);
plot(t,Vm, 'red');
xlabel("Time")
ylabel("Amplitude of Message Signal")
subplot(3,1,2);
plot(t,Vc, 'green');
xlabel("Time")
ylabel("Amplitude of Carrier Signal")
5. Write a Scilab command to represent the Phase Shift Keying (PSK) signal
as follows:
clc;
clear all;
clf;
t=[0:0.01:5*%pi];
A=5;
fc=2;
Vm=A.*squarewave(t);
Vc=A.*sin(fc.*t);
Vp= Vm.*Vc;
subplot(3,1,1);
plot(t,Vm, 'red');
xlabel("Time")
ylabel("Amplitude of Message Signal")
subplot(3,1,2);
plot(t,Vc, 'green');
xlabel("Time")
ylabel("Amplitude of Carrier Signal")
subplot(3,1,3);
plot(t,Vp, 'blue');
xlabel("Time")
ylabel("Amplitude of PSK Signal")
Report
Your lab report should include:
a) objective
b) Introduction
c) Procedure
d) Result (Source Code and Generated Graph of the Lab Exercise)
e) Discussion
f) Conclusion