Sparse Array
Concepts
Given a sparse array, the locations of its component antennas/sensors can be normalized to a minimum inter-antenna distance, denoted by , e.g., typically . Accordingly, a sparse array can be simply denoted by an integer set , and the locations of the antennas are , .
Given a sparse array , its difference coarray (DCA) is defined as
- Each entry in is termed a spatial lag.
- The cardinality of DCA, i.e., , is termed degree of freedom (DoF) of the sparse array .
- Clearly, DCA is symmetric, i.e., , .
Let denote the central ULA segment of . Its cardinality is termed uniform degree of freedom (UDoF). Then, the number of uncorrelated sources which can be identified is .
MUSIC over (Khatri-Rao MUSIC)
Without loss of generality, we consider a simple scenario in which monochromatic sources impinge on a sparse array , the received signal can be expressed as
where
- is a matrix. Each column is a steering vector, e.g., .
- is a signal vector.
- is a complex additive Gaussian noise vector.
Then, the covariance matrix of is defined as
where is the autocorrelation of signal vector . By vectorizing, we have
where is the Khatri-Rao product operator. Clearly, in the Khatri-Rao subspace, analogous to (1), we can perform MUSIC algorithm by treating
- vector as the transmitted signal;
- as the received signal;
- as the effective channel matrix;
- , as a steering vector.
Similar to (3), the received signal over as
For the covariance matrix of , spatial smoothing (including selecting, combining, and reordering of the entries in ) is adopted before the eigen-value decomposition (EVD) operation. The smoothed covariance matrix can be shown as
where .
MUSIC over
By parsing the rows of (4) corresponding to the entries in , the received signal on can be expressed as
Based on , a Toeplitz matrix can be built
where is th element in , . It can be proved that the covariance matrix of is a linear scaling of the smoothed covariance matrix in (5), i.e.,
Therefore, MUSIC spectrum estimation can be directly carried out based on , since it has the same eigenspace as .
Given a set , , a steering vector can be constructed as
We can perform EVD on in (7) to obain an orthonormal basis of the noise subspace, and project each steering vector in (8) into the resultant noise subspace. By traversing the candidate steering vectors, a MUSIC spectrum on can be built.
It should be noted that in practice is measured on a plurality of samples. Its covariance matrix in (2) should be averaged over all the measurements, i.e.,
where is the number of measurement samples. Moreover, in the computation of ('s measurement), if a spatial lag has weight larger than 1, the corresponding quantities in should also be averaged.
Finally, what is worth emphasizing, the idea of sparse array is not limited to spatial domain (i.e., layout design of an antenna array), and it can be extended to other domains, e.g., time or frequency domains (pilot pattern design), etc.
Example realizations
Nested patterns & coprime patterns (sparse.py)
def gen_nested_pat(n: int) -> list:
n1 = n // 2
n2 = n - n1
s1 = list(range(n1))
s2 = list(range(n1, (n1 + 1) * n2, n1 + 1))
return s1 + s2
def gen_coprime_pat(p: int, q: int) -> list:
assert p < q, "p < q"
assert np.gcd(p, q) == 1, "p and q should be a co-primed pair of integers."
s = list(range(p, p * q, p)) + list(range(0, 2 * p * q, q))
s.sort()
return sPattern (pat.py)
import numpy as np
class Pattern:
def __init__(self, pat: list[int], unit: float=1) -> None:
self.pat = np.array(pat)
self.unit = unit
self.len = len(pat)
self.calc_dca()
self.calc_dca_ula()
def calc_dca(self) -> None:
self.corr = np.zeros((self.len, self.len), dtype=int)
for r in range(self.len):
for c in range(self.len):
self.corr[r, c] = self.pat[r] - self.pat[c]
self.dca, self.weight = np.unique(self.corr, return_counts=True)
self.dof = len(self.dca)
def calc_dca_ula(self) -> None:
self.udof = 1
m = 0
while len(np.where(self.dca == m + 1)[0]) > 0:
self.udof += 2
m += 1
self.udca = np.linspace(-m, m, self.udof, dtype=int)
def smooth_cov(self, cov: np.ndarray) -> np.ndarray:
m = self.udof // 2
r = np.zeros((m + 1, m + 1), dtype=complex)
for u in self.udca:
coeff = cov[(self.corr == u).nonzero()].mean()
r += np.eye(m + 1, k=-u, dtype=complex) * coeff
return r
def gen_steering_vector(self, coeff: float) -> np.ndarray:
return np.exp(1j * self.pat * self.unit * coeff)
def gen_steering_vector_dca_ula(self, coeff: float) -> np.ndarray:
return np.exp(1j * self.udca[self.udof // 2:] * self.unit * coeff)MUSIC (music.py)
import numpy as np
from pat import Pattern
class MUSIC:
def __init__(self, cov: np.ndarray, dof: int) -> None:
_, u = np.linalg.eigh(cov)
self.u_h = u[:, :-dof].conj().T
def calc_metric(self, v: np.ndarray) -> float:
return np.power(np.linalg.norm(np.dot(self.u_h, v)), -2)
def calc_spectrum(self, pat: Pattern, scope: np.ndarray) -> np.ndarray:
return np.array([self.calc_metric(pat.gen_steering_vector(x)) for x in scope])
class MUSIC_DCA(MUSIC):
def __init__(self, cov_smoothed: np.ndarray, dof: int) -> None:
super().__init__(cov_smoothed, dof)
def calc_spectrum(self, pat: Pattern, scope: np.ndarray) -> np.ndarray:
return np.array([self.calc_metric(pat.gen_steering_vector_dca_ula(x)) for x in scope])References
- Liu, Chun-Lin and Vaidyanathan, P. P. (2016). "Super Nested Arrays: Linear Sparse Arrays With Reduced Mutual Coupling Part I: Fundamentals". IEEE Transactions on Signal Processing, 64, 3997-4012. 10.1109/TSP.2016.2558159.
- Liu, Chun-Lin and Vaidyanathan, P. P. (2016). "Super Nested Arrays: Linear Sparse Arrays With Reduced Mutual Coupling Part II: High-Order Extensions". IEEE Transactions on Signal Processing, 64, 4203-4217. 10.1109/TSP.2016.2558167.
- Ma, Wing-Kin and Hsieh, Tsung-Han and Chi, Chong-Yung (2010). "DOA Estimation of Quasi-Stationary Signals With Less Sensors Than Sources and Unknown Spatial Noise Covariance: A Khatri–Rao Subspace Approach". IEEE Transactions on Signal Processing, 58, 2168-2180. 10.1109/TSP.2009.2034935.
- Liu, Chun-Lin and Vaidyanathan, P. P. (2015). "Remarks on the Spatial Smoothing Step in Coarray MUSIC". IEEE Signal Processing Letters, 22, 1438-1442. 10.1109/LSP.2015.2409153.