Name : Aditya Bonnerjee
Reg No. : 21BEC0384
Course Name : Digital
Communication Systems Lab
Course Code : BECE306P
Faculty Name : Dr. Nandakumar S
Experiment 3
Bandpass Coherent Single-Bit Modulation Techniques
Aim
To simulate Binary ASK, Binary FSK and Binary PSK using
MATLAB
Algorithm
BASK:
• Representation of message signal:
b = [1 0 1 0]
• Representation of Carrier signal:
x(t) = Asin2πft
• Representation of modulated signal using for
and if loop.
• Representation of Demodulated signal.
• Reconstruction of binary sequence.
Model Graph
BFSK:
• Representation of message signal:
b = [1 0 1 0]
• Representation of Carrier signal:
x(t) = Asin2πt
y(t) = Asin2πt
• Representation of modulated signal using for
and if loop.
• Representation of Demodulated signal.
• Reconstruction of binary sequence.
Model Graph
BPSK:
• Representation of message signal
b = [1 0 1 0]
• Representation of Carrier signal
x(t)= Asin2πft
y(t)= -Asin2πft
• Representation of modulated signal using for
and if loop.
• Representation of Demodulated signal.
• Reconstruction of binary sequence.
Model Graph
MATLAB Code
BASK:
clc;
clear all;
close all;
a=1;
f=7;
n=[1 0 1 1 0 0 0];
t=0:0.01:length(n);
t2=0:6;
%Plot Message Signal
subplot(4,1,1);
stairs(t2,n);
title('Message Signal');
xlabel('Time');
ylabel('Amplitude');
y=a*sin(2*pi*f*t);
%Plot Carrier Signal
subplot(4,1,2);
plot(t,y);
title('Carrier Signal ');
xlabel('Time');
ylabel('Amplitude');
%Modulation Process
for i=1:7
for j=(i-1)*100:i*100
if(n(i)==1)
s(j+1)=y(j+1);
else
s(j+1)=0;
end
end
end
%Plot ASK Signal
subplot(4,1,3);
plot(t,s);
title('ASK Modulated Signal');
xlabel('Time');
ylabel('Amplitude');
%Demodulation Process
for i=1:7
for j=(i-1)*100:i*100
if(s(j+1)==y(j+1))
x(j+1)=1;
else
x(j+1)=0;
end
end
end
%Plot Demodulated Signal
subplot(4,1,4);
plot(t,x);
title('ASK Demodulated Signal');
xlabel('Time');
ylabel('Amplitude');
Output Graph
BFSK:
clc;
clear all;
close all;
a=1;
f1=1;
f2=10;
n=[1 0 1 1 0 1 1];
t=0:0.01:length(n);
t2=0:6;
%Plot Message Signal
subplot(5,1,1);
stairs(t2,n);
title('Message Signal');
xlabel('Time');
ylabel('Amplitude');
c1=a*sin(2*pi*f1*t);
c2=a*sin(2*pi*f2*t);
%Plot Carrier Signal
subplot(5,1,2);
plot(t,c1);
title('Carrier Signal 1');
xlabel('Time');
ylabel('Amplitude');
subplot(5,1,3);
plot(t,c2);
title('Carrier Signal 2');
xlabel('Time');
ylabel('Amplitude');
%Modulation Process
for i=1:7
for j=(i-1)*100:i*100
if(n(i)==1)
s(j+1)=c1(j+1);
else
s(j+1)=c2(j+1);
end
end
end
%Plot FSK Signal
subplot(5,1,4);
plot(t,s);
title('FSK Modulated Signal');
xlabel('Time');
ylabel('Amplitude');
%Demodulation Process
for i=1:7
for j=(i-1)*100:i*100
if(s(j+1)==c1(j+1))
x(j+1)=1;
else
x(j+1)=0;
end
end
end
%Plot Demodulated Signal
subplot(5,1,5);
plot(t,x);
title('FSK Demodulated Signal');
xlabel('Time');
ylabel('Amplitude');
Output Graph
BPSK:
clc;
clear all;
close all;
a=1;
f=3;
n=[1 0 1 1 0 1 1];
t=0:0.01:length(n);
t2=0:6;
%Plot Message Signal
subplot(5,1,1);
stairs(t2,n);
title('Message Signal');
xlabel('Time');
ylabel('Amplitude');
c1=a*sin(2*pi*f*t);
c2=-a*sin(2*pi*f*t);
%Plot Carrier Signal
subplot(5,1,2);
plot(t,c1);
title('Carrier Signal 1');
xlabel('Time');
ylabel('Amplitude');
subplot(5,1,3);
plot(t,c2);
title('Carrier Signal 2');
xlabel('Time');
ylabel('Amplitude');
%Modulation Process
for i=1:7
for j=(i-1)*100:i*100
if(n(i)==1)
s(j+1)=c1(j+1);
else
s(j+1)=c2(j+1);
end
end
end
%Plot FSK Signal
subplot(5,1,4);
plot(t,s);
title('PSK Modulated Signal');
xlabel('Time');
ylabel('Amplitude');
%Demodulation Process
for i=1:7
for j=(i-1)*100:i*100
if(s(j+1)==c1(j+1))
x(j+1)=1;
else
x(j+1)=0;
end
end
end
%Plot Demodulated Signal
subplot(5,1,5);
plot(t,x);
title('PSK Demodulated Signal');
xlabel('Time');
ylabel('Amplitude');
Output Graph
Block Diagrams
BASK:
Transmitter:
Receiver:
BFSK:
Transmitter:
Receiver:
BPSK:
Transmitter:
Receiver:
Result and inference
The modulated and demodulated output waves for each of the
coherent single bit modulation techniques is obtained i.e. BASK,
BPSK and BFSK.
From their respective output graphs we infer the following:
→ For BASK, as per the modulating signal the amplitude of the
analog carrier changes. Phase and frequency continue to be
constant.
When there is high logic at any time intervals it can be said logic 1,
the same amplitude to be transmitted to the output as in those
intervals switch is being closed.
Now when the logic is low i.e. logic 0, No output would be
generated,
→ For BFSK, the frequency of the modulated output decreases for
logic 0 and goes back to initial frequency for logic 1
→ For BPSK, the phase changes by 180 degree for logic 0 and
changes again (goes back to same phase) for logic 1.

