main content

phased array gallery -凯发k8网页登录

this example shows how to model and visualize a variety of antenna array geometries with phased array system toolbox™. these geometries can also be used to model other kinds of arrays, such hydrophone arrays and microphone arrays. you can view code for each plot, and use it in your own project.

linear arrays

linear antenna arrays can have uniform or nonuniform spacing between elements. this most common linear antenna array is the uniform linear array (ula).

n = 20;  % number of elements
d = 0.5; % element spacing (m)
ula = phased.ula(n,d);
viewarray(ula,'title','uniform linear array (ula)')
set(gca,'cameraviewangle',4.4);

a minimum redundancy linear array (mrla) is an example of a nonuniformly spaced linear array. the mrla minimizes the number of element pairs that have the same spatial correlation lag. it is possible to design a 4-element array whose aperture is equivalent to 7-element ula.

n = 4;                         % number of elements
pos = zeros(3,n);
pos(2,:) = [-1.5 -1 0.5 1.5];  % aperture equivalent to 7-element ula
mrla = phased.conformalarray('elementposition',pos,...
                           'elementnormal',zeros(2,n));
viewarray(mrla,'title','minimum redundancy linear array (mrla)')
set(gca,'cameraviewangle',4.85);

circular arrays

circular antenna arrays can also have uniform or nonuniform spacing between elements. next is an example of a uniform circular array (uca).

n = 24;   % number of elements
r = 1;    % radius (m)
uca = phased.uca(n,r);
viewarray(uca,'shownormals',true,'title','uniform circular array (uca)')
view(0,90)

multiple circular antenna arrays with the same number of elements and different radii form a concentric circular array.

n = 16;                    % number of elements on each ring
r = [1 1.5 2];             % radii (m)
azang = (0:n-1)*360/n-180;
pos = [zeros(1,n);cosd(azang);sind(azang)];
elnormal = zeros(2,n);
concentriccirculararray = phased.conformalarray(...
    'elementposition',[r(1)*pos r(2)*pos r(3)*pos],...
    'elementnormal',[elnormal elnormal elnormal]);
viewarray(concentriccirculararray,'title','concentric circular array');

planar arrays with rectangular grid

planar antenna arrays can have a uniform grid (or lattice) and different boundary shapes. next is an example of a uniform rectangular array (ura) with a rectangular grid and rectangular boundary.

m = 18;   % number of elements on each row
n = 16;   % number of elements on each column
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
ura = phased.ura([n m],[dz dy]);
viewarray(ura,'title','uniform rectangular array (ura)');

you can also model a planar antenna array with a circular boundary. the following code starts with a ura and removes elements outside a circle.

n = 20;   % number of elements on each row/column of rectangular array
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
r = 4.5;  % radius (m)
refarray = phased.ura(n,[dy,dz]);
pos = getelementposition(refarray);
elemtoremove = sum(pos.^2)>r^2; 
pos(:,elemtoremove) = []; % exclude elements outside circle
circularplanararray = phased.conformalarray('elementposition',pos,...
                           'elementnormal',zeros(2,size(pos,2)));
viewarray(circularplanararray,'title','circular planar array');

next is an example of a planar antenna array with an elliptical boundary.

n = 20;   % number of elements on each row/column of rectangular array
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
ry = 4.5; % major radius (m)
rz = 2.8; % minor radius (m)
refarray = phased.ura(n,[dy,dz]);
pos = getelementposition(refarray);
elemtoremove = (pos(2,:)/ry).^2 (pos(3,:)/rz).^2>1; 
pos(:,elemtoremove) = [];  % exclude elements outside ellipse
ellipticalplanararray = phased.conformalarray('elementposition',pos,...
                           'elementnormal',zeros(2,size(pos,2)));
viewarray(ellipticalplanararray,'title','elliptical planar array');

the next example is a hexagonal array with a rectangular grid.

