Difference between revisions of "Theory of Stochastic Signals/Auto-Correlation Function"

From LNTwww
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
   
 
   
 
{{Header
 
{{Header
|Untermenü=Zufallsgrößen mit statistischen Bindungen
+
|Untermenü=Random Variables with Statistical Dependence
|Vorherige Seite=Linearkombinationen von Zufallsgrößen
+
|Vorherige Seite=Linear Combinations of Random Variables
|Nächste Seite=Leistungsdichtespektrum (LDS)
+
|Nächste Seite=Power-Spectral Density
 
}}
 
}}
==Zufallsprozesse==
+
==Random processes==
 
<br>
 
<br>
Ein wichtiger Begriff der stochastischen Signaltheorie ist der&nbsp; ''Zufallsprozess''.&nbsp; Nachfolgend sind einige Charakteristika eines solchen ''stochastischen Prozesses'' – diese Bezeichnungen werden sowohl in der Literatur als auch in unserem Tutorial synonym verwendet – zusammengestellt.
+
An important concept in stochastic signal theory is the&nbsp; "random process".&nbsp; Below are some characteristics of such a&nbsp; "stochastic process" - these terms are used synonymously both in the literature and in our tutorial.
 
   
 
   
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definitionen:}$&nbsp; Unter einem&nbsp; '''Zufallsprozess'''&nbsp; $\{x_i(t)\}$&nbsp; verstehen wir ein ''mathematisches Modell'' &nbsp; für ein Ensemble von (vielen) Zufallssignalen, die sich zwar im Detail durchaus voneinander unterscheiden können und auch werden, trotzdem aber gewisse gemeinsame Eigenschaften aufweisen.  
+
$\text{Definitions:}$&nbsp; By a&nbsp; &raquo;'''random process'''&laquo;&nbsp; $\{x_i(t)\}$&nbsp; we understand a mathematical model&nbsp; for an ensemble of (many) random signals,&nbsp; which can and will differ from each other in detail,&nbsp; but nevertheless they have certain common properties.  
*Zur Beschreibung eines Zufallsprozesses&nbsp; $\{x_i(t)\}$&nbsp; gehen wir von der Vorstellung aus, dass beliebig viele, in ihren physikalischen und statistischen Eigenschaften völlig gleiche Zufallsgeneratoren vorhanden sind, von denen jeder ein Zufallssignal&nbsp; $x_i(t)$&nbsp; liefert.
+
*To describe a random process&nbsp; $\{x_i(t)\}$&nbsp; we start from the notion that there are any number of random generators,&nbsp; completely identical in their physical and statistical properties,&nbsp; each of which yields a random signal&nbsp; $x_i(t)$.
*Jeder Zufallsgenerator gibt trotz gleicher physikalischer Realisierung ein anderes Zeitsignal&nbsp; $x_i(t)$&nbsp; ab, das für alle Zeiten von&nbsp; $–∞$&nbsp; bis&nbsp; $+∞$&nbsp; existiert.&nbsp; Man bezeichnet dieses spezifische Zufallssignal als das&nbsp; '''$i$-te Mustersignal'''.  
+
*Each random generator,&nbsp; despite having the same physical realization,&nbsp; outputs a different time signal&nbsp; $x_i(t)$&nbsp; that exists for all times from&nbsp; $-∞$&nbsp; to&nbsp; $+∞$.&nbsp; This specific random signal is called the&nbsp; &raquo;'''$i$-th pattern signal'''&laquo;.  
*Jeder Zufallsprozess beinhaltet mindestens eine stochastische Komponente – zum Beispiel die Amplitude, Frequenz oder Phase eines Nachrichtensignals – und kann daher von einem Beobachter nicht exakt vorausgesagt werden.  
+
*Every random process involves at least one stochastic component - for example:&nbsp; the amplitude,&nbsp; frequency,&nbsp; or phase of a message signal - and therefore cannot be accurately predicted by an observer.  
*Der Zufallsprozess unterscheidet sich von den sonst in der Wahrscheinlichkeitsrechnung bzw. der Statistik üblichen Zufallsexperimenten dadurch, dass das Ergebnis kein&nbsp; ''Ereignis''&nbsp; ist, sondern ein&nbsp; ''Funktionsverlauf''&nbsp; (Zeitsignal).  
+
*The random process differs from the usual random experiments in probability theory or statistics in that the result is not an&nbsp; "event"&nbsp; but a&nbsp; "function"&nbsp; (time signal).  
*Betrachtet man den Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; zu einem festen Zeitpunkt, so gelangt man wieder zu dem einfacheren Modell aus dem Kapitel&nbsp; [[Theory_of_Stochastic_Signals/Vom_Zufallsexperiment_zur_Zufallsgröße|Vom Zufallsexperiment zur Zufallsgröße]], nach dem das Versuchsergebnis ein Ereignis ist, das einer Zufallsgröße zugeordnet werden kann.}}  
+
*If we consider the random process&nbsp; $\{x_i(t)\}$&nbsp; at a fixed time,&nbsp; we return to the simpler model from the former chapter&nbsp; [[Theory_of_Stochastic_Signals/From_Random_Experiment_to_Random_Variable|"From Random Experiment to Random Variable"]],&nbsp; according to which the experimental result is an event that can be assigned to a random variable.}}  
  
  
Diese Aussagen werden nun am Beispiel eines binären Zufallsgenerators verdeutlicht, der – zumindest gedanklich – beliebig oft realisiert werden kann.
+
These statements are now illustrated by the example of a binary random generator,&nbsp; which - at least in thought - can be realized arbitrarily often.
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 1:}$&nbsp; Die Grafik zeigt drei unterschiedliche Mustersignale  eines Zufallsprozesses mit folgenden Eigenschaften:
+
$\text{Example 1:}$&nbsp; The graph shows three different pattern signals of a random process with the following properties:
  
[[File:Sto_T_4_4_S1.png|450px|right|frame| Zur Definition eines Zufallsprozesses]]  
+
[[File:Sto_T_4_4_S1.png|450px|right|frame| On the definition of a random process]]  
*Der hier vorliegende Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; besteht aus einem Ensemble rechteckförmiger Musterfunktionen, die wie folgt beschrieben werden können:  
+
*The random process&nbsp; $\{x_i(t)\}$&nbsp; consists of an ensemble of rectangular pattern functions,&nbsp; which can be described as follows:  
 
:$$x_i(t)=\sum^{+\infty}_{\nu=-\infty} (a_\nu)_i\cdot g(t-\nu \cdot T ).$$
 
:$$x_i(t)=\sum^{+\infty}_{\nu=-\infty} (a_\nu)_i\cdot g(t-\nu \cdot T ).$$
*Der Grundimpuls&nbsp; $g(t)$&nbsp; besitzt im Bereich von&nbsp; $–T/2$&nbsp; bis&nbsp; $+T/2$&nbsp; den Wert&nbsp; $2\hspace{0.03cm}\rm V$; außerhalb ist er Null und exakt  bei&nbsp; $\pm T/2$&nbsp; nur halb so groß&nbsp; $(1\hspace{0.03cm}\rm V)$.&nbsp;
+
*The basic pulse&nbsp; $g(t)$&nbsp; has in the range from&nbsp; $-T/2$&nbsp; to&nbsp; $+T/2$&nbsp; the value&nbsp; $2\hspace{0.03cm}\rm V$; outside it is zero and exactly at&nbsp; $\pm T/2$&nbsp; only half as large&nbsp; $(1\hspace{0.03cm}\rm V)$.&nbsp;
*Erinnern wir uns:&nbsp; Ein Impuls ist gemäß der Definition im Kapitel&nbsp; [[Signal_Representation/Signal_classification|Klassifizierung von Signalen]]&nbsp; im Buch "Signaldarstellung" ein sowohl ''deterministisches''&nbsp; als auch ''energiebegrenztes''&nbsp; Signal.  
+
*Remember:&nbsp; A pulse,&nbsp; as defined in the chapter&nbsp; [[Signal_Representation/Signal_classification|"Signal Classification"]]&nbsp; in the book&nbsp; "Signal Representation", is both a&nbsp; "deterministic"&nbsp; and&nbsp; "energy-limited"&nbsp; signal.  
*Die Statistik des betrachteten Zufallsprozesses ist allein auf die dimensionslosen Amplitudenkoeffizienten&nbsp; $(a_ν)_i ∈ \{0, 1\}$&nbsp; zurückzuführen, die bei der&nbsp; $i$-ten Musterfunktion mit dem Zeitindex&nbsp; $ν$&nbsp;&nbsp; versehen sind.  
+
*The statistics of the random process under consideration is due solely to the dimensionless amplitude coefficients&nbsp; $(a_ν)_i ∈ \{0, 1\}$&nbsp; which are time-indexed by&nbsp; $ν$&nbsp;&nbsp; for the&nbsp; $i$-th pattern function.  
*Trotz der im Detail unterschiedlichen Signalverläufe weisen die skizzierten Signale&nbsp; $x_1(t)$,&nbsp; $x_2(t)$,&nbsp; $x_3(t)$&nbsp; und auch alle weiteren Mustersignale&nbsp; $x_4(t)$,&nbsp; $x_5(t)$,&nbsp; $x_6(t)$, ...&nbsp; gewisse Gemeinsamkeiten auf, die nachfolgend herausgearbeitet werden sollen. }}
+
*Despite the different signal courses in detail, the sketched signals&nbsp; $x_1(t)$,&nbsp; $x_2(t)$,&nbsp; $x_3(t)$&nbsp; and also all further pattern signals&nbsp; $x_4(t)$,&nbsp; $x_5(t)$,&nbsp; $x_6(t)$, ...&nbsp; have certain common features,&nbsp; which will be elaborated in the following. }}
  
 
==Stationary random processes==
 
==Stationary random processes==
 
<br>
 
<br>
Definiert man den Momentanwert aller Musterfunktionen&nbsp; $x_i(t)$&nbsp; zu einem festen Zeitpunkt&nbsp; $t = t_1$&nbsp; als eine neue Zufallsgröße&nbsp; $x_1 = \{ x_i(t_1)\}$, so lassen sich deren statistische Eigenschaften nach den Aussagen
+
[[File:EN_Sto_T_4_4_S2.png|450px |right|frame| On the definition of stationary random processes]]
[[File:EN_Sto_T_4_4_S2.png|450px |right|frame| Zur Definition stationärer Zufallsprozesse]]
+
If one defines the instantaneous value of all pattern functions&nbsp; $x_i(t)$&nbsp; at a fixed time&nbsp; $t = t_1$&nbsp; as a new random variable&nbsp; $x_1 = \{ x_i(t_1)\}$,&nbsp; its statistical properties can be described according to the statements
*des zweiten Kapitels "Diskrete Zufallsgrößen" und
+
*of the second chapter&nbsp; "Discrete Random Variables"&nbsp; and
*des dritten Kapitels "Kontinuierliche Zufallsgrößen"
+
*of the third chapter&nbsp; "Continuous Random Variables"&nbsp; in this book.
  
  
in diesem Buch beschreiben.  
+
Similarly, for the time of observation&nbsp; $t = t_2$&nbsp; we obtain the random variable&nbsp; $x_2 = \{ x_i(t_2)\}$.  
  
In gleicher Weise erhalten wir für den Betrachtungszeitpunkt&nbsp; $t = t_2$&nbsp; die Zufallsgröße&nbsp; $x_2 = \{ x_i(t_2)\}$.
 
  
 +
Note on nomenclature:
 +
*$x_1(t)$&nbsp; and&nbsp; $x_2(t)$&nbsp; are&nbsp; "pattern functions"&nbsp; of the random process&nbsp; $\{x_i(t)\}$&nbsp;,
 +
*while the random variables&nbsp; $x_1$&nbsp; and&nbsp; $x_2$&nbsp; "characterize the whole process"&nbsp; at times&nbsp; $t_1$&nbsp; and&nbsp; $t_2$&nbsp; resp.
  
''Hinweis zur Nomenklatur:''&nbsp; Beachten Sie bitte, dass
 
*$x_1(t)$&nbsp; und&nbsp; $x_2(t)$&nbsp; Musterfunktionen des Zufallsprozesses&nbsp;  $\{x_i(t)\}$&nbsp; sind,
 
*während die Zufallsgrößen&nbsp; $x_1$&nbsp; und&nbsp; $x_2$&nbsp; den gesamten Prozess zu den Zeiten&nbsp; $t_1$&nbsp; und&nbsp; $t_2$&nbsp; charakterisieren.
 
  
 
+
The calculation of the statistical characteristics must be done
Die Berechnung der statistischen Kenngrößen muss durch Scharmittelung über alle möglichen Musterfunktionen erfolgen&nbsp; $($Mittelung über die Laufvariable&nbsp; $i$, also über alle Realisierungen$)$.
+
:by&nbsp; &raquo;'''coulter averaging'''&laquo;&nbsp; over all possible pattern functions &nbsp;
 +
:&rArr; &nbsp; averaging over the control variable&nbsp; $i$, i.e. over all realizations.
 
<br clear=all>
 
<br clear=all>
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
 
$\text{Definition:}$&nbsp;  
 