More Related Content

DOC
bask, bfsk, bpsk
PDF
Comm lab manual_final-1
PDF
Comm lab manual_final
DOCX
FM Frequency Modulation Codes Matlab.docx
PDF
Exam 6 commlab 18_119_ei0292
PDF
Matlab fair-record-model
DOC
Digitla Communication pulse shaping filter
bask, bfsk, bpsk
Comm lab manual_final-1
Comm lab manual_final
FM Frequency Modulation Codes Matlab.docx
Exam 6 commlab 18_119_ei0292
Matlab fair-record-model
Digitla Communication pulse shaping filter

Similar to Experiment3_DCS-21BEC0384Adityabonnerjee (20)

PDF
Dsp Lab Record
PDF
Adv. Digital Signal Processing LAB MANUAL.pdf
PDF
Matlab 2
PDF
DIGITAL SIGNAL PROCESSING: Sampling and Reconstruction on MATLAB
PDF
Digital modulation
PDF
Modulation techniques matlab_code
PDF
PSK and It's Schemes (using MATLAB)
PDF
Presentation Sampling adn Reconstruction.pdf
PDF
Fast Fourier Transform (FFT) of Time Series in Kafka Streams
PPTX
Detail information regarding ASK FSK PSK IN DETAIL
PPTX
Signal and image processing on satellite communication using MATLAB
DOC
Dsp manual
PDF
FPGA based BCH Decoder
PPTX
YOUR_PASSWORDYOUR_SSIDYOUR_PASSWORDYOUR_SSIDYOUR_SSID
PDF
EC8553 Discrete time signal processing
PDF
Digital Communication
PPT
Frequency modulation
PDF
Multirate sim
PDF
5th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
Dsp Lab Record
Adv. Digital Signal Processing LAB MANUAL.pdf
Matlab 2
DIGITAL SIGNAL PROCESSING: Sampling and Reconstruction on MATLAB
Digital modulation
Modulation techniques matlab_code
PSK and It's Schemes (using MATLAB)
Presentation Sampling adn Reconstruction.pdf
Fast Fourier Transform (FFT) of Time Series in Kafka Streams
Detail information regarding ASK FSK PSK IN DETAIL
Signal and image processing on satellite communication using MATLAB
Dsp manual
FPGA based BCH Decoder
YOUR_PASSWORDYOUR_SSIDYOUR_PASSWORDYOUR_SSIDYOUR_SSID
EC8553 Discrete time signal processing
Digital Communication
Frequency modulation
Multirate sim
5th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
Ad

