Introduction to MIMO Systems - MATLAB & Simulink - MathWorks India
Introduction to MIMO Systems - MATLAB & Simulink - MathWorks India
html
For a generic communications link, this example focuses on transmit diversity in lieu of traditional receive diversity.
Using the �at-fading Rayleigh channel, it illustrates the concept of Orthogonal Space-Time Block Coding, which is
employable when multiple transmitter antennas are used. It is assumed here that the channel undergoes independent
fading between the multiple transmit-receive antenna pairs.
For a chosen system, it also provides a measure of the performance degradation when the channel is imperfectly
estimated at the receiver, compared to the case of perfect channel knowledge at the receiver.
This section highlights this comparison of transmit vs. receive diversity by simulating coherent binary phase-shift keying
(BPSK) modulation over �at-fading Rayleigh channels. For transmit diversity, we use two transmit antennas and one
receive antenna (2x1 notationally), while for receive diversity we employ one transmit antenna and two receive antennas
(1x2 notationally).
The simulation covers an end-to-end system showing the encoded and/or transmitted signal, channel model, and
reception and demodulation of the received signal. It also provides the no-diversity link (single transmit- receive antenna
case) and theoretical performance of second-order diversity link for comparison. It is assumed here that the channel is
known perfectly at the receiver for all systems. We run the simulation over a range of Eb/No points to generate BER
results that allow us to compare the different systems.
1 of 5 16-02-2022, 13:00
Firefox https://in.mathworks.com/help/comm/ug/introduction-to-mimo-systems.html
% Create two comm.AWGNChannel System objects for one and two receive
% antennas respectively. Set the NoiseMethod property of the channel to
% 'Signal to noise ratio (Eb/No)' to specify the noise level using the
% energy per bit to noise power spectral density ratio (Eb/No). The output
% of the BPSK modulator generates unit power signals; set the SignalPower
% property to 1 Watt.
awgn1Rx = comm.AWGNChannel(...
'NoiseMethod', 'Signal to noise ratio (Eb/No)', ...
'SignalPower', 1);
awgn2Rx = clone(awgn1Rx);
2 of 5 16-02-2022, 13:00
Firefox https://in.mathworks.com/help/comm/ug/introduction-to-mimo-systems.html
ax.YScale = 'log';
xlim(ax,[EbNo(1), EbNo(end)]);
ylim(ax,[1e-4 1]);
xlabel(ax,'Eb/No (dB)');
ylabel(ax,'BER');
fig.NumberTitle = 'off';
fig.Renderer = 'zbuffer';
fig.Name = 'Transmit vs. Receive Diversity';
title(ax,'Transmit vs. Receive Diversity');
set(fig, 'DefaultLegendAutoUpdate', 'off');
fig.Position = figposition([15 50 25 30]);
% Modulate data
modData = bpskMod(data);
3 of 5 16-02-2022, 13:00
Firefox https://in.mathworks.com/help/comm/ug/introduction-to-mimo-systems.html
% Add AWGN
rxSig11 = awgn1Rx(chanOut11);
rxSig21 = awgn1Rx(chanOut21);
rxSig12 = awgn2Rx(chanOut12);
% Plot results
semilogy(ax,EbNo(1:idx), ber_noDiver(1,1:idx), 'r*', ...
EbNo(1:idx), ber_Alamouti(1,1:idx), 'go', ...
EbNo(1:idx), ber_MaxRatio(1,1:idx), 'bs', ...
EbNo(1:idx), ber_thy2(1:idx), 'm');
legend(ax,'No Diversity (1Tx, 1Rx)', 'Alamouti (2Tx, 1Rx)',...
'Maximal-Ratio Combining (1Tx, 2Rx)', ...
'Theoretical 2nd-Order Diversity');
drawnow;
end % end of for loop for EbNo
4 of 5 16-02-2022, 13:00
Firefox https://in.mathworks.com/help/comm/ug/introduction-to-mimo-systems.html
The transmit diversity system has a computation complexity very similar to that of the receive diversity system.
The resulting simulation results show that using two transmit antennas and one receive antenna provides the same
diversity order as the maximal-ratio combined (MRC) system of one transmit antenna and two receive antennas.
Also observe that transmit diversity has a 3 dB disadvantage when compared to MRC receive diversity. This is because
we modeled the total transmitted power to be the same in both cases. If we calibrate the transmitted power such that
the received power for these two cases is the same, then the performance would be identical. The theoretical
performance of second-order diversity link matches the transmit diversity system as it normalizes the total power
across all the diversity branches.
The accompanying functional scripts, mrc1m.m and ostbc2m.m aid further exploration for the interested users.
5 of 5 16-02-2022, 13:00