nmin = 7;      % number of elements on bottom row
nmax = 19;     % number of elements on widest row
dy = 0.5;      % row spacing
dz = 0.5;      % column spacing
rows = [nmin:2:nmax nmax-2:-2:nmin];
n = sum(rows); % total number of elements
stop = cumsum(rows);
start = stop-rows 1;
pos = zeros(3,n);
count = 0;
for m = nmin-nmax:2:nmax-nmin
    count = count 1;
    idx = start(count):stop(count);
    pos(2,idx) = (-(rows(count)-1)/2:(rows(count)-1)/2)*dy;
    pos(3,idx) = m/2*dz;
end
hexagonalplanararray = phased.conformalarray('elementposition',pos,...
                           'elementnormal',zeros(2,n));
viewarray(hexagonalplanararray,...
    'title','hexagonal planar array with rectangular grid');

planar arrays with triangular grid

triangular grids provide an efficient spatial sampling and are widely used in practice. here again, different boundary geometries can be applied. first is a rectangular array with a triangular lattice.

m = 18;   % number of elements on each row
n = 16;   % number of elements on each column
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
rectarraytrigrid = phased.ura([n m],[dz dy],'lattice','triangular');
viewarray(rectarraytrigrid,...
    'title','rectangular array with triangular grid');

next is a circular planar antenna array with a triangular lattice.

n = 18;   % number of elements on each row/column of rectangular array
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
r = 4.5;  % radius (m)
refarray = phased.ura(n,[dy,dz],'lattice','triangular');
pos = getelementposition(refarray);
elemtoremove = sum(pos.^2)>r^2; 
pos(:,elemtoremove) = []; % exclude elements outside circle
circularplanararraytrigrid = phased.conformalarray(...
    'elementposition',pos,'elementnormal',zeros(2,size(pos,2)));
viewarray(circularplanararraytrigrid,...
    'title','circular planar array with triangular grid');

next is an elliptical planar antenna array with a triangular lattice.

n = 18;   % number of elements on each row/column of rectangular array
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
ry = 4.5; % major radius (m)
rz = 2.8; % minor radius (m)
refarray = phased.ura(n,[dy,dz],'lattice','triangular');
pos = getelementposition(refarray);
elemtoremove = (pos(2,:)/ry).^2 (pos(3,:)/rz).^2>1; 
pos(:,elemtoremove) = [];  % exclude elements outside ellipse
ellipticalplanararraytrigrid = ...
    phased.conformalarray('elementposition',pos,...
    'elementnormal',zeros(2,size(pos,2)));
viewarray(ellipticalplanararraytrigrid,...
    'title','elliptical planar array with triangular grid');

next is an example of a uniform hexagonal array (uha).

nmin = 9;           % number of elements on bottom row
nmax = 17;          % number of elements on mid row
dy = 0.5;           % row spacing
dz = 0.5*sin(pi/3); % column spacing
rows = [nmin:nmax nmax-1:-1:nmin];
n = sum(rows);      % total number of elements
stop = cumsum(rows);
start = stop-rows 1;
pos = zeros(3,n);
count = 0;
for m = nmin-nmax:nmax-nmin
    count = count 1;
    idx = start(count):stop(count);
    pos(2,idx) = (-(rows(count)-1)/2:(rows(count)-1)/2)*dy;
    pos(3,idx) = m*dz;
end
uha = phased.conformalarray('elementposition',pos,...
    'elementnormal',zeros(2,n));
viewarray(uha,'title','uniform hexagonal array (uha)');

thinned arrays

you can also model planar antenna arrays with nonuniform grids. next is an example of a thinned antenna array.

m = 19;   % number of elements on each row
n = 17;   % number of elements on each column
dy = 0.5; % spacing between elements on each row (m)
dz = 0.5; % spacing between elements on each column (m)
refarray = phased.ura([n m],[dz dy]);
pos = getelementposition(refarray);
elemtoremove = [3:11:m*(n-1)/2 m*n-3:-11:(n 1)/2]; 
pos(:,elemtoremove) = [];  
thinnedura = phased.conformalarray('elementposition',pos,...
                           'elementnormal',zeros(2,size(pos,2)));
viewarray(thinnedura,'title','thinned array');

hemispherical conformal arrays

you can also model nonplanar arrays. in many applications, sensors must conform to the shape of the curved surface they are mounted on. next is an example of an antenna array whose elements are uniformly distributed on a hemisphere.

