Binary Frequency Shift Keying (BFSK) is a type of frequency shift keying (FSK) in which the frequency of a carrier signal is changed based on the data being transmitted. In BFSK, a binary “1” is represented by one frequency, while a binary “0” is represented by a different frequency.
BFSK implementation typically involves the following steps:
- Modulation: The data to be transmitted is converted into a binary sequence and used to modulate the frequency of a carrier signal. A binary “1” is represented by a frequency f1 and a binary “0” is represented by a frequency f2.
- Transmission: The modulated signal is transmitted over a communication channel, such as a wired or wireless link.
- Demodulation: The received signal is demodulated to recover the original data. This is typically done by comparing the frequency of the received signal to the two possible frequencies and determining which one it matches.
- Decoding: The demodulated data is decoded to recover the original information.
BFSK is less susceptible to noise and interference than other types of frequency modulation, making it a popular choice for wireless communications systems. However, it is less efficient in terms of bandwidth usage compared to other modulation techniques like PSK or QAM.
Procedure
- Edit the MATLAB code
- Save the code with a file name with .m extension
- Execute the MATLAB code
- Observe the input and output waveforms
- Analyse the output
MatLab Code
clc;
clear all;
N=8;
b=round(rand(1,N));
subplot(4,1,1);
stem(b,'filled')
xlabel('Bits index')
ylabel('transmitted bits')
NRZ_out=[];
Vp=1;
for index=1:size(b,2)
if b(index)==1
NRZ_out=[NRZ_out ones(1,200)*Vp];
elseif b(index)==0
NRZ_out=[NRZ_out zeros(1,200)*(-Vp)];
end
end
subplot(4,1,2);
plot(NRZ_out)
t=0.005:0.005:8;
f2=3;
f1=5;
A=5;
mod_sig=[];
for(i=1:1:length(NRZ_out))
if(NRZ_out(i)==1)
y=A*cos(2*pi*f1*t(i));
else
y=A*cos(2*pi*f2*t(i));
end
mod_sig=[mod_sig y];
end
subplot(4,1,3);
plot(t,mod_sig)
xlabel('Time in seconds')
ylabel('Modulated signal')
demod_branch_1=mod_sig.*(cos(2*pi*f1*t));
demod_branch_2=mod_sig.*(cos(2*pi*f2*t));
y_1=[];
for i=1:200:size(demod_branch_1,2)
y_1=[y_1 trapz(t(i:i+199),demod_branch_1(i:i+199))];
end
y_2=[];
for i=1:200:size(demod_branch_2,2)
y_2=[y_2 trapz(t(i:i+199),demod_branch_2(i:i+199))];
end
rec_sig=y_1>y_2;
subplot(4,1,4);
stem(rec_sig,'filled','r')
xlabel('Bits index')
ylabel('Received bits')
Output
Result
BFSK modulation technique is demonstrated using MATLAB code.
More Matlab Projects
- Microwave and Antenna Various Matlab CodesMicrowave and Antenna Various Matlab Codes. Some of the Projects are below. Polar form for a Symmetrical Dipole of Finite… Read more: Microwave and Antenna Various Matlab Codes
- Multiple Input Multiple Output(MIMO) using MatlabIntroduction Multiple Input Multiple Output(MIMO) using Matlab. Multiple Input Multiple Output (MIMO) is a technology used in wireless communication systems… Read more: Multiple Input Multiple Output(MIMO) using Matlab
- Pulse Width Modulation(PWM) working Principal using MatlabIntroduction Pulse Width Modulation(PWM) working Principal using Matlab. PWM stands for Pulse Width Modulation. It is a type of digital… Read more: Pulse Width Modulation(PWM) working Principal using Matlab
- Quadrature Amplitude Modulation(QAM): Theory and MatlabIntroduction Quadrature Amplitude Modulation(QAM): Theory and Matlab QAM stands for Quadrature Amplitude Modulation. It is a method of combining two… Read more: Quadrature Amplitude Modulation(QAM): Theory and Matlab
- Polar form for a Symmetrical Dipole of Finite Length: Matlab ScriptPolar form for a Symmetrical Dipole of Finite Length: Matlab Script. This Experiment include finding of: Introduction The polar form… Read more: Polar form for a Symmetrical Dipole of Finite Length: Matlab Script
- Radiated Power and Maximum Directivity of any Antenna: Theory and Matlab codeRadiated Power and Maximum Directivity of any Antenna: Theory and Matlab code. Introduction The radiated power of an antenna refers… Read more: Radiated Power and Maximum Directivity of any Antenna: Theory and Matlab code
- Polar form for a Loop Antenna with Uniform Current: Theory and Matlab codeIntroduction The polar form for a loop antenna with uniform current can be determined using the far-field approximation and the… Read more: Polar form for a Loop Antenna with Uniform Current: Theory and Matlab code
- Two Dimensional(2-D) Polar and Semi-Polar Patters using Matlab codeIntroduction Two Dimensional(2-D) Polar and Semi-Polar Patters using Matlab code. Two-dimensional (2-D) polar and semi-polar patterns are graphical representations of… Read more: Two Dimensional(2-D) Polar and Semi-Polar Patters using Matlab code
Learn how to get ready for placement and crack interviews trick
- How to study for College Placements | How to get into Product Based Companies?
- Placement Roadmap for Top Companies
- Placement Strategies- A plan of Succeed-Interview
- For Placement Preparation. Placement Cell
- FOR MORE COURSES. FREE COURSES
- FOR Job Updates. JOB AND INTERNSHIP UPADTES
- For Latest Trends in Technology. Technology Blog
- For Quotes and Poems. Quotes-Poems
About Connect Kreations
We the team Connect Kreations have started a Blog page which is eminently beneficial to all the students those who are seeking jobs and are eager to develop themselves in a related area. As the world is quick on uptake, our website also focuses on latest trends in recent technologies. We are continuously putting our efforts to provide you with accurate, best quality, and genuine information. Here we also have complete set of details on how to prepare aptitude, interview and more of such placement/ off campus placement preparation.
Connect Kreations is excited to announce the expansion of our services into the realm of content creation! We are now offering a wide range of creative writing services, including poetry, articles, and stories.
Whether you need a heartfelt poem for a special occasion, a thought-provoking article for your blog or website, or an engaging story to captivate your audience, our team of talented writers is here to help. We have a passion for language and a commitment to creating high-quality content that is both original and engaging.
Our services are perfect for individuals, businesses, and organizations looking to add a touch of creativity and personality to their content. We are confident that our unique perspectives and diverse backgrounds will bring a fresh and exciting voice to your project.
Thank you for choosing Connect Kreations for your content creation needs. We look forward to working with you and helping you to bring your vision to life!
The website is open to all and we want all of you to make the best use of this opportunity and get benefit from it..🤓
- Our Websites: Connect Kreations
- Our Websites: StudentsDev Connect Kreations