$\text{Definition:}$&nbsp;  
*Bei einem&nbsp; '''stationären Zufallsprozess'''&nbsp; $\{x_i(t)\}$&nbsp; sind alle statistischen Kenngrößen&nbsp; $($Mittelwert, Streuung, Momente höherer Ordnung, Auftrittswahrscheinlichkeiten, etc.$)$&nbsp; der Zufallsgrößen&nbsp; $x_1 = \{ x_i(t_1)\}$&nbsp; und&nbsp; $x_2 = \{ x_i(t_2)\}$&nbsp; gleich.  
+
For a&nbsp; &raquo;'''stationary random process'''&laquo;&nbsp; $\{x_i(t)\}$&nbsp; all statistical parameters&nbsp; $($mean, standard deviation, higher order moments, probabilities, etc. $)$&nbsp; of the random variables&nbsp; $x_1 = \{ x_i(t_1)\}$&nbsp; and&nbsp; $x_2 = \{ x_i(t_2)\}$&nbsp; are equal.
*Auch zu anderen Zeitpunkten ergeben sich genau gleiche Werte.  
+
 
+
*Also at other times,&nbsp; the values are exactly the same.  
 
+
*The converse is: &nbsp; One calls a random process&nbsp; $\{x_i(t)\}$&nbsp; a&nbsp; "non-stationary process"&nbsp; if it has different statistical properties at different times. }}
Die Umkehrung lautet: &nbsp; Man bezeichnet einen Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; als&nbsp; ''nichtstationär''&nbsp;, wenn er zu verschiedenen Zeitpunkten unterschiedliche statistische Eigenschaften aufweist. }}
 
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 2:}$&nbsp;   
+
$\text{Example 2:}$&nbsp;   
Eine große Anzahl von Mess-Stationen am Äquator ermitteln täglich um 12 Uhr Ortszeit die Temperatur.&nbsp; Mittelt man über all diese Messwerte, so kann man den Einfluss lokaler Indikatoren (z. B. Golfstrom) eliminieren.&nbsp; Trägt man die Mittelwerte (Scharmittelung) über der Zeit auf, so wird sich nahezu eine Konstante ergeben, und man kann von einem ''stationären Prozess''&nbsp; sprechen.  
+
A large number of measuring stations at the equator determine the temperature daily at 12 o'clock local time.&nbsp;  
 
+
*If one averages over all these measured values,&nbsp;  one can eliminate the influence of local indicators (e.g. Gulf Stream).&nbsp;  
Eine vergleichbare Messreihe am 50. Breitengrad würde aufgrund der jahreszeitlichen Schwankungen auf einen ''nichtstationären Prozess''&nbsp; hinweisen mit deutlichen Unterschieden hinsichtlich Mittelwert und Varianz der Mittagstemperatur zwischen Januar und Juli.  
+
*If one plots the mean values&nbsp; (coulter averaging)&nbsp; over time,&nbsp; almost a constant will result,&nbsp; and one can speak of a "stationary process".  
 +
*A comparable series of measurements at 50° latitude would indicate a&nbsp; "non-stationary process"&nbsp; due to the seasonal variations,&nbsp; with significant differences in mean and variance of the noon temperature between January and July.  
 
}}
 
}}
  
 
==Ergodic random processes==
 
==Ergodic random processes==
 
<br>
 
<br>
Eine wichtige Unterklasse der stationären Zufallsprozesse sind die so genannten&nbsp; ''ergodischen Prozesse''&nbsp; mit folgenden Eigenschaften:  
+
An important subclass of stationary random processes are the so-called&nbsp; "ergodic processes"&nbsp; with the following properties:  
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; Bei einem&nbsp; '''ergodischen Prozess'''&nbsp; $\{x_i(t)\}$&nbsp; ist jede einzelne Musterfunktion&nbsp; $x_i(t)$&nbsp; repräsentativ für das gesamte Ensemble.
+
$\text{Definition:}$&nbsp; In an&nbsp; &raquo;'''ergodic process'''&laquo;&nbsp; $\{x_i(t)\}$&nbsp; each individual pattern function&nbsp; $x_i(t)$&nbsp; is representative of the entire ensemble.
*Alle statistischen Beschreibungsgrößen eines ergodischen Prozesses kann man aus einer einzigen Musterfunktion durch Zeitmittelung&nbsp; $($bezüglich der Laufvariablen&nbsp; $ν = t/T$ &nbsp; &rArr; &nbsp; normierte Zeit$)$&nbsp; gewinnen.  
+
 
*Das bedeutet auch: &nbsp; Bei Ergodizität stimmen die Zeitmittelwerte einer jeden Musterfunktion mit den entsprechenden Scharmittelwerten zu beliebigen Zeitpunkten&nbsp; $ν$&nbsp; überein.}}
+
*All statistical descriptive variables of an ergodic process can be obtained from a single pattern function by time averaging&nbsp; <br>$($referring to the control variables&nbsp; $ν = t/T$ &nbsp; &rArr; &nbsp; normalized time$)$&nbsp; .  
 +
*This also means: &nbsp; '''With ergodicity,&nbsp; the time averages of each pattern function coincide with the corresponding coulter averages at arbitrary time points&nbsp; $ν$'''.&nbsp; }}
  
  
[[File:EN_Sto_T_4_4_S3.png|450px |right|frame|450px| Zur Definition ergodischer Zufallsprozesse]]  
+
[[File:EN_Sto_T_4_4_S3.png|450px |right|frame|450px| On the definition of ergodic random processes]]  
Beispielsweise gilt bei Ergodizität für das Moment&nbsp; $k$-ter Ordnung:  
+
For example,&nbsp; with ergodicity,&nbsp; for the moment&nbsp; $k$-th order:  
 
:$$m_k=\overline{x^k(t)}={\rm E}\big[x^k\big].$$
 
:$$m_k=\overline{x^k(t)}={\rm E}\big[x^k\big].$$
Die überstreichende Linie kennzeichnet hierbei den Zeitmittelwert, während der Scharmittelwert durch Erwartungswertswertbildung&nbsp; $\rm E\big[ \hspace{0.1cm}\text{...} \hspace{0.1cm} \big]$&nbsp; zu ermitteln ist, wie im Kapitel&nbsp; [[Theory_of_Stochastic_Signals/Momente_einer_diskreten_Zufallsgröße|Momente einer diskreten Zufallsgröße]]&nbsp;  beschrieben.
+
Here,&nbsp; the sweeping line denotes the time mean,&nbsp; while the coulter mean is to be determined by expected value generation&nbsp; $\rm E\big[ \hspace{0.1cm}\text{...} \hspace{0.1cm} \big]$&nbsp; as described in chapter&nbsp; [[Theory_of_Stochastic_Signals/Moments_of_a_Discrete_Random_Variable|"Moments of a discrete random variable"]].
  
  
''Anmerkung:'' &nbsp; Die Ergodizität lässt sich aus einer endlichen Anzahl von Musterfunktionen und endlichen Signalausschnitten nicht nachweisen.
+
 
*Allerdings wird in den meisten Anwendungen zwar hypothetisch – aber trotzdem durchaus berechtigt – von Ergodizität ausgegangen.  
+
 
*Anhand der gefundenen Ergebnisse muss anschließend die Plausibilität dieser&nbsp; '''Ergodizitätshypothese'''&nbsp; überprüft werden.  
+
'''Note:''' &nbsp;  
 +
#Ergodicity cannot be proved from a finite number of pattern functions and finite signal sections.
 +
#However, ergodicity is hypothetically - but nevertheless quite justifiably - assumed in most applications.  
 +
#On the basis of the results found,&nbsp; the plausibility of this&nbsp; &raquo;'''ergodicity hypothesis'''&laquo;&nbsp; must subsequently be checked.  
 
<br clear=all>
 
<br clear=all>
==Allgemeingültige Beschreibung von Zufallsprozessen==
+
==Generally valid description of random processes==
 
<br>
 
<br>
Ist der zu analysierende Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; nicht stationär und damit mit Sicherheit auch nicht ergodisch, so müssen die Momente stets als Scharmittelwerte bestimmt werden.&nbsp; Im Allgemeinen sind diese zeitabhängig:  
+
If the random process&nbsp; $\{x_i(t)\}$&nbsp; to be analyzed is not stationary and thus certainly not ergodic,&nbsp; the moments must always be determined as coulter averages.&nbsp;  
 +
*In general,&nbsp; these are time-dependent:  
 
:$$m_k(t_1) \ne m_k(t_2).$$
 
