main content

fpga-凯发k8网页登录

this example shows how to implement a minimum-variance distortionless-response (mvdr) beamformer suitable for hardware.

for more information on beamformers, see .

mvdr objective

the mvdr beamformer preserves the gain in the direction of arrival of a desired signal and attenuates interference from other directions [1], [2].

given readings from a sensor array, such as the uniform linear array (ula) in the following diagram, form data matrix from samples of the array, where is an -by-1 column vector of readings from the array sampled at time , and is one row of matrix . many more samples are taken than there are elements in the array. this results in the number of rows in being much greater than the number of columns. an estimate of the covariance matrix is , where is the hermitian or complex-conjugate transpose of .

compute the mvdr beamformer response by solving the following equation for , where is a steering vector pointing in the direction of the desired signal.

the mvdr weight vector is computed from and using the following equation, which normalizes to preserve the gain in the direction of arrival of the desired signal.

the mvdr system response is the inner product between the mvdr weight vector and a current sample from the sensor array .

hdl-optimized mvdr

the three equations in the previous section are implemented by the three primary blocks in the following model. the rate changes give the matrix solve additional clock cycles to update before the next input sample. the number of clock cycles between a valid input and when the complex matrix solve block is ready is twice its input wordlength to allow time for cordic iterations, plus 15 cycles for internal delays.

load_system('mvdrbeamformerhdloptimizedmodel');
open_system('mvdrbeamformerhdloptimizedmodel/mvdr - hdl optimized')

instead of forming data matrix and computing the cholesky factorization of covariance matrix , the upper-triangular matrix of the qr decomposition of is computed directly and updated as each data vector streams in from the sensor array. because the data is updated indefinitely, a forgetting factor is applied after each factorization. to integrate with an equivalent of a matrix of rows, the forgetting factor should be set to

this example simulates the equivalent of a matrix with rows, so the forgetting factor is set to 0.9983.

the complex partial-systolic matrix solve using q-less qr decomposition with forgetting factor block is implemented using the method found in [3]. the upper-triangular matrix from the qr decomposition of is identical to the cholesky factorization of except the signs of values on the diagonal. solving the matrix equation by computing the cholesky factorization of is not as efficient or as numerically sound as computing the qr decomposition of directly [4].

run model

open and simulate the model.

open_system('mvdrbeamformerhdloptimizedmodel')
scopes = find_system('mvdrbeamformerhdloptimizedmodel','blocktype','scope');
close_system(scopes);

as the model is simulating, you can adjust the signal direction, steering angle and noise directions by dragging the sliders, or by editing the constant values.

when the signal direction and steering angle are aligned as indicated by the blue and green lines, you can see that the beam pattern has a gain of 0 db. the noise sources are nulled as indicated by the red lines.

the desired pulse appears when the noise sources are nulled. this example simulates with the same latency as the hardware, so you can see the signal settle over time as the simulation starts and when the directions are changed.

set parameters

the parameters for the beamformer are set in the model workspace. you can modify the parameters by editing and running the setmvdrexamplemodelworkspace function.

references

[1] v. behar et al. "parameter optimization of the adaptive mvdr qr-based beamformer for jamming and multipath supression in gps/glonass receivers". in: proc. 16th saint petersburg international conference on integrated navigation systems. saint petersburg, russia, may 2009, pp. 325--334.

[2] jack capon. "high-resolution frequency-wavenumber spectrum analysis". in: vol. 57. 1969, pp. 1408--1418.

[3] c.m. rader. "vlsi systolic arrays for adaptive nulling". in: ieee signal processing magazine (july 1996), pp. 29--49.

[4] charles f. van loan. introduction to scientific computing: a matrix-vector approach using matlab. second edition. prentice-hall, 2000. isbn: 0-13-949157-0.

网站地图