Documentation

ULA Beamscan Spectrum

Beamscan spatial spectrum estimator for ULA

  • Library:
  • Phased Array System Toolbox / Direction of Arrival

Description

TheULA Beamscan Spectrumblock estimates the spatial spectrum of incoming narrowband signals by scanning a region of broadside angles using a narrowband conventional beamformer applied to a uniform linear array. The block optionally calculates the direction of arrival of a specified number of signals by estimating peaks of the spectrum.

Ports

Input

expand all

Received signal, specified as anM-by-Ncomplex-valued matrix. The quantityMis the number of sample values (snapshots) contained in the signal andNis the number of sensor elements in the array.

The size of the first dimension of the input matrix can vary to simulate a changing signal length. A size change can occur, for example, in the case of a pulse waveform with variable pulse repetition frequency.

Data Types:double
Complex Number Support:Yes

Output

expand all

Beamscan spatial spectrum, returned as a non-negative, real-valued column vector representing the magnitude of the estimated beamscan spatial spectrum. Each entry corresponds to an angle specified by the扫描角度(度)parameter.

Data Types:double

Directions of arrival of the signals, returned as a real-valued row vector. The direction of arrival angle is the broadside angle between the source direction and the array axis. Angle units are in degrees. The length of the vector is the number of signals specified by theNumber of signalsparameter. If the object cannot identify peaks in the spectrum, it will returnNaN.

Dependencies

To enable this output port, select theEnable DOA outputcheck box.

Data Types:double

Parameters

expand all

Signal propagation speed, specified as a real-valued positive scalar. The default value of the speed of light is the value returned byphysconst('LightSpeed'). Units are in meters per second.

Example:3e8

Data Types:double

System operating frequency, specified as a positive scalar. Units are in Hz.

The number of bits used to quantize the phase shift component of beamformer or steering vector weights. Specify the number of bits as a non-negative integer. A value of zero indicates that no quantization is performed.

Select this parameter to use forward-backward averaging to estimate the covariance matrix for sensor arrays with a conjugate symmetric array manifold structure.

Specify the amount of averaging used by spatial smoothing to estimate the covariance matrix as a nonnegative integer. Each increase in smoothing handles one extra coherent source, but reduces the effective number of elements by one. The maximum value of this parameter isN – 2, whereNis the number of sensors in the ULA.

Specify the scan angles in degrees as a real-valued row vector. The angles are array broadside angles and must lie between –90° and 90°, inclusive. You must specify the angles in increasing order.

Select this parameter to output the signals directions of arrival (DOA) through theAngoutput port.

Specify the expected number of signals for DOA estimation as a positive scalar integer.

Dependencies

To enable this parameter, select theEnable DOA outputcheck box.

Data Types:double

Block simulation, specified asInterpreted ExecutionorCode Generation. If you want your block to use the MATLAB®interpreter, chooseInterpreted Execution. If you want your block to run as compiled code, chooseCode Generation. Compiled code requires time to compile but usually runs faster.

Interpreted execution is useful when you are developing and tuning a model. The block runs the underlying System object™ in MATLAB. You can change and execute your model quickly. When you are satisfied with your results, you can then run the block usingCode Generation. Long simulations run faster with generated code than in interpreted execution. You can run repeated executions without recompiling, but if you change any block parameters, then the block automatically recompiles before execution.

This table shows how theSimulate usingparameter affects the overall simulation behavior.

When the Simulink®model is inAcceleratormode, the block mode specified usingSimulate usingoverrides the simulation mode.

Acceleration Modes

Block Simulation Simulation Behavior
Normal Accelerator Rapid Accelerator
Interpreted Execution The block executes using the MATLAB interpreter. The block executes using the MATLAB interpreter. Creates a standalone executable from the model.
Code Generation The block is compiled. All blocks in the model are compiled.

For more information, seeChoosing a Simulation Mode(Simulink).

Sensor Array Tab

方法来指定数组,指定的ed asArray (no subarrays)orMATLAB expression.

  • Array (no subarrays)— use the block parameters to specify the array.

  • MATLAB expression— create the array using a MATLAB expression.

MATLAB expression used to create an array, specified as a valid Phased Array System Toolbox array System object.

Example:phased.URA('Size',[5,3])

Dependencies

To enable this parameter, setSpecify sensor array astoMATLAB expression.

Element Parameters

Antenna or microphone type, specified as one of the following:

  • Isotropic Antenna

  • Cosine Antenna

  • Custom Antenna

  • Omni Microphone

  • Custom Microphone

Specify the operating frequency range of the antenna or microphone element as a 1-by-2 row vector in the form[LowerBound,UpperBound]. The element has no response outside this frequency range. Frequency units are in Hz.