:$$m_k(t_1) \ne m_k(t_2).$$
Da durch die Momente aber auch die&nbsp; [[Theory_of_Stochastic_Signals/Erwartungswerte_und_Momente#Charakteristische_Funktion|charakteristische Funktion]]&nbsp; (Fourierrücktransformierte der WDF)  
+
*However,&nbsp; since by the moments also the&nbsp; [[Theory_of_Stochastic_Signals/Expected_Values_and_Moments#Characteristic_function|$\text{characteristic function}$]]&nbsp; (Fourier retransform of the PDF):
 
:$$ C_x(\Omega) ={\rm\sum^{\infty}_{{\it k}=0}}\ \frac{m_k}{k!}\cdot \Omega^{k}\ \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\,\ f_{x}(x)$$
 
:$$ C_x(\Omega) ={\rm\sum^{\infty}_{{\it k}=0}}\ \frac{m_k}{k!}\cdot \Omega^{k}\ \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\,\ f_{x}(x)$$
festliegt, ist die Wahrscheinlichkeitsdichtefunktion $f_{x}(x)$&nbsp; ebenfalls zeitabhängig.  
+
:is fixed,&nbsp; the probability density function $f_{x}(x)$&nbsp; is also time-dependent.  
  
Sollen nicht nur die Amplitudenverteilungen zu verschiedenen Zeitpunkten&nbsp; $t_1,&nbsp; t_2$, ...&nbsp; ermittelt werden, sondern auch die statistischen Bindungen zwischen den Signalwerten zu diesen Zeiten, so muss man auf die&nbsp; [[Theory_of_Stochastic_Signals/Zweidimensionale_Zufallsgrößen#Verbundwahrscheinlichkeitsdichtefunktion|zweidimensionale Verbundwahrscheinlichkeitsdichtefunktion]]&nbsp; übergehen.  
+
*If not only the amplitude distributions at different times&nbsp; $t_1,&nbsp; t_2$, ...&nbsp; are to be determined,&nbsp; but also the statistical bindings between the signal values at these times,&nbsp; one has to pass to the&nbsp; [[Theory_of_Stochastic_Signals/Two-Dimensional_Random_Variables#Joint_probability_density_function|$\text{two-dimensional probability density function}$]].  
  
  
Betrachtet man beispielsweise die beiden Zeitpunkte&nbsp; $t_1$&nbsp; und&nbsp; $t_2$, so ist folgendes zu vermerken:  
+
For example,&nbsp; considering the two time points&nbsp; $t_1$&nbsp; and&nbsp; $t_2$,&nbsp; note the following:  
*Die 2D-WDF ergibt sich entsprechend den Angaben auf der Seite&nbsp; [[Theory_of_Stochastic_Signals/Zweidimensionale_Zufallsgrößen#Eigenschaften_und_Beispiele|Eigenschaften und Beispiele zweidimensionaler Zufallsgrößen]]&nbsp; mit&nbsp; $x = x(t_1)$&nbsp; und&nbsp; $y = x(t_2)$.&nbsp; Es ist offensichtlich, dass bereits die Ermittlung dieser Größe sehr aufwändig ist.
+
#The two-dimensional PDF is obtained according to the specifications in section&nbsp; [[Theory_of_Stochastic_Signals/Two-Dimensional_Random_Variables#Properties_and_examples|"Properties and examples of two-dimensional random variables"]]&nbsp; with&nbsp; $x = x(t_1)$&nbsp; and&nbsp; $y = x(t_2)$.&nbsp; It is obvious that already the determination of this variable is very complex.
*Berücksichtigt man weiter, dass zur Erfassung aller statistischen Bindungen innerhalb des Zufallsprozesses eigentlich die&nbsp; $n$-dimensionale Verbundwahrscheinlichkeitsdichtefunktion&nbsp; ('''VWDF''')&nbsp; herangezogen werden müsste, wobei möglichst noch der Grenzwert&nbsp; $n → ∞$&nbsp; zu bilden ist, so erkennt man die Schwierigkeiten für die Lösung praktischer Probleme.  
+
#If one further considers that to capture all statistical bindings within the random process actually the&nbsp; $n$-dimensional probability density function would have to be used,&nbsp; where if possible the limit&nbsp; $n → ∞$&nbsp; still has to be formed,&nbsp; one recognizes the difficulties for the solution of practical problems.  
*Aus diesen Gründen geht man zur Beschreibung der statistischen Bindungen eines Zufallsprozesses auf die Autokorrelationsfunktion über, die das Problem vereinfacht.&nbsp; Diese wird im folgenden Abschnitt zunächst für den allgemeinen Fall definiert.  
+
#For these reasons,&nbsp; in order to describe the statistical bindings of a random process,&nbsp; one proceeds to the auto-correlation function,&nbsp; which simplifies the problem.&nbsp; This is first defined in the following section for the general case.  
  
==Allgemeine Definition der Autokorrelationsfunktion==
+
==General definition of the auto-correlation function==
 
<br>
 
<br>
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Allgemeingültige Definition:}$&nbsp; Die&nbsp; '''Autokorrelationsfunktion'''&nbsp; ('''AKF''')&nbsp; eines Zufallsprozesses&nbsp; $\{x_i(t)\}$&nbsp; ist gleich dem Erwartungswert des Produkts der Signalwerte zu zwei Zeitpunkten&nbsp; $t_1$&nbsp; und&nbsp; $t_2$:  
+
$\text{General Definition:}$&nbsp;  
 +
 
 +
The&nbsp; &raquo;'''auto-correlation function'''&laquo;&nbsp; $\rm (ACF)$&nbsp; of a random process&nbsp; $\{x_i(t)\}$&nbsp; is equal to the expected value of the product of the signal values at two time points&nbsp; $t_1$&nbsp; and&nbsp; $t_2$:  
 
:$$\varphi_x(t_1,t_2)={\rm E}\big[x(t_{\rm 1})\cdot x(t_{\rm 2})\big].$$
 
:$$\varphi_x(t_1,t_2)={\rm E}\big[x(t_{\rm 1})\cdot x(t_{\rm 2})\big].$$
Diese Definition gilt unabhängig davon, ob der Zufallsprozess ergodisch oder nichtergodisch ist, und sie gilt im Prinzip  auch für nichtstationäre Prozesse. }}
+
This definition holds whether the random process is ergodic or non-ergodic,&nbsp; and it also holds in principle for non-stationary processes. }}
  
  
''Hinweis zur Nomenklatur:''
+
:Note on nomenclature:
  
Um den Zusammenhang mit der&nbsp; [[Theory_of_Stochastic_Signals/Kreuzkorrelationsfunktion_und_Kreuzleistungsdichte|Kreuzkorrelationsfunktion]]&nbsp; $φ_{xy}$&nbsp; zwischen den beiden statistischen Größen&nbsp; $x$&nbsp; und&nbsp; $y$&nbsp; deutlich zu machen, wird in mancher Literatur für die Autokorrelationsfunktion anstelle von&nbsp; $φ_{x}$&nbsp; auch häufig die Schreibweise&nbsp; $φ_{xx}$&nbsp; verwendet.&nbsp; In unserem Lerntutorial verzichten wir darauf.
+
:In order to establish the relationship with the&nbsp; [[Theory_of_Stochastic_Signals/Cross-Correlation_Function_and_Cross_Power_Density|$\text{cross-correlation function}$]]&nbsp; $φ_{xy}$&nbsp; between the two statistical variables&nbsp; $x$&nbsp; and&nbsp; $y$&nbsp; to make clear,&nbsp;  in some literature for the auto-correlation function instead of&nbsp; $\varphi_x$&nbsp; the notation&nbsp; $\varphi_{xx}$&nbsp; is also often used.&nbsp;   In our learning tutorial,&nbsp; we refrain from doing so.
  
  
Ein Vergleich mit dem Abschnitt&nbsp; [[Theory_of_Stochastic_Signals/Zweidimensionale_Zufallsgrößen#Erwartungswerte_zweidimensionaler_Zufallsgr.C3.B6.C3.9Fen|Erwartungswerte zweidimensionaler Zufallsgrößen]]&nbsp; zeigt, dass der AKF&ndash;Wert&nbsp; $φ_x(t_1, t_2)$&nbsp; das gemeinsame Moment&nbsp; $m_{11}$&nbsp; zwischen den beiden Zufallsgrößen&nbsp; $x(t_1)$&nbsp; und&nbsp; $x(t_2)$&nbsp; angibt.  
+
A comparison with the section&nbsp; [[Theory_of_Stochastic_Signals/Two-Dimensional_Random_Variables#Expected_values_of_two-dimensional_random_variables|"Expected values of two-dimensional random variables"]]&nbsp; shows that the ACF&ndash;value&nbsp; $φ_x(t_1, t_2)$&nbsp; indicates the joint moment&nbsp; $m_{11}$&nbsp; between the two random variables&nbsp; $x(t_1)$&nbsp; and&nbsp; $x(t_2)$.  
  
Während für exakte Aussagen hinsichtlich der statistischen Bindungen eines Zufallsprozesses eigentlich die&nbsp; $n$&ndash;dimensionale Verbunddichte&nbsp; $($mit&nbsp; $n → ∞)$&nbsp; benötigt wird, werden durch den Übergang auf die Autokorrelationsfunktion implizit folgende Vereinfachungen getroffen:  
+
While exact statements regarding the statistical bindings of a random process actually require the&nbsp; $n$&ndash;dimensional joint probability density&nbsp; $($with&nbsp; $n → ∞)$,&nbsp; the following simplifications are implicitly made by moving to the auto-correlation function:  
*Anstelle von unendlich vielen Zeitpunkten werden hier nur zwei betrachtet, und  anstelle aller Momente&nbsp; $m_{\hspace{0.05cm}k\hspace{0.05cm}l}$&nbsp; zu den beiden Zeitpunkten&nbsp; $t_1$&nbsp; und&nbsp; $t_2$&nbsp; mit&nbsp; $k, \ l ∈ \{1, 2, 3, \text{...} \}$&nbsp; wird hier nur das gemeinsame Moment&nbsp; $m_{11}$&nbsp; erfasst.  
+
#Instead of infinitely many time points,&nbsp; only two are considered here,&nbsp; and instead of all moments&nbsp; $m_{\hspace{0.05cm}k\hspace{0.05cm}l}$&nbsp; at the two time points&nbsp; $t_1$&nbsp; and&nbsp; $t_2$&nbsp; with&nbsp; $k, \ l ∈ \{1, 2, 3, \text{...} \}$&nbsp; only the joint moment&nbsp; $m_{11}$&nbsp; is captured.  
*Das Moment&nbsp; $m_{11}$&nbsp; gibt ausschließlich die lineare Abhängigkeit&nbsp; ("Korrelation")&nbsp; des Prozesses wieder.&nbsp; Alle statistische Bindungen höherer Ordnung werden dagegen nicht berücksichtigt.  
+
#The moment&nbsp; $m_{11}$&nbsp; exclusively reflects the linear dependence&nbsp; ("correlation")&nbsp; of the process.&nbsp; All higher order statistical bindings,&nbsp; on the other hand,&nbsp; are not considered.  
*Deshalb sollte bei der Bewertung von Zufallsprozessen mittels AKF stets berücksichtigt werden, dass diese nur sehr beschränkte Aussagen über die statistischen Bindungen allgemein erlaubt.  
+
#Therefore,&nbsp; when evaluating random processes by means of ACF,&nbsp; it should always be taken into account that it allows only very limited statements about the statistical bindings in general.
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 3:}$&nbsp; Die obige Definition der Autokorrelationsfunktion gilt allgemein, also auch für nichtstationäre und nichtergodische Prozesse.  
+
$\text{Example 3:}$&nbsp; The above definition of the auto-correlation function applies in general,&nbsp; i.e. also to non-stationary and non-ergodic processes.  
  
*Ein Beispiel eines nichtstationären Vorgangs ist das Auftreten von Impulsstörungen im Fernsprechnetz, verursacht durch Wählimpulse in benachbarten Leitungen.  
+
*An example of a non-stationary process is the occurrence of&nbsp; "intersymbol interference"&nbsp; in the telephone network caused by dial pulses in adjacent lines.  
*Bei Digitalsignalübertragung führen solche nichtstationären Störprozesse meist zu Bündelfehlern.}}  
+
*In digital signal transmission,&nbsp; such non-stationary interference processes usually lead to trunking errors.}}
  
  
==ACF for ergodic processes==
+
==Auto-correlation function for stationary and ergodic processes==
 
<br>
 
<br>
[[File:EN_Sto_T_4_4_S8.png|400px |right|frame| Zur Autokorrelationsfunktion bei ergodischen Prozessen]]
+
[[File:EN_Sto_T_4_4_S8.png|400px |right|frame| On the auto-correlation function in ergodic processes]]
Im Folgenden beschränken wir uns auf stationäre und ergodische Prozesse.
+
In the following,&nbsp; we restrict ourselves to stationary and ergodic processes.
 
 
Ein solcher Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; wird zum Beispiel bei der Untersuchung von&nbsp; [[Aufgaben:Aufgabe_1.3Z:_Thermisches_Rauschen|Thermischem Rauschen]]&nbsp; zugrunde gelegt. Dabei wird von der Vorstellung ausgegangen, dass
 
*beliebig viele, in ihren physikalischen und statistischen Eigenschaften völlig gleiche Widerstände vorhanden sind,
 
*von denen jeder ein anderes Zufallssignal&nbsp; $x_i(t)$&nbsp; abgibt.
 
 
 
 
 
Die Grafik zeigt einen solchen stationären und ergodischen Prozess:
 
*Die einzelnen Musterfunktionen&nbsp; $x_i(t)$&nbsp; können zu allen beliebigen Zeiten alle beliebigen Werte annehmen.&nbsp; Das bedeutet, dass der hier betrachtete Zufallsprozess&nbsp; $\{x_i(t)\}$&nbsp; sowohl wert– als auch zeitkontinuierlich ist.
 
  
+
Such a random process&nbsp; $\{x_i(t)\}$&nbsp; is e.g. used as a basis in the study of&nbsp; [[Aufgaben:Exercise_1.3Z:_Thermal_Noise|$\text{thermal noise}$]].&nbsp; This is based on the notion that
*Auch wenn über die tatsächlichen Signalwerte der einzelnen Musterfunktionen aufgrund der Stochastik keine Aussagen getroffen werden können, so sind die Momente und die WDF zu allen Zeitpunkten gleich.  
+
*there are any number of resistors, completely identical in their physical and statistical properties,
 +
*each of which emits a different random signal&nbsp; $x_i(t)$&nbsp;.  
  
 
+
<br><br>
*In der Grafik ist aus Gründen einer verallgemeinerten Darstellung auch ein Gleichanteil&nbsp; $m_x$&nbsp; berücksichtigt, der bei Thermischem Rauschen allerdings nicht vorhanden ist.  
+
The graphic shows such a stationary and ergodic process:
 +
#The individual pattern functions&nbsp; $x_i(t)$&nbsp; can take on any arbitrary values at any arbitrary times.&nbsp; This means that the random process&nbsp; $\{x_i(t)\}$&nbsp; considered here is both continuous in value and continuous in time.
 +
#Although no conclusions can be drawn about the actual signal values of the individual pattern functions due to stochasticity,&nbsp; $\{x_i(t)\}$&nbsp; the moments and the PDF are the same at all time points.
 +
#In the graph,&nbsp;  for reasons of a generalized representation,&nbsp; a DC component&nbsp; $m_x$&nbsp; is also considered,&nbsp; which is not present in thermal noise.
 
<br clear=all>
 
<br clear=all>
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; Man spricht von einem&nbsp; '''stationären Zufallsprozess'''&nbsp; $\{x_i(t)\}$, wenn seine statistischen Eigenschaften invariant gegenüber Zeitverschiebungen sind.  
+
$\text{Definition:}$&nbsp; One speaks of a&nbsp; &raquo;'''stationary random process'''&laquo;&nbsp; $\{x_i(t)\}$ if its statistical properties are invariant to time shifts.  
  
*Für die Autokorrelationsfunktion (AKF) bedeutet diese Aussage, dass sie nicht mehr eine Funktion der beiden unabhängigen Zeitvariablen&nbsp; $t_1$&nbsp; und&nbsp; $t_2$&nbsp; ist, sondern nur noch von der Zeitdifferenz&nbsp; $τ = t_2 - t_1$&nbsp; abhängt:  
+
*For the auto-correlation function&nbsp; $\rm (ACF)$,&nbsp; this statement means that it is no longer a function of the two independent time variables&nbsp; $t_1$&nbsp; and&nbsp; $t_2$&nbsp; but depends only on the time difference&nbsp; $τ = t_2 - t_1$&nbsp;:  
:$$\varphi_x(t_1,t_2)\rightarrow{\varphi_x(\tau)={\rm E}\big[x(t)\cdot x(t+\tau)\big]}.$$
+
:$$\varphi_x(t_1,t_2)\ \rightarrow \ {\varphi_x(\tau)={\rm E}\big[x(t)\cdot x(t+\tau)\big]}.$$
*Die Scharmittelung kann dabei zu jeder beliebigen Zeit&nbsp; $t$&nbsp; erfolgen. }}
+
*The coulter averaging can be done at any time&nbsp; $t$&nbsp; in this case. }}
  
  
Unter der weiteren Annahme eines ergodischen Zufallsprozesses können alle Momente auch durch Zeitmittelung über eine einzige ausgewählte Musterfunktion&nbsp; $x(t)$&nbsp; ermittelt werden.&nbsp; Alle diese Zeitmittelwerte stimmen in diesem Sonderfall mit den entsprechenden Scharmittelwerten überein.  
+
#Under the further assumption of an ergodic random process,&nbsp; all moments can also be obtained by time averaging over a single selected pattern function&nbsp; $x(t)$.&nbsp;  
 +
#All these time averages coincide with the corresponding coulter averages in this special case.  
 +
 
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; Damit folgt für die&nbsp; '''AKF eines ergodischen Zufallsprozesses''', dessen Mustersignale jeweils von&nbsp; $–∞$&nbsp; bis&nbsp; $+∞$&nbsp; reichen&nbsp; $(T_{\rm M}$ bezeichnet die Messdauer$)$:  
+
$\text{Definition:}$&nbsp; Thus,&nbsp; for the&nbsp; &raquo;'''ACF of an ergodic random process'''&laquo;&nbsp; whose pattern signals each range from&nbsp; $-∞$&nbsp; to&nbsp; $+∞$&nbsp; follows:  
 