Recently uploaded (20)

PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Modernising the Digital Integration Hub
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
Architecture types and enterprise applications.pdf
PDF
Five Habits of High-Impact Board Members
PPT
What is a Computer? Input Devices /output devices
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
Chapter 5: Probability Theory and Statistics
PDF
CloudStack 4.21: First Look Webinar slides
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PPTX
Configure Apache Mutual Authentication
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
STKI Israel Market Study 2025 version august
UiPath Agentic Automation session 1: RPA to Agents
Consumable AI The What, Why & How for Small Teams.pdf
The various Industrial Revolutions .pptx
A review of recent deep learning applications in wood surface defect identifi...
Modernising the Digital Integration Hub
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
1 - Historical Antecedents, Social Consideration.pdf
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Architecture types and enterprise applications.pdf
Five Habits of High-Impact Board Members
What is a Computer? Input Devices /output devices
Getting started with AI Agents and Multi-Agent Systems
Hindi spoken digit analysis for native and non-native speakers
Chapter 5: Probability Theory and Statistics
CloudStack 4.21: First Look Webinar slides
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Abstractive summarization using multilingual text-to-text transfer transforme...
Configure Apache Mutual Authentication
NewMind AI Weekly Chronicles – August ’25 Week III
STKI Israel Market Study 2025 version august
Ad