r = 2;                          % radius (m)
az = -90:10:90;                 % azimuth angles
el = -80:10:80;                 % elevation angles (excluding poles)
[az_grid, el_grid] = meshgrid(az,el);
poles = [0 0; -90 90];          % add south and north poles
ndir = [poles [az_grid(:) el_grid(:)]']; % element normal directions
n = size(ndir,2);               % number of elements
[x, y, z] = sph2cart(degtorad(ndir(1,:)), degtorad(ndir(2,:)),r*ones(1,n));
hemisphericalconformalarray = phased.conformalarray(...
    'elementposition',[x; y; z],'elementnormal',ndir);
viewarray(hemisphericalconformalarray,...
    'title','hemispherical conformal array');
view(90,0)

subarrays

you can model and visualize subarrays. next is an example of contiguous subarrays.

replicatedura = phased.replicatedsubarray('subarray',phased.ura(5),...
                               'layout','rectangular',...
                               'gridsize',[3 3],'gridspacing','auto');
viewarray(replicatedura,'title','3x3 subarrays each having 5x5 elements');

you can lay out subarrays on a nonuniform grid. the next example models the failure of a t/r module for one subarray.

ns = 6;               % number of subarrays
posc = zeros(3,ns);
posc(2,:) = -5:2.5:7.5; % subarray phase centers 
posc(:,3) = [];         % take out 3rd subarray to model t/r failure
defectivesubarray = phased.replicatedsubarray(...
    'subarray',phased.ura([25 5]),...
    'layout','custom',...
    'subarrayposition',posc, ...
    'subarraynormal',zeros(2,ns-1));
viewarray(defectivesubarray,'title','defective subarray'); 
view(90,0)

subarrays can be interlaced and overlapped to mitigate grating lobes.

n = 40;  % number of elements
ns = 8;  % number of subarrays
sel = zeros(ns,n);
nsec = n/ns;
for m = 1:ns
    if m==1
        sel(m,(m-1)*nsec 1:m*nsec 1) = 1;
    elseif m==ns
        sel(m,(m-1)*nsec:m*nsec) = 1;
    else
        sel(m,(m-1)*nsec:m*nsec 1) = 1;
    end
end
overlappedsubarray = phased.partitionedarray('array',phased.ula(n),...
    'subarrayselection', sel);
viewarray(overlappedsubarray,'title','overlapped subarrays'); 
set(gca,'cameraviewangle',4.65);

in certain space-constrained applications, such as on satellites, multiple antenna arrays must share the same space. groups of elements are interleaved, interlaced or interspersed. the next example models interleaved, non-overlapped subarrays.

n = 20;
idx = reshape(randperm(n*n),n,n); 
sel = zeros(n,n*n);
for i =1:n,
    sel(i,idx(i,:)) = 1;
end
interleavedarray = phased.partitionedarray('array',phased.ura(n),...
    'subarrayselection',sel);
viewarray(interleavedarray,'title','interleaved arrays');

another type of nonplanar antenna array is an array with multiple planar faces. the next example shows uniform hexagonal arrays arranged as subarrays on a sphere.

r = 9;                          % radius (m)
az = unigrid(-180,60,180,'[)'); % azimuth angles
el = unigrid(-30,60,30);        % elevation angles (excluding poles)
[az_grid, el_grid] = meshgrid(az,el);
poles = [0 0; -90 90];          % add south and north poles
ndir = [poles [az_grid(:) el_grid(:)]']; % subarray normal directions
n = size(ndir,2);               % number of subarrays
[x, y, z] = sph2cart(degtorad(ndir(1,:)), degtorad(ndir(2,:)),r*ones(1,n));
sphericalhexagonalsubarray = phased.replicatedsubarray('subarray',uha,...
        'layout','custom',...
        'subarrayposition',[x; y; z], ...
        'subarraynormal',ndir);
viewarray(sphericalhexagonalsubarray,...
    'title','hexagonal subarrays on a sphere'); 
view(30,0)

you can also view the array from a different angle and interactively rotate it in 3-d.

view(0,90)
rotate3d on

网站地图