:$$\varphi_x(\tau)=\overline{x(t)\cdot x(t+\tau)}=\lim_{T_{\rm M}\to\infty}\,\frac{1}{T_{\rm M} }\cdot\int^{T_{\rm M}/{\rm 2} }_{-T_{\rm M}/{\rm 2} }x(t)\cdot x(t+\tau)\,\,{\rm d}t.$$
 
:$$\varphi_x(\tau)=\overline{x(t)\cdot x(t+\tau)}=\lim_{T_{\rm M}\to\infty}\,\frac{1}{T_{\rm M} }\cdot\int^{T_{\rm M}/{\rm 2} }_{-T_{\rm M}/{\rm 2} }x(t)\cdot x(t+\tau)\,\,{\rm d}t.$$
Die überstreichende Linie kennzeichnet die Zeitmittelung über das unendlich ausgedehnte Zeitintervall. }}
+
*The sweeping line denotes time averaging over the infinitely extended time interval.
 +
*$T_{\rm M}$&nbsp; denotes the measurement duration.  }}
  
  
Bei periodischen Signalen kann man auf den Grenzübergang verzichten, so dass in diesem Sonderfall die Autokorrelationsfunktion mit der Periodendauer&nbsp; $T_0$&nbsp; auch in folgender Weise geschrieben werden kann:  
+
For periodic signals,&nbsp;  the boundary crossing can be omitted,&nbsp; so in this special case the auto-correlation function with period&nbsp; $T_0$&nbsp; can also be written in the following way:  
 
:$$\varphi_x(\tau)=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}/2}_{-T_{\rm 0}/2}x(t)\cdot x(t+\tau)\,\,{\rm d}t=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}}_{\rm 0}x(t)\cdot x(t+\tau)\,\,{\rm d}t .$$
 
:$$\varphi_x(\tau)=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}/2}_{-T_{\rm 0}/2}x(t)\cdot x(t+\tau)\,\,{\rm d}t=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}}_{\rm 0}x(t)\cdot x(t+\tau)\,\,{\rm d}t .$$
Wichtig ist nur, dass insgesamt genau über eine Periodendauer&nbsp; $T_0$&nbsp; (oder Vielfache davon)&nbsp; gemittelt wird.&nbsp; Egal ist, welchen Zeitausschnitt man verwendet.  
+
It is only important that in total exactly over a period duration&nbsp; $T_0$&nbsp; $($or multiples of it$)$&nbsp; is averaged.&nbsp; It does not matter which time section one uses.  
  
==Eigenschaften der Autokorrelationsfunktion==
+
==Properties of the auto-correlation function==
 
<br>
 
<br>
Hier werden wichtige Eigenschaften der Autokorrelationsfunktion (AKF) zusammengestellt, wobei wir von der ergodischen AKF&ndash;Form&nbsp; $φ_x(τ)$&nbsp; ausgehen:  
+
Here we compile important properties of the auto-correlation function&nbsp;  $\rm (ACF)$,&nbsp;  starting from the ergodic ACF&ndash;form&nbsp; $φ_x(τ)$:  
*Ist der betrachtete Zufallsprozess reell, so gilt dies auch für seine Autokorrelationsfunktion.  
+
*If the random process under consideration is real, so is its auto-correlation function is also real.
*Die AKF besitzt die Einheit einer Leistung, zum Beispiel "Watt"&nbsp; $\rm (W)$.&nbsp; Häufig bezieht man diese auf den Widerstand&nbsp; $1\hspace{0.03cm} Ω$;&nbsp; $φ_x(τ)$&nbsp; hat dann die Einheit&nbsp; $\rm V^2$&nbsp; bzw.&nbsp; $\rm A^2$.  
+
*The ACF has the unit of a power, e.g.&nbsp;  "Watt"&nbsp; $\rm (W)$.&nbsp; Often one relates it to the resistance&nbsp; $1\hspace{0.03cm} Ω$;&nbsp; $φ_x(τ)$&nbsp; then with the unit&nbsp; $\rm V^2$&nbsp; resp.&nbsp; $\rm A^2$.  
*Die AKF ist immer eine gerade Funktion  &nbsp; ⇒ &nbsp; $φ_x(–τ) = φ_x(τ)$. &nbsp; Alle Phasenbeziehungen des Zufallsprozesses gehen in der AKF verloren.  
+
*The ACF is always an even function&nbsp; ⇒ &nbsp; $φ_x() = φ_x(τ)$. &nbsp; All phase relations of the random process are lost in the ACF.  
*Die AKF an der Stelle&nbsp; $τ = 0$&nbsp; gibt den quadratischen Mittelwert&nbsp; $m_2$&nbsp; (Moment zweiter Ordnung) und damit die gesamte Signalleistung (Gleich– und Wechselanteil) an:  
+
*The ACF at the point&nbsp; $τ = 0$&nbsp; gives the second order moment&nbsp; $m_2$&nbsp; and thus the total signal power of the random process&nbsp; (DC and AC components):  
 
:$$\varphi_x(\tau = 0)= m_2=\overline{ x^2(t)}.$$
 
:$$\varphi_x(\tau = 0)= m_2=\overline{ x^2(t)}.$$
*Das AKF&ndash;Maximum tritt stets bei&nbsp; $τ = 0$&nbsp; auf, und es gilt: &nbsp; $|φ_x(τ)| ≤ φ_x(0)$. Bei nichtperiodischen Prozessen ist für&nbsp; $τ ≠ 0$&nbsp; der Betrag&nbsp; $|φ_x(τ)|$&nbsp; stets kleiner als&nbsp; $φ_x(\tau =0)$ &nbsp; &rArr; &nbsp; Leistung des Zufallsprozesses.  
+
*The ACF maximum always occurs at&nbsp; $τ = 0$.&nbsp; It holds: &nbsp; $|φ_x(τ)| ≤ φ_x(0)$.&nbsp; For non-periodic processes,&nbsp; the magnitude&nbsp; $|φ_x(τ)|$&nbsp; for&nbsp; $τ ≠ 0$&nbsp; is always less than&nbsp; $φ_x(\tau =0)$.  
*Bei einem periodischen Zufallsprozess weist die AKF die gleiche Periodendauer&nbsp; $T_0$&nbsp; wie die einzelnen Mustersignale&nbsp; $x_i(t)$&nbsp; auf:  
+
*For a periodic random process, the ACF has the same period&nbsp; $T_0$&nbsp; as the individual pattern signals&nbsp; $x_i(t)$&nbsp; :  
 
:$$\varphi_x(\pm{T_0})=\varphi_x(\pm{2\cdot T_0})= \hspace{0.1cm}\text{...} \hspace{0.1cm}= \varphi_x(0).$$
 
:$$\varphi_x(\pm{T_0})=\varphi_x(\pm{2\cdot T_0})= \hspace{0.1cm}\text{...} \hspace{0.1cm}= \varphi_x(0).$$
*Der Gleichanteil&nbsp; $m_1$&nbsp; eines nichtperiodischen Signals kann aus dem Grenzwert der Autokorrelationsfunktion für&nbsp; $τ → ∞$&nbsp; berechnet werden. Hierbei gilt:  
+
*The DC component&nbsp; $m_1$&nbsp; of a non-periodic signal can be calculated from the limit of the auto-correlation function for&nbsp; $τ → ∞$.&nbsp; Here,&nbsp; the following holds:  
 
:$$\lim_{\tau\to\infty}\,\varphi_x(\tau)= m_1^2=\big [\overline{ x(t)}\big]^2.$$
 
:$$\lim_{\tau\to\infty}\,\varphi_x(\tau)= m_1^2=\big [\overline{ x(t)}\big]^2.$$
*Dagegen schwankt bei Signalen mit periodischen Anteilen der Grenzwert der AKF für&nbsp; $τ → ∞$&nbsp; um diesen Endwert&nbsp; (Quadrat des Gleichanteils).  
+
*In contrast,&nbsp; for signals with periodic components,&nbsp; the limit value of the ACF for&nbsp; $τ → ∞$&nbsp; varies around this final value&nbsp; (square of the DC component).  
  
==Interpretation der Autokorrelationsfunktion==
+
==Interpretation of the auto-correlation function==
 
<br>
 