Dependencies

To enable this parameter, setElement typetoIsotropic Antenna,Cosine Antenna, orOmni Microphone.

Specify the frequencies at which to set antenna and microphone frequency responses as a 1-by-Lrow vector of increasing real values. The antenna or microphone element has no response outside the frequency range specified by the minimum and maximum elements of this vector. Frequency units are in Hz.

Dependencies

To enable this parameter, setElement typetoCustom AntennaorCustom Microphone. UseFrequency responses (dB)to set the responses at these frequencies.

Select this check box to baffle the back response of the element. When back baffled, the responses at all azimuth angles beyond ±90° from broadside are set to zero. The broadside direction is defined as 0° azimuth angle and 0° elevation angle.

Dependencies

To enable this check box, setElement typetoIsotropic AntennaorOmni Microphone.

Specify the exponents of the cosine pattern as a nonnegative scalar or a real-valued 1-by-2 matrix of nonnegative values. WhenExponent of cosine patternis a 1-by-2 vector, the first element is the exponent in the azimuth direction and the second element is the exponent in the elevation direction. When you set this parameter to a scalar, both the azimuth direction and elevation direction cosine patterns are raised to the same power.

Dependencies

To enable this parameter, setElement typetoCosine Antenna.

Frequency response of a custom antenna or custom microphone for the frequencies defined by theOperating frequency vector (Hz)parameter. The dimensions ofFrequency responses (dB)must match the dimensions of the vector specified by theOperating frequency vector (Hz)parameter.

Dependencies

To enable this parameter, setElement typetoCustom AntennaorCustom Microphone.

Specify the azimuth angles at which to calculate the antenna radiation pattern as a 1-by-Prow vector.Pmust be greater than 2. Azimuth angles must lie between –180° and 180°, inclusive, and be in strictly increasing order.

Dependencies

To enable this parameter, setElement typetoCustom Antenna.

Specify the elevation angles at which to compute the radiation pattern as a 1-by-Qvector.Qmust be greater than 2. Angle units are in degrees. Elevation angles must lie between –90° and 90°, inclusive, and be in strictly increasing order.

Dependencies

To enable this parameter, setElement typetoCustom Antenna.

Magnitude of the combined polarized antenna radiation pattern, specified as aQ-by-Pmatrix or aQ-by-P-by-Larray. The value ofQmust equal the value ofQspecified byElevation angles (deg). The value ofPmust equal the value ofPspecified byAzimuth angles (deg). The value ofLmust equal the value ofLspecified byOperating frequency vector (Hz).

Dependencies

To enable this parameter, setElement typetoCustom Antenna.

Polar pattern microphone response frequencies, specified as a real scalar, or a real-valued, 1-by-Lvector. The response frequencies lie within the frequency range specified by theOperating frequency vector (Hz)vector.

Dependencies

To enable this parameter, setElement typeset toCustom Microphone.

Specify the polar pattern response angles, as a 1-by-Pvector. The angles are measured from the central pickup axis of the microphone and must be between –180° and 180°, inclusive.

Dependencies

To enable this parameter, setElement typetoCustom Microphone.

Specify the magnitude of the custom microphone element polar patterns as anL-by-Pmatrix.Lis the number of frequencies specified inPolar pattern frequencies (Hz).Pis the number of angles specified inPolar pattern angles (deg). Each row of the matrix represents the magnitude of the polar pattern measured at the corresponding frequency specified inPolar pattern frequencies (Hz)and all angles specified inPolar pattern angles (deg). The pattern is measured in the azimuth plane. In the azimuth plane, the elevation angle is 0° and the central pickup axis is 0° degrees azimuth and 0° degrees elevation. The polar pattern is symmetric around the central axis. You can construct the microphone response pattern in 3-D space from the polar pattern.

Dependencies

To enable this parameter, setElement typetoCustom Microphone.

Array Parameters

The number of array elements for ULA arrays, specified as an integer greater than or equal to two.

Example:11

Data Types:double

Distance between adjacent ULA elements, specified as a positive scalar. Units are in meters.

Example:1.5

Linear axis direction of ULA, specified asy,x, orz. Then, all ULA array elements are uniformly spaced along this axis in the local array coordinate system.

Specify element tapering as a complex-valued scalar or a complex-valued 1-by-Nrow vector. In this vector,Nrepresents the number of elements in the array.

Also known aselement weights, tapers multiply the array element responses. Tapers modify both amplitude and phase of the response to reduce side lobes or steer the main response axis.

IfTaperis a scalar, the same weight is applied to each element. IfTaperis a vector, a weight from the vector is applied to the corresponding sensor element. The number of weights must match the number of elements of the array.

Data Types:double

Introduced in R2014b