4.6 Mean-square (MS) spectrum
The PSD is very useful especially when dealing with random signals and the power of the signal over a frequency range is obtained by integrating the PSD over that range. However, in some cases it is desired to use a function that allows to directly infer the average power of sinusoid components of a periodic signal, without the integration step. In these cases, the so-called MS or power spectrum is more convenient.9 However, in applications characterized by a mixed signal in which there is a deterministic signal of interest that is contaminated by random noise (such as sinusoids contaminated by AWGN), the PSD representation is often more convenient than the MS spectrum.
While in continuous-time the PSD unit is watts/Hz, the mean-square spectrum is given directly in watts. Assuming a signal with fundamental period samples, the mean-square spectrum corresponds to the squared magnitude of the corresponding DTFS:
| (4.35) |
with the property
| (4.36) |
where is the signal power.
Recall from the discussion associated to Eq. (2.49) that, if is periodic with fundamental period , its DTFS can be obtained with an -point FFT:
| (4.37) |
One often uses Eq. (4.37) even for a non-periodic , but then the result spectrum must be properly interpreted: as if the signal were a periodic version of the windowed version of using samples.
If the FFT size is chosen to be equal to the period , i. e. , the -th FFT value in Eq. (4.37) corresponds exactly to the -th DTFS coefficient, that is, they both represent the same frequency . In case , Eq. (4.36) is still a valid way to obtain the average power , but the -th bin frequency must be interpreted according to the FFT grid as .
In general, an estimate of the MS spectrum of a discrete-time signal can be obtained from its -length windowed version with
| (4.38) |
and
| (4.39) |
The “hat” in indicates that in general, Eq. (4.38) is an estimate of the true MS spectrum.