Transcript of "Receiver side components description"
1.
RECEIVER SIDE COMPONENTS DESCRIPTION (SAMPLE ASSIGNMENT)
Our online Tutors are available 24*7 to provide Help with Help with Receiver Side
Components Description Homework/Assignment or a long term
Graduate/Undergraduate Help with Receiver Side Components Description Project. Our
Tutors being experienced and proficient in Help with Receiver Side Components
Description ensure to provide high quality Help with Receiver Side Components
Description Homework Help. Upload your Help with Receiver Side Components
Description Assignment at ‘Submit Your Assignment’ button or email it
to . You can use our ‘Live Chat’ option to
schedule an Online Tutoring session with our Help with Receiver Side Components
Description Tutors.
Generalized OFDM transmission model
This sample assignment shows OFDM transmission system with channel effects
Generalized_OFDM_transmission_model.m
%% The matlab code given below is made by Bhavik Doshi, Email for any queries at
bhavik.d007@gmail.com
%% This just for testing purpose and all rights are reserved.
clc;
close all;
clear all;
fd=10; % maximum Doppler shift considering 5km/hr speed of moment
ts=1e-2; % Input sample period
h=rayleighchan(ts,fd);
sym=1000;
snr=50;
time=2;
col=['r' 'g' 'b'];
M=[16 64 256];
for mm=1:length(M) %% Making Generalise for multi point modulation
msg=randi([1 M(mm)-1],sym,1);
MMMM = comm.RectangularQAMModulator(M(mm));
MMMM.NormalizationMethod = 'Average Power';
MMMM.AveragePower=250;
modData = step(MMMM,msg);
mod=transpose(modData);
msgln=length(mod);
dftpnt=64; %% FFT hardware capacity
ppt=dftpnt-12; %% Removing 12 points as per IEEE 802.11a standards
info@assignmentpedia.com
2.
it=ceil(msgln/ppt); %% Defining itration required to transmit singal
for i=1:it
if(msgln<i*ppt)
add=(i*ppt)-msgln; %% Logic is to make num. of msg signals exactly divisible by 52,
and if not, number of zeros to be padded is calulated
end
end
mod1=[mod zeros(1,add)]; %% Finally adding required dummy 0 symbols to make total
msg sym number divisible by 52.
for i=1:it
block(i,1:ppt)=mod1(((ppt*(i-1))+1):(ppt*i)); %% Dividing Information in blocks of 52
end
for i=1:it
xx=[zeros(1,6) block(i,1:ppt) zeros(1,6)]; %% adding 6 + 52 + 6 = 64 bits ready for idft
operation
tx11((dftpnt*(i-1)+1):(64*i))=ifft(xx,dftpnt); %% Parallel to Serial converter ready to tx
end
%% adding mimo effects
y=h.PathGains*tx11;
%% End of transmitter ......
%% Over the air and part of reciever ....
for tim=1:time
for ss=1:snr
yn=awgn(y,ss);
fin=yn/h.PathGains; %% Assuming channel estimations are known
for i=1:it
rx(i,1:dftpnt)=fin((dftpnt*(i-1)+1):dftpnt*i); %% Serial Received data converted into block.
Each block contains 64 parallel data.
rec=fft(rx(i,1:dftpnt),dftpnt); %% Each block is computed fft, block is made up of 64
Parallel data only, not more or less.
rec11(i,1:ppt)=rec(7:58); %%Band pass Filter which removes information 0 to 6 and 59 to
64 (reason for sending info only on 52 points)
end
[d1 d2]=size(rec11); %% d1 is calculated because it might be possible that receiver might
not have info of total tx bits.
for i=1:d1
rx111(ppt*(i-1)+1:ppt*i)=rec11(i,1:ppt); %% Coverting parallel data from all 52 symbol
blocks to serial
end
l2=length(rx111);
rx11122=rx111(1:(l2-add));
%% Removing dummy symbols added, this info rx should know from tx
mrec=comm.RectangularQAMDemodulator(M(mm));
mrec.NormalizationMethod = 'Average Power';
3.
mrec.AveragePower=250;
mrec1 = step(mrec,transpose(rx11122));
%% Demodulating to make equivalant original transmitted Symbols
[n1(ss+1) r1(ss+1)]=biterr(msg,mrec1);
end
nfin(tim,1:snr+1)=r1;
end
ffin=sum(nfin)/time;
semilogy(0:snr,ffin,col(mm));
grid on
hold on
end
legend('16-QAM','64-QAM','256-QAM');
xlabel('SNR in dB');
ylabel('BER');
title('OFDM Transmission System');
visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215
Be the first to comment