<br>
Die Grafik zeigt oben je ein Mustersignal zweier Zufallsprozesse&nbsp; $\{x_i(t)\}$&nbsp; und&nbsp; $\{y_i(t)\}$, unten die zugehörigen Autokorrelationsfunktionen.  
+
The graph shows pattern signals of each of two random processes&nbsp; $\{x_i(t)\}$&nbsp; and&nbsp; $\{y_i(t)\}$ at the top,&nbsp; and the corresponding auto-correlation functions at the bottom.  
[[File: P_ID373__Sto_T_4_4_S8_neu.png |right|frame| AKF von hochfrequenten und niederfrequenten Prozessen]]
+
[[File: P_ID373__Sto_T_4_4_S8_neu.png |right|frame| ACF of high-frequency and low-frequency processes]]
Anhand dieser Darstellungen sind folgende Aussagen möglich:  
+
Based on these representations,&nbsp; the following statements are possible:  
*$\{y_i(t)\}$&nbsp; hat stärkere innere statistische Bindungen als&nbsp; $\{x_i(t)\}$.&nbsp; Spektral gesehen ist der Prozess $\{y_i(t)\}$&nbsp; also niederfrequenter.  
+
#$\{y_i(t)\}$&nbsp; has stronger internal statistical bindings than&nbsp; $\{x_i(t)\}$.&nbsp; Spectrally,&nbsp; the process $\{y_i(t)\}$&nbsp; is thus lower frequency.  
*Die skizzierten Mustersignale&nbsp; $x(t)$&nbsp; und&nbsp; $y(t)$&nbsp; lassen bereits vermuten, dass beide Prozesse mittelwertfrei sind und den gleichen Effektivwert aufweisen.  
+
#The sketched pattern signals&nbsp; $x(t)$&nbsp; and&nbsp; $y(t)$&nbsp; already suggest that both processes are zero mean and have the same standard deviation.  
*Die obigen Autokorrelationsfunktionen bestätigen diese Aussagen.&nbsp; Die liearen Mittelwerte&nbsp; $m_x = m_y = 0$&nbsp; ergeben sich jeweils aus dem AKF&ndash;Grenzwert für&nbsp; $τ → ∞$.  
+
#The above auto-correlation functions confirm these statements.&nbsp; The linear mean values&nbsp; $m_x = m_y = 0$&nbsp; result in each case from the ACF limit for&nbsp; $τ → ∞$.  
*Wegen&nbsp; $m_x = 0$&nbsp; gilt hier  für die Varianz: &nbsp; $σ_x^2 = φ_x(0) = 0.01 \hspace{0.05cm} \rm V^2$, und der Effektivwert ist demzufolge&nbsp; $σ_x = 0.1 \hspace{0.05cm}\rm V$.  
+
#Because&nbsp; $m_x = 0$&nbsp; applies here to the variance: &nbsp; $σ_x^2 = φ_x(0) = 0.01 \hspace{0.05cm} \rm V^2$, and the standard deviation is consequently&nbsp; $σ_x = 0.1 \hspace{0.05cm}\rm V$.  
*$y(t)$&nbsp; hat die gleiche Varianz und und den gleichen Effektivwert wie&nbsp; $x(t)$.&nbsp; Die AKF&ndash;Werte fallen um so langsamer ab, je stärker die inneren statistischen Bindungen sind.  
+
#$y(t)$&nbsp; has the same variance and and standard deviation as&nbsp; $x(t)$.&nbsp; The ACF values fall off more slowly the stronger the internal statistical bindings are.  
*Das Signal&nbsp; $x(t)$&nbsp; mit schmaler AKF ändert sich zeitlich sehr schnell, während beim niederfrequenteren Signal&nbsp; $y(t)$&nbsp; die statistischen Bindungen deutlich weiter  reichen.  
+
#The signal&nbsp; $x(t)$&nbsp; with narrow ACF changes very fast in time,&nbsp; while for the lower frequency signal&nbsp; $y(t)$&nbsp; the statistical bindings are much wider.  
*Das bedeutet aber auch, dass der Signalwert&nbsp; $y(t + τ)$&nbsp; aus&nbsp; $y(t)$&nbsp; besser vorhergesagt werden kann als&nbsp; $x(t + τ)$&nbsp; aus&nbsp; $x(t)$.  
+
#But this also means that the signal value&nbsp; $y(t + τ)$&nbsp; from&nbsp; $y(t)$&nbsp; can be better predicted than&nbsp; $x(t + τ)$&nbsp; from&nbsp; $x(t)$.  
  
  
{{BlaueBox|TEXT=
+
{{BlaueBox|TEXT=
$\text{Definition:}$&nbsp; Eine quantitative Kenngröße für die Stärke der statistischen Bindungen ist die&nbsp; '''äquivalente AKF-Dauer'''&nbsp; $∇τ$&nbsp; (man spricht „Nabla–tau”), die sich aus der AKF über das flächengleiche Rechteck ermitteln lässt:  
+
$\text{Definition:}$&nbsp; A quantitative measure of the strength of statistical bindings is the&nbsp; &raquo;'''equivalent ACF duration'''&laquo;&nbsp; $∇τ$&nbsp; ("Nabla-tau"),&nbsp; which can be determined from the ACF over the equal-area rectangle:  
 
:$${ {\rm \nabla} }\tau =\frac{1}{\varphi_x(0)}\cdot\int^{\infty}_{-\infty}\ \varphi_x(\tau)\,\,{\rm d}\tau. $$
 
:$${ {\rm \nabla} }\tau =\frac{1}{\varphi_x(0)}\cdot\int^{\infty}_{-\infty}\ \varphi_x(\tau)\,\,{\rm d}\tau. $$
Bei den hier betrachteten Prozessen&nbsp; (mit gaußähnlicher AKF)&nbsp; gilt entsprechend obiger Skizze: &nbsp; $∇τ_x = 0.33 \hspace{0.05cm} \rm &micro; s$ &nbsp; bzw. &nbsp; $∇τ_y =  1 \hspace{0.05cm} \rm  &micro;s$.}}  
+
}}  
  
  
Als ein weiteres Maß für die Stärke der statistischen Bindungen wird in der Literatur häufig die&nbsp; [[Digital_Signal_Transmission/Bündelfehlerkanäle#Fehlerkorrelationsfunktion_des_GE.E2.80.93Modells|Korrelationsdauer]]&nbsp; $T_{\rm K}$&nbsp; verwendet.&nbsp; Diese gibt die Zeitdauer an, bei der die Autokorrelationsfunktion auf die Häfte ihres Maximalwertes abgefallen ist.  
+
*For the processes considered here&nbsp; (with Gaussian-like ACF)&nbsp; holds according to the above sketch: &nbsp; $∇τ_x = 0.33 \hspace{0.05cm} \rm &micro; s$ &nbsp; resp. &nbsp; $∇τ_y = 1 \hspace{0.05cm} \rm &micro;s$.
 +
*As another measure of the strength of the statistical bindings, the&nbsp; [[Digital_Signal_Transmission/Burst_Error_Channels#Error_correlation_function_of_the_Gilbert-Elliott_model|$\text{correlation duration}$]]&nbsp; $T_{\rm K}$&nbsp; is often used in the literature.&nbsp;  
 +
*This indicates the time duration at which the auto-correlation function has dropped to half of its maximum value.  
  
==Numerische AKF-Ermittlung==
+
==Numerical ACF determination==
 
<br>
 
<br>
Bisher haben wir stets zeitkontinuierliche Signale&nbsp; $x(t)$&nbsp; betrachtet, die für die Darstellung und Simulation mittels Digitalrechner ungeeignet sind.&nbsp; Hierzu ist vielmehr eine zeitdiskrete Signaldarstellung&nbsp; $〈x_ν〉$&nbsp; erforderlich, wie im Kapitel&nbsp; [[Signal_Representation/Time_Discrete_Signal_Representation|Zeitdiskrete Signaldarstellung]]&nbsp; unseres ersten Buches dargelegt.  
+
So far,&nbsp; we have always considered continuous-time signals&nbsp; $x(t)$&nbsp; which are unsuitable for representation and simulation by means of digital computers.&nbsp; Instead,&nbsp; a discrete-time signal representation&nbsp; $〈x_ν〉$&nbsp; is required for this purpose,&nbsp; as outlined in the chapter&nbsp; [[Signal_Representation/Discrete-Time_Signal_Representation|"Discrete-Time Signal Representation"]]&nbsp; of our first book.  
  
Hier eine kurze Zusammenfassung:  
+
Here is a brief summary:  
  
*Das zeitdiskrete Signal&nbsp; $〈x_ν〉$&nbsp; ist die Folge der Abtastwerte&nbsp; $x_ν = x(ν · T_{\rm A}).$&nbsp; Das zeitkontinuierliche Signal&nbsp; $x(t)$&nbsp; wird durch die Folge&nbsp; $〈x_ν〉$&nbsp; vollständig beschrieben, wenn das Abtasttheorem erfüllt ist:  
+
*The discrete-time signal&nbsp; $〈x_ν〉$&nbsp; is the sequence of samples&nbsp; $x_ν = x(ν - T_{\rm A}).$&nbsp;  
 +
*The continuous-time signal&nbsp; $x(t)$&nbsp; is fully described by the sequence&nbsp; $〈x_ν〉$&nbsp; when the sampling theorem is satisfied:  
 
:$$T_{\rm A} \le \frac{1}{2 \cdot B_x}.$$
 
:$$T_{\rm A} \le \frac{1}{2 \cdot B_x}.$$
  
*$B_x$&nbsp; bezeichnet die absolute (einseitige) Bandbreite des Analogsignals&nbsp; $x(t)$.&nbsp; Diese sagt aus, dass die Spektralfunktion&nbsp; $X(f)$&nbsp; für alle Frequenzen&nbsp; $| f | > B_x$&nbsp;  Null ist.  
+
*$B_x$&nbsp; denotes the absolute&nbsp; (one-sided)&nbsp; bandwidth of the analog signal&nbsp; $x(t)$.&nbsp; This states that the spectral function&nbsp; $X(f)$&nbsp; is zero for all frequencies&nbsp; $| f | > B_x$.  
 
 
  
[[File:P_ID638__Sto_T_4_4_S9_ganz_neu.png |frame| Abtastung eines Audiosignals]]
 
  
{{GraueBox|TEXT=
+
{{GraueBox|TEXT=
$\text{Beispiel 4:}$&nbsp;   
+
[[File:P_ID638__Sto_T_4_4_S9_ganz_neu.png |frame| Sampling an audio signal]]
Das Bild zeigt einen Ausschnitt eines Audiosignals der Dauer&nbsp; $10$&nbsp; Millisekunden.  
+
$\text{Example 4:}$&nbsp;   
 +
The image shows a short section of an audio signal of duration&nbsp; $10$&nbsp; milliseconds.  
  
Obwohl das gesamte Signal ein breites Spektrum mit der Mittenfrequenz bei etwa&nbsp; $500 \hspace{0.05cm} \rm Hz$&nbsp; besitzt, ist im betrachteten (kurzen) Zeitintervall ein (nahezu) periodisches Signal mit etwa der Periodendauer&nbsp; $T_0 = 4.3 \hspace{0.05cm} \rm ms$&nbsp; zu erkennen.&nbsp; Daraus ergibt sich die Grundfrequenz zu&nbsp;   
+
Although the entire signal has a broad spectrum with the center frequency at about&nbsp; $500 \hspace{0.05cm} \rm Hz$,&nbsp; in the considered&nbsp; (short)&nbsp; time interval a&nbsp; (nearly)&nbsp; periodic signal with about period duration&nbsp; $T_0 = 4.3 \hspace{0.08cm} \rm ms$.&nbsp; From this,&nbsp; the basic frequency is obtained to&nbsp;   
:$$f_0 = 1/T_0 \approx 230 \hspace{0.05cm} \rm Hz.$$  
+
:$$f_0 = 1/T_0 \approx 230 \hspace{0.08cm} \rm Hz.$$  
  
Blau eingezeichnet sind die Abtastwerte im Abstand&nbsp; $T_{\rm A} = 0.5 \hspace{0.05cm} \rm ms$.  
+
Drawn in blue are the samples at distance&nbsp; $T_{\rm A} = 0.5 \hspace{0.08cm} \rm ms$.  
*Diese Folge&nbsp; $〈x_ν〉$&nbsp; von Abtastwerten würde allerdings nur dann die gesamte Information über das Analogsignal&nbsp; $x(t)$&nbsp; beinhalten, wenn dieses auf den Frequenzbereich bis&nbsp; $1 \hspace{0.05cm} \rm kHz$&nbsp; begrenzt wäre.
+
*However, this sequence&nbsp; $〈x_ν〉$&nbsp; of samples would only contain all the information about the analog signal&nbsp; $x(t)$&nbsp; if&nbsp; $x(t)$&nbsp; were limited to the frequency range up to&nbsp; $1 \hspace{0.08cm} \rm kHz$.&nbsp;  
*Sind im Signal&nbsp; $x(t)$&nbsp; höhere Frequenzanteile enthalten, so muss&nbsp; $T_{\rm A}$&nbsp; entsprechend kleiner gewählt werden.}}
+
*If higher frequency components are included in the signal&nbsp; $x(t)$ &nbsp; &rArr; &nbsp; $T_{\rm A}$&nbsp; must be chosen to be correspondingly smaller.}}
  
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Fazit:}$&nbsp;   
+
$\text{Conclusion:}$&nbsp;   
* Wenn die Signalwerte nur zu diskreten Zeitpunkten&nbsp; $($bei Vielfachen von&nbsp; $T_{\rm A})$&nbsp; vorliegen, kann man auch die Autokorrelationsfunktion nur zu ganzzahligen Vielfachen von&nbsp; $T_{\rm A}$&nbsp; bestimmen.
+
#If the signal values are only available at discrete times&nbsp; $($multiples of&nbsp; $T_{\rm A})$,&nbsp; one can also determine the auto-correlation function only at integer multiples of&nbsp; $T_{\rm A}$.
*Mit den zeitdiskreten Signalwerten &nbsp;$x_ν = x(ν · T_{\rm A})$&nbsp; und &nbsp;$x_{ν+k} = x((ν+k) · T_{\rm A})$&nbsp; sowie der zeitdiskreten AKF&nbsp; $φ_k = φ_x(k · T_{\rm A})$&nbsp; lässt sich somit die AKF–Berechnung wie folgt dargestellen:
+
#The ACF calculation can thus be represented as follows&nbsp; (the sweeping line again denotes time averaging):
:$$\varphi_k = \overline {x_\nu \cdot x_{\nu + k} }.$$
+
::$$\varphi_k = \overline {x_\nu \cdot x_{\nu + k} },$$
Die überstreichende Linie kennzeichnet wieder  die Zeitmittelung.}}
+
:*with the discrete-time signal values &nbsp;$x_ν = x(ν - T_{\rm A})$&nbsp; and &nbsp;$x_{ν+k} = x((ν+k) - T_{\rm A})$,&nbsp; and
 +
:* the discrete-time ACF&nbsp; $φ_k = φ_x(k - T_{\rm A})$.  
 +
}}
  
  
 +
We now set ourselves the task of finding the ACF support points&nbsp; $φ_0, \hspace{0.1cm}\text{...}\hspace{0.1cm} , φ_l$
 +
*from&nbsp; $N$&nbsp; samples&nbsp; $(x_1, \hspace{0.1cm}\text{...}\hspace{0.1cm} , x_N)$&nbsp;
 +
*assuming the parameter&nbsp; $l \ll N$.&nbsp;
  
Wir stellen uns nun die Aufgabe, die AKF-Stützstellen&nbsp; $φ_0, \hspace{0.1cm}\text{...}\hspace{0.1cm} , φ_l$ aus&nbsp; $N$&nbsp; Abtastwerten&nbsp; $(x_1, \hspace{0.1cm}\text{...}\hspace{0.1cm} , x_N)$&nbsp; zu ermitteln, wobei der Parameter&nbsp; $l \ll N$&nbsp; vorausgesetzt wird.&nbsp; Beispielsweise gelte&nbsp; $l = 100$&nbsp; und&nbsp; $N = 100000$.
 
  
Die AKF-Berechnungsvorschrift lautet nun&nbsp; $($mit&nbsp; $0 ≤ k ≤ l)$:  
+
For example,&nbsp; let&nbsp; $l = 100$&nbsp; and&nbsp; $N = 100000$.&nbsp; The ACF calculation rule is now&nbsp; $($with&nbsp; $0 ≤ k ≤ l)$:  
 
:$$\varphi_k = \frac{1}{N- k} \cdot \sum_{\nu = 1}^{N - k} x_{\nu} \cdot x_{\nu + k}.$$
 
:$$\varphi_k = \frac{1}{N- k} \cdot \sum_{\nu = 1}^{N - k} x_{\nu} \cdot x_{\nu + k}.$$
Bringen wir den Faktor&nbsp; $(N - k)$&nbsp; auf die linke Seite, so erhalten wir daraus&nbsp; $l + 1$&nbsp; Gleichungen, nämlich:  
+
Bringing the factor&nbsp; $(N - k)$&nbsp; to the left-hand side,&nbsp; we obtain&nbsp; $l + 1$&nbsp; equations,&nbsp; namely:  
 
:$$k = 0\text{:} \hspace{0.4cm}N \cdot \varphi_0 \hspace{1.03cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 1} \hspace{0.35cm}+ x_{\rm 2} \cdot x_{\rm 2} \hspace{0.3cm}+\text{ ...} \hspace{0.25cm}+x_{\nu} \cdot x_{\nu}\hspace{0.35cm}+\text{ ...} \hspace{0.05cm}+x_{N} \cdot x_{N},$$
 
:$$k = 0\text{:} \hspace{0.4cm}N \cdot \varphi_0 \hspace{1.03cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 1} \hspace{0.35cm}+ x_{\rm 2} \cdot x_{\rm 2} \hspace{0.3cm}+\text{ ...} \hspace{0.25cm}+x_{\nu} \cdot x_{\nu}\hspace{0.35cm}+\text{ ...} \hspace{0.05cm}+x_{N} \cdot x_{N},$$
 
