Difference between revisions of "Theory of Stochastic Signals/Power-Spectral Density"

From LNTwww
Line 110: Line 110:
  
  
==Leistungsdichtespektrum mit Gleichsignalkomponente==
+
==Power spectral density with DC component==
 
<br>
 
<br>
Wir gehen von einem gleichsignalfreien Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; aus.&nbsp; Weiter setzen wir voraus, dass der Prozess auch keine periodischen Anteile beinhaltet.&nbsp; Dann gilt:  
+
We assume an equal-signal-free random process&nbsp; $\{x_i(t)\}$&nbsp; Further, we assume that the process also contains no periodic components.&nbsp; Then holds:  
*Die Autokorrelationsfunktion&nbsp; $φ_x(τ)$ verschwindet&nbsp; für&nbsp; $τ → ∞$.  
+
*The autocorrelation function&nbsp; $φ_x(τ)$ vanishes&nbsp; for&nbsp; $τ → ∞$.  
*Das Leistungsdichtespektrum&nbsp; ${\it \Phi}_x(f)$ &nbsp;&nbsp; berechenbar als die Fouriertransformierte von&nbsp; $φ_x(τ)$&nbsp; &nbsp; ist sowohl wert– als auch zeitkontinuierlich, also ohne diskrete Anteile.  
+
*The power density spectrum&nbsp; ${\it \Phi}_x(f)$ &nbsp;-&nbsp; computable as the Fourier transform of&nbsp; $φ_x(τ)$&nbsp; -&nbsp; is both continuous in value and continuous in time, i.e., without discrete components.  
  
  
Wir betrachten nun einen zweiten Zufallsprozess&nbsp; $\{y_i(t)\}$, der sich vom Prozess&nbsp; $\{x_i(t)\}$&nbsp; lediglich durch eine zusätzliche Gleichsignalkomponente&nbsp; $m_y$&nbsp; unterscheidet:  
+
We now consider a second random process&nbsp; $\{y_i(t)\}$, which differs from the process&nbsp; $\{x_i(t)\}$&nbsp; only by an additional DC component&nbsp; $m_y$&nbsp; :  
:$$\left\{ y_i (t) \right\} = \left\{ x_i (t) + m_y \right\}.$$
+
:$$\left\{ y_i (t) \right\} = \left\{ x_i (t) + m_y \right\}.$$
  
Die statistischen Beschreibungsgrößen des mittelwertbehafteten Zufallsprozesses&nbsp; $\{y_i(t)\}$&nbsp; weisen dann folgende Eigenschaften auf:  
+
The statistical descriptors of the mean-valued random process&nbsp; $\{y_i(t)\}$&nbsp; then have the following properties:  
*Der Grenzwert der AKF für&nbsp; $τ → ∞$&nbsp; ist nun nicht mehr Null, sondern&nbsp; $m_y^2$.&nbsp; Im gesamten&nbsp; $τ$&ndash;Bereich von&nbsp; $–∞$&nbsp; bis&nbsp; $+∞$&nbsp; ist die AKF&nbsp; $φ_y(τ)$&nbsp; um&nbsp; $m_y^2$&nbsp; größer als&nbsp; $φ_x(τ)$:
+
*The limit of the ACF for&nbsp; $τ → ∞$&nbsp; is now no longer zero, but&nbsp; $m_y^2$. &nbsp; Throughout&nbsp; $τ$&ndash;the range from&nbsp; $-∞$&nbsp; to&nbsp; $+∞$&nbsp; the ACF&nbsp; $φ_y(τ)$&nbsp; is larger by&nbsp; $m_y^2$&nbsp; than&nbsp; $φ_x(τ)$:
 
:$${\varphi_y ( \tau)} = {\varphi_x ( \tau)} + m_y^2 . $$
 
:$${\varphi_y ( \tau)} = {\varphi_x ( \tau)} + m_y^2 . $$
*Nach den elementaren Gesetzen der Fouriertransformation führt der konstante AKF-Beitrag im PSD zu einer Diracfunktion&nbsp; $δ(f)$&nbsp; mit dem Gewicht&nbsp; $m_y^2$:
+
*According to the elementary laws of the Fourier transform, the constant ACF contribution in the PSD leads to a Dirac function&nbsp; $δ(f)$&nbsp; with weight&nbsp; $m_y^2$:
:$${{\it \Phi}_y ( f)} = {\Phi_x ( f)} + m_y^2 \cdot \delta (f). $$
+
:$${{\it \Phi}_y ( f)} = {\Phi_x ( f)} + m_y^2 \cdot \delta (f). $$
  
