increasing angular resolution with virtual arrays -凯发k8网页登录
this example introduces how forming a virtual array in mimo radars can help increase angular resolution. it shows how to simulate a coherent mimo radar signal processing chain using phased array system toolbox™.
introduction
there are two categories of multiple input multiple output (mimo) radars. multistatic radars form the first category. they are often referred to as statistical mimo radars. coherent mimo radars form the second category and are the focus of this example. a benefit of coherent mimo radar signal processing is the ability to increase the angular resolution of the physical antenna array by forming a virtual array.
virtual array
a virtual array can be created by quasi-monostatic mimo radars, where the transmit and receive arrays are closely located. to better understand the virtual array concept, first look at the two-way pattern of a conventional phased array radar. the two-way pattern of a phased array radar is the product of its transmit array pattern and receive array pattern. for example, consider a 77 ghz millimeter wave radar with a 2-element transmit array and a 4-element receive array.
fc = 77e9; c = 3e8; lambda = c/fc; nt = 2; nr = 4;
if both arrays have half-wavelength spacing, which are sometimes referred to as full arrays, then the two-way pattern is close to the receive array pattern.
dt = lambda/2; dr = lambda/2; txarray = phased.ula(nt,dt); rxarray = phased.ula(nr,dr); ang = -90:90; pattx = pattern(txarray,fc,ang,0,'type','powerdb'); patrx = pattern(rxarray,fc,ang,0,'type','powerdb'); pat2way = pattx patrx; helperplotmultipledbpattern(ang,[pat2way pattx patrx],[-30 0],... {'two-way pattern','tx pattern','rx pattern'},... 'patterns of full/full arrays - 2tx, 4rx',... {'-','--','-.'});
if the full transmit array is replaced with a thin array, meaning the element spacing is wider than half wavelength, then the two-way pattern has a narrower beamwidth. notice that even though the thin transmit array has grating lobes, those grating lobes are not present in the two-way pattern.
dt = nr*lambda/2; txarray = phased.ula(nt,dt); pattx = pattern(txarray,fc,ang,0,'type','powerdb'); pat2way = pattx patrx; helperplotmultipledbpattern(ang,[pat2way pattx patrx],[-30 0],... {'two-way pattern','tx pattern','rx pattern'},... 'patterns of thin/full arrays - 2tx, 4rx',... {'-','--','-.'});
the two-way pattern of this system corresponds to the pattern of a virtual receive array with 2 x 4 = 8 elements. thus, by carefully choosing the geometry of the transmit and the receive arrays, we can increase the angular resolution of the system without adding more antennas to the arrays.
varray = phased.ula(nt*nr,dr); patv = pattern(varray,fc,ang,0,'type','powerdb'); helperplotmultipledbpattern(ang,[pat2way patv],[-30 0],... {'two-way pattern','virtual array pattern'},... 'patterns of thin/full arrays and virtual array',... {'-','--'},[1 2]);
virtual array in mimo radars
in a coherent mimo radar system, each antenna of the transmit array transmits an orthogonal waveform. because of this orthogonality, it is possible to recover the transmitted signals at the receive array. the measurements at the physical receive array corresponding to each orthogonal waveform can then be stacked to form the measurements of the virtual array.
note that since each element in the transmit array radiates independently, there is no transmit beamforming, so the transmit pattern is broad and covers a large field of view (fov). this allows the simultaneous illumination of all targets in the fov. the receive array can then generate multiple beams to process all target echoes. compared to conventional phased array radars that need successive scans to cover the entire fov, this is another advantage of mimo radars for applications that require fast reaction time.
tdm-mimo radar simulation
time division multiplexing (tdm) is one way to achieve orthogonality among transmit channels. the remainder of this example shows how to model and simulate a tdm-mimo frequency-modulated continuous wave (fmcw) automotive radar system. the waveform characteristics are adapted from the (radar toolbox) example.
waveform = helperdesignfmcwwaveform(c,lambda); fs = waveform.samplerate;
imagine that there are two cars in the fov with a separation of 20 degrees. as seen in the earlier array pattern plots of this example, the 3db beamwidth of a 4-element receive array is around 30 degrees so conventional processing would not be able to separate the two targets in the angular domain. the radar sensor parameters are as follows:
transmitter = phased.transmitter('peakpower',0.001,'gain',36); receiver = phased.receiverpreamp('gain',40,'noisefigure',4.5,'samplerate',fs); txradiator = phased.radiator('sensor',txarray,'operatingfrequency',fc,... 'propagationspeed',c,'weightsinputport',true); rxcollector = phased.collector('sensor',rxarray,'operatingfrequency',fc,... 'propagationspeed',c);
define the position and motion of the ego vehicle and the two cars in the fov.
radar_speed = 100*1000/3600; % ego vehicle speed 100 km/h radarmotion = phased.platform('initialposition',[0;0;0.5],'velocity',[radar_speed;0;0]); car_dist = [40 50]; % distance between sensor and cars (meters) car_speed = [-80 96]*1000/3600; % km/h -> m/s car_az = [-10 10]; car_rcs = [20 40]; car_pos = [car_dist.*cosd(car_az);car_dist.*sind(car_az);0.5 0.5]; cars = phased.radartarget('meanrcs',car_rcs,'propagationspeed',c,'operatingfrequency',fc); carmotion = phased.platform('initialposition',car_pos,'velocity',[car_speed;0 0;0 0]);
the propagation model is assumed to be free space.
channel = phased.freespace('propagationspeed',c,... 'operatingfrequency',fc,'samplerate',fs,'twowaypropagation',true);
the raw data cube received by the physical array of the tdm mimo radar can then be simulated as follows:
rng(2017); nsweep = 64; dn = 2; % decimation factor fs = fs/dn; xr = complex(zeros(fs*waveform.sweeptime,nr,nsweep)); w0 = [0;1]; % weights to enable/disable radiating elements for m = 1:nsweep % update radar and target positions [radar_pos,radar_vel] = radarmotion(waveform.sweeptime); [tgt_pos,tgt_vel] = carmotion(waveform.sweeptime); [~,tgt_ang] = rangeangle(tgt_pos,radar_pos); % transmit fmcw waveform sig = waveform(); txsig = transmitter(sig); % toggle transmit element w0 = 1-w0; txsig = txradiator(txsig,tgt_ang,w0); % propagate the signal and reflect off the target txsig = channel(txsig,radar_pos,tgt_pos,radar_vel,tgt_vel); txsig = cars(txsig); % dechirp the received radar return rxsig = rxcollector(txsig,tgt_ang); rxsig = receiver(rxsig); dechirpsig = dechirp(rxsig,sig); % decimate the return to reduce computation requirements for n = size(xr,2):-1:1 xr(:,n,m) = decimate(dechirpsig(:,n),dn,'fir'); end end
virtual array processing for tdm-mimo radar
the data cube received by the physical array must be processed to form the virtual array data cube. for the tdm-mimo radar system used in this example, the measurements corresponding to the two transmit antenna elements can be recovered from two consecutive sweeps by taking every other page of the data cube.
xr1 = xr(:,:,1:2:end); xr2 = xr(:,:,2:2:end);
now the data cube in xr1
contains the return corresponding to the first transmit antenna element, and the data cube in xr2
contains the return corresponding to the second transmit antenna element. hence, the data cube from the virtual array can be formed as:
xrv = cat(2,xr1,xr2);
next, perform range-doppler processing on the virtual data cube. because the range-doppler processing is linear, the phase information is preserved. therefore, the resulting response can be used later to perform further spatial processing on the virtual aperture.
nfft_r = 2^nextpow2(size(xrv,1)); nfft_d = 2^nextpow2(size(xrv,3)); rngdop = phased.rangedopplerresponse('propagationspeed',c,... 'doppleroutput','speed','operatingfrequency',fc,'samplerate',fs,... 'rangemethod','fft','prfsource','property',... 'rangewindow','hann','prf',1/(nt*waveform.sweeptime),... 'sweepslope',waveform.sweepbandwidth/waveform.sweeptime,... 'rangefftlengthsource','property','rangefftlength',nfft_r,... 'dopplerfftlengthsource','property','dopplerfftlength',nfft_d,... 'dopplerwindow','hann'); [resp,r,sp] = rngdop(xrv);
the resulting resp
is a data cube containing the range-doppler response for each element in the virtual array. as an illustration, the range-doppler map for the first element in the virtual array is shown.
plotresponse(rngdop,squeeze(xrv(:,1,:)));
the detection can be performed on the range-doppler map from each pair of transmit and receive element to identify the targets in scene. in this example, a simple threshold-based detection is performed on the map obtained between the first transmit element and the first receive element, which corresponds to the measurement at the first element in the virtual array. based on the range-doppler map shown in the previous figure, the threshold is set at 10 db below the maximum peak.
respmap = squeeze(mag2db(abs(resp(:,1,:)))); ridx = helperrddetection(respmap,-10);
based on the detected range of the targets, the corresponding range cuts can be extracted from the virtual array data cube to perform further spatial processing. to verify that the virtual array provides a higher resolution compared to the physical array, the code below extracts the range cuts for both targets and combines them into a single data matrix. the beamscan algorithm is then performed over these virtual array measurements to estimate the directions of the targets.
xv = squeeze(sum(resp(ridx,:,:),1))'; doa = phased.beamscanestimator('sensorarray',varray,'propagationspeed',c,... 'operatingfrequency',fc,'doaoutputport',true,'numsignals',2,'scanangles',ang); [pdoav,target_az_est] = doa(xv); fprintf('target_az_est = [%s]\n',num2str(target_az_est));
target_az_est = [-6 10]
the two targets are successfully separated. the actual angles for the two cars are -10 and 10 degrees.
the next figure compares the spatial spectrums from the virtual and the physical receive array.
doarx = phased.beamscanestimator('sensorarray',rxarray,'propagationspeed',c,... 'operatingfrequency',fc,'doaoutputport',true,'scanangles',ang); pdoarx = doarx(xr); helperplotmultipledbpattern(ang,mag2db(abs([pdoav pdoarx])),[-30 0],... {'virtual array','physical array'},... 'spatial spectrum for virtual array and physical array',{'-','--'});
in this example, the detection is performed on the range-doppler map without spatial processing of the virtual array data cube. this works because the snr is high. if the snr is low, it is also possible to process the virtual array blindly across the entire range-doppler map to maximize the snr before the detection.
phase-coded mimo radars
although a tdm-mimo radar's processing chain is relatively simple, it uses only one transmit antenna at a time. therefore, it does not take advantage of the full capacity of the transmit array. to improve the efficiency, there are other orthogonal waveforms that can be used in a mimo radar.
for instance, a mimo radars can also adopt a phase-coded mimo waveform. in this case, each radiating element can transmit a uniquely coded waveform, and the receiver can then have a matched filter bank corresponding to each of those phase coded waveform. the signals can then be recovered and processed to form the virtual array. using the same system configuration as in previous sections, one phase-coded scheme to achieve orthogonality is to have one element always transmit the same fmcw waveform, while the second transmit element reverses the phase of the fmcw waveform for each sweep. this way both transmit elements are active in all sweeps. for the first sweep, the two elements transmit the same waveform; and for the second sweep, the two elements transmit the waveform with opposite phase, and so on. this is essentially coding the consecutive sweeps from different elements with a hadamard code. it is similar to the alamouti codes used in mimo communication systems.
the raw data cube received by the physical array of the phase-coded mimo radar can then be simulated as follows:
rng(2018); xr = complex(zeros(fs*waveform.sweeptime,nr,nsweep)); w = hadamard(2); % weights to enable/disable radiating elements for m = 1:nsweep % update radar and target positions [radar_pos,radar_vel] = radarmotion(waveform.sweeptime); [tgt_pos,tgt_vel] = carmotion(waveform.sweeptime); [~,tgt_ang] = rangeangle(tgt_pos,radar_pos); % transmit fmcw waveform sig = waveform(); txsig = transmitter(sig); % toggle transmit element if mod(m,2) == 1 w0 = w(:,1); else w0 = w(:,2); end txsig = txradiator(txsig,tgt_ang,w0); % propagate the signal and reflect off the target txsig = channel(txsig,radar_pos,tgt_pos,radar_vel,tgt_vel); txsig = cars(txsig); % dechirp the received radar return rxsig = rxcollector(txsig,tgt_ang); rxsig = receiver(rxsig); dechirpsig = dechirp(rxsig,sig); % decimate the return to reduce computation requirements for n = size(xr,2):-1:1 xr(:,n,m) = decimate(dechirpsig(:,n),dn,'fir'); end end
virtual array processing for phase-coded mimo radar
for the phase-coded mimo radar system used in this example, the measurements corresponding to the two sets of phase code can be recovered from two consecutive sweeps by taking every other page of the data cube.
nvsweep = nsweep/2; xr1 = xr(:,:,1:2:end); xr2 = xr(:,:,2:2:end);
next, perform range-doppler processing on the two data cubes separately.
nfft_r = 2^nextpow2(size(xr1,1)); nfft_d = 2^nextpow2(size(xr1,3)); rngdop = phased.rangedopplerresponse('propagationspeed',c,... 'doppleroutput','speed','operatingfrequency',fc,'samplerate',fs,... 'rangemethod','fft','prfsource','property',... 'rangewindow','hann','prf',1/(nt*waveform.sweeptime),... 'sweepslope',waveform.sweepbandwidth/waveform.sweeptime,... 'rangefftlengthsource','property','rangefftlength',nfft_r,... 'dopplerfftlengthsource','property','dopplerfftlength',nfft_d,... 'dopplerwindow','hann');
as an illustration, the range-doppler map of phase-coded mimo radar is same as that of tdm mimo radar.
plotresponse(rngdop,squeeze(xr1(:,1,:)));
for a phase-coded mimo radar, the virtual array can no longer be formed by simply cascading the signal from the two adjacent pulses together. instead, before castcading, the phase code embedded in pulses has to be corrected. this example uses a hadamard code based approach, thus the process to remove the embedded phases is referred to as hadamard decode process. after the hadamard decode processing, range-doppler responses of different transmitters are cascaded. the resulting respvr
is a data cube containing the range-doppler response for physical arrays from different transmit antenna elements.
resp_ddm(:,:,:,1) = rngdop(xr1); [resp_ddm(:,:,:,2),r,sp] = rngdop(xr2); respvr(:,:,:,1) = helperhadamarddecode(resp_ddm,w(:,1)); respvr(:,:,:,2) = helperhadamarddecode(resp_ddm,w(:,2)); % for i = 1:2 % h = w(:,i); % respvr(:,:,:,i) = hadamard_decode(resp_ddm,h); % end
hence, the data cube from the virtual array can be formed as:
resp_vr = cat(2,respvr(:,:,:,1),respvr(:,:,:,2));
the detection can be performed on the range-doppler map from each pair of transmit and receive element to identify the targets in scene. in this example, a simple threshold-based detection is performed on the map obtained between the first transmit element and the first receive element, which corresponds to the measurement at the first element in the virtual array. based on the range-doppler map shown in the previous figure, the threshold is set at 10 db below the maximum peak.
respmap = squeeze(mag2db(abs(resp_vr(:,1,:)))); ridx = helperrddetection(respmap,-10);
based on the detected range of the targets, the corresponding range cuts can be extracted from the virtual array data cube to perform further spatial processing. to verify that the virtual array provides a higher resolution compared to the physical array, the code below extracts the range cuts for both targets and combines them into a single data matrix. the beamscan algorithm is then performed over these virtual array measurements to estimate the directions of the targets.
xv = squeeze(sum(resp_vr(ridx,:,:),1))'; doa = phased.beamscanestimator('sensorarray',varray,'propagationspeed',c,... 'operatingfrequency',fc,'doaoutputport',true,'numsignals',2,'scanangles',ang); [pdoav,target_az_est] = doa(xv); fprintf('target_az_est = [%s]\n',num2str(target_az_est));
target_az_est = [10 -11]
the two targets are successfully separated. the actual angles for the two cars are -10 and 10 degrees.
the next figure compares the spatial spectrums from the virtual and the physical receive array.
doarx = phased.beamscanestimator('sensorarray',rxarray,'propagationspeed',c,... 'operatingfrequency',fc,'doaoutputport',true,'scanangles',ang); pdoarx = doarx(xr); helperplotmultipledbpattern(ang,mag2db(abs([pdoav pdoarx])),[-30 0],... {'virtual array','physical array'},... 'spatial spectrum for virtual array and physical array',{'-','--'});
summary
in this example, we gave a brief introduction to coherent mimo radar and the virtual array concept. we simulated the return of a mimo radar with a 2-element transmit array and a 4-element receive array and performed direction of arrival estimation of the simulated echos of two closely spaced targets using an 8-element virtual array.
references
[1] frank robey, et al. mimo radar theory and experimental results, conference record of the thirty eighth asilomar conference on signals, systems and computers, california, pp. 300-304, 2004.
[2] eli brookner, mimo radars and their conventional equivalents, ieee radar conference, 2015.
[3] sandeep rao, mimo radar, texas instruments application report swra554, may 2017.
[4] jian li and peter stoica, mimo radar signal processing, john wiley & sons, 2009.