Difference between revisions of "Applets:Frequency & Impulse Responses"

From LNTwww
m (Text replacement - "Biographies_and_Bibliographies/LNTwww_members_from_LÜT#Tasn.C3.A1d_Kernetzky.2C_M.Sc._.28at_L.C3.9CT_since_2014.29" to "Biographies_and_Bibliographies/LNTwww_members_from_LÜT#Dr.-Ing._Tasn.C3.A1d_Kernetzky_.28at_L.C3.9CT_from_2014-2022.29")
 
(26 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
<br>  
 
<br>  
  
Real and symmetric low-passes&nbsp; $H(f)$&nbsp; and the corresponding impulse responses&nbsp; $h(t)$&nbsp; are shown,&nbsp; namely  
+
Real and symmetric low-pass frquency responses&nbsp; $H(f)$&nbsp; and the corresponding impulse responses&nbsp; $h(t)$&nbsp; are shown,&nbsp; namely  
 
#Gaussian low-pass,  
 
#Gaussian low-pass,  
 
#rectangular low-pass,
 
#rectangular low-pass,
 
#triangular low-pass,  
 
#triangular low-pass,  
 
#trapezoidal low-pass,  
 
#trapezoidal low-pass,  
#cosine-rolloff low-pass,
+
#cosine rolloff low-pass &nbsp; &rArr; &nbsp; &raquo;raised-cosine low-pass&laquo;,
#cosine-rolloff -squared low-pass.  
+
#cosine rolloff squared low-pass &nbsp; &rArr; &nbsp; &raquo;cosine-square low-pass&laquo;.  
  
  
Line 21: Line 21:
 
* The abscissas&nbsp; $t$&nbsp; $($time$)$&nbsp; and&nbsp; $f$&nbsp; $($frequency$)$&nbsp; as well as the ordinates&nbsp; $H(f)$&nbsp; and&nbsp; $h(t)$&nbsp; are normalized in each case.
 
* The abscissas&nbsp; $t$&nbsp; $($time$)$&nbsp; and&nbsp; $f$&nbsp; $($frequency$)$&nbsp; as well as the ordinates&nbsp; $H(f)$&nbsp; and&nbsp; $h(t)$&nbsp; are normalized in each case.
  
* Wir verwenden hier die  die Funktion&nbsp; ${\rm si}(x)=\sin(x)/x)$.&nbsp; Der Zusammenhang mit der Funktion&nbsp; ${\rm sinc}(x)=\sin(\pi x)/(\pi x))$&nbsp; lautet:&nbsp;  
+
*We use here the function&nbsp; ${\rm si}(x)=\sin(x)/x)$.&nbsp; The relation with the function&nbsp; ${\rm sinc}(x)=\sin(\pi x)/(\pi x)$&nbsp; is:&nbsp; ${\rm sinc}(x)={\rm si}(x/\pi).$
:$${\rm sinc}(x)={\rm si}(x/\pi).$$
 
  
 +
*For the last two filters,&nbsp; we use  in the applet the former labels&nbsp; "cosine rolloff low-pass"&nbsp; and&nbsp; "cosine rolloff squared low-pass".
  
 
==Theoretical background==
 
==Theoretical background==
Line 29: Line 29:
 
===Frequency response&nbsp; $H(f)$&nbsp; and impulse response&nbsp; $h(t)$===
 
===Frequency response&nbsp; $H(f)$&nbsp; and impulse response&nbsp; $h(t)$===
  
