locating an acoustic beacon with a passive sonar system -凯发k8网页登录
this example shows how to simulate a passive sonar system. a stationary underwater acoustic beacon is detected and localized by a towed passive array in a shallow-water channel. the acoustic beacon transmits a 10 millisecond pulse at 37.5 kilohertz every second, and is modeled as an isotropic projector. the locator system tows a passive array beneath the surface, which is modeled as a uniform linear array. once the acoustic beacon signal is detected, a direction of arrival estimator is used to locate the beacon.
define the underwater channel
in this example, the acoustic beacon is located at the bottom of a shallow water channel, which is 200 meters deep. a passive array is towed beneath the surface to locate the beacon.
first, create a multipath channel to transmit the signal between the beacon and passive array. consider ten propagation paths including the direct path and reflections from the top and bottom surfaces. the paths generated by isopaths
will be used by the multipath channel, channel
, to simulate the signal propagation.
propspeed = 1520; channeldepth = 200; operatingfrequency = 37.5e3; isopaths = phased.isospeedunderwaterpaths('channeldepth',channeldepth,... 'numpathssource','property','numpaths',10,'propagationspeed',propspeed); channel = phased.multipathchannel('operatingfrequency',operatingfrequency);
define the acoustic beacon and passive array
acoustic beacon waveform
define the waveform emitted by the acoustic beacon. the waveform is a rectangular pulse having a 1 second repetition interval and 10 millisecond width.
prf = 1; pulsewidth = 10e-3; pulsebandwidth = 1/pulsewidth; fs = 2*pulsebandwidth; wav = phased.rectangularwaveform('prf',prf,'pulsewidth',pulsewidth,... 'samplerate',fs); channel.samplerate = fs;
acoustic beacon
next, define the acoustic beacon, which is located 1 meter above the bottom of the channel. the acoustic beacon is modeled as an isotropic projector. the acoustic beacon waveform will be radiated to the far field.
projector = phased.isotropicprojector('voltageresponse',120); projradiator = phased.radiator('sensor',projector,... 'propagationspeed',propspeed,'operatingfrequency',operatingfrequency); beaconplat = phased.platform('initialposition',[5000; 2000; -199],... 'velocity',[0; 0; 0]);
passive towed array
a passive towed array will detect and localize the source of the pings, and is modeled as a five-element linear array with half-wavelength spacing. the passive array has velocity of 1 m/s in the y-direction. the array axis is oriented parallel to the direction of travel.
hydrophone = phased.isotropichydrophone('voltagesensitivity',-150); array = phased.ula('element',hydrophone,... 'numelements',5,'elementspacing',propspeed/operatingfrequency/2,... 'arrayaxis','y'); arraycollector = phased.collector('sensor',array,... 'propagationspeed',propspeed,'operatingfrequency',operatingfrequency); arrayplat = phased.platform('initialposition',[0; 0; -10],... 'velocity',[0; 1; 0]);
define the receiver amplifier for each hydrophone element. choose a gain of 20 db and noise figure of 10 db.
rx = phased.receiverpreamp(... 'gain',20,... 'noisefigure',10,... 'samplerate',fs,... 'seedsource','property',... 'seed',2007);
simulate the passive sonar system
activate the acoustic beacon and transmit ten pings. after the propagation delay, the pings appear as peaks in the received signals of the array.
x = wav(); numtransmits = 10; rxsig = zeros(size(x,1),5,numtransmits); for i = 1:numtransmits % update array and acoustic beacon positions [pos_tx,vel_tx] = beaconplat(1/prf); [pos_rx,vel_rx] = arrayplat(1/prf); % compute paths between the acoustic beacon and array [paths,dop,aloss,rcvang,srcang] = ... isopaths(pos_tx,pos_rx,vel_tx,vel_rx,1/prf); % propagate the acoustic beacon waveform tsig = projradiator(x,srcang); rsig = channel(tsig,paths,dop,aloss); % collect the propagated signal rsig = arraycollector(rsig,rcvang); % store the received pulses rxsig(:,:,i) = abs(rx(rsig)); end
plot the last received pulse. because of the multiple propagation paths, each ping is a superposition of multiple pulses.
t = (0:length(x)-1)'/fs; plot(t,rxsig(:,end)) xlabel('time (s)'); ylabel('signal amplitude (v)')
estimate the direction of arrival
estimate the direction of arrival of the acoustic beacon with respect to the array. create a music estimator object, specifying a single source signal and the direction of arrival as an output. use a scan angle grid with 0.1 degree spacing.
musicspatialspect = phased.musicestimator('sensorarray',array,... 'propagationspeed',propspeed,'operatingfrequency',... operatingfrequency,'scanangles',-90:0.1:90,'doaoutputport',true,... 'numsignalssource','property','numsignals',1);
next, collect pings for 500 more repetition intervals. estimate the direction of arrival for each repetition interval, and compare the estimates to the true direction of arrival.
numtransmits = 500; angpassive = zeros(numtransmits,1); angact = zeros(numtransmits,1); for i = 1:numtransmits % update array and acoustic beacon positions [pos_tx,vel_tx] = beaconplat(1/prf); [pos_rx,vel_rx] = arrayplat(1/prf); % compute paths between acoustic beacon and the array [paths,dop,aloss,rcvang,srcang] = ... isopaths(pos_tx,pos_rx,vel_tx,vel_rx,1/prf); angact(i) = rcvang(1,1); % propagate the acoustic beacon waveform tsig = projradiator(x,srcang); rsig = channel(tsig,paths,dop,aloss); % collect the propagated signal rsig = arraycollector(rsig,rcvang); rxsig = rx(rsig); % estimate the direction of arrival [~,angpassive(i)] = musicspatialspect(rxsig); end
plot the estimated arrival angles and the true directions of arrival for each pulse repetition interval.
plot([angpassive angact]) xlabel('pulse number') ylabel('arrival angle (degrees)') legend('estimated doa','actual doa')
the estimated and actual directions of arrival agree to within less than one degree.
summary
in this example, the transmission of acoustic pings between a beacon and passive array was simulated in a shallow-water channel. each ping was received along ten acoustic paths. the direction of arrival of the beacon was estimated with respect to the passive array for each received ping and compared to the true direction of arrival. the direction of arrival could be used to locate and recover the beacon.
reference
urick, robert. principles of underwater sound. los altos, california: peninsula publishing, 1983.