{"id":3245,"date":"2019-02-16T05:51:41","date_gmt":"2019-02-16T05:51:41","guid":{"rendered":"http:\/\/www.raymaps.com\/?p=3245"},"modified":"2022-06-04T08:22:41","modified_gmt":"2022-06-04T08:22:41","slug":"massive-mimo-and-antenna-correlation","status":"publish","type":"post","link":"https:\/\/www.raymaps.com\/index.php\/massive-mimo-and-antenna-correlation\/","title":{"rendered":"Massive MIMO and Antenna Correlation"},"content":{"rendered":"\n<p class=\"has-large-font-size\">Some Background<\/p>\n\n\n\n<p>In a previous <a href=\"http:\/\/www.raymaps.com\/index.php\/massive-mimo-fundamentals-and-code\/\">post<\/a> we calculated the Bit Error Rate (BER) of a Massive MIMO system using two different channel models namely deterministic and probabilistic. The deterministic channel model is derived from the geometry of the array (ULA in this case) and the distribution of users in the cell. Whereas probabilistic channel model assumes that the channel is flat fading and can be modeled, between each transmit receive pair, as a complex, circularly symmetric, Gaussian random variable with mean of zero and variance of 0.5 per dimension. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>We observed that the BER performance of a Massive MIMO system was orders of magnitude better in a probabilistic channel than in a deterministic channel. We also discussed why this is the case and how we can make a fair comparison between the two. One suggestion we gave was to adjust the Signal to Noise Ratio (SNR) in the complex Gaussian channel as the assumption of multipath-rich scattering environment which yields IID (Independent and Identically Distributed) channel coefficients also dictates that the SNR must be much lower due to reflection, refraction, diffraction and scattering (see figure below for an example of multipath-rich scattering environment).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"456\" src=\"http:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/12\/Ray-Tracing-Top-View.jpg\" alt=\"Multipath Rich Scattering Environment\" class=\"wp-image-2474\" srcset=\"https:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/12\/Ray-Tracing-Top-View.jpg 495w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2014\/12\/Ray-Tracing-Top-View-300x276.jpg 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><figcaption>Multipath Rich Scattering Environment<br>from Ray Tracing Simulator by Usman Sheikh<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"has-large-font-size\">Antenna Correlation  Models<\/p>\n\n\n\n<p>One point that we did not discuss, at least not in detail, was that the IID assumption is not valid in a realistic channel where there is always some correlation between the antenna elements.&nbsp; Smaller the separation between antenna elements greater is the correlation. Correlation is also greater at the Base Station (BS) than at the Mobile Station (MS) as the angles of arrival at the BS are much narrower. The question is how we can model this correlation as a function of antenna spacing. There are three options that we have, namely (i) Uniform Correlation (ii) Exponential Correlation (iii) Bessel Correlation [1]. We chose the Exponential Model as it is intuitive and quite easy to implement. According to this model correlation between antenna m and antenna n of an array if given as:<\/p>\n\n\n\n<p>\u03c1<sub>m,n<\/sub>=exp(-x<sub>m,n<\/sub>\/x<sub>o<\/sub>)<\/p>\n\n\n\n<p>Where x<sub>m,n<\/sub> is the separation between the antenna elements m and n and x<sub>o<\/sub> is a constant which controls the level of correlation. &nbsp;For a Mobile Station the value of this constant would be around half a wavelength whereas for a base station it could be as high as tens of wavelengths. Higher the value of x<sub>o<\/sub> greater is the correlation between the pair of antenna elements under consideration. The channel matrix H<sub>c<\/sub> with the appropriate channel correlation can then be written as [2]:<\/p>\n\n\n\n<p>H<sub>c<\/sub>=(R<sub>BS<\/sub><sup>1\/2<\/sup>)(H)(R<sub>MS<\/sub><sup>1\/2<\/sup>)<\/p>\n\n\n\n<p>Where R<sub>BS<\/sub> and R<sub>MS<\/sub> are matrices of correlation coefficients at the Base Station (receiver) and Mobile Station (transmitter) respectively. The diagonal elements of the correlation matrices are one and non-diagonal elements decrease exponentially as you move further away (for immediate neighbors the correlation is defined as 0.3, 0.7 and 0.9 for low, medium and high correlation respectively). For no spatial correlation case the correlation matrices simplify to identity matrices i.e. the non-diagonal terms are all zero.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Simulation Results<\/p>\n\n\n\n<p>CASE 1: No correlation<\/p>\n\n\n\n<p>CASE 2: MS low (0.3), BS low (0.3)<\/p>\n\n\n\n<p>CASE 3: MS low (0.3), BS medium (0.7)<\/p>\n\n\n\n<p>CASE 4: MS low (0.3), BS high (0.9)<\/p>\n\n\n\n<p>In the brackets above we give the level of correlation with the nearest neighbor. This decreases exponentially as we move to elements further from the element of interest. We observe that antenna correlation does have great impact on the BER performance of a Massive MIMO system and the difference that we previously saw between the deterministic channel and the probabilistic channel results is somewhat diminished.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"606\" src=\"http:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_Results.png\" alt=\"\" class=\"wp-image-3258\" srcset=\"https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_Results.png 782w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_Results-300x232.png 300w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_Results-768x595.png 768w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><figcaption>Massive MIMO Correlated Channel Results<br>(M=16, N=6,8,10,12,14,16,18)<\/figcaption><\/figure>\n\n\n\n<p class=\"has-large-font-size\">MATLAB Code<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Main Function Containing the Linear Processors<\/p>\n\n\n\n<p>\n<pre>\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% MASSIVE MIMO PROCESSING\n% IN CORRELATED ENVIRONMENT\n% COPYRIGHT RAYMAPS (C) 2019\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\nfunction [ber]=Massive_MIMO(M,N,R_MS,R_BS,EbNo)\n\n% SETTING THE PARAMETERS FOR THE SIMULATION\nf=1e9;                     %Carrier frequency\nc=3e8;                     %Speed of light\nl=c\/f;                     %Wavelength\n%d=l\/2;                    %Rx array spacing\n%theta=2*pi*(rand(1,M));   %Angular separation of users\nsigma=1\/sqrt(2*EbNo);      %Standard deviation of noise\n\nn=1:N;                     %Rx array number\nn=transpose(n);            %Row vector to column vector\n\n% RECEIVE SIGNAL MODEL (LINEAR)\ns=2*(round(rand(M,1))-0.5);           %BPSK signal of length M\n%H=exp(-i*(n-1)*2*pi*d*cos(theta)\/l); %Deterministic channel NxM\nH=(1\/sqrt(2))*(randn(N,M)+i*randn(N,M));%Probabilistic channel NxM\nH=sqrtm(R_BS)*H*sqrtm(R_MS);          %Introducing correlation in H\nwn=sigma*(randn(N,1)+i*randn(N,1));   %AWGN noise of length N\nx=H*s+wn;                             %Receive vector of length N\n\n% LINEAR ARRAY PROCESSING - METHODS\n% 1-MATCHED FILTER\n% y=H'*x;\n\n% 2-PINV without tol\n% y=pinv(H)*x;\n\n% 3-PINV with tol\n% y=pinv(H,0.1)*x;\n\n% 4-Minimum Mean Square Error (MMMSE)\ny=(H'*H+(2*sigma^2)*eye([M,M]))^(-1)*(H')*x;\n\n% DEMODULATION AND BER CALCULATION\ns_est=sign(real(y));          %Demodulation\nber=sum(s!=s_est)\/length(s);  %BER calculation\n\n% Please remove % in front of the array processing technique\n% you want to implement (1-MF, 2-LS1, 3-LS2, 4-MMSE)\n\nreturn\n<\/pre>\n<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Wrapper for Generating the BER Graphs<\/p>\n\n\n\n<p>\n<pre>\nclear all               %Clear all variables\n%close all              %Close all figures\n\nEbNodB=10;              %EbNo on dB scale\nEbNo=10^(EbNodB\/10);    %EbNo on linear scale\nN_vector=2:2:18;        %Rx array length range\nM=16;                   %Tx array length (or users)\n\nfor j=1:length(N_vector)%Varying the length of the receive array\n  N=N_vector(j);        %Selecting a value of N\n  \n  R_MS=eye(M,M);        %Initializing R_MS\n  R_BS=eye(N,N);        %Initializing R_BS\n\n  for p=1:M\n    for q=1:M\n      R_MS(p,q)=exp(-abs(p-q));   %Correlation coefficient\n    end\n  end\n\n  for p=1:N\n    for q=1:N\n      R_BS(p,q)=exp(-abs(p-q)\/10);%Correlation coefficient\n    end\n  end\n  \n  for k=1:50000               %This number may be increased\n    [ber]=Massive_MIMO(M,N,R_MS,R_BS,EbNo); %Main function\n    BER_array(k)=ber;         %Storing the BER in the array\n  end\n\nBER_total(j)=mean(BER_array); %Calculating the mean BER for each N\nend\n\nsemilogy(N_vector, BER_total,'ko-') %Plot on log scale\nxlabel('Receive Array Size(N)')     %X-label\nylabel('BER')                       %Y-label\nhold on                             %Hold on\ngrid on                             %Grid on\n<\/pre>\n<\/p>\n\n\n\n<p class=\"has-large-font-size\">Some Concluding Thoughts<\/p>\n\n\n\n<p>Massive MIMO is a term which is not clearly defined, some say this means tens of antennas at the transmitter and receiver others say hundreds. In the above analysis we have considered 16 transmit antennas and up to 18 receive antennas, which is a very nominal Massive MIMO scenario. To further assess the performance of the linear estimation techniques in a flat fading channel, with correlated fading, we considered 16&#215;16, 32&#215;32 and 64&#215;64 scenarios. There is nothing in the simulation setup that limits you from going even further up, other than the computational power of your machine. <\/p>\n\n\n\n<p>So as a first estimate you would think that the performance of 16&#215;16, 32&#215;32 and 64&#215;64 scenarios must be similar (why?), as suggested by capacity theorems of MIMO systems. But this is not the case. The BER performance actually improves as you move to higher array configurations. At first, we thought that this has to do with the Exponential Correlation Model we have used, since the model assumes that the correlation falls rapidly as you move from nearest neighbours to more distant ones. But this is not the case the BER for higher configurations is much lower even with no correlation. This is a surprising result and we would like to investigate it further. Conclusion: This has to do with calibration of the simulation. If the transmit power is scaled to accommodate for higher number of transmit antennas the BER performance does not change as we go from M=2 to 4 or 8 or 16.   <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_MS_Low_BS_High_64x64-1024x768.png\" alt=\"Massive MIMO BER in Correlated Fading with 64x64 Antenna Combination\" class=\"wp-image-3296\" srcset=\"https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_MS_Low_BS_High_64x64-1024x768.png 1024w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_MS_Low_BS_High_64x64-300x225.png 300w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_MS_Low_BS_High_64x64-768x576.png 768w, https:\/\/www.raymaps.com\/wp-content\/uploads\/2019\/02\/Massive_MIMO_Correlated_MS_Low_BS_High_64x64.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Massive MIMO BER in Correlated Fading with up to 64&#215;64 Antenna Combination<br>(M=64, N=16,32,48,64)<\/figcaption><\/figure>\n\n\n\n<p>So for Massive MIMO systems it is suggested to appropriately select the level of correlation as you move to higher number of Tx-Rx combinations. From a practical point of view it is obvious that as you move to higher configurations, antennas would have to be placed much closer together thereby increasing the spatial correlation. In future we may devote a post to how the spatial correlation between antenna elements is calculated and compare the different models available.    <\/p>\n\n\n\n<p class=\"has-large-font-size\">References<\/p>\n\n\n\n<p>[1] Xiaoming Chen, \u201cAntenna\nCorrelation and Its Impact on Multi-Antenna System\u201d, Progress in\nElectromagnetics Research B, Vol. 62, 241\u2013253, 2015.<\/p>\n\n\n\n<p>[2] Ali Jemmali, Jean Conan \u201cInvestigation of the Correlation Effect on the Performance of V-BLAST and OSTBC MIMO Systems\u201d, ICWMC 2011: The Seventh International Conference on Wireless and Mobile Communications, 2011.<\/p>\n\n\n\n<p>Note: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> All simulations assume Binary Phase Shift Keying (BPSK) modulation unless otherwise stated. However, the simulations can easily incorporate higher order modulations such as Quadrature Amplitude Modulation (QAM). <\/li><li>All simulations were carried out using MMSE processor but the code is in place to evaluate other linear estimation techniques such as MF, ZF and LS.<\/li><li>As shown in the code above the number of transmit antennas M is fixed and the number of receive antennas N is varied until a sufficiently low Bit Error Rate (BER) is achieved (M=16 in first plot and M=64 in the second plot).<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We calculate the degradation in Bit Error Rate (BER) performance due to antenna correlation at the Mobile Station and the Base Station. Exponential Correlation Model is used in the simulation.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[189,12,11,8],"tags":[175,68,193],"class_list":["post-3245","post","type-post","status-publish","format-standard","hentry","category-5g","category-ant","category-berp","category-chanmod","tag-antenna-array","tag-correlation","tag-massive-mimo"],"_links":{"self":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/3245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/comments?post=3245"}],"version-history":[{"count":37,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/3245\/revisions"}],"predecessor-version":[{"id":4288,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/posts\/3245\/revisions\/4288"}],"wp:attachment":[{"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/media?parent=3245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/categories?post=3245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raymaps.com\/index.php\/wp-json\/wp\/v2\/tags?post=3245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}