Nähere Informationen zur Diracfunktion finden Sie im Kapitel&nbsp; [[Signal_Representation/General_Description/Gleichsignal_-_Grenzfall_eines_periodischen_Signals|Gleichsignal - Grenzfall eines periodischen Signals]]&nbsp; des Buches „Signaldarstellung”.&nbsp;   
+
More detailed information about the Dirac function can be found in the chapter&nbsp; [[Signal_Representation/General_Description/Gleichsignal_-_Grenzfall_eines_periodischen_Signals|Gleichsignal - Grenzfall eines periodischen Signals (still in German)]]&nbsp; of the book "Signal Representation".&nbsp;   
Weiterhin möchten wir Sie hier auf das Lernvideo&nbsp; [[Herleitung_und_Visualisierung_der_Diracfunktion_(Lernvideo)|Herleitung und Visualisierung der Diracfunktion]]&nbsp; hinweisen.
+
Furthermore, we would like to refer you here to the learning video&nbsp; [[Herleitung_und_Visualisierung_der_Diracfunktion_(Lernvideo)|Herleitung und Visualisierung der Diracfunktion (still in German)]]&nbsp;.
  
==Numerische LDS-Ermittlung==
+
==Numerical PSD determination==
 
<br>
 
<br>
Autokorrelationsfunktion und Leistungsdichtespektrum sind über die&nbsp; [[Signal_Representation/Fourier_Transform_and_Its_Inverse#Fouriertransformation|Fouriertransformation]]&nbsp; streng miteinander verknüpft.&nbsp; Dieser Zusammenhang gilt auch bei zeitdiskreter AKF-Darstellung mit dem Abtastoperator&nbsp; ${\rm A} \{ \varphi_x ( \tau ) \} $,&nbsp; also für
+
Autocorrelation function and power density spectrum are strictly related via the&nbsp; [[Signal_Representation/Fourier_Transform_and_its_Inverse#Fourier_transform|Fourier transform]]&nbsp; This relationship also holds for discrete-time ACF representation with the sampling operator&nbsp; ${\rm A} \{ \varphi_x ( \tau ) \} $,&nbsp; thus for.
 
:$${\rm A} \{ \varphi_x ( \tau ) \} = \varphi_x ( \tau ) \cdot \sum_{k= - \infty}^{\infty} T_{\rm A} \cdot \delta ( \tau - k \cdot T_{\rm A}).$$
 
:$${\rm A} \{ \varphi_x ( \tau ) \} = \varphi_x ( \tau ) \cdot \sum_{k= - \infty}^{\infty} T_{\rm A} \cdot \delta ( \tau - k \cdot T_{\rm A}).$$
  
Der Übergang vom Zeit&ndash; in den Spektralbereich kann mit folgenden Schritten hergeleitet werden:  
+
The transition from the time&ndash; to the spectral domain can be derived with the following steps:  
*Der Abstand&nbsp; $T_{\rm A}$&nbsp; zweier Abtastwerte ist durch die absolute Bandbreite&nbsp; $B_x$&nbsp; (maximal auftretende Frequenz innerhalb des Prozesses)&nbsp; über das Abtasttheorem festgelegt:  
+
*The distance&nbsp; $T_{\rm A}$&nbsp; of two samples is determined by the absolute bandwidth&nbsp; $B_x$&nbsp; (maximum occurring frequency within the process)&nbsp; via the sampling theorem:  
 
:$$T_{\rm A}\le\frac{1}{2B_x}.$$
 
:$$T_{\rm A}\le\frac{1}{2B_x}.$$
*Die Fouriertransformierte der zeitdiskreten&nbsp; (abgetasteten)&nbsp; AKF ergibt ein mit&nbsp; ${\rm 1}/T_{\rm A}$&nbsp; periodisches LDS:  
+
*The Fourier transform of the discrete-time&nbsp; (sampled)&nbsp; ACF yields an PSD periodic with&nbsp; ${\rm 1}/T_{\rm A}$&nbsp;:  
 
:$${\rm A} \{ \varphi_x ( \tau ) \}  \hspace{0.3cm} \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\, \hspace{0.3cm} {\rm P} \{{{\it \Phi}_x} ( f) \} = \sum_{\mu = - \infty}^{\infty} {{\it \Phi}_x} ( f - \frac {\mu}{T_{\rm A}}).$$
 
:$${\rm A} \{ \varphi_x ( \tau ) \}  \hspace{0.3cm} \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\, \hspace{0.3cm} {\rm P} \{{{\it \Phi}_x} ( f) \} = \sum_{\mu = - \infty}^{\infty} {{\it \Phi}_x} ( f - \frac {\mu}{T_{\rm A}}).$$
  
{{BlaueBox|TEXT=
+
{{BlaueBox|TEXT=  
$\text{Fazit:}$&nbsp; Da sowohl&nbsp; $φ_x(τ)$&nbsp; als auch&nbsp; ${\it \Phi}_x(f)$&nbsp; gerade und reelle Funktionen sind, gilt der Zusammenhang:
+
$\text{Conclusion:}$&nbsp; Since both&nbsp; $φ_x(τ)$&nbsp; and&nbsp; ${\it \Phi}_x(f)$&nbsp; are even and real functions, the relation holds:
:$${\rm P} \{ { {\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot \sum_{k = 1}^{\infty} \varphi_x ( k T_{\rm A}) \cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$  
+
:$${\rm P} \{ { {\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot \sum_{k = 1}^{\infty} \varphi_x ( k T_{\rm A}) \cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$  
*Das Leistungsdichtespektrum (LDS) des zeitkontinuierlichen Prozesses erhält man aus&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$&nbsp; durch Bandbegrenzung auf den Bereich&nbsp; $\vert f \vert ≤ 1/(2T_{\rm A})$.  
+
*The power density spectrum (PSD) of the continuous-time process is obtained from&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$&nbsp; by bandlimiting to the range&nbsp; $\vert f \vert ≤ 1/(2T_{\rm A})$.  
*Im Zeitbereich bedeutet diese Operation eine Interpolation der einzelnen AKF-Abtastwerte mit der&nbsp; ${\rm si}$&ndash;Funktion, wobei&nbsp; ${\rm si}(x)$&nbsp; für&nbsp; $\sin(x)/x$&nbsp; steht. }}
+
*In the time domain, this operation means interpolating the individual ACF samples with the&nbsp; ${\rm si}$&ndash;function, where&nbsp; ${\rm si}(x)$&nbsp; stands for&nbsp; $\sin(x)/x$&nbsp; . }}
  
  
[[File:EN_Sto_T_4_5_S5.png |right|frame| Zeitdiskrete AKF und periodisch fortgesetztes LDS]]
+
[[File:EN_Sto_T_4_5_S5.png |right|frame| Discrete-time ACF and periodically continued PSD]]
{{GraueBox|TEXT=
+
{{GraueBox|TEXT=  
$\text{Beispiel 3:}$&nbsp; Eine gaußförmige AKF&nbsp; $φ_x(τ)$&nbsp; wird im Abstand&nbsp; $T_{\rm A}$&nbsp; abgetastet, wobei das Abtasttheorem erfüllt ist:
+
$\text{Example 3:}$&nbsp; A Gaussian ACF&nbsp; $φ_x(τ)$&nbsp; is sampled at distance&nbsp; $T_{\rm A}$&nbsp; where the sampling theorem is satisfied:
*Die Fouriertransformierte der zeitdiskreten AKF&nbsp; ${\rm A} \{φ_x(τ) \}$&nbsp; sei&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$.&nbsp;  
+
*The Fourier transform of the discrete-time ACF&nbsp; ${\rm A} \{φ_x(τ) \}$&nbsp; be&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$.&nbsp;  
*Diese mit&nbsp; ${\rm 1}/T_{\rm A}$&nbsp; periodische Funktion&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$&nbsp; ist dementsprechend unendlich weit ausgedehnt ( roter Kurvenzug ).  
+
*This with&nbsp; ${\rm 1}/T_{\rm A}$&nbsp; periodic function&nbsp; ${\rm P} \{ { {\it \Phi}_x} ( f) \}$&nbsp; is accordingly infinitely extended ( red curve ).  
*Das LDS&nbsp; ${\it \Phi}_x(f)$&nbsp; des zeitkontinuierlichen Prozesses&nbsp; $\{x_i(t)\}$&nbsp; erhält man durch Bandbegrenzung auf den im Bild blau hinterlegten Frequenzbereich&nbsp; $\vert f · T_{\rm A} \vert ≤ 0.5$. }}
+
*The PSD&nbsp; ${\it \Phi}_x(f)$&nbsp; of the continuous-time process&nbsp; $\{x_i(t)\}$&nbsp; is obtained by band-limiting to the frequency range highlighted in blue in the figure&nbsp; $\vert f - T_{\rm A} \vert ≤ 0.5$. }}
  
==Genauigkeit der numerischen LDS-Berechnung==
+
==Accuracy of the numerical PSD calculation==
 
<br>
 
<br>
Für die nachfolgende Analyse gehen wir von folgenden Annahmen aus:  
+
For the following analysis, we make the following assumptions:  
*Die zeitdiskrete AKF&nbsp; $φ_x(k · T_{\rm A})$&nbsp; wurde aus&nbsp; $N$&nbsp; Abtastwerten numerisch ermittelt.&nbsp; Wie bereits auf der Seite&nbsp; [[Theory_of_Stochastic_Signals/Autokorrelationsfunktion_(AKF)#Genauigkeit_der_numerischen_AKF-Berechnung|Genauigkeit der numerischen AKF-Berechnung]]&nbsp; gezeigt wurde, sind diese Werte fehlerhaft und die Fehler korreliert, wenn&nbsp; $N$&nbsp; zu klein gewählt wurde.
+
*The discrete-time ACF&nbsp; $φ_x(k - T_{\rm A})$&nbsp; was determined numerically from&nbsp; $N$&nbsp; samples. &nbsp; As already shown on&nbsp; [[Theory_of_Stochastic_Signals/Auto-Correlation_Function#Accuracy_of_the_numerical_ACF_calculation|Accuracy of the numerical ACF calculation]]&nbsp; these values are in error and the errors are correlated if&nbsp; $N$&nbsp; was chosen too small.
*Zur Berechnung des periodischen Leistungsdichtespektrums (LDS) verwenden wir nur die AKF-Werte&nbsp; $φ_x(0)$, ... , $φ_x(K · T_{\rm A})$:  
+
*To calculate the periodic power density spectrum (PSD), we use only the ACF values&nbsp; $φ_x(0)$, ... , $φ_x(K - T_{\rm A})$:  
 
:$${\rm P} \{{{\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot  \sum_{k = 1}^{K} \varphi_x  ( k T_{\rm A})\cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$
 
:$${\rm P} \{{{\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot  \sum_{k = 1}^{K} \varphi_x  ( k T_{\rm A})\cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Fazit:}$&nbsp;  
+
$\text{Conclusion:}$&nbsp;  
Die Genauigkeit der LDS-Berechnung wird im starken Maße durch den Parameter&nbsp; $K$&nbsp; bestimmt:   
+
The accuracy of the PSD calculation is determined to a strong extent by the parameter&nbsp; $K$&nbsp;:   
*Ist&nbsp; $K$&nbsp; zu klein gewählt, so werden die eigentlich vorhandenen AKF-Werte&nbsp; $φ_x(k · T_{\rm A})$&nbsp; mit&nbsp; $k > K$&nbsp; nicht berücksichtigt.  
+
*If&nbsp; $K$&nbsp; is chosen too small, the ACF values actually present&nbsp; $φ_x(k - T_{\rm A})$&nbsp; with&nbsp; $k > K$&nbsp; will not be taken into account.  
*Bei zu großem&nbsp; $K$&nbsp; werden auch solche AKF-Werte berücksichtigt, die eigentlich Null sein sollten und nur wegen der numerischen  AKF-Berechnung endlich sind.  
+
*If&nbsp; $K$&nbsp; is too large, also such ACF values are considered, which should actually be zero and are finite only because of the numerical ACF calculation.  
*Diese Werte sind allerdings – bedingt durch ein zu kleines&nbsp; $N$&nbsp; bei der AKF–Ermittlung – nur Fehler, und beinträchtigen die LDS-Berechnung mehr als dass sie einen brauchbaren Beitrag zum Ergebnis liefern. }}
+
*These values, however, are - due to a too small&nbsp; $N$&nbsp; in the ACF calculation - only errors, and impair the PSD calculation more than they provide a useful contribution to the result. }}
  
  
[[File:EN_Sto_T_4_5_S5_b_neu.png |450px|right|frame| Genauigkeit der numerischen LDS-Berechnung]]
+
[[File:EN_Sto_T_4_5_S5_b_neu.png |450px|right|frame| Accuracy of numerical PSD calculation]]
{{GraueBox|TEXT=
+
{{GraueBox|TEXT=  
$\text{Beispiel 4:}$&nbsp; Wir betrachten hier einen mittelwertfreien Prozess mit statistisch unabhängigen Abtastwerten.  
+
$\text{Example 4:}$&nbsp; We consider here a zero mean process with statistically independent samples.  
*Deshalb sollte nur der AKF–Wert&nbsp; $φ_x(0) = σ_x^2$&nbsp; von Null verschieden ist.  
+
*Thus, only the ACF value&nbsp; $φ_x(0) = σ_x^2$&nbsp; should be different from zero.  
*Ermittelt man aber  die AKF numerisch aus lediglich&nbsp; $N = 1000$&nbsp; Abtastwerten, so erhält man auch für&nbsp; $k ≠ 0$&nbsp; endliche AKF–Werte.  
+
*But if one determines the ACF numerically from only&nbsp; $N = 1000$&nbsp; samples, one obtains finite ACF values even for&nbsp; $k ≠ 0$&nbsp;.  
  
*Das obere Bild zeigt, dass diese fehlerhaften AKF&ndash;Werte bis zu&nbsp; $6\%$&nbsp; des Maximalwertes betragen können.  
+
*The upper figure shows that these erroneous ACF&ndash;values can be up to&nbsp; $6\%$&nbsp; of the maximum value.  
*Unten ist das numerisch ermittelte Leistungsdichtespektrum dargestellt.&nbsp; Gelb ist der theoretische Verlauf dargestellt, der für&nbsp; $\vert f · T_{\rm A} \vert ≤ 0.5$&nbsp; konstant sein sollte.  
+
*The numerically determined power density spectrum is shown below.&nbsp; The theoretical curve is shown in yellow, which was calculated for&nbsp; $\vert f - T_{\rm A} \vert ≤ 0.5$&nbsp; should be constant.  
*Die grüne und die violette Kurve verdeutlichen, wie durch&nbsp; $K = 3$ &nbsp;bzw.&nbsp; $K = 10$&nbsp; das Ergebnis gegenüber&nbsp; $K = 0$&nbsp; verfälscht wird.  
+
*The green and purple curves illustrate how by&nbsp; $K = 3$ &nbsp;and&nbsp; $K = 10$&nbsp; respectively, the result is distorted compared to&nbsp; $K = 0$&nbsp;.  
 
<br clear=all>
 
<br clear=all>
In diesem Fall (statistisch unabhängige Zufallsgrößen) wächst der Fehler monoton mit steigendem $K$.&nbsp; Bei einer Zufallsgröße mit statistischen Bindungen gibt es dagegen jeweils einen optimalen Wert für $K$.  
+
In this case (statistically independent random variables) the error grows monotonically with increasing $K$.&nbsp; In contrast, for a random variable with statistical bindings, there is an optimal value for $K$ in each case.  
*Wird dieser zu klein gewählt, so werden signifikante Bindungen nicht berücksichtigt.  
+
*If this is chosen too small, significant bindings are not considered.  
*Ein zu großer Wert führt dagegen zu Oszillationen, die nur auf fehlerhafte AKF–Werte zurückzuführen sind.}}  
+
*In contrast, a value that is too large leads to oscillations that can only be attributed to erroneous ACF values}}.
  
 
==Aufgaben zum Kapitel==
 
==Aufgaben zum Kapitel==

Revision as of 17:51, 7 March 2022

Wiener-Khintchine Theorem


In the remainder of this paper we restrict ourselves to ergodic processes.  As was shown in  last chapter  the following statements then hold:

  • Each individual sample function  $x_i(t)$  is representative of the entire random process  $\{x_i(t)\}$.
  • All time means are thus identical to the corresponding coulter means.
  • The autocorrelation function, which is generally affected by the two time parameters  $t_1$  and  $t_2$  now depends only on the time difference  $τ = t_2 - t_1$  :
$$\varphi_x(t_1,t_2)={\rm E}\big[x(t_{\rm 1})\cdot x(t_{\rm 2})\big] = \varphi_x(\tau)= \int^{+\infty}_{-\infty}x(t)\cdot x(t+\tau)\,{\rm d}t.$$

The autocorrelation function provides quantitative information about the (linear) statistical bindings within the ergodic process  $\{x_i(t)\}$  in the time domain.  The equivalent descriptor in the frequency domain is the power spectral density , often referred to as the power density spectrum.

$\text{Definition:}$  The  power spectral density  (PSD) of an ergodic random process  $\{x_i(t)\}$  is the Fourier transform of the auto-correlation function (ACF):

$${\it \Phi}_x(f)=\int^{+\infty}_{-\infty}\varphi_x(\tau) \cdot {\rm e}^{- {\rm j\hspace{0.05cm}\cdot \hspace{0.05cm} \pi}\hspace{0.05cm}\cdot \hspace{0.05cm} f \hspace{0.05cm}\cdot \hspace{0.05cm}\tau} {\rm d} \tau. $$

This functional is called the theorem of  Wiener  and  Khinchin.


Similarly, the ACF can be computed as the inverse Fourier transform of the PSD (see page  inverse Fourier transform  in the book "Signal Representation"):

$$ \varphi_x(\tau)=\int^{+\infty}_{-\infty} {\it \Phi}_x \cdot {\rm e}^{- {\rm j\hspace{0.05cm}\cdot \hspace{0.05cm} \pi}\hspace{0.05cm}\cdot \hspace{0.05cm} f \hspace{0.05cm}\cdot \hspace{0.05cm}\tau} {\rm d} f.$$
  • The two equations are directly applicable only if the random process contains neither a DC component nor periodic components.
  • Otherwise, one must proceed according to the specifications given in page  Power spectral density with DC component .

Physical interpretation and measurement


The following figure shows an arrangement for (approximate) metrological determination of the power density spectrum  ${\it \Phi}_x(f)$.

To measure the power density spectrum

The following should be noted in this regard:

  • The random signal  $x(t)$  is applied to a (preferably) rectangular and (preferably) narrowband filter with center frequency  $f$  and bandwidth  $Δf$  where  $Δf$  must be chosen sufficiently small according to the desired frequency resolution.
  • The corresponding output signal  $x_f(t)$  is squared and then the mean value is formed over a sufficiently long measurement period  $T_{\rm M}$  .   This gives the power of  $x_f(t)$  or the power components of  $x(t)$  in the spectral range from  $f - Δf/2$  to  $f + Δf/2$:
$$P_{x_f} =\overline{x_f(t)^2}=\frac{1}{T_{\rm M}}\cdot\int^{T_{\rm M}}_{0}x_f^2(t) \hspace{0.1cm}\rm d \it t.$$
  • Division by  $Δf$  leads from spectral power to power spectral density:
$${{\it \Phi}_{x \rm +}}(f) =\frac{P_{x_f}}{{\rm \Delta} f} \hspace {0.5cm} {\rm bzw.} \hspace {0.5cm} {\it \Phi}_{x}(f) = \frac{P_{x_f}}{{\rm 2 \cdot \Delta} f}.$$
Here denotes  ${\it \Phi}_{x+}(f) = 2 - {\it \Phi}_x(f)$  the one-sided PSD defined only for positive frequencies.   For negative frequencies,  ${\it \Phi}_{x+}(f) = 0$.  In contrast, for the commonly used two-sided PSD :   ${\it \Phi}_x(-f) = {\it \Phi}_x(f)$.
  • While the power  $P_{x_f}$  tends to zero as the bandwidth  $Δf$  becomes smaller, the power spectral density remains nearly constant above a sufficiently small value of  $Δf$  For the exact determination of  ${\it \Phi}_x(f)$  two boundary crossings are necessary:
$${{\it \Phi}_x(f)} = \lim_{{\rm \Delta}f\to 0} \hspace{0.2cm} \lim_{T_{\rm M}\to\infty}\hspace{0.2cm} \frac{1}{{\rm 2 \cdot \Delta}f\cdot T_{\rm M}}\cdot\int^{T_{\rm M}}_{0}x_f^2(t) \hspace{0.1cm} \rm d \it t.$$

$\text{Conclusion:}$ 

  • From this physical interpretation it further follows that the power spectral density is always real and can never become negative.  
  • The total signal power of  $x(t)$  is then obtained by integration over all spectral components:
$$P_x = \int^{\infty}_{0}{\it \Phi}_{x \rm +}(f) \hspace{0.1cm}{\rm d} f = \int^{+\infty}_{-\infty}{\it \Phi}_x(f)\hspace{0.1cm} {\rm d} f .$$

Reciprocity law of ACF duration and PSD bandwidth


All the  Laws of Fourier Transform  derived in the book "Signal Representation" for deterministic signals can also be applied to the  auto-correlation function  (ACF) and the  Power Spectral Density  (PSD) of a random process.

On the reciprocity law of ACF and PSD

Due to the specific properties

  • of autocorrelation function  (always real and even).
  • and power density spectrum  (always real, even, and non–negative)


however, do not all laws yield meaningful results.

We now consider, as in the section  Interpretation of the Autocorrelation Function  two different ergodic random processes  $\{x_i(t)\}$  and  $\{y_i(t)\}$  based on

  • of the two pattern signals  $x(t)$  and  $y(t)$   ⇒   upper sketch,
  • of the two autocorrelation functions  $φ_x(τ)$  and  $φ_y(τ)$   ⇒   middle sketch,
  • of the two power spectral densities  ${\it \Phi}_x(f)$  and  ${\it \Phi}_y(f)$   ⇒   bottom sketch.


Based on these graphs, the following statements can be made:

  • The areas under the PSD curves are equal   ⇒   the processes  $\{x_i(t)\}$  and  $\{y_i(t)\}$  have equal power:
$${\varphi_x({\rm 0})}\hspace{0.05cm} =\hspace{0.05cm} \int^{+\infty}_{-\infty}{{\it \Phi}_x(f)} \hspace{0.1cm} {\rm d} f \hspace{0.2cm} = \hspace{0.2cm}{\varphi_y({\rm 0})} = \int^{+\infty}_{-\infty}{{\it \Phi}_y(f)} \hspace{0.1cm} {\rm d} f .$$
$${{\rm \nabla} f_x} = \frac {1}{{\it \Phi}_x(f = {\rm 0})} \cdot \int^{+\infty}_{-\infty}{{\it \Phi}_x(f)} \hspace{0.1cm} {\rm d} f, \hspace{0.5cm}{ {\rm \nabla} \tau_x} = \frac {\rm 1}{ \varphi_x(\tau = \rm 0)} \cdot \int^{+\infty}_{-\infty}{\varphi_x(\tau )} \hspace{0.1cm} {\rm d} \tau.$$
  • With these definitions, the following basic relationship holds:
$${{\rm \nabla} \tau_x} \cdot {{\rm \nabla} f_x} = 1\hspace{1cm}{\rm resp.}\hspace{1cm} {{\rm \nabla} \tau_y} \cdot {{\rm \nabla} f_y} = 1.$$

$\text{Example 1:}$  We start from the graph at the top of this page:

  • The characteristics of the higher frequency signal  $x(t)$  are  $∇τ_x = 0.33\hspace{0.08cm} \rm µs$   and  $∇f_x = 3 \hspace{0.08cm} \rm MHz$.
  • The equivalent ACF duration of the signal  $y(t)$  is three times:   $∇τ_y = 1 \hspace{0.08cm} \rm µs$.
  • The equivalent PSD bandwidth is thus only more  $∇f_y = ∇f_x/3 = 1 \hspace{0.08cm} \rm MHz$.


$\text{General:}$  The product of equivalent ACF duration  ${ {\rm \nabla} \tau_x}$  and equivalent PSD bandwidth  $ { {\rm \nabla} f_x}$  is always equal  $1$:

$${ {\rm \nabla} \tau_x} \cdot { {\rm \nabla} f_x} = 1.$$


$\text{Proof:}$  According to the above definitions:

$${ {\rm \nabla} \tau_x} = \frac {\rm 1}{ \varphi_x(\tau = \rm 0)} \cdot \int^{+\infty}_{-\infty}{ \varphi_x(\tau )} \hspace{0.1cm} {\rm d} \tau = \frac { {\it \Phi}_x(f = {\rm 0)} }{ \varphi_x(\tau = \rm 0)},$$
$${ {\rm \nabla} f_x} = \frac {1}{ {\it \Phi}_x(f = {\rm0})} \cdot \int^{+\infty}_{-\infty}{ {\it \Phi}_x(f)} \hspace{0.1cm} {\rm d} f = \frac {\varphi_x(\tau = {\rm 0)} }{ {\it \Phi}_x(f = \rm 0)}.$$

Thus, the product is equal to  $1$.

q.e.d.


$\text{Beispiel 2:}$  A limiting case of the reciprocity law represents the so-called  white noise' :

  • This includes all spectral components  (up to infinity).
  • The equivalent PSD bandwidth  $∇f$  is infinite.


The law given here states that thus for the equivalent ACF duration  $∇τ = 0$  must hold   ⇒   the white noise has a dirac-shaped ACF.

For more on this topic, see the three-part tutorial video  The AWGN channel, especially the second part

.


Power spectral density with DC component


We assume an equal-signal-free random process  $\{x_i(t)\}$  Further, we assume that the process also contains no periodic components.  Then holds:

  • The autocorrelation function  $φ_x(τ)$ vanishes  for  $τ → ∞$.
  • The power density spectrum  ${\it \Phi}_x(f)$  -  computable as the Fourier transform of  $φ_x(τ)$  -  is both continuous in value and continuous in time, i.e., without discrete components.


We now consider a second random process  $\{y_i(t)\}$, which differs from the process  $\{x_i(t)\}$  only by an additional DC component  $m_y$  :

$$\left\{ y_i (t) \right\} = \left\{ x_i (t) + m_y \right\}.$$

The statistical descriptors of the mean-valued random process  $\{y_i(t)\}$  then have the following properties:

  • The limit of the ACF for  $τ → ∞$  is now no longer zero, but  $m_y^2$.   Throughout  $τ$–the range from  $-∞$  to  $+∞$  the ACF  $φ_y(τ)$  is larger by  $m_y^2$  than  $φ_x(τ)$:
$${\varphi_y ( \tau)} = {\varphi_x ( \tau)} + m_y^2 . $$
  • According to the elementary laws of the Fourier transform, the constant ACF contribution in the PSD leads to a Dirac function  $δ(f)$  with weight  $m_y^2$:
$${{\it \Phi}_y ( f)} = {\Phi_x ( f)} + m_y^2 \cdot \delta (f). $$

More detailed information about the Dirac function can be found in the chapter  Gleichsignal - Grenzfall eines periodischen Signals (still in German)  of the book "Signal Representation".  Furthermore, we would like to refer you here to the learning video  Herleitung und Visualisierung der Diracfunktion (still in German) .

Numerical PSD determination


Autocorrelation function and power density spectrum are strictly related via the  Fourier transform  This relationship also holds for discrete-time ACF representation with the sampling operator  ${\rm A} \{ \varphi_x ( \tau ) \} $,  thus for.

$${\rm A} \{ \varphi_x ( \tau ) \} = \varphi_x ( \tau ) \cdot \sum_{k= - \infty}^{\infty} T_{\rm A} \cdot \delta ( \tau - k \cdot T_{\rm A}).$$

The transition from the time– to the spectral domain can be derived with the following steps:

  • The distance  $T_{\rm A}$  of two samples is determined by the absolute bandwidth  $B_x$  (maximum occurring frequency within the process)  via the sampling theorem:
$$T_{\rm A}\le\frac{1}{2B_x}.$$
  • The Fourier transform of the discrete-time  (sampled)  ACF yields an PSD periodic with  ${\rm 1}/T_{\rm A}$ :
$${\rm A} \{ \varphi_x ( \tau ) \} \hspace{0.3cm} \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\, \hspace{0.3cm} {\rm P} \{{{\it \Phi}_x} ( f) \} = \sum_{\mu = - \infty}^{\infty} {{\it \Phi}_x} ( f - \frac {\mu}{T_{\rm A}}).$$

$\text{Conclusion:}$  Since both  $φ_x(τ)$  and  ${\it \Phi}_x(f)$  are even and real functions, the relation holds:

$${\rm P} \{ { {\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot \sum_{k = 1}^{\infty} \varphi_x ( k T_{\rm A}) \cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$
  • The power density spectrum (PSD) of the continuous-time process is obtained from  ${\rm P} \{ { {\it \Phi}_x} ( f) \}$  by bandlimiting to the range  $\vert f \vert ≤ 1/(2T_{\rm A})$.
  • In the time domain, this operation means interpolating the individual ACF samples with the  ${\rm si}$–function, where  ${\rm si}(x)$  stands for  $\sin(x)/x$  .


Discrete-time ACF and periodically continued PSD

$\text{Example 3:}$  A Gaussian ACF  $φ_x(τ)$  is sampled at distance  $T_{\rm A}$  where the sampling theorem is satisfied:

  • The Fourier transform of the discrete-time ACF  ${\rm A} \{φ_x(τ) \}$  be  ${\rm P} \{ { {\it \Phi}_x} ( f) \}$. 
  • This with  ${\rm 1}/T_{\rm A}$  periodic function  ${\rm P} \{ { {\it \Phi}_x} ( f) \}$  is accordingly infinitely extended ( red curve ).
  • The PSD  ${\it \Phi}_x(f)$  of the continuous-time process  $\{x_i(t)\}$  is obtained by band-limiting to the frequency range highlighted in blue in the figure  $\vert f - T_{\rm A} \vert ≤ 0.5$.

Accuracy of the numerical PSD calculation


For the following analysis, we make the following assumptions:

  • The discrete-time ACF  $φ_x(k - T_{\rm A})$  was determined numerically from  $N$  samples.   As already shown on  Accuracy of the numerical ACF calculation  these values are in error and the errors are correlated if  $N$  was chosen too small.
  • To calculate the periodic power density spectrum (PSD), we use only the ACF values  $φ_x(0)$, ... , $φ_x(K - T_{\rm A})$:
$${\rm P} \{{{\it \Phi}_x} ( f) \} = T_{\rm A} \cdot \varphi_x ( k = 0) +2 T_{\rm A} \cdot \sum_{k = 1}^{K} \varphi_x ( k T_{\rm A})\cdot {\rm cos}(2{\rm \pi} f k T_{\rm A}).$$

$\text{Conclusion:}$  The accuracy of the PSD calculation is determined to a strong extent by the parameter  $K$ :

  • If  $K$  is chosen too small, the ACF values actually present  $φ_x(k - T_{\rm A})$  with  $k > K$  will not be taken into account.
  • If  $K$  is too large, also such ACF values are considered, which should actually be zero and are finite only because of the numerical ACF calculation.
  • These values, however, are - due to a too small  $N$  in the ACF calculation - only errors, and impair the PSD calculation more than they provide a useful contribution to the result.


Accuracy of numerical PSD calculation

$\text{Example 4:}$  We consider here a zero mean process with statistically independent samples.

  • Thus, only the ACF value  $φ_x(0) = σ_x^2$  should be different from zero.
  • But if one determines the ACF numerically from only  $N = 1000$  samples, one obtains finite ACF values even for  $k ≠ 0$ .
  • The upper figure shows that these erroneous ACF–values can be up to  $6\%$  of the maximum value.
  • The numerically determined power density spectrum is shown below.  The theoretical curve is shown in yellow, which was calculated for  $\vert f - T_{\rm A} \vert ≤ 0.5$  should be constant.
  • The green and purple curves illustrate how by  $K = 3$  and  $K = 10$  respectively, the result is distorted compared to  $K = 0$ .


In this case (statistically independent random variables) the error grows monotonically with increasing $K$.  In contrast, for a random variable with statistical bindings, there is an optimal value for $K$ in each case.

  • If this is chosen too small, significant bindings are not considered.
  • In contrast, a value that is too large leads to oscillations that can only be attributed to erroneous ACF values

.

Aufgaben zum Kapitel


Aufgabe 4.12: LDS eines Binärsignals

Aufgabe 4.12Z: Weißes Rauschen

Aufgabe 4.13: Gaußförmige AKF

Aufgabe 4.13Z: AMI-Code