Experiment3_DCS-21BEC0384Adityabonnerjee

  • 1. Name : Aditya Bonnerjee Reg No. : 21BEC0384 Course Name : Digital Communication Systems Lab Course Code : BECE306P Faculty Name : Dr. Nandakumar S Experiment 3
  • 2. Bandpass Coherent Single-Bit Modulation Techniques Aim To simulate Binary ASK, Binary FSK and Binary PSK using MATLAB Algorithm BASK: • Representation of message signal: b = [1 0 1 0] • Representation of Carrier signal: x(t) = Asin2πft • Representation of modulated signal using for and if loop. • Representation of Demodulated signal. • Reconstruction of binary sequence.
  • 3. Model Graph BFSK: • Representation of message signal: b = [1 0 1 0] • Representation of Carrier signal: x(t) = Asin2πt y(t) = Asin2πt • Representation of modulated signal using for and if loop. • Representation of Demodulated signal. • Reconstruction of binary sequence.
  • 4. Model Graph BPSK: • Representation of message signal b = [1 0 1 0] • Representation of Carrier signal x(t)= Asin2πft y(t)= -Asin2πft • Representation of modulated signal using for and if loop. • Representation of Demodulated signal.
  • 5. • Reconstruction of binary sequence. Model Graph MATLAB Code BASK: clc; clear all; close all; a=1; f=7; n=[1 0 1 1 0 0 0]; t=0:0.01:length(n); t2=0:6; %Plot Message Signal subplot(4,1,1); stairs(t2,n); title('Message Signal'); xlabel('Time'); ylabel('Amplitude');
  • 6. y=a*sin(2*pi*f*t); %Plot Carrier Signal subplot(4,1,2); plot(t,y); title('Carrier Signal '); xlabel('Time'); ylabel('Amplitude'); %Modulation Process for i=1:7 for j=(i-1)*100:i*100 if(n(i)==1) s(j+1)=y(j+1); else s(j+1)=0; end end end %Plot ASK Signal subplot(4,1,3); plot(t,s); title('ASK Modulated Signal'); xlabel('Time'); ylabel('Amplitude'); %Demodulation Process for i=1:7 for j=(i-1)*100:i*100 if(s(j+1)==y(j+1)) x(j+1)=1; else x(j+1)=0; end end end %Plot Demodulated Signal subplot(4,1,4); plot(t,x); title('ASK Demodulated Signal');
  • 7. xlabel('Time'); ylabel('Amplitude'); Output Graph BFSK: clc; clear all; close all; a=1; f1=1; f2=10; n=[1 0 1 1 0 1 1]; t=0:0.01:length(n); t2=0:6; %Plot Message Signal
  • 8. subplot(5,1,1); stairs(t2,n); title('Message Signal'); xlabel('Time'); ylabel('Amplitude'); c1=a*sin(2*pi*f1*t); c2=a*sin(2*pi*f2*t); %Plot Carrier Signal subplot(5,1,2); plot(t,c1); title('Carrier Signal 1'); xlabel('Time'); ylabel('Amplitude'); subplot(5,1,3); plot(t,c2); title('Carrier Signal 2'); xlabel('Time'); ylabel('Amplitude'); %Modulation Process for i=1:7 for j=(i-1)*100:i*100 if(n(i)==1) s(j+1)=c1(j+1); else s(j+1)=c2(j+1); end end end %Plot FSK Signal subplot(5,1,4); plot(t,s); title('FSK Modulated Signal'); xlabel('Time'); ylabel('Amplitude'); %Demodulation Process for i=1:7 for j=(i-1)*100:i*100
  • 10. BPSK: clc; clear all; close all; a=1; f=3; n=[1 0 1 1 0 1 1]; t=0:0.01:length(n); t2=0:6; %Plot Message Signal subplot(5,1,1); stairs(t2,n); title('Message Signal'); xlabel('Time'); ylabel('Amplitude'); c1=a*sin(2*pi*f*t); c2=-a*sin(2*pi*f*t); %Plot Carrier Signal subplot(5,1,2); plot(t,c1); title('Carrier Signal 1'); xlabel('Time'); ylabel('Amplitude'); subplot(5,1,3); plot(t,c2); title('Carrier Signal 2'); xlabel('Time'); ylabel('Amplitude'); %Modulation Process for i=1:7 for j=(i-1)*100:i*100 if(n(i)==1) s(j+1)=c1(j+1); else s(j+1)=c2(j+1); end end
  • 11. end %Plot FSK Signal subplot(5,1,4); plot(t,s); title('PSK Modulated Signal'); xlabel('Time'); ylabel('Amplitude'); %Demodulation Process for i=1:7 for j=(i-1)*100:i*100 if(s(j+1)==c1(j+1)) x(j+1)=1; else x(j+1)=0; end end end %Plot Demodulated Signal subplot(5,1,5); plot(t,x); title('PSK Demodulated Signal'); xlabel('Time'); ylabel('Amplitude');
  • 15. Result and inference The modulated and demodulated output waves for each of the coherent single bit modulation techniques is obtained i.e. BASK, BPSK and BFSK. From their respective output graphs we infer the following: → For BASK, as per the modulating signal the amplitude of the analog carrier changes. Phase and frequency continue to be constant. When there is high logic at any time intervals it can be said logic 1, the same amplitude to be transmitted to the output as in those intervals switch is being closed. Now when the logic is low i.e. logic 0, No output would be generated, → For BFSK, the frequency of the modulated output decreases for logic 0 and goes back to initial frequency for logic 1 → For BPSK, the phase changes by 180 degree for logic 0 and changes again (goes back to same phase) for logic 1.