*The&nbsp; [[Linear_time_invariant_systems/system_description_in_the_frequency_domain#.C3. 9Ctransfer_function_-_Frequency_response|"frequency response"]]&nbsp; $($or the&nbsp; "transfer_function"$)$&nbsp; $H(f)$&nbsp; of a linear time-invariant transmission system gives the ratio between the output spectrum&nbsp; $Y(f)$&nbsp; and that of the input spectrum&nbsp; $X(f)$:  
+
*The&nbsp; [[Linear_and_Time_Invariant_Systems/System_Description_in_Frequency_Domain#Frequency_response_.E2.80.93_Transfer_function|$\text{frequency response}$]]&nbsp; $($or the&nbsp; "transfer function"$)$&nbsp; $H(f)$&nbsp; of a linear time-invariant transmission system gives the ratio between the output spectrum&nbsp; $Y(f)$&nbsp; and that of the input spectrum&nbsp; $X(f)$:  
 
:$$H(f) = \frac{Y(f)}{X(f)}.$$  
 
:$$H(f) = \frac{Y(f)}{X(f)}.$$  
*If the transmission behavior at low frequencies is better than at higher frequencies,&nbsp; it is called a&nbsp; '''low-pass'''.
+
*If the transmission behavior at low frequencies is better than at higher frequencies,&nbsp; it is called a&nbsp; &raquo;'''low-pass'''&laquo;.
  
*The properties of&nbsp; $H(f)$&nbsp; are expressed in the time domain by the&nbsp; [[Linear_Time_invariant_Systems/System_Description_in_Time_Domain#ImpulseResponse|"impulse response"]]&nbsp; $h(t)$. &nbsp; According to the&nbsp; [[Signal_Representation/Fourier_Transform_and_Its_Inverse#The_second_Fourier_integral|"second Fourier integral"]]&nbsp; holds:
+
*The properties of&nbsp; $H(f)$&nbsp; are expressed in the time domain by the&nbsp; [[Linear_and_Time_Invariant_Systems/System_Description_in_Time_Domain#Impulse_response|$\text{impulse response}$]]&nbsp; $h(t)$. &nbsp; According to the&nbsp; [[Signal_Representation/The_Fourier_Transform_and_its_Inverse#The_second_Fourier_integral|$\text{second Fourier integral}$]]&nbsp; holds:
 
:$$h(t)={\rm IFT} [H(f)] = \int_{-\infty}^{+\infty}H(f)\cdot {\rm e}^{+{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}f\hspace{1cm}
 
:$$h(t)={\rm IFT} [H(f)] = \int_{-\infty}^{+\infty}H(f)\cdot {\rm e}^{+{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}f\hspace{1cm}
 
{\rm IFT}\hspace{-0.1cm}: \rm Inverse \ Fourier \ transform.$$  
 
{\rm IFT}\hspace{-0.1cm}: \rm Inverse \ Fourier \ transform.$$  
*The inverse direction is described by the&nbsp; [[Signal_Representation/Fourier_Transform_and_Its_Inverse#The_First_FourierIntegral|"first Fourier integral"]]:
+
*The inverse direction is described by the&nbsp; [[Signal_Representation/The_Fourier_Transform_and_its_Inverse#The_first_Fourier_integral|$\text{first Fourier integral}$]]:
 
:$$H(f)={\rm FT} [h(t)] = \int_{-\infty}^{+\infty}h(t)\cdot {\rm e}^{-{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}t\hspace{1cm}
 
:$$H(f)={\rm FT} [h(t)] = \int_{-\infty}^{+\infty}h(t)\cdot {\rm e}^{-{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}t\hspace{1cm}
 
\rm FT\hspace{-0.1cm}: \ Fourier\ transform.$$  
 
\rm FT\hspace{-0.1cm}: \ Fourier\ transform.$$  
Line 45: Line 45:
 
*The unit of impulse response is&nbsp; $\rm 1/s$.&nbsp; It is true that&nbsp; $\rm 1/s = 1 \ Hz$,&nbsp; but the unit&nbsp; "Hertz"&nbsp; is unusual in this context.   
 
*The unit of impulse response is&nbsp; $\rm 1/s$.&nbsp; It is true that&nbsp; $\rm 1/s = 1 \ Hz$,&nbsp; but the unit&nbsp; "Hertz"&nbsp; is unusual in this context.   
  
*The relationship between this applet and the similarly constructed applet &nbsp;[[Applets:Pulses_and_Spectra|"Pulses and Spectra"]]&nbsp; is based on the&nbsp; [[Signal_Representation/Fourier_Transform_Laws#Exchange Theorem|"Exchange Theorem"]].
+
*The relationship between this applet and the similarly constructed applet &nbsp;[[Applets:Pulses_and_Spectra|"Pulses and Spectra"]]&nbsp; is based on the&nbsp; [[Signal_Representation/Fourier_Transform_Theorems#Duality_Theorem|$\text{Duality Theorem}$]].
  
 
*All times are normalized to a normalization time&nbsp; $T$&nbsp; and all frequencies are normalized to&nbsp; $1/T&nbsp; \ \Rightarrow$&nbsp; the numerical values of &nbsp; $h(t)$&nbsp; still have to be divided by&nbsp; $T$.
 
*All times are normalized to a normalization time&nbsp; $T$&nbsp; and all frequencies are normalized to&nbsp; $1/T&nbsp; \ \Rightarrow$&nbsp; the numerical values of &nbsp; $h(t)$&nbsp; still have to be divided by&nbsp; $T$.
Line 72: Line 72:
 
:$$h(t)=K\cdot \Delta f \cdot {\rm e}^{-\pi(t\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f)^2} .$$
 
:$$h(t)=K\cdot \Delta f \cdot {\rm e}^{-\pi(t\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f)^2} .$$
  
*The smaller&nbsp; $\Delta f$,&nbsp; the wider and lower is the impulse response &nbsp; &rArr; &nbsp; [[Signal_Representation/Fourier_Transform_Laws#reciprocal.C3.A4tslaw_of_time_duration_and_bandwidth|"Reciprocity law of bandwidth and impulse duration"]].
+
*The smaller&nbsp; $\Delta f$,&nbsp; the wider and lower is the impulse response &nbsp; &rArr; &nbsp; [[Signal_Representation/Fourier_Transform_Theorems#Reciprocity_Theorem_of_time_duration_and_bandwidth|$\text{Reciprocity theorem of bandwidth and impulse duration}$]].
  
 
*Both&nbsp; $H(f)$&nbsp; and&nbsp; $h(t)$&nbsp; are not exactly equal to zero at any value of&nbsp; $f$&nbsp; resp.&nbsp; $t$.
 
*Both&nbsp; $H(f)$&nbsp; and&nbsp; $h(t)$&nbsp; are not exactly equal to zero at any value of&nbsp; $f$&nbsp; resp.&nbsp; $t$.
Line 82: Line 82:
 
===Rectangular  low-pass  ===
 
===Rectangular  low-pass  ===
 
*The rectangular low-pass with height&nbsp; $K$&nbsp; and&nbsp; $($equivalent$)$&nbsp; bandwidth&nbsp; $\Delta f$&nbsp; reads:  
 
*The rectangular low-pass with height&nbsp; $K$&nbsp; and&nbsp; $($equivalent$)$&nbsp; bandwidth&nbsp; $\Delta f$&nbsp; reads:  
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K /2 \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{f\ddot{u}r}}  \\  {\rm{f\ddot{u}r}}  \\  {\rm{f\ddot{u}r}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f/2,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| = \Delta f/2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| > \Delta f/2.}  \\ \end{array}$$
+
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K /2 \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\  {\rm{for}}  \\  {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f/2,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| = \Delta f/2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| > \Delta f/2.}  \\ \end{array}$$
 
*The&nbsp; $\pm \Delta f/2$&nbsp; value lies midway between the left-hand and right-hand limits.
 
*The&nbsp; $\pm \Delta f/2$&nbsp; value lies midway between the left-hand and right-hand limits.
  
Line 99: Line 99:
 
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \Big(1-\frac{|f|}{\Delta f}\Big)  \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\    {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.}  \\ \end{array}$$
 
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \Big(1-\frac{|f|}{\Delta f}\Big)  \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\    {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.}  \\ \end{array}$$
 
*The absolute physical bandwidth&nbsp; $B$ &nbsp; &rArr; &nbsp;[positive frequencies only] &nbsp; is also equal&nbsp; $\Delta f$,&nbsp; thus is as large as for the rectangular low-pass.
 
*The absolute physical bandwidth&nbsp; $B$ &nbsp; &rArr; &nbsp;[positive frequencies only] &nbsp; is also equal&nbsp; $\Delta f$,&nbsp; thus is as large as for the rectangular low-pass.
::'''Korrektur:''' Warum sind in dieser Gleichung die Zeilenabstände rechts kleiner als lins
 
  
 
*For the impulse response&nbsp; $h(t)$&nbsp; one obtains according to the second Fourier transform:
 
*For the impulse response&nbsp; $h(t)$&nbsp; one obtains according to the second Fourier transform:
:$$h(t)=K\cdot \Delta f \cdot {\rm si}^2(\pi\cdot \Delta f \cdot t) \quad \text{with} \quad {\rm si}(x)={\sin(x)}/{x}.$$
+
:$$h(t)=K\cdot \Delta f \cdot {\rm si}^2(\pi\cdot \Delta f \cdot t) \quad \text{with} \quad {\rm si}(x)={\sin(x)}/{x}={\rm sinc}(x/\pi).$$
 
*$H(f)$&nbsp; can be represented as a convolution of two rectangular functions&nbsp; $($each with width&nbsp; $\Delta f)$.
 
*$H(f)$&nbsp; can be represented as a convolution of two rectangular functions&nbsp; $($each with width&nbsp; $\Delta f)$.
  
*It follows:&nbsp; $h(t)$&nbsp; contains instead of the&nbsp; ${\rm si}$&ndash;function the&nbsp; ${\rm si}^2$&ndash;function.
+
*It follows:&nbsp; $h(t)$&nbsp; contains instead of the&nbsp; ${\rm si}$&ndash;function the&nbsp; ${\rm si}^2$&ndash;function.  
  
 
*$h(t)$&nbsp; thus also exhibits zeros at equidistant intervals&nbsp; $1/\Delta f$.
 
*$h(t)$&nbsp; thus also exhibits zeros at equidistant intervals&nbsp; $1/\Delta f$.
Line 115: Line 114:
 
===Trapezoidal  low-pass===
 
===Trapezoidal  low-pass===
  
*The trapezoidal low-pass with height&nbsp; $K$&nbsp; and&nbsp; $($equivalent$)$&nbsp; bandwidth&nbsp; $\Delta f$&nbsp; reads:  
+
*The trapezoidal low-pass with height&nbsp; $K$&nbsp; and the two corner frequencies&nbsp; $f_1$&nbsp; and&nbsp; $f_2$&nbsp; reads:  
 
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K\cdot \frac{f_2-|f|}{f_2-f_1} \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\  {\rm{for}}  \\  {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,}  \\  {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.}  \\ \end{array}$$
 
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K\cdot \frac{f_2-|f|}{f_2-f_1} \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\  {\rm{for}}  \\  {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,}  \\  {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.}  \\ \end{array}$$
 
::'''Korrektur:''' Warum sind in dieser Gleichung die Zeilenabstände rechts kleiner als lins
 
  
 
*For the equivalent bandwidth&nbsp; $($equal-area rectangle$)$&nbsp; the following applies:&nbsp; $\Delta f = f_1+f_2$.
 
*For the equivalent bandwidth&nbsp; $($equal-area rectangle$)$&nbsp; the following applies:&nbsp; $\Delta f = f_1+f_2$.
Line 131: Line 128:
 
<br>
 
<br>
  
===Cosine-rolloff  Lowpass  ===
+
===Cosine rolloff  low-pass  ===
Der Cosinus&ndash;Rolloff&ndash;Tiefpass  lautet mit der Höhe&nbsp; $K$&nbsp; und den beiden Eckfrequenzen&nbsp; $f_1$&nbsp; und&nbsp; $f_2$:
+
 
 +
<u>Note:</u> &nbsp; In English-language literature,&nbsp; this filter is often also referred to as&nbsp; &raquo;'''raised-cosine  low-pass'''&laquo;.
 +
 
 +
*The cosine-rolloff low-pass with height&nbsp; $K$&nbsp; and the two corner frequencies&nbsp; $f_1$&nbsp; and&nbsp; $f_2$&nbsp; reads:
 +
 
 +
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K\cdot \cos^2\Big(\frac{|f|-f_1}{f_2-f_1}\cdot {\pi}/{2}\Big) \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\  {\rm{for}}  \\  {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,}  \\  {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.}  \\ \end{array}$$
  
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K  \\  K\cdot \cos^2\Big(\frac{|f|-f_1}{f_2-f_1}\cdot {\pi}/{2}\Big) \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{f\ddot{u}r}}  \\  {\rm{f\ddot{u}r}}  \\  {\rm{f\ddot{u}r}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,}  \\  {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,}  \\  {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.}  \\ \end{array}$$
+
*For the equivalent bandwidth&nbsp; $($equal-area rectangle$)$&nbsp; the following applies:&nbsp; $\Delta f = f_1+f_2$.
  
*Für die äquivalente  Bandbreite&nbsp; (flächengleiches Rechteck)&nbsp; gilt:&nbsp; $\Delta f = f_1+f_2$.
+
*The rolloff factor&nbsp; $($in the frequency domain$)$&nbsp; characterizes the slope:
*Der Rolloff-Faktor (im Frequenzbereich) kennzeichnet die Flankensteilheit:
 
 
:$$r=\frac{f_2-f_1}{f_2+f_1}.$$
 
:$$r=\frac{f_2-f_1}{f_2+f_1}.$$
*Der Sonderfall&nbsp; $r=0$&nbsp; entspricht dem Rechteck&ndash;Tiefpass und der Sonderfall&nbsp; $r=1$&nbsp; dem Cosinus-Quadrat-Tiefpass.
+
*The special case&nbsp; "$r=0$"&nbsp; corresponds to the rectangular low-pass and the special case&nbsp; "$r=1$"&nbsp; to the cosine-square low-pass.
*Für die Impulsantwort erhält man gemäß der Fourierrücktransformation:
+
 
 +
*For the impulse response,&nbsp; according to the inverse Fourier transform,&nbsp; we obtain:
 
:$$h(t)=K\cdot \Delta f \cdot \frac{\cos(\pi \cdot r\cdot \Delta f \cdot t)}{1-(2\cdot r\cdot \Delta f \cdot t)^2} \cdot {\rm si}(\pi \cdot \Delta f \cdot t).$$
 
:$$h(t)=K\cdot \Delta f \cdot \frac{\cos(\pi \cdot r\cdot \Delta f \cdot t)}{1-(2\cdot r\cdot \Delta f \cdot t)^2} \cdot {\rm si}(\pi \cdot \Delta f \cdot t).$$
*Je größer der Rolloff-Faktor&nbsp; $r$&nbsp; ist, desto schneller nimmt&nbsp; $h(t)$&nbsp; asymptotisch mit&nbsp; $t$&nbsp; ab.
+
*The larger the rolloff factor&nbsp; $r$,&nbsp; the faster decreases&nbsp; $h(t)$&nbsp; asymptotically with&nbsp; $t$.
 +
<br>
  
 +
===Cosine rolloff squared  low-pass      ===
  
===Cosine-rolloff-squared  Lowpass      ===
+
*This is a special case of the raised-cosine low-pass and results from it for&nbsp; $r=1 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}f_1=0,\ f_2= \Delta f$:
*Dies ist ein Sonderfall des Cosinus&ndash;Rolloff&ndash;Tiefpasses und ergibt sich aus diesem für&nbsp; $r=1 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}f_1=0,\ f_2= \Delta f$:
 
  
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \cos^2\Big(\frac{|f|\hspace{0.05cm}\cdot\hspace{0.05cm} \pi}{2\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f}\Big)  \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{f\ddot{u}r}}  \\    {\rm{f\ddot{u}r}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.}  \\ \end{array}$$
+
:$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \cos^2\Big(\frac{|f|\hspace{0.05cm}\cdot\hspace{0.05cm} \pi}{2\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f}\Big)  \\ \hspace{0.25cm} 0 \\  \end{array} \right.\quad \quad \begin{array}{*{20}c}  {\rm{for}}  \\    {\rm{for}}  \\ \end{array}\begin{array}{*{20}c}  {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,}  \\  {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.}  \\ \end{array}$$
  
*Für die Impulsantwort erhält man gemäß der Fourierrücktransformation:
+
*For the impulse response one obtains according to the Fourier inverse transform:
:$$h(t)=K\cdot \Delta f \cdot {\pi}/{4}\cdot \big  [{\rm si}(\pi(\Delta f\cdot t +0.5))+{\rm si}(\pi(\Delta f\cdot t -0.5))\big ]\cdot {\rm si}(\pi \cdot \Delta f \cdot t).$$
+
:$$h(t)=K\cdot \Delta f \cdot {\pi}/{4}\cdot \big  [{\rm sinc}(\Delta f\cdot t +0.5)+{\rm sinc}(\Delta f\cdot t -0.5)\big ]\cdot {\rm sinc}(\Delta f \cdot t)\quad \text{with} \quad {\rm sinc}(x)={\sin(x)}/{(\pi x})={\rm si}(\pi x).$$
*Wegen der letzten&nbsp; ${\rm si}$-Funktion ist&nbsp; $h(t)=0$&nbsp; für alle Vielfachen von&nbsp; $T=1/\Delta f$ &nbsp; &rArr; &nbsp;  Die äquidistanten Nulldurchgänge des Cosinus&ndash;Rolloff&ndash;Tiefpasses bleiben erhalten.
+
 
*Aufgrund des Klammerausdrucks weist&nbsp; $h(t)$ &nbsp;nun weitere Nulldurchgänge bei&nbsp; $t=\pm1.5 T$,&nbsp; $\pm2.5 T$,&nbsp; $\pm3.5 T$, ...&nbsp; auf.
+
*Because of the last&nbsp; ${\rm sinc}$&ndash;function,&nbsp; $h(t)=0$&nbsp; for all multiples of&nbsp; $T=1/\Delta f$ &nbsp; &rArr; &nbsp;  The equidistant zero crossings of the cosine rolloff low-pass are preserved.
*Für&nbsp; $t=\pm T/2$&nbsp; hat die Impulsanwort den Wert&nbsp; $K\cdot \Delta f/2$.
+
*Due to the expression in parentheses,&nbsp; $h(t)$ &nbsp;now shows further zero crossings at&nbsp; $t=\pm1.5 T$,&nbsp; $\pm2.5 T$,&nbsp; $\pm3.5 T$, ...&nbsp;  
*Der asymptotische Abfall von&nbsp; $h(t)$&nbsp; verläuft in diesem Sonderfall mit&nbsp; $1/t^3$.
+
*For&nbsp; $t=\pm T/2$&nbsp; the impulse response has the value&nbsp; $K\cdot \Delta f/2$.
 +
*The asymptotic decay of&nbsp; $h(t)$&nbsp; runs in this special case with&nbsp; $1/t^3$.
  
 
==Exercises==
 
==Exercises==
Line 168: Line 172:
  
 
  {{BlaueBox|TEXT=   
 
  {{BlaueBox|TEXT=   
'''(1)''' &nbsp; Compare the&nbsp; <b>red Gaussian lowpass</b>&nbsp; $(K_1 = 1, \Delta f_1 = 1)$&nbsp; to the&nbsp; <b>blue rectangular lowpass</b>&nbsp; $(K_2 = 1, \Delta f_2 = 1)$.&nbsp; Questions:<br>  
+
'''(1)''' &nbsp; Compare the&nbsp; &raquo;<b>red Gaussian low-pass</b>&laquo;&nbsp; $(K_1 = 1, \Delta f_1 = 1)$&nbsp; to the&nbsp; &raquo;<b>blue rectangular low-pass</b>&laquo;&nbsp; $(K_2 = 1, \Delta f_2 = 1)$.&nbsp; Questions:<br>  
 
&nbsp; &nbsp; &nbsp; &nbsp; '''(a)'''&nbsp; Which output signals&nbsp; $y(t)$&nbsp; result from the signal&nbsp; $x(t) = 2 \cdot \cos (2\pi f_0 t -\varphi_0)$&nbsp; with&nbsp; $f_0 = 0.5$?<br>
 
&nbsp; &nbsp; &nbsp; &nbsp; '''(a)'''&nbsp; Which output signals&nbsp; $y(t)$&nbsp; result from the signal&nbsp; $x(t) = 2 \cdot \cos (2\pi f_0 t -\varphi_0)$&nbsp; with&nbsp; $f_0 = 0.5$?<br>
&nbsp; &nbsp; &nbsp; &nbsp; '''(b)'''&nbsp; What are the differences between the two lowpass filters with&nbsp; $f_0 = 0.5 \pm f_\varepsilon$&nbsp; and&nbsp; $f_\varepsilon \ne 0, \ f_\varepsilon \to 0$?}}
+
&nbsp; &nbsp; &nbsp; &nbsp; '''(b)'''&nbsp; What are the differences between the two low-pass filters with&nbsp; $f_0 = 0.5 \pm f_\varepsilon$&nbsp; and&nbsp; $f_\varepsilon \ne 0, \ f_\varepsilon \to 0$?}}
  
 
:'''(a)'''&nbsp;  It holds&nbsp; $y(t) = A \cdot \cos (2\pi f_0 t -\varphi_0)$&nbsp; with&nbsp; $A = 2 \cdot H(f = f_0) \ \Rightarrow \ A_1 = 0.912, \ A_2 = 1,000$.&nbsp; The phase&nbsp; $\varphi_0$&nbsp; remains unchanged.<br>
 
:'''(a)'''&nbsp;  It holds&nbsp; $y(t) = A \cdot \cos (2\pi f_0 t -\varphi_0)$&nbsp; with&nbsp; $A = 2 \cdot H(f = f_0) \ \Rightarrow \ A_1 = 0.912, \ A_2 = 1,000$.&nbsp; The phase&nbsp; $\varphi_0$&nbsp; remains unchanged.<br>
Line 177: Line 181:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
'''(2)''' &nbsp; Leave the settings unchanged.&nbsp; Which lowpass&nbsp; $H(f)$&nbsp; fulfills the first or the second Nyquist criterion?<br>&nbsp; &nbsp; &nbsp; &nbsp; Here&nbsp; $H(f)$&nbsp; denotes the total frequency response of transmitter,  
+
'''(2)''' &nbsp; Leave the settings unchanged.&nbsp; Which low-pass&nbsp; $H(f)$&nbsp; fulfills the first or the second Nyquist criterion?<br>&nbsp; &nbsp; &nbsp; &nbsp; Here&nbsp; $H(f)$&nbsp; denotes the total frequency response of transmitter,  
channel and reception filter.}}
+
channel and recettion filter.}}
  
 
* First Nyquist criterion:&nbsp; The impulse response&nbsp; $h(t)$&nbsp; must have equidistant zero crossings at the (normalized) times&nbsp; $t = 1,\ 2$, ...  <br>
 
* First Nyquist criterion:&nbsp; The impulse response&nbsp; $h(t)$&nbsp; must have equidistant zero crossings at the (normalized) times&nbsp; $t = 1,\ 2$, ...  <br>
* The impulse response&nbsp; $h(t) = {\rm si}(\pi \cdot \delta f \cdot t)$&nbsp; of the rectangular lowpass filter fulfils this criterion  with&nbsp; $\Delta f = 1$. <br>
+
* The impulse response&nbsp; $h(t) = {\rm sinc}(\delta f \cdot t)$&nbsp; of the rectangular low-pass filter fulfils this criterion  with&nbsp; $\Delta f = 1$. <br>
* In contrast, the first Nyquist criterion is never fulfilled for the Gaussian lowpass and there is always impulse interference.<br>
+
* In contrast, the first Nyquist criterion is never fulfilled for the Gaussian low-pass and there is always impulse interference.<br>
* The second Nyquist criterion is met by neither the rectangular lowpass nor the Gaussian lowpass.   
+
* The second Nyquist criterion is met by neither the rectangular low-pass nor the Gaussian low-pass.   
  
  
 
  {{BlaueBox|TEXT=   
 
  {{BlaueBox|TEXT=   
'''(3)''' &nbsp; Compare the&nbsp; <b>red rectangular lowpass</b>&nbsp; $(K_1 = 0.5, \Delta f_1 = 2)$&nbsp; to the&nbsp; <b>blue rectangular lowpass</b>&nbsp; $(K_2 = 1, \Delta f_2 = 1)$.&nbsp; Then vary&nbsp; $\Delta f_1$&nbsp; between&nbsp; $2$&nbsp; and&nbsp; $0.5$.}}
+
'''(3)''' &nbsp; Compare the&nbsp; &raquo;<b>red rectangular low-pass</b>&laquo;&nbsp; $(K_1 = 0.5, \Delta f_1 = 2)$&nbsp; to the&nbsp; &raquo;<b>blue rectangular low-pass</b>&laquo;&nbsp; $(K_2 = 1, \Delta f_2 = 1)$.&nbsp; Then vary&nbsp; $\Delta f_1$&nbsp; between&nbsp; $2$&nbsp; ...&nbsp; $0.5$.}}
  
 
* With&nbsp; $\Delta f_1 = 2$&nbsp; the zeros of&nbsp; $h_1(t)$&nbsp; are multiples&nbsp; of&nbsp; $0.5$ &nbsp; &rArr; &nbsp; $h_1(t)$ &nbsp; will decay twice as fast as&nbsp; $h_2(t)$. <br>
 
* With&nbsp; $\Delta f_1 = 2$&nbsp; the zeros of&nbsp; $h_1(t)$&nbsp; are multiples&nbsp; of&nbsp; $0.5$ &nbsp; &rArr; &nbsp; $h_1(t)$ &nbsp; will decay twice as fast as&nbsp; $h_2(t)$. <br>
Line 195: Line 199:
  
 
  {{BlaueBox|TEXT=   
 
  {{BlaueBox|TEXT=   
'''(4)''' &nbsp; Compare the&nbsp; <b>red trapezoidal lowpass</b>&nbsp; $(K_1 = 1, \  \Delta f_1 = 1, \ r_1 = 0.5)$&nbsp; with the&nbsp; <b>blue rectangular lowpass</b> &nbsp; $(K_2 = 1, \  \Delta f_2 = 1)$.&nbsp; Vary&nbsp; $r_1$&nbsp; between&nbsp; $0$&nbsp; and&nbsp; $1$. }}
+
'''(4)''' &nbsp; Compare the&nbsp; &raquo;<b>red trapezoidal low-pass</b>&laquo;&nbsp; $(K_1 = 1, \  \Delta f_1 = 1, \ r_1 = 0.5)$&nbsp; with&nbsp; &raquo;<b>blue rectangular low-pass</b>&laquo; &nbsp; $(K_2 = 1, \  \Delta f_2 = 1)$.&nbsp; $r_1$&nbsp; varies between&nbsp; $0$&nbsp; ...&nbsp; $1$. }}
  
 
* With&nbsp; $r_1 = 0.5$&nbsp; the&nbsp; followers/precursors of&nbsp; $h_1(t)$&nbsp; for the "trapezoid" are less than for the "rectangle" due to the flatter edge drop .<br>
 
* With&nbsp; $r_1 = 0.5$&nbsp; the&nbsp; followers/precursors of&nbsp; $h_1(t)$&nbsp; for the "trapezoid" are less than for the "rectangle" due to the flatter edge drop .<br>
* With smaller&nbsp; $r_1$&nbsp; followers & precursors increase.&nbsp; With&nbsp; $r_1= 0$&nbsp; the trapezoidal is equal to the rectangular lowpass &nbsp; &rArr; &nbsp; $h(t)= {\rm si}(\pi \cdot t/T)$. <br>
+
* With smaller&nbsp; $r_1$&nbsp; followers & precursors increase.&nbsp; With&nbsp; $r_1= 0$&nbsp; the trapezoidal is equal to the rectangular low-pass &nbsp; &rArr; &nbsp; $h(t)= {\rm si}(\pi \cdot t/T)$. <br>
* With larger&nbsp; $r_1$&nbsp; followers & precursors become smaller.&nbsp; With&nbsp; $r_1= 1$&nbsp; the trapezoidal is equal to the triangular lowpass &nbsp; &rArr; &nbsp; $h(t)= {\rm si}^2(\pi \cdot t/T)$.
+
* With larger&nbsp; $r_1$&nbsp; followers & precursors become smaller.&nbsp; With&nbsp; $r_1= 1$&nbsp; the trapezoidal is equal to the triangular low-pass &nbsp; &rArr; &nbsp; $h(t)= {\rm si}^2(\pi \cdot t/T)$.
 
   
 
   
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
'''(5)''' &nbsp; Compare the&nbsp; <b>trapezoidal lowpass</b>&nbsp; $(K_1 = 1,  \ \Delta f_1 = 1, \ r_1 = 0.5)$&nbsp; to the&nbsp;  
+
'''(5)''' &nbsp; Compare the&nbsp; &raquo;<b>trapezoidal low-pass</b>&laquo;&nbsp; $(K_1 = 1,  \ \Delta f_1 = 1, \ r_1 = 0.5)$&nbsp; to the&nbsp;  
<b>cosine-rolloff lowpass</b>&nbsp; $(K_2 = 1, \ \Delta f_2 = 1, \ r_2 = 0.5)$.<br>&nbsp; &nbsp; &nbsp; &nbsp;  Vary&nbsp; $r_2$&nbsp; between&nbsp; $0$&nbsp; and&nbsp; $1$.&nbsp; Interpret the impulse response for&nbsp; $r_2 = 0.75$.&nbsp; Which lowpass satisfies the first Nyquist criterion?}}
+
&raquo;<b>cosine-rolloff low-pass</b>&laquo;&nbsp; $(K_2 = 1, \ \Delta f_2 = 1, \ r_2 = 0.5)$.<br>&nbsp; &nbsp; &nbsp; &nbsp;  Vary&nbsp; $r_2$&nbsp; between&nbsp; $0$&nbsp; and&nbsp; $1$.&nbsp; Interpret the impulse response for&nbsp; $r_2 = 0.75$.&nbsp; Which low-pass satisfies the first Nyquist criterion?}}
  
 
* With&nbsp; $r_1 = r_2= 0.5$&nbsp; the edge drop of&nbsp; $H_2(f)$&nbsp; is steeper by the frequency&nbsp; $f = 0.5$&nbsp; than the edge drop of&nbsp; $H_1(f)$. <br>
 
* With&nbsp; $r_1 = r_2= 0.5$&nbsp; the edge drop of&nbsp; $H_2(f)$&nbsp; is steeper by the frequency&nbsp; $f = 0.5$&nbsp; than the edge drop of&nbsp; $H_1(f)$. <br>
Line 215: Line 219:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
'''(6)''' &nbsp; Compare the&nbsp; <b>cosine-square lowpass</b>&nbsp; $(K_1 = 1, \ \ \Delta f_1 = 1)$&nbsp; with the&nbsp; <b>cosine-rolloff lowpass</b>&nbsp; $(K_2 = 1, \ \ \Delta f_2 = 1,\ r_2 = 0.5)$.<br>&nbsp; &nbsp; &nbsp; &nbsp;
+
'''(6)''' &nbsp; Compare the&nbsp; &raquo;<b>cosine-square low-pass</b>&laquo;&nbsp; $(K_1 = 1, \ \ \Delta f_1 = 1)$&nbsp; with the&nbsp; &raquo;<b>cosine-rolloff low-pass</b>&laquo;&nbsp; $(K_2 = 1, \ \ \Delta f_2 = 1,\ r_2 = 0.5)$.<br>&nbsp; &nbsp; &nbsp; &nbsp;
 
Vary&nbsp;  $r_2$&nbsp; between&nbsp; $0$&nbsp; and&nbsp; $1$.&nbsp; Interpret the results.&nbsp; Which low-pass satisfies the second Nyquist criterion?
 
Vary&nbsp;  $r_2$&nbsp; between&nbsp; $0$&nbsp; and&nbsp; $1$.&nbsp; Interpret the results.&nbsp; Which low-pass satisfies the second Nyquist criterion?
 
}}
 
}}
  
* $H_1(f)$&nbsp; is a special case of the cosine-rolloff lowpass with rolloff&nbsp; $r_2 =1$.&nbsp; The first Nyquist criterion is also fulfilled with&nbsp; $r_2 \ne 1$.<br>
+
* $H_1(f)$&nbsp; is a special case of the cosine-rolloff low-pass with rolloff&nbsp; $r_2 =1$.&nbsp; The first Nyquist criterion is also fulfilled with&nbsp; $r_2 \ne 1$.<br>
 
* According to the second Nyquist criterion&nbsp; $h(t)$&nbsp; must also have zeros at&nbsp;  $t=\pm 1.5$,&nbsp; $\pm 2.5$,&nbsp; $\pm 3.5$, ...&nbsp; $($ but not, however, at&nbsp; $t = \pm 0.5)$. <br>
 
* According to the second Nyquist criterion&nbsp; $h(t)$&nbsp; must also have zeros at&nbsp;  $t=\pm 1.5$,&nbsp; $\pm 2.5$,&nbsp; $\pm 3.5$, ...&nbsp; $($ but not, however, at&nbsp; $t = \pm 0.5)$. <br>
* For the cosine-square lowpass,&nbsp; $h_1(t=\pm 0.5) = 0.5$&nbsp; and it therefore holds&nbsp; $h_1(t=\pm 1) = h_1(t=\pm 1.5) = h_1(t=\pm 2)= h_1(t=\pm 2.5) = \text{...} =0$. <br>
+
* For the cosine-square low-pass,&nbsp; $h_1(t=\pm 0.5) = 0.5$&nbsp; and it therefore holds&nbsp; $h_1(t=\pm 1) = h_1(t=\pm 1.5) = h_1(t=\pm 2)= h_1(t=\pm 2.5) = \text{...} =0$. <br>
* Only the cosine-square lowpass fulfils the first and second Nyquist criteria simultaneously:&nbsp; Maximum vertical and horizontal eye opening.
+
* Only the cosine-square low-pass fulfils the first and second Nyquist criteria simultaneously:&nbsp; Maximum vertical and horizontal eye opening.
  
  
Line 265: Line 269:
 
==About the authors==
 
==About the authors==
  
This interactive calculation tool was designed and implemented at the&nbsp; [https://www.ei.tum.de/en/lnt/home/ Institute for Communications Engineering]&nbsp; at the&nbsp; [https://www.tum.de/en Technical University of Munich].  
+
This interactive calculation tool was designed and implemented at the&nbsp; [https://www.ei.tum.de/en/lnt/home/ $\text{Institute for Communications Engineering}$]&nbsp; at the&nbsp; [https://www.tum.de/en $\text{Technical University of Munich}$].  
*The first version was created in 2005 by [[Biografien_und_Bibliografien/An_LNTwww_beteiligte_Studierende#Ji_Li_.28Bachelorarbeit_EI_2003.2C_Diplomarbeit_EI_2005.29|Ji Li]] as part of her diploma thesis with “FlashMX – Actionscript” (Supervisor: [[Biographies_and_Bibliographies/An_LNTwww_beteiligte_Mitarbeiter_und_Dozenten#Prof._Dr.-Ing._habil._G.C3.BCnter_S.C3.B6der_.28am_LNT_seit_1974.29|Günter Söder]]).  
+
*The first version was created in 2005 by&nbsp; [[Biographies_and_Bibliographies/Students_involved_in_LNTwww#Ji_Li_.28Bachelorarbeit_EI_2003.2C_Diplomarbeit_EI_2005.29|&raquo;Ji Li&laquo;]]&nbsp; as part of her diploma thesis with&nbsp; “FlashMX – Actionscript”&nbsp; (Supervisor:&nbsp; [[Biographies_and_Bibliographies/LNTwww_members_from_LNT#Prof._Dr.-Ing._habil._G.C3.BCnter_S.C3.B6der_.28at_LNT_since_1974.29| &raquo;Günter Söder&laquo;]]).
*In 2017 the program was redesigned by [[Biografien_und_Bibliografien/An_LNTwww_beteiligte_Studierende#David_Jobst_.28Ingenieurspraxis_Math_2017.29|David Jobst]] (Ingenieurspraxis_Math, Supervisor: [[Biographies_and_Bibliographies/Beteiligte_der_Professur_Leitungsgebundene_%C3%9Cbertragungstechnik#Tasn.C3.A1d_Kernetzky.2C_M.Sc._.28bei_L.C3.9CT_seit_2014.29|Tasnád Kernetzky]] ) via "HTML5".
+
*Last revision and English version 2020 by&nbsp; [[Biografien_und_Bibliografien/An_LNTwww_beteiligte_Studierende#Carolin_Mirschina_.28Ingenieurspraxis_Math_2019.2C_danach_Werkstudentin.29|Carolin Mirschina]]&nbsp; in the context of a working student activity.&nbsp; Translation using DEEPL.com.
+
*In 2017 the program was redesigned by&nbsp; [[Biographies_and_Bibliographies/Students_involved_in_LNTwww#David_Jobst_.28Ingenieurspraxis_Math_2017.29|&raquo;David Jobst&laquo;]]&nbsp; (Ingenieurspraxis_Math,&nbsp; Supervisor:&nbsp; [[Biographies_and_Bibliographies/LNTwww_members_from_LÜT#Dr.-Ing._Tasn.C3.A1d_Kernetzky_.28at_L.C3.9CT_from_2014-2022.29|&raquo;Tasnád Kernetzky&laquo;]] ) via "HTML5".
 +
 
 +
*Last revision and English version 2020 by&nbsp; [[Biographies_and_Bibliographies/Students_involved_in_LNTwww#Carolin_Mirschina_.28Ingenieurspraxis_Math_2019.2C_danach_Werkstudentin.29|&raquo;Carolin Mirschina&laquo;]]&nbsp; in the context of a working student activity.&nbsp;  
  
 
==Once again: Open Applet in new Tab==
 
==Once again: Open Applet in new Tab==
 
{{LntAppletLinkEnDe|frequImpResp_en|frequImpResp}}
 
{{LntAppletLinkEnDe|frequImpResp_en|frequImpResp}}

Latest revision as of 12:17, 26 October 2023

Open Applet in new Tab   Deutsche Version Öffnen


Applet Description


Real and symmetric low-pass frquency responses  $H(f)$  and the corresponding impulse responses  $h(t)$  are shown,  namely

  1. Gaussian low-pass,
  2. rectangular low-pass,
  3. triangular low-pass,
  4. trapezoidal low-pass,
  5. cosine rolloff low-pass   ⇒   »raised-cosine low-pass«,
  6. cosine rolloff squared low-pass   ⇒   »cosine-square low-pass«.


It should be noted:

  • The functions  $H(f)$  resp.  $h(t)$  are shown for up to two parameter sets in one diagram each.
  • The red curves and numbers apply to the left parameter set,  the blue ones to the right parameter set.
  • The abscissas  $t$  $($time$)$  and  $f$  $($frequency$)$  as well as the ordinates  $H(f)$  and  $h(t)$  are normalized in each case.
  • We use here the function  ${\rm si}(x)=\sin(x)/x)$.  The relation with the function  ${\rm sinc}(x)=\sin(\pi x)/(\pi x)$  is:  ${\rm sinc}(x)={\rm si}(x/\pi).$
  • For the last two filters,  we use in the applet the former labels  "cosine rolloff low-pass"  and  "cosine rolloff squared low-pass".

Theoretical background


Frequency response  $H(f)$  and impulse response  $h(t)$

  • The  $\text{frequency response}$  $($or the  "transfer function"$)$  $H(f)$  of a linear time-invariant transmission system gives the ratio between the output spectrum  $Y(f)$  and that of the input spectrum  $X(f)$:
$$H(f) = \frac{Y(f)}{X(f)}.$$
  • If the transmission behavior at low frequencies is better than at higher frequencies,  it is called a  »low-pass«.
$$h(t)={\rm IFT} [H(f)] = \int_{-\infty}^{+\infty}H(f)\cdot {\rm e}^{+{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}f\hspace{1cm} {\rm IFT}\hspace{-0.1cm}: \rm Inverse \ Fourier \ transform.$$
$$H(f)={\rm FT} [h(t)] = \int_{-\infty}^{+\infty}h(t)\cdot {\rm e}^{-{\rm j}2\pi f t}\hspace{0.15cm} {\rm d}t\hspace{1cm} \rm FT\hspace{-0.1cm}: \ Fourier\ transform.$$
  • In all examples we use real and even functions.  Thus:
$$h(t)=\int_{-\infty}^{+\infty}H(f)\cdot \cos(2\pi ft) \hspace{0.15cm} {\rm d}f \ \circ\!\!-\!\!-\! \!\!-\!\!\bullet\ \ H(f)=\int_{-\infty}^{+\infty}h(t)\cdot \cos(2\pi ft) \hspace{0.15cm} {\rm d}t .$$
  • For a quadripole  $[$meaning:  $X(f)$  and  $Y(f)$  have equal units$]$:   $Y(f)$  is dimensionless. 
  • The unit of impulse response is  $\rm 1/s$.  It is true that  $\rm 1/s = 1 \ Hz$,  but the unit  "Hertz"  is unusual in this context.
  • All times are normalized to a normalization time  $T$  and all frequencies are normalized to  $1/T  \ \Rightarrow$  the numerical values of   $h(t)$  still have to be divided by  $T$.


$\text{Example:}$  If one sets a rectangular low-pass with height  $K_1 = 1$  and equivalent bandwidth  $\Delta f_1 = 1$, 

  • so the frequency response  $H_1(f)=1$  in the range  $-1 < f < 1$  and zero outside this range. 
  • The impulse response  $h_1(t)$  is  $\rm si$–shaped with  $h_1(t= 0) = 1$  and the first zero at  $t=1$.


If a rectangular low-pass with  $K = 1.5$  and  $\Delta f = 2 \ \rm kHz$  should to be simulated,  where the normalization time is  $T= 1 \ \rm ms$,  Then:

  • The first zero is at  $t=0.5\ \rm ms$  and the impulse response maximum is  $h(t= 0) = 3 \cdot 10^3 \ \rm 1/s$.


Gaussian low-pass

  • The Gaussian low-pass with height  $K$  and  $($equivalent$)$  bandwidth  $\Delta f$  reads:
$$H(f)=K\cdot {\rm e}^{-\pi\hspace{0.05cm}\cdot\hspace{0.05cm}(f/\Delta f)^2}.$$
  • The equivalent bandwidth  $\Delta f$  is obtained from the equal-area rectangle.
  • The value at  $f = \Delta f/2$  is smaller by a factor  $\approx 0.456$  than the value at  $f=0$.
  • For the impulse response one obtains according to the inverse Fourier transform:
$$h(t)=K\cdot \Delta f \cdot {\rm e}^{-\pi(t\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f)^2} .$$
  • Both  $H(f)$  and  $h(t)$  are not exactly equal to zero at any value of  $f$  resp.  $t$.
  • However,  for practical applications,  the Gaussian pulse can be assumed to be limited in time and frequency. 
  • For example,  $h(t)$  has already dropped to less than  $0.1\% $  of its maximum at  $t=1.5 \cdot \Delta t$.


Rectangular low-pass

  • The rectangular low-pass with height  $K$  and  $($equivalent$)$  bandwidth  $\Delta f$  reads:
$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K \\ K /2 \\ \hspace{0.25cm} 0 \\ \end{array} \right.\quad \quad \begin{array}{*{20}c} {\rm{for}} \\ {\rm{for}} \\ {\rm{for}} \\ \end{array}\begin{array}{*{20}c} {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f/2,} \\ {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| = \Delta f/2,} \\ {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| > \Delta f/2.} \\ \end{array}$$
  • The  $\pm \Delta f/2$  value lies midway between the left-hand and right-hand limits.
  • For the impulse response  $h(t)$  one obtains according to the laws of the inverse Fourier transform  $($"2nd Fourier integral"$)$:
$$h(t)=K\cdot \Delta f \cdot {\rm si}(\pi\cdot \Delta f \cdot t) \quad \text{with} \quad {\rm si}(x)={\sin(x)}/{x}.$$
  • The  $h(t)$  value at  $t=0$  is equal to the square area of the frequency response.
  • The impulse response has zeros at equidistant intervals  $1/\Delta f$.
  • The integral over the impulse response  $h(t)$  is equal to the frequency response  $H(f)$  at frequency  $f=0$,  thus is equal to  $K$.


Triangular low-pass

  • The triangular low-pass with height  $K$  and  $($equivalent$)$  bandwidth  $\Delta f$  reads:
$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \Big(1-\frac{|f|}{\Delta f}\Big) \\ \hspace{0.25cm} 0 \\ \end{array} \right.\quad \quad \begin{array}{*{20}c} {\rm{for}} \\ {\rm{for}} \\ \end{array}\begin{array}{*{20}c} {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,} \\ {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.} \\ \end{array}$$
  • The absolute physical bandwidth  $B$   ⇒  [positive frequencies only]   is also equal  $\Delta f$,  thus is as large as for the rectangular low-pass.
  • For the impulse response  $h(t)$  one obtains according to the second Fourier transform:
$$h(t)=K\cdot \Delta f \cdot {\rm si}^2(\pi\cdot \Delta f \cdot t) \quad \text{with} \quad {\rm si}(x)={\sin(x)}/{x}={\rm sinc}(x/\pi).$$
  • $H(f)$  can be represented as a convolution of two rectangular functions  $($each with width  $\Delta f)$.
  • It follows:  $h(t)$  contains instead of the  ${\rm si}$–function the  ${\rm si}^2$–function.
  • $h(t)$  thus also exhibits zeros at equidistant intervals  $1/\Delta f$.
  • The asymptotic decay of  $h(t)$  occurs here with  $1/t^2$,  while for comparison in the case of the rectangular low-pass  $h(t)$  decays with  $1/t$.


Trapezoidal low-pass

  • The trapezoidal low-pass with height  $K$  and the two corner frequencies  $f_1$  and  $f_2$  reads:
$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K \\ K\cdot \frac{f_2-|f|}{f_2-f_1} \\ \hspace{0.25cm} 0 \\ \end{array} \right.\quad \quad \begin{array}{*{20}c} {\rm{for}} \\ {\rm{for}} \\ {\rm{for}} \\ \end{array}\begin{array}{*{20}c} {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,} \\ {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,} \\ {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.} \\ \end{array}$$
  • For the equivalent bandwidth  $($equal-area rectangle$)$  the following applies:  $\Delta f = f_1+f_2$.
  • The rolloff factor  $($in the frequency domain$)$  characterizes the slope:
$$r=\frac{f_2-f_1}{f_2+f_1}.$$
  • The special case  "$r=0$"  corresponds to the rectangular low-pass and the special case  "$r=1$"  to the triangular low-pass.
  • For the impulse response,  according to the inverse Fourier back transform,  we obtain:
$$h(t)=K\cdot \delta f \cdot {\rm si}(\pi\cdot \delta f \cdot t)\cdot {\rm si}(\pi \cdot r \cdot \delta f \cdot t) \quad \text{with} \quad {\rm si}(x)={\sin(x)}/{x}.$$
  • The asymptotic decay of  $h(t)$  lies between  $1/t$  $($for rectangular low-pass or  $r=0)$  and  $1/t^2$  $($for triangular low-pass or  $r=1)$.


Cosine rolloff low-pass

Note:   In English-language literature,  this filter is often also referred to as  »raised-cosine low-pass«.

  • The cosine-rolloff low-pass with height  $K$  and the two corner frequencies  $f_1$  and  $f_2$  reads:
$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K \\ K\cdot \cos^2\Big(\frac{|f|-f_1}{f_2-f_1}\cdot {\pi}/{2}\Big) \\ \hspace{0.25cm} 0 \\ \end{array} \right.\quad \quad \begin{array}{*{20}c} {\rm{for}} \\ {\rm{for}} \\ {\rm{for}} \\ \end{array}\begin{array}{*{20}c} {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| \le f_1,} \\ {f_1\le \left| \hspace{0.05cm}f\hspace{0.05cm} \right| \le f_2,} \\ {\left|\hspace{0.05cm} f \hspace{0.05cm} \right| \ge f_2.} \\ \end{array}$$
  • For the equivalent bandwidth  $($equal-area rectangle$)$  the following applies:  $\Delta f = f_1+f_2$.
  • The rolloff factor  $($in the frequency domain$)$  characterizes the slope:
$$r=\frac{f_2-f_1}{f_2+f_1}.$$
  • The special case  "$r=0$"  corresponds to the rectangular low-pass and the special case  "$r=1$"  to the cosine-square low-pass.
  • For the impulse response,  according to the inverse Fourier transform,  we obtain:
$$h(t)=K\cdot \Delta f \cdot \frac{\cos(\pi \cdot r\cdot \Delta f \cdot t)}{1-(2\cdot r\cdot \Delta f \cdot t)^2} \cdot {\rm si}(\pi \cdot \Delta f \cdot t).$$
  • The larger the rolloff factor  $r$,  the faster decreases  $h(t)$  asymptotically with  $t$.


Cosine rolloff squared low-pass

  • This is a special case of the raised-cosine low-pass and results from it for  $r=1 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}f_1=0,\ f_2= \Delta f$:
$$H(f) = \left\{ \begin{array}{l} \hspace{0.25cm}K\cdot \cos^2\Big(\frac{|f|\hspace{0.05cm}\cdot\hspace{0.05cm} \pi}{2\hspace{0.05cm}\cdot\hspace{0.05cm} \Delta f}\Big) \\ \hspace{0.25cm} 0 \\ \end{array} \right.\quad \quad \begin{array}{*{20}c} {\rm{for}} \\ {\rm{for}} \\ \end{array}\begin{array}{*{20}c} {\left| \hspace{0.05cm} f\hspace{0.05cm} \right| < \Delta f,} \\ {\left| \hspace{0.05cm}f\hspace{0.05cm} \right| \ge \Delta f.} \\ \end{array}$$
  • For the impulse response one obtains according to the Fourier inverse transform:
$$h(t)=K\cdot \Delta f \cdot {\pi}/{4}\cdot \big [{\rm sinc}(\Delta f\cdot t +0.5)+{\rm sinc}(\Delta f\cdot t -0.5)\big ]\cdot {\rm sinc}(\Delta f \cdot t)\quad \text{with} \quad {\rm sinc}(x)={\sin(x)}/{(\pi x})={\rm si}(\pi x).$$
  • Because of the last  ${\rm sinc}$–function,  $h(t)=0$  for all multiples of  $T=1/\Delta f$   ⇒   The equidistant zero crossings of the cosine rolloff low-pass are preserved.
  • Due to the expression in parentheses,  $h(t)$  now shows further zero crossings at  $t=\pm1.5 T$,  $\pm2.5 T$,  $\pm3.5 T$, ... 
  • For  $t=\pm T/2$  the impulse response has the value  $K\cdot \Delta f/2$.
  • The asymptotic decay of  $h(t)$  runs in this special case with  $1/t^3$.

Exercises


  • First select the number (1, ... , 6) of the exercise.  The number 0 corresponds to a "Reset":  Same setting as at the program start.
  • A description of the exercise will be displayed.  The parameter values are adjusted.  Solution after pressing "Show solution".
  • "Red" corresponds to the first parameter set   ⇒   $H_1(f)   \bullet\!\!-\!\!\!-\!\!\!-\!\!\circ\   h_1(t)$,  and "Blue" corresponds to the second parameter set   ⇒   $H_2(f)   \bullet\!\!-\!\!\!-\!\!\!-\!\!\circ\   h_2(t)$.
  • Values smaller than  $0.0005$  are set to zero in the program.


(1)   Compare the  »red Gaussian low-pass«  $(K_1 = 1, \Delta f_1 = 1)$  to the  »blue rectangular low-pass«  $(K_2 = 1, \Delta f_2 = 1)$.  Questions:
        (a)  Which output signals  $y(t)$  result from the signal  $x(t) = 2 \cdot \cos (2\pi f_0 t -\varphi_0)$  with  $f_0 = 0.5$?
        (b)  What are the differences between the two low-pass filters with  $f_0 = 0.5 \pm f_\varepsilon$  and  $f_\varepsilon \ne 0, \ f_\varepsilon \to 0$?

(a)  It holds  $y(t) = A \cdot \cos (2\pi f_0 t -\varphi_0)$  with  $A = 2 \cdot H(f = f_0) \ \Rightarrow \ A_1 = 0.912, \ A_2 = 1,000$.  The phase  $\varphi_0$  remains unchanged.
(b)  For  red  $ A_1 = 0.912$  is still valid.  For  blue  it holds  $A_2 = 0$  for  $f_0 = 0.5000\text{...}001$  and  $A_2 = 2$  for  $f_0 = 0.4999\text{...}999$.


(2)   Leave the settings unchanged.  Which low-pass  $H(f)$  fulfills the first or the second Nyquist criterion?
        Here  $H(f)$  denotes the total frequency response of transmitter, channel and recettion filter.

  • First Nyquist criterion:  The impulse response  $h(t)$  must have equidistant zero crossings at the (normalized) times  $t = 1,\ 2$, ...
  • The impulse response  $h(t) = {\rm sinc}(\delta f \cdot t)$  of the rectangular low-pass filter fulfils this criterion with  $\Delta f = 1$.
  • In contrast, the first Nyquist criterion is never fulfilled for the Gaussian low-pass and there is always impulse interference.
  • The second Nyquist criterion is met by neither the rectangular low-pass nor the Gaussian low-pass.


(3)   Compare the  »red rectangular low-pass«  $(K_1 = 0.5, \Delta f_1 = 2)$  to the  »blue rectangular low-pass«  $(K_2 = 1, \Delta f_2 = 1)$.  Then vary  $\Delta f_1$  between  $2$  ...  $0.5$.

  • With  $\Delta f_1 = 2$  the zeros of  $h_1(t)$  are multiples  of  $0.5$   ⇒   $h_1(t)$   will decay twice as fast as  $h_2(t)$.
  • With the present setting,  $h_1(t = 0) = h_2(t = 0)$ holds,  since the rectangular areas of  $H_1(f)$  and  $H_2(f)$  are equal.
  • By decreasing  $\Delta f_1$,  the impulse response  $h_1(t)$  becomes wider and lower.  With  $\Delta f_1 = 0.5$,  $h_1(t)$ is twice as wide as  $h_2(t)$,  but simultaneously by a factor  $4$  lower.


(4)   Compare the  »red trapezoidal low-pass«  $(K_1 = 1, \ \Delta f_1 = 1, \ r_1 = 0.5)$  with  »blue rectangular low-pass«   $(K_2 = 1, \ \Delta f_2 = 1)$.  $r_1$  varies between  $0$  ...  $1$.

  • With  $r_1 = 0.5$  the  followers/precursors of  $h_1(t)$  for the "trapezoid" are less than for the "rectangle" due to the flatter edge drop .
  • With smaller  $r_1$  followers & precursors increase.  With  $r_1= 0$  the trapezoidal is equal to the rectangular low-pass   ⇒   $h(t)= {\rm si}(\pi \cdot t/T)$.
  • With larger  $r_1$  followers & precursors become smaller.  With  $r_1= 1$  the trapezoidal is equal to the triangular low-pass   ⇒   $h(t)= {\rm si}^2(\pi \cdot t/T)$.


(5)   Compare the  »trapezoidal low-pass«  $(K_1 = 1, \ \Delta f_1 = 1, \ r_1 = 0.5)$  to the  »cosine-rolloff low-pass«  $(K_2 = 1, \ \Delta f_2 = 1, \ r_2 = 0.5)$.
        Vary  $r_2$  between  $0$  and  $1$.  Interpret the impulse response for  $r_2 = 0.75$.  Which low-pass satisfies the first Nyquist criterion?

  • With  $r_1 = r_2= 0.5$  the edge drop of  $H_2(f)$  is steeper by the frequency  $f = 0.5$  than the edge drop of  $H_1(f)$.
  • With the same rolloff  $r= 0.5$  the impulse response  $h_2(t)$  for  $t > 1$  has larger magnitudes than  $h_1(t)$.
  • With  $r_1 = 0.5$  and  $r_2 = 0.75$  $H_1(f) \approx H_2(f)$  holds and therefore also  $h_1(t) \approx h_2(t)$. 
  • $H_1(f)$  and  $H_2(f)$  both fulfill the first Nyquist criterion:  Both functions are point-symmetrical around the "Nyquist point".
  • Because of  $\Delta f = 1$  both  $h_1(t)$  and  $h_2(t)$  have zero crossings at  $\pm 1$,  $\pm 2$   ⇒   in each case maximum vertical eye opening.


(6)   Compare the  »cosine-square low-pass«  $(K_1 = 1, \ \ \Delta f_1 = 1)$  with the  »cosine-rolloff low-pass«  $(K_2 = 1, \ \ \Delta f_2 = 1,\ r_2 = 0.5)$.
        Vary  $r_2$  between  $0$  and  $1$.  Interpret the results.  Which low-pass satisfies the second Nyquist criterion?

  • $H_1(f)$  is a special case of the cosine-rolloff low-pass with rolloff  $r_2 =1$.  The first Nyquist criterion is also fulfilled with  $r_2 \ne 1$.
  • According to the second Nyquist criterion  $h(t)$  must also have zeros at  $t=\pm 1.5$,  $\pm 2.5$,  $\pm 3.5$, ...  $($ but not, however, at  $t = \pm 0.5)$.
  • For the cosine-square low-pass,  $h_1(t=\pm 0.5) = 0.5$  and it therefore holds  $h_1(t=\pm 1) = h_1(t=\pm 1.5) = h_1(t=\pm 2)= h_1(t=\pm 2.5) = \text{...} =0$.
  • Only the cosine-square low-pass fulfils the first and second Nyquist criteria simultaneously:  Maximum vertical and horizontal eye opening.



Applet Manual

Frequenz.png

    (A)     Theme (changeable graphical user interface design)

  • Dark:   dark background  (recommended by the authors)
  • Bright:   white background  (recommended for beamers and printouts)
  • Deuteranopia:   for users with pronounced green visual impairment
  • Protanopia:   for users with pronounced red visual impairment

    (B)     Preselection for frequency response  $H_1(f)$  (red curve)

    (C)     Parameter definition for  $H_1(f)$ 

    (D)     Numeric output for  $H_1(f_*)$  and  $h_1(t_*)$

    (E)     Preselection for frequency response  $H_2(f)$   (blue curve)

    (F)     Parameter definition for  $H_2(f)$ 

    (G)     Numeric output for  $H_2(f_*)$  and  $h_2(t_*)$

    (H)     Setting the frequency  $f_*$  for the numeric output

    (I)      Setting the time  $t_*$  for the numeric output

    (J)     Graphic field for the frequency domain

    (K)     Graphic field for the time domain

    (L)     Selection of the exercise according to the numbers

    (M)     Task description and questions

    (N)     Show and hide sample solution


About the authors

This interactive calculation tool was designed and implemented at the  $\text{Institute for Communications Engineering}$  at the  $\text{Technical University of Munich}$.

  • The first version was created in 2005 by  »Ji Li«  as part of her diploma thesis with  “FlashMX – Actionscript”  (Supervisor:  »Günter Söder«).
  • Last revision and English version 2020 by  »Carolin Mirschina«  in the context of a working student activity. 

Once again: Open Applet in new Tab

Open Applet in new Tab   Deutsche Version Öffnen