:$$k= 1\text{:}  \hspace{0.3cm}(N-1) \cdot \varphi_1 \hspace{0.08cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 2} \hspace{0.4cm}+ x_{\rm 2} \cdot x_{\rm 3} \hspace{0.3cm}+ \text{ ...} \hspace{0.18cm}+x_{\nu} \cdot x_{\nu + 1}\hspace{0.01cm}+\text{ ...}\hspace{0.08cm}+x_{N-1} \cdot x_{N},$$
 
:$$k= 1\text{:}  \hspace{0.3cm}(N-1) \cdot \varphi_1 \hspace{0.08cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 2} \hspace{0.4cm}+ x_{\rm 2} \cdot x_{\rm 3} \hspace{0.3cm}+ \text{ ...} \hspace{0.18cm}+x_{\nu} \cdot x_{\nu + 1}\hspace{0.01cm}+\text{ ...}\hspace{0.08cm}+x_{N-1} \cdot x_{N},$$
 
:$$\text{..................................................}$$
 
:$$\text{..................................................}$$
:$$k \hspace{0.2cm}{\rm allg.\hspace{-0.1cm}:}\hspace{0.15cm}(N - k) \cdot \varphi_k \hspace{0.01cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1} + k} \hspace{0.01cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ k}\hspace{0.1cm} + \text{ ...}\hspace{0.01cm}+x_{\nu} \cdot x_{\nu+k}\hspace{0.1cm}+\text{ ...}\hspace{0.01cm}+x_{N-k} \cdot x_{N},$$
+
:$$k \hspace{0.2cm}{\rm general\hspace{-0.1cm}:}\hspace{0.15cm}(N - k) \cdot \varphi_k \hspace{0.01cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1} + k} \hspace{0.01cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ k}\hspace{0.1cm} + \text{ ...}\hspace{0.01cm}+x_{\nu} \cdot x_{\nu+k}\hspace{0.1cm}+\text{ ...}\hspace{0.01cm}+x_{N-k} \cdot x_{N},$$
 
:$$\text{..................................................}$$
 
:$$\text{..................................................}$$
 
:$$k = l\text{:} \hspace{0.3cm}(N - l) \cdot \varphi_l \hspace{0.14cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1}+l} \hspace{0.09cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{\nu} \cdot x_{\nu+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{N- l} \cdot x_{N}.$$
 
:$$k = l\text{:} \hspace{0.3cm}(N - l) \cdot \varphi_l \hspace{0.14cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1}+l} \hspace{0.09cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{\nu} \cdot x_{\nu+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{N- l} \cdot x_{N}.$$
  
{{BlaueBox|TEXT=
+
{{BlaueBox|TEXT=  
$\text{Fazit:}$&nbsp;   
+
$\text{Conclusions:}$&nbsp;   
Nach diesem Schema ergibt sich der folgende Algorithmus:  
+
Following this scheme results in the following algorithm:  
*Man definiert das Feld&nbsp; $\rm AKF\big[\hspace{0.05cm}0 : {\it l}\hspace{0.1cm}\big]$&nbsp; vom Typ&nbsp; "float"&nbsp; und belegt alle Elemente mit Nullen vor.  
+
#You define the field&nbsp; $\rm ACF\big[\hspace{0.05cm}0 : {\it l}\hspace{0.1cm}\big]$&nbsp; of type&nbsp; "float"&nbsp; and preallocate zeros to all elements.  
*Bei jedem Schleifendurchlauf&nbsp; $($indiziert mit der Variablen&nbsp; $k)$&nbsp; werden die&nbsp; $l + 1$&nbsp; Feldelemente&nbsp; ${\rm AKF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$&nbsp; jeweils um den Beitrag &nbsp;$x_ν · x_{ν+k}$&nbsp; erhöht.  
+
#On each loop pass&nbsp; $($indexed with variable&nbsp; $k)$,&nbsp; the&nbsp; $l + 1$&nbsp; field elements&nbsp; ${\rm ACF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$&nbsp; are incremented by the contribution &nbsp;$x_ν \cdot x_{ν+k}$.  
*Alle&nbsp; $l+1$&nbsp; Feldelemente werden allerdings nur dann bearbeitet, so lange die Laufvariable&nbsp; $k$&nbsp; nicht größer als&nbsp; $N - l$&nbsp; ist.  
+
#All&nbsp; $l+1$&nbsp; field elements are processed,&nbsp; however,&nbsp; only as long as the control variable&nbsp; $k$&nbsp; is not greater than&nbsp; $N - l$.  
*Es ist stets zu berücksichtigen, dass&nbsp; $ν + k ≤ N$&nbsp; gelten muss.&nbsp; Das bedeutet, dass die Mittelung in den unterschiedlichen Feldern&nbsp; $\rm AKF\big[\hspace{0.03cm}0\hspace{0.03cm}\big]$ ... ${\rm AKF}\big[\hspace{0.03cm}l\hspace{0.03cm}\big]$&nbsp; über eine unterschiedliche Anzahl von Summanden erfolgen muss.  
+
#It must always be considered that&nbsp; $ν + k ≤ N$&nbsp; must hold.&nbsp; This means that the averaging in the different fields&nbsp; $\rm ACF\big[\hspace{0.03cm}0\hspace{0.03cm}\big]$ ... ${\rm ACF}\big[\hspace{0.03cm}l\hspace{0.03cm}\big]$&nbsp; must be done over a different number of summands.  
*Werden am Ende der Berechnung noch die in&nbsp; ${\rm AKF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$&nbsp; gespeicherten Werte durch die Anzahl der Summanden&nbsp; $(N - k)$&nbsp; dividiert, so enthält dieses Feld die gesuchten diskreten AKF-Werte:  
+
#If,&nbsp; at the end of the calculation,&nbsp; the values stored in&nbsp; ${\rm ACF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$&nbsp; are still divided by the number of summands&nbsp; $(N - k)$&nbsp; this field contains the discrete ACF values we are looking for:  
:$$\varphi_x(k \cdot T_A)= {\rm AKF} \big[\hspace{0.03cm}k\hspace{0.03cm}\big].$$
+
::$$\varphi_x(k \cdot T_A)= {\rm ACF} \big[\hspace{0.03cm}k\hspace{0.03cm}\big].$$
  
''Anmerkung:'' &nbsp; Bei&nbsp; $l \ll N$&nbsp; kann man den Algorithmus vereinfachen, indem die Anzahl der Summanden für alle&nbsp; $k$&ndash;Werte gleich gewählt werden:  
+
$\text{Note:}$ &nbsp; For&nbsp; $l \ll N$&nbsp; one can simplify the algorithm by choosing the number of summands to be the same for all&nbsp; $k$&ndash;values:  
:$$\varphi_k = \frac{1}{N- l} \cdot \sum_{\nu = 1}^{N - l} x_{\nu} \cdot x_{\nu + k}.$$}}
+
::$$\varphi_k = \frac{1}{N- l} \cdot \sum_{\nu = 1}^{N - l} x_{\nu} \cdot x_{\nu + k}.$$}}
  
==Genauigkeit der numerischen AKF-Berechnung==
+
==Accuracy of the numerical ACF calculation==
 
<br>
 
<br>
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 5:}$&nbsp;   
+
$\text{Example 5:}$&nbsp;   
Der entscheidende Parameter für die Qualität der numerischen AKF&ndash;Berechnung ist die Anzahl&nbsp; $N$&nbsp; der berücksichtigten Abtastwerte.  
+
The crucial parameter for the quality of numerical ACF calculation is the number&nbsp; $N$&nbsp; of considered samples.
*In der oberen Grafik sehen Sie das Ergebnis der numerischen AKF-Berechnung für&nbsp; $N = 1000$.
+
[[File:EN Sto T 4 4 S9a v1.png |right|frame| ACF for statistically independent samples]]
* Die untere Grafik gilt für&nbsp; $N = 10000$&nbsp; Abtastwerte.  
+
 +
The upper graph shows the result of the numerical ACF calculation for&nbsp; $N = 1000$.&nbsp; The lower graph is for&nbsp; $N = 10000$&nbsp; samples.
 +
 
 +
*The considered random variables are here statistically independent from each other.&nbsp;
 +
*Thus,&nbsp; all ACF values should actually be zero with the exception of the value at&nbsp; $k = 0$.
 +
 
 +
 
  
[[File:EN_Sto_T_4_4_S9a.png |right|frame| AKF bei statistisch unabhängigen Abtastwerten]]
 
<br>
 
Die betrachteten Zufallsgrößen sind hier voneinander statistisch unabhängig.&nbsp; Somit sollten eigentlich alle AKF–Werte mit Ausnahme des Wertes bei&nbsp; $k = 0$&nbsp; identisch Null sein.
 
*Bei&nbsp; $N = 10000$&nbsp; (untere Grafik) beträgt der maximale Fehler nur noch etwa&nbsp; $1\%$&nbsp; und ist bei dieser Darstellung fast nicht mehr sichtbar.
 
 
   
 
   
*Dagegen wächst der Fehler bei&nbsp; $N = 1000$&nbsp; (obere Grafik) bis auf $±6\%$&nbsp; an. }}  
+
*For&nbsp; $N = 10000$&nbsp; (lower graph) the maximum error is only about&nbsp; $1\%$&nbsp; and is almost invisible in this plot.
 +
*In contrast,&nbsp; for&nbsp; $N = 1000$&nbsp; (upper graph),&nbsp; the error grows to $±6\%$. }}  
 
<br clear = all>
 
<br clear = all>
[[File:EN_Sto_T_4_4_S9b.png|right|frame| AKF bei korrelierten Abtastwerten]]
 
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 6:}$&nbsp;
+
$\text{Example 6:}$&nbsp;
Die Ergebnisse ändern sich, wenn eine Zufallsgröße mit inneren statistischen Bindungen vorliegt.  
+
The results change when there is a random variable with internal statistical bindings.
 +
[[File:EN_Sto_T_4_4_S9b_v1.png|right|frame| ACF for correlated samples]]
 +
 
 +
For example,&nbsp; if we consider a triangular ACF with&nbsp; $φ_x(k) ≠ 0$&nbsp; for&nbsp; $\vert k \vert ≤ 10$,&nbsp; we see much larger deviations, viz.
 +
* errors up to about&nbsp; $±15\%$&nbsp; for&nbsp; $N = 1000$,  
 +
* errors up to about&nbsp; $±5\%$&nbsp; at&nbsp; $N = 10000$.  
  
  
Betrachten wir beispielsweise eine dreieckförmige AKF mit&nbsp; $φ_x(k) ≠ 0$&nbsp;  für&nbsp; $\vert k \vert ≤ 10$, so erkennt man deutlich größere Abweichungen, nämlich
+
Justification of the worse result according to this&nbsp; $\text{Example 6}$:
* Fehler bis zu etwa&nbsp; $±15\%$&nbsp; bei&nbsp; $N = 1000$,
+
*Due to the internal statistical bindings,&nbsp; not all samples now provide full information about the underlying random process.
* Fehler bis zu etwa&nbsp; $±5\%$&nbsp; bei&nbsp; $N = 10000$.
+
*Furthermore,&nbsp; the images reveal that in numerical ACF calculation of a random variable with statistical bindings,&nbsp; also the errors are correlated.
<br clear = all>
+
*If,&nbsp; for example,&nbsp; as seen in the upper image,&nbsp; the ACF value&nbsp; $φ_x({\rm 26})$&nbsp; is spuriously positive and large,&nbsp; the neighboring ACF values&nbsp; $φ_x({\rm 25})$&nbsp; and&nbsp; $φ_x({\rm 27})$&nbsp; will also be positive with similar numerical values.&nbsp; This area is marked by the rectangle in the upper graph.}}  
Begründung des schlechteren Ergebnisses gemäß&nbsp; $\text{Beispiel 6}$:
 
*Aufgrund der inneren statistischen Bindungen liefern nun nicht mehr alle Abtastwerte die volle Information über den zugrundeliegenden Zufallsprozess.
 
*Außerdem lassen die Bilder erkennen, dass bei der numerischen AKF–Berechnung einer Zufallsgröße mit statistischen Bindungen auch die Fehler korreliert sind.
 
*Ist – wie beispielsweise im oberen Bild zu sehen – der AKF-Wert&nbsp; $φ_x({\rm 26})$&nbsp; fälschlicherweise positiv und groß, so ergeben sich auch die benachbarten AKF-Werte&nbsp; $φ_x({\rm 25})$&nbsp; und&nbsp; $φ_x({\rm 27})$&nbsp; als positiv und mit ähnlichen Zahlenwerten.&nbsp; Dieser Bereich ist in der oberen Grafik durch das Rechteck markiert.}}  
 
  
==Aufgaben zum Kapitel==
+
==Exercises for the chapter==
 
<br>
 
<br>
[[Aufgaben:4.09 Zykloergodizität|Aufgabe 4.9: Zykloergodizität]]
+
[[Aufgaben:Exercise_4.09:_Cyclo-Ergodicity|Exercise 4.09: Cyclo-Ergodicity]]
  
[[Aufgaben:4.09Z Periodische AKF|Aufgabe 4.09Z: Periodische AKF]]
+
[[Aufgaben:Exercise_4.09Z:_Periodic_ACF|Exercise 4.09Z: Periodic ACF]]
  
