###### Background

In the previous few posts we discussed the fundamentals of Uniform Linear Arrays (ULAs), Beamforming, Multiuser Detection and Massive MIMO ([1], [2], [3], [4]). Now we turn our attention to more complicated array structures such as rectangular, triangular and circular. We still assume each element of the array to have an isotropic or omni-directional (in the plane of the array) radiation pattern. The mathematical models for more complicated radiation patterns are an extension of the what is developed here.

###### Square and Rectangular Arrays

In this post we consider a square array which is a special case of rectangular array. We build up from the most basic case of a 2 x 2 array and derive the equation of the resultant signal, which is simply the summation of the individual signals received at the four array elements. Later on we give the MATLAB code which can be used to plot the radiation pattern of any size rectangular array.

###### Derivation of the Array Pattern

Lets consider a plane wave impinging upon a 2 x 2 receive array. The source is considered to be in the far field of the receive array making the plane wave assumption to be realistic. The equations for the received signal at the four array elements are given below. Please note that since the combined signal only depends upon the relative phase of the four components we assume the phase at the wavefront (red line in the figure below) to be zero. Also note that we have assumed that dx=dy=d.

##### r_{1}=1

##### r_{2}=e^{-j2πdcos(θ)/λ}

##### r_{3}=e^{-j2πdsin(θ)/λ}

##### r_{4}=e^{-j2πd(cos(θ)+sin(θ))/λ}

The resultant signal can then be written as:

##### r_{t}=r_{1}+r_{2}+r_{3}+r_{4}

In general for an N x M array the resultant signal can be written as:

##### r_{t}=∑∑ e^{-j2πd(ncos(θ)+msin(θ))/λ}

When the array is not square i.e. the separation along the x and y axes is not the same we have:

##### r_{t}=∑∑ e^{-j2π(ndxcos(θ)+mdysin(θ))/λ}

The range of n and m is 0 to N-1 and 0 to M-1 respectively.

###### 8 x 8 Square Array Radiation Pattern

###### MATLAB Code for a Rectangular Array

```
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SIMPLE RECTANGULAR ARRRAY
% WITH N x M ELEMENTS
% COPYRIGHT RAYMAPS (C) 2018
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all
close all
f=1e9;
c=3e8;
l=c/f;
dx=l/3;
dy=l/3;
theta=0:pi/1800:2*pi;
N=8;
M=8;
r=0;
for n=1:N
for m=1:M
r=r+exp(-i*2*pi*(dx*(n-1)*cos(theta)+dy*(m-1)*sin(theta))/l);
end
end
polar(theta,abs(r),'bo-')
title ('Gain of a Uniform Linear Array')
```

###### Discussion of Simulation Results

In the above code we have assumed a carrier frequency of 1 GHz which gives us a wavelength of 0.3 meter. The element separation along the x and y axis is assumed to be 0.1 meter (lambda/3). The total number of elements is 8 x 8 = 64. The maximum gain obtained is equal to 8 on the linear scale or 9 dB on the logarithmic scale. The radiation pattern has four peaks which does not make this array structure to be of much practical use. More complex array structures resulting in more desirable radiation patterns will be discussed in future posts.

###### Note:

Please note that we have simplified the problem significantly by assuming an omnidirectional pattern of the array elements and plotting the composite radiation pattern only in the plane of the array. In reality the array elements do not always have an omnidirectional radiation pattern (one popular antenna that does have an omnidirectional pattern is a dipole) and we have to plot the 3D pattern of the array (or cuts along different planes) to get a better understanding of the characteristics such as Half Power Beamwidth, First Null Beamwidth and Side Lobe Level etc. More on this later.

#### Author: John (YA)

John has over 15 years of Research and Development experience in the field of Wireless Communications. He has worked for a number of companies around the world including Qualcomm Inc. USA. He has an MS in Electrical Engineering from Virginia Tech USA and has published his work in international journals and conferences.

## 1 thought on “Fundamentals of a Rectangular Array – Mathematical Model and Code”