[[Aufgaben:4.10 Binär und quaternär|Aufgabe 4.10: Binär und quaternär]]
+
[[Aufgaben:Exercise_4.10:_Binary_and_Quaternary|Exercise 4.10: Binary and Quaternary]]
  
[[Aufgaben:4.10Z Korrelationsdauer|Aufgabe 4.10Z: Korrelationsdauer]]
+
[[Aufgaben:Exercise_4.10Z:_Correlation_Duration|Exercise 4.10Z: Correlation Duration]]
  
[[Aufgaben:4.11 C-Programm „akf1”|Aufgabe 4.11: C-Programm „akf1”]]
+
[[Aufgaben:Exercise_4.11:_C_Program_"acf1"|Exercise 4.11: C Program "acf1"]]
  
[[Aufgaben:4.11Z C-Programm „akf2”|Aufgabe 4.11Z: C-Programm „akf2”]]
+
[[Aufgaben:Exercise_4.11Z:_C_Program_"acf2"|Exercise 4.11Z: C Program "acf2"]]
  
  
 
{{Display}}
 
{{Display}}

Latest revision as of 11:07, 22 December 2022

Random processes


An important concept in stochastic signal theory is the  "random process".  Below are some characteristics of such a  "stochastic process" - these terms are used synonymously both in the literature and in our tutorial.

$\text{Definitions:}$  By a  »random process«  $\{x_i(t)\}$  we understand a mathematical model  for an ensemble of (many) random signals,  which can and will differ from each other in detail,  but nevertheless they have certain common properties.

  • To describe a random process  $\{x_i(t)\}$  we start from the notion that there are any number of random generators,  completely identical in their physical and statistical properties,  each of which yields a random signal  $x_i(t)$.
  • Each random generator,  despite having the same physical realization,  outputs a different time signal  $x_i(t)$  that exists for all times from  $-∞$  to  $+∞$.  This specific random signal is called the  »$i$-th pattern signal«.
  • Every random process involves at least one stochastic component - for example:  the amplitude,  frequency,  or phase of a message signal - and therefore cannot be accurately predicted by an observer.
  • The random process differs from the usual random experiments in probability theory or statistics in that the result is not an  "event"  but a  "function"  (time signal).
  • If we consider the random process  $\{x_i(t)\}$  at a fixed time,  we return to the simpler model from the former chapter  "From Random Experiment to Random Variable",  according to which the experimental result is an event that can be assigned to a random variable.


These statements are now illustrated by the example of a binary random generator,  which - at least in thought - can be realized arbitrarily often.

$\text{Example 1:}$  The graph shows three different pattern signals of a random process with the following properties:

On the definition of a random process
  • The random process  $\{x_i(t)\}$  consists of an ensemble of rectangular pattern functions,  which can be described as follows:
$$x_i(t)=\sum^{+\infty}_{\nu=-\infty} (a_\nu)_i\cdot g(t-\nu \cdot T ).$$
  • The basic pulse  $g(t)$  has in the range from  $-T/2$  to  $+T/2$  the value  $2\hspace{0.03cm}\rm V$; outside it is zero and exactly at  $\pm T/2$  only half as large  $(1\hspace{0.03cm}\rm V)$. 
  • Remember:  A pulse,  as defined in the chapter  "Signal Classification"  in the book  "Signal Representation", is both a  "deterministic"  and  "energy-limited"  signal.
  • The statistics of the random process under consideration is due solely to the dimensionless amplitude coefficients  $(a_ν)_i ∈ \{0, 1\}$  which are time-indexed by  $ν$   for the  $i$-th pattern function.
  • Despite the different signal courses in detail, the sketched signals  $x_1(t)$,  $x_2(t)$,  $x_3(t)$  and also all further pattern signals  $x_4(t)$,  $x_5(t)$,  $x_6(t)$, ...  have certain common features,  which will be elaborated in the following.

Stationary random processes


On the definition of stationary random processes

If one defines the instantaneous value of all pattern functions  $x_i(t)$  at a fixed time  $t = t_1$  as a new random variable  $x_1 = \{ x_i(t_1)\}$,  its statistical properties can be described according to the statements

  • of the second chapter  "Discrete Random Variables"  and
  • of the third chapter  "Continuous Random Variables"  in this book.


Similarly, for the time of observation  $t = t_2$  we obtain the random variable  $x_2 = \{ x_i(t_2)\}$.


Note on nomenclature:

  • $x_1(t)$  and  $x_2(t)$  are  "pattern functions"  of the random process  $\{x_i(t)\}$ ,
  • while the random variables  $x_1$  and  $x_2$  "characterize the whole process"  at times  $t_1$  and  $t_2$  resp.


The calculation of the statistical characteristics must be done

by  »coulter averaging«  over all possible pattern functions  
⇒   averaging over the control variable  $i$, i.e. over all realizations.


$\text{Definition:}$  For a  »stationary random process«  $\{x_i(t)\}$  all statistical parameters  $($mean, standard deviation, higher order moments, probabilities, etc. $)$  of the random variables  $x_1 = \{ x_i(t_1)\}$  and  $x_2 = \{ x_i(t_2)\}$  are equal.

  • Also at other times,  the values are exactly the same.
  • The converse is:   One calls a random process  $\{x_i(t)\}$  a  "non-stationary process"  if it has different statistical properties at different times.


$\text{Example 2:}$  A large number of measuring stations at the equator determine the temperature daily at 12 o'clock local time. 

  • If one averages over all these measured values,  one can eliminate the influence of local indicators (e.g. Gulf Stream). 
  • If one plots the mean values  (coulter averaging)  over time,  almost a constant will result,  and one can speak of a "stationary process".
  • A comparable series of measurements at 50° latitude would indicate a  "non-stationary process"  due to the seasonal variations,  with significant differences in mean and variance of the noon temperature between January and July.

Ergodic random processes


An important subclass of stationary random processes are the so-called  "ergodic processes"  with the following properties:

$\text{Definition:}$  In an  »ergodic process«  $\{x_i(t)\}$  each individual pattern function  $x_i(t)$  is representative of the entire ensemble.

  • All statistical descriptive variables of an ergodic process can be obtained from a single pattern function by time averaging 
    $($referring to the control variables  $ν = t/T$   ⇒   normalized time$)$  .
  • This also means:   With ergodicity,  the time averages of each pattern function coincide with the corresponding coulter averages at arbitrary time points  $ν$


On the definition of ergodic random processes

For example,  with ergodicity,  for the moment  $k$-th order:

$$m_k=\overline{x^k(t)}={\rm E}\big[x^k\big].$$

Here,  the sweeping line denotes the time mean,  while the coulter mean is to be determined by expected value generation  $\rm E\big[ \hspace{0.1cm}\text{...} \hspace{0.1cm} \big]$  as described in chapter  "Moments of a discrete random variable".



Note:  

  1. Ergodicity cannot be proved from a finite number of pattern functions and finite signal sections.
  2. However, ergodicity is hypothetically - but nevertheless quite justifiably - assumed in most applications.
  3. On the basis of the results found,  the plausibility of this  »ergodicity hypothesis«  must subsequently be checked.


Generally valid description of random processes


If the random process  $\{x_i(t)\}$  to be analyzed is not stationary and thus certainly not ergodic,  the moments must always be determined as coulter averages. 

  • In general,  these are time-dependent:
$$m_k(t_1) \ne m_k(t_2).$$
$$ C_x(\Omega) ={\rm\sum^{\infty}_{{\it k}=0}}\ \frac{m_k}{k!}\cdot \Omega^{k}\ \circ\!\!-\!\!\!-\!\!\!-\!\!\bullet\,\ f_{x}(x)$$
is fixed,  the probability density function $f_{x}(x)$  is also time-dependent.


For example,  considering the two time points  $t_1$  and  $t_2$,  note the following:

  1. The two-dimensional PDF is obtained according to the specifications in section  "Properties and examples of two-dimensional random variables"  with  $x = x(t_1)$  and  $y = x(t_2)$.  It is obvious that already the determination of this variable is very complex.
  2. If one further considers that to capture all statistical bindings within the random process actually the  $n$-dimensional probability density function would have to be used,  where if possible the limit  $n → ∞$  still has to be formed,  one recognizes the difficulties for the solution of practical problems.
  3. For these reasons,  in order to describe the statistical bindings of a random process,  one proceeds to the auto-correlation function,  which simplifies the problem.  This is first defined in the following section for the general case.

General definition of the auto-correlation function


$\text{General Definition:}$ 

The  »auto-correlation function«  $\rm (ACF)$  of a random process  $\{x_i(t)\}$  is equal to the expected value of the product of the signal values at two time points  $t_1$  and  $t_2$:

$$\varphi_x(t_1,t_2)={\rm E}\big[x(t_{\rm 1})\cdot x(t_{\rm 2})\big].$$

This definition holds whether the random process is ergodic or non-ergodic,  and it also holds in principle for non-stationary processes.


Note on nomenclature:
In order to establish the relationship with the  $\text{cross-correlation function}$  $φ_{xy}$  between the two statistical variables  $x$  and  $y$  to make clear,  in some literature for the auto-correlation function instead of  $\varphi_x$  the notation  $\varphi_{xx}$  is also often used.  In our learning tutorial,  we refrain from doing so.


A comparison with the section  "Expected values of two-dimensional random variables"  shows that the ACF–value  $φ_x(t_1, t_2)$  indicates the joint moment  $m_{11}$  between the two random variables  $x(t_1)$  and  $x(t_2)$.

While exact statements regarding the statistical bindings of a random process actually require the  $n$–dimensional joint probability density  $($with  $n → ∞)$,  the following simplifications are implicitly made by moving to the auto-correlation function:

  1. Instead of infinitely many time points,  only two are considered here,  and instead of all moments  $m_{\hspace{0.05cm}k\hspace{0.05cm}l}$  at the two time points  $t_1$  and  $t_2$  with  $k, \ l ∈ \{1, 2, 3, \text{...} \}$  only the joint moment  $m_{11}$  is captured.
  2. The moment  $m_{11}$  exclusively reflects the linear dependence  ("correlation")  of the process.  All higher order statistical bindings,  on the other hand,  are not considered.
  3. Therefore,  when evaluating random processes by means of ACF,  it should always be taken into account that it allows only very limited statements about the statistical bindings in general.


$\text{Example 3:}$  The above definition of the auto-correlation function applies in general,  i.e. also to non-stationary and non-ergodic processes.

  • An example of a non-stationary process is the occurrence of  "intersymbol interference"  in the telephone network caused by dial pulses in adjacent lines.
  • In digital signal transmission,  such non-stationary interference processes usually lead to trunking errors.


Auto-correlation function for stationary and ergodic processes


On the auto-correlation function in ergodic processes

In the following,  we restrict ourselves to stationary and ergodic processes.

Such a random process  $\{x_i(t)\}$  is e.g. used as a basis in the study of  $\text{thermal noise}$.  This is based on the notion that

  • there are any number of resistors, completely identical in their physical and statistical properties,
  • each of which emits a different random signal  $x_i(t)$ .



The graphic shows such a stationary and ergodic process:

  1. The individual pattern functions  $x_i(t)$  can take on any arbitrary values at any arbitrary times.  This means that the random process  $\{x_i(t)\}$  considered here is both continuous in value and continuous in time.
  2. Although no conclusions can be drawn about the actual signal values of the individual pattern functions due to stochasticity,  $\{x_i(t)\}$  the moments and the PDF are the same at all time points.
  3. In the graph,  for reasons of a generalized representation,  a DC component  $m_x$  is also considered,  which is not present in thermal noise.


$\text{Definition:}$  One speaks of a  »stationary random process«  $\{x_i(t)\}$ if its statistical properties are invariant to time shifts.

  • For the auto-correlation function  $\rm (ACF)$,  this statement means that it is no longer a function of the two independent time variables  $t_1$  and  $t_2$  but depends only on the time difference  $τ = t_2 - t_1$ :
$$\varphi_x(t_1,t_2)\ \rightarrow \ {\varphi_x(\tau)={\rm E}\big[x(t)\cdot x(t+\tau)\big]}.$$
  • The coulter averaging can be done at any time  $t$  in this case.


  1. Under the further assumption of an ergodic random process,  all moments can also be obtained by time averaging over a single selected pattern function  $x(t)$. 
  2. All these time averages coincide with the corresponding coulter averages in this special case.


$\text{Definition:}$  Thus,  for the  »ACF of an ergodic random process«  whose pattern signals each range from  $-∞$  to  $+∞$  follows:

$$\varphi_x(\tau)=\overline{x(t)\cdot x(t+\tau)}=\lim_{T_{\rm M}\to\infty}\,\frac{1}{T_{\rm M} }\cdot\int^{T_{\rm M}/{\rm 2} }_{-T_{\rm M}/{\rm 2} }x(t)\cdot x(t+\tau)\,\,{\rm d}t.$$
  • The sweeping line denotes time averaging over the infinitely extended time interval.
  • $T_{\rm M}$  denotes the measurement duration.


For periodic signals,  the boundary crossing can be omitted,  so in this special case the auto-correlation function with period  $T_0$  can also be written in the following way:

$$\varphi_x(\tau)=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}/2}_{-T_{\rm 0}/2}x(t)\cdot x(t+\tau)\,\,{\rm d}t=\frac{1}{T_{\rm 0}}\cdot\int^{T_{\rm 0}}_{\rm 0}x(t)\cdot x(t+\tau)\,\,{\rm d}t .$$

It is only important that in total exactly over a period duration  $T_0$  $($or multiples of it$)$  is averaged.  It does not matter which time section one uses.

Properties of the auto-correlation function


Here we compile important properties of the auto-correlation function  $\rm (ACF)$,  starting from the ergodic ACF–form  $φ_x(τ)$:

  • If the random process under consideration is real, so is its auto-correlation function is also real.
  • The ACF has the unit of a power, e.g.  "Watt"  $\rm (W)$.  Often one relates it to the resistance  $1\hspace{0.03cm} Ω$;  $φ_x(τ)$  then with the unit  $\rm V^2$  resp.  $\rm A^2$.
  • The ACF is always an even function  ⇒   $φ_x(-τ) = φ_x(τ)$.   All phase relations of the random process are lost in the ACF.
  • The ACF at the point  $τ = 0$  gives the second order moment  $m_2$  and thus the total signal power of the random process  (DC and AC components):
$$\varphi_x(\tau = 0)= m_2=\overline{ x^2(t)}.$$
  • The ACF maximum always occurs at  $τ = 0$.  It holds:   $|φ_x(τ)| ≤ φ_x(0)$.  For non-periodic processes,  the magnitude  $|φ_x(τ)|$  for  $τ ≠ 0$  is always less than  $φ_x(\tau =0)$.
  • For a periodic random process, the ACF has the same period  $T_0$  as the individual pattern signals  $x_i(t)$  :
$$\varphi_x(\pm{T_0})=\varphi_x(\pm{2\cdot T_0})= \hspace{0.1cm}\text{...} \hspace{0.1cm}= \varphi_x(0).$$
  • The DC component  $m_1$  of a non-periodic signal can be calculated from the limit of the auto-correlation function for  $τ → ∞$.  Here,  the following holds:
$$\lim_{\tau\to\infty}\,\varphi_x(\tau)= m_1^2=\big [\overline{ x(t)}\big]^2.$$
  • In contrast,  for signals with periodic components,  the limit value of the ACF for  $τ → ∞$  varies around this final value  (square of the DC component).

Interpretation of the auto-correlation function


The graph shows pattern signals of each of two random processes  $\{x_i(t)\}$  and  $\{y_i(t)\}$ at the top,  and the corresponding auto-correlation functions at the bottom.

ACF of high-frequency and low-frequency processes

Based on these representations,  the following statements are possible:

  1. $\{y_i(t)\}$  has stronger internal statistical bindings than  $\{x_i(t)\}$.  Spectrally,  the process $\{y_i(t)\}$  is thus lower frequency.
  2. The sketched pattern signals  $x(t)$  and  $y(t)$  already suggest that both processes are zero mean and have the same standard deviation.
  3. The above auto-correlation functions confirm these statements.  The linear mean values  $m_x = m_y = 0$  result in each case from the ACF limit for  $τ → ∞$.
  4. Because  $m_x = 0$  applies here to the variance:   $σ_x^2 = φ_x(0) = 0.01 \hspace{0.05cm} \rm V^2$, and the standard deviation is consequently  $σ_x = 0.1 \hspace{0.05cm}\rm V$.
  5. $y(t)$  has the same variance and and standard deviation as  $x(t)$.  The ACF values fall off more slowly the stronger the internal statistical bindings are.
  6. The signal  $x(t)$  with narrow ACF changes very fast in time,  while for the lower frequency signal  $y(t)$  the statistical bindings are much wider.
  7. But this also means that the signal value  $y(t + τ)$  from  $y(t)$  can be better predicted than  $x(t + τ)$  from  $x(t)$.


$\text{Definition:}$  A quantitative measure of the strength of statistical bindings is the  »equivalent ACF duration«  $∇τ$  ("Nabla-tau"),  which can be determined from the ACF over the equal-area rectangle:

$${ {\rm \nabla} }\tau =\frac{1}{\varphi_x(0)}\cdot\int^{\infty}_{-\infty}\ \varphi_x(\tau)\,\,{\rm d}\tau. $$


  • For the processes considered here  (with Gaussian-like ACF)  holds according to the above sketch:   $∇τ_x = 0.33 \hspace{0.05cm} \rm µ s$   resp.   $∇τ_y = 1 \hspace{0.05cm} \rm µs$.
  • As another measure of the strength of the statistical bindings, the  $\text{correlation duration}$  $T_{\rm K}$  is often used in the literature. 
  • This indicates the time duration at which the auto-correlation function has dropped to half of its maximum value.

Numerical ACF determination


So far,  we have always considered continuous-time signals  $x(t)$  which are unsuitable for representation and simulation by means of digital computers.  Instead,  a discrete-time signal representation  $〈x_ν〉$  is required for this purpose,  as outlined in the chapter  "Discrete-Time Signal Representation"  of our first book.

Here is a brief summary:

  • The discrete-time signal  $〈x_ν〉$  is the sequence of samples  $x_ν = x(ν - T_{\rm A}).$ 
  • The continuous-time signal  $x(t)$  is fully described by the sequence  $〈x_ν〉$  when the sampling theorem is satisfied:
$$T_{\rm A} \le \frac{1}{2 \cdot B_x}.$$
  • $B_x$  denotes the absolute  (one-sided)  bandwidth of the analog signal  $x(t)$.  This states that the spectral function  $X(f)$  is zero for all frequencies  $| f | > B_x$.


Sampling an audio signal

$\text{Example 4:}$  The image shows a short section of an audio signal of duration  $10$  milliseconds.

Although the entire signal has a broad spectrum with the center frequency at about  $500 \hspace{0.05cm} \rm Hz$,  in the considered  (short)  time interval a  (nearly)  periodic signal with about period duration  $T_0 = 4.3 \hspace{0.08cm} \rm ms$.  From this,  the basic frequency is obtained to 

$$f_0 = 1/T_0 \approx 230 \hspace{0.08cm} \rm Hz.$$

Drawn in blue are the samples at distance  $T_{\rm A} = 0.5 \hspace{0.08cm} \rm ms$.

  • However, this sequence  $〈x_ν〉$  of samples would only contain all the information about the analog signal  $x(t)$  if  $x(t)$  were limited to the frequency range up to  $1 \hspace{0.08cm} \rm kHz$. 
  • If higher frequency components are included in the signal  $x(t)$   ⇒   $T_{\rm A}$  must be chosen to be correspondingly smaller.


$\text{Conclusion:}$ 

  1. If the signal values are only available at discrete times  $($multiples of  $T_{\rm A})$,  one can also determine the auto-correlation function only at integer multiples of  $T_{\rm A}$.
  2. The ACF calculation can thus be represented as follows  (the sweeping line again denotes time averaging):
$$\varphi_k = \overline {x_\nu \cdot x_{\nu + k} },$$
  • with the discrete-time signal values  $x_ν = x(ν - T_{\rm A})$  and  $x_{ν+k} = x((ν+k) - T_{\rm A})$,  and
  • the discrete-time ACF  $φ_k = φ_x(k - T_{\rm A})$.


We now set ourselves the task of finding the ACF support points  $φ_0, \hspace{0.1cm}\text{...}\hspace{0.1cm} , φ_l$

  • from  $N$  samples  $(x_1, \hspace{0.1cm}\text{...}\hspace{0.1cm} , x_N)$ 
  • assuming the parameter  $l \ll N$. 


For example,  let  $l = 100$  and  $N = 100000$.  The ACF calculation rule is now  $($with  $0 ≤ k ≤ l)$:

$$\varphi_k = \frac{1}{N- k} \cdot \sum_{\nu = 1}^{N - k} x_{\nu} \cdot x_{\nu + k}.$$

Bringing the factor  $(N - k)$  to the left-hand side,  we obtain  $l + 1$  equations,  namely:

$$k = 0\text{:} \hspace{0.4cm}N \cdot \varphi_0 \hspace{1.03cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 1} \hspace{0.35cm}+ x_{\rm 2} \cdot x_{\rm 2} \hspace{0.3cm}+\text{ ...} \hspace{0.25cm}+x_{\nu} \cdot x_{\nu}\hspace{0.35cm}+\text{ ...} \hspace{0.05cm}+x_{N} \cdot x_{N},$$
$$k= 1\text{:} \hspace{0.3cm}(N-1) \cdot \varphi_1 \hspace{0.08cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{\rm 2} \hspace{0.4cm}+ x_{\rm 2} \cdot x_{\rm 3} \hspace{0.3cm}+ \text{ ...} \hspace{0.18cm}+x_{\nu} \cdot x_{\nu + 1}\hspace{0.01cm}+\text{ ...}\hspace{0.08cm}+x_{N-1} \cdot x_{N},$$
$$\text{..................................................}$$
$$k \hspace{0.2cm}{\rm general\hspace{-0.1cm}:}\hspace{0.15cm}(N - k) \cdot \varphi_k \hspace{0.01cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1} + k} \hspace{0.01cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ k}\hspace{0.1cm} + \text{ ...}\hspace{0.01cm}+x_{\nu} \cdot x_{\nu+k}\hspace{0.1cm}+\text{ ...}\hspace{0.01cm}+x_{N-k} \cdot x_{N},$$
$$\text{..................................................}$$
$$k = l\text{:} \hspace{0.3cm}(N - l) \cdot \varphi_l \hspace{0.14cm}=\hspace{0.1cm} x_{\rm 1} \cdot x_{ {\rm 1}+l} \hspace{0.09cm}+ x_{\rm 2} \cdot x_{ {\rm 2}+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{\nu} \cdot x_{\nu+ l} \hspace{0.09cm}+ \text{ ...}\hspace{0.09cm}+x_{N- l} \cdot x_{N}.$$

$\text{Conclusions:}$  Following this scheme results in the following algorithm:

  1. You define the field  $\rm ACF\big[\hspace{0.05cm}0 : {\it l}\hspace{0.1cm}\big]$  of type  "float"  and preallocate zeros to all elements.
  2. On each loop pass  $($indexed with variable  $k)$,  the  $l + 1$  field elements  ${\rm ACF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$  are incremented by the contribution  $x_ν \cdot x_{ν+k}$.
  3. All  $l+1$  field elements are processed,  however,  only as long as the control variable  $k$  is not greater than  $N - l$.
  4. It must always be considered that  $ν + k ≤ N$  must hold.  This means that the averaging in the different fields  $\rm ACF\big[\hspace{0.03cm}0\hspace{0.03cm}\big]$ ... ${\rm ACF}\big[\hspace{0.03cm}l\hspace{0.03cm}\big]$  must be done over a different number of summands.
  5. If,  at the end of the calculation,  the values stored in  ${\rm ACF}\big[\hspace{0.03cm}k\hspace{0.03cm}\big]$  are still divided by the number of summands  $(N - k)$  this field contains the discrete ACF values we are looking for:
$$\varphi_x(k \cdot T_A)= {\rm ACF} \big[\hspace{0.03cm}k\hspace{0.03cm}\big].$$

$\text{Note:}$   For  $l \ll N$  one can simplify the algorithm by choosing the number of summands to be the same for all  $k$–values:

$$\varphi_k = \frac{1}{N- l} \cdot \sum_{\nu = 1}^{N - l} x_{\nu} \cdot x_{\nu + k}.$$

Accuracy of the numerical ACF calculation


$\text{Example 5:}$  The crucial parameter for the quality of numerical ACF calculation is the number  $N$  of considered samples.

ACF for statistically independent samples

The upper graph shows the result of the numerical ACF calculation for  $N = 1000$.  The lower graph is for  $N = 10000$  samples.

  • The considered random variables are here statistically independent from each other. 
  • Thus,  all ACF values should actually be zero with the exception of the value at  $k = 0$.



  • For  $N = 10000$  (lower graph) the maximum error is only about  $1\%$  and is almost invisible in this plot.
  • In contrast,  for  $N = 1000$  (upper graph),  the error grows to $±6\%$.


$\text{Example 6:}$  The results change when there is a random variable with internal statistical bindings.

ACF for correlated samples

For example,  if we consider a triangular ACF with  $φ_x(k) ≠ 0$  for  $\vert k \vert ≤ 10$,  we see much larger deviations, viz.

  • errors up to about  $±15\%$  for  $N = 1000$,
  • errors up to about  $±5\%$  at  $N = 10000$.


Justification of the worse result according to this  $\text{Example 6}$:

  • Due to the internal statistical bindings,  not all samples now provide full information about the underlying random process.
  • Furthermore,  the images reveal that in numerical ACF calculation of a random variable with statistical bindings,  also the errors are correlated.
  • If,  for example,  as seen in the upper image,  the ACF value  $φ_x({\rm 26})$  is spuriously positive and large,  the neighboring ACF values  $φ_x({\rm 25})$  and  $φ_x({\rm 27})$  will also be positive with similar numerical values.  This area is marked by the rectangle in the upper graph.

Exercises for the chapter


Exercise 4.09: Cyclo-Ergodicity

Exercise 4.09Z: Periodic ACF

Exercise 4.10: Binary and Quaternary

Exercise 4.10Z: Correlation Duration

Exercise 4.11: C Program "acf1"

Exercise 4.11Z: C Program "acf2"