Difference between revisions of "Aufgaben:Exercise 3.3: From the Signal to the Spectrum"

From LNTwww
Line 54: Line 54:
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; Mit der Abkürzung&nbsp; $\omega = 2\pi f$&nbsp; lautet die Spektralfunktion gemäß dem ersten Fourierintegral:
+
'''(1)'''&nbsp; With the abbreviation&nbsp; $\omega = 2\pi f$&nbsp; the spectral function is according to the first Fourier integral:
 
   
 
   
 
:$$X( f ) = \int_0^T {A \cdot {\rm{e}}^{-{\rm{j}}\omega t} \hspace{0.05cm}{\rm d}t = } \int_0^T {A \cdot \cos \left( {\omega t} \right)\hspace{0.05cm}{\rm d}t  }\hspace{0.1cm}-\hspace{0.1cm} {\rm{j}} \cdot \int_{\rm{0}}^T {A \cdot \sin ( {\omega t} )} \hspace{0.05cm}{\rm d}t.$$
 
:$$X( f ) = \int_0^T {A \cdot {\rm{e}}^{-{\rm{j}}\omega t} \hspace{0.05cm}{\rm d}t = } \int_0^T {A \cdot \cos \left( {\omega t} \right)\hspace{0.05cm}{\rm d}t  }\hspace{0.1cm}-\hspace{0.1cm} {\rm{j}} \cdot \int_{\rm{0}}^T {A \cdot \sin ( {\omega t} )} \hspace{0.05cm}{\rm d}t.$$
  
*Nach Integration und Einsetzen der Grenzen folgt daraus:
+
*After integration and insertion of the limits, it follows:
 
   
 
   
 
:$${\mathop{\rm Re}\nolimits} [ {X( f )} ] = \frac{A}{\omega } \cdot \sin( {\omega T} ),$$
 
:$${\mathop{\rm Re}\nolimits} [ {X( f )} ] = \frac{A}{\omega } \cdot \sin( {\omega T} ),$$
Line 66: Line 66:
 
:$${\mathop{\rm Im}\nolimits} [ {X( f)} ] = \frac{A}{\omega } \cdot \left( {\cos ( {\omega T}) - 1} \right) =  - \frac{A}{\omega } \cdot\left( {1 - \cos ( {\omega T} )} \right).$$
 
:$${\mathop{\rm Im}\nolimits} [ {X( f)} ] = \frac{A}{\omega } \cdot \left( {\cos ( {\omega T}) - 1} \right) =  - \frac{A}{\omega } \cdot\left( {1 - \cos ( {\omega T} )} \right).$$
 
   
 
   
*Für die Frequenz&nbsp; $f = 1/(2T) = 10\, \text{kHz}$  &nbsp; &rArr; &nbsp;  $\omega \cdot T = \pi$&nbsp;  erhält man:
+
*For the frequency&nbsp; $f = 1/(2T) = 10\, \text{kHz}$  &nbsp; &rArr; &nbsp;  $\omega \cdot T = \pi$&nbsp;  we get::
 
   
 
   
 
:$${\mathop{\rm Re}\nolimits}[{X( {f = 10 \;{\rm{kHz}}} )}] = \frac{A}{ {2{\rm{\pi }}f}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0},$$
 
:$${\mathop{\rm Re}\nolimits}[{X( {f = 10 \;{\rm{kHz}}} )}] = \frac{A}{ {2{\rm{\pi }}f}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0},$$
Line 73: Line 73:
  
 
   
 
   
'''(2)'''&nbsp; Das Betragsquadrat ist die Summe von Real- und Imaginärteil, jeweils quadriert:
+
'''(2)'''&nbsp; The magnitude square is the sum of the real and imaginary parts, squared in each case:
 
   
 
   
 
:$$\left| {X( f )} \right|^2  = \frac{ {A^2 }}{ {\omega ^2 }}\big[ {\sin ^2 ( {\omega T} ) + 1 - 2 \cdot \cos ( {\omega T}) + \cos ^2 ( {\omega T} )} \big].$$
 
:$$\left| {X( f )} \right|^2  = \frac{ {A^2 }}{ {\omega ^2 }}\big[ {\sin ^2 ( {\omega T} ) + 1 - 2 \cdot \cos ( {\omega T}) + \cos ^2 ( {\omega T} )} \big].$$
  
*Wegen&nbsp; $\sin^2(\alpha) + \cos^2(\alpha) = 1$&nbsp; kann hierfür auch geschrieben werden:
+
*Because of&nbsp; $\sin^2(\alpha) + \cos^2(\alpha) = 1$&nbsp;, this can also be written:
 
   
 
   
 
:$$\left| {X( f )} \right|^2  = \frac{ {2A^2 }}{ {\omega ^2 }} \cdot \big( {1 - \cos ( {\omega T} )} \big) = \frac{ {4A^2 }}{ {\omega ^2 }} \cdot \sin ^2( {\omega T/2} ).$$
 
:$$\left| {X( f )} \right|^2  = \frac{ {2A^2 }}{ {\omega ^2 }} \cdot \big( {1 - \cos ( {\omega T} )} \big) = \frac{ {4A^2 }}{ {\omega ^2 }} \cdot \sin ^2( {\omega T/2} ).$$
  
*Setzt man für&nbsp; $\omega = 2\pi f$&nbsp; und zieht die Wurzel, so erhält man unter der Voraussetzung&nbsp; $A > 0$:
+
*Setting &nbsp; $\omega = 2\pi f$&nbsp; and taking the root, we obtain, under the condition&nbsp; $A > 0$:
 
   
 
   
 
:$$\left| {X( f )} \right| =  \left| \frac{A}{ {\rm\pi }f} \cdot \sin ( {\rm \pi }fT ) \right| = A \cdot T \cdot \left| \frac{\sin ( {\rm\pi }fT )}{ {\rm \pi}fT} \right|.$$
 
:$$\left| {X( f )} \right| =  \left| \frac{A}{ {\rm\pi }f} \cdot \sin ( {\rm \pi }fT ) \right| = A \cdot T \cdot \left| \frac{\sin ( {\rm\pi }fT )}{ {\rm \pi}fT} \right|.$$
  
*Mit der Abkürzung&nbsp; $\text{si}(x) = \sin(x)/x$&nbsp; lautet das Ergebnis:
+
*With the shortcut&nbsp; $\text{si}(x) = \sin(x)/x$&nbsp; the result is:
 
   
 
   
 
:$$\left| {X( f)} \right| = A \cdot T \cdot\left|{\rm si} ( { {\rm{\pi }}fT} ) \right|.$$
 
:$$\left| {X( f)} \right| = A \cdot T \cdot\left|{\rm si} ( { {\rm{\pi }}fT} ) \right|.$$
  
*Der Spektralwert bei der Frequenz&nbsp; $f = 1/T = \text{20 kHz}$&nbsp; ergibt sich zu
+
*The spectral value at the frequency&nbsp; $f = 1/T = \text{20 kHz}$&nbsp; is given by
 
   
 
   
 
:$$\left| {X( {f = 20\;{\rm{kHz}}} )} \right| = \frac{ {A \cdot T}}{ {\rm{\pi }}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0}.$$
 
:$$\left| {X( {f = 20\;{\rm{kHz}}} )} \right| = \frac{ {A \cdot T}}{ {\rm{\pi }}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0}.$$
  
*Bei der Berechnung des Wertes für&nbsp; $f = 0$&nbsp; erscheint der Quotient&nbsp; $\text{0 durch 0}$. Durch Anwendung der&nbsp; [https://de.wikipedia.org/wiki/Regel_von_de_l%E2%80%99Hospital l'Hospitalschen Regel]&nbsp; kann der Grenzwert berechnet werden:
+
*When calculating the value for&nbsp; $f = 0$&nbsp; the quotient&nbsp; $\text{0 divided by 0}$. By applying&nbsp; [https://de.wikipedia.org/wiki/Regel_von_de_l%E2%80%99Hospital l'Hospitalschen Regel]&nbsp; the limiting value can be calculated:
 
   
 
   
 
:$$\mathop {\lim }\limits_{x \to 0 } \frac{ {\sin \left( x \right)}}{x} = 1.$$
 
:$$\mathop {\lim }\limits_{x \to 0 } \frac{ {\sin \left( x \right)}}{x} = 1.$$

Revision as of 22:45, 20 January 2021

Rechteckimpuls und zugehöriges Spektrum

A rectangular pulse  $x(t)$  with a duration of  $T = 50\,\text{µs}$  and the height of  $A = 2\,\text{V}$ is considered. At the jump points at  $t = 0$  and  $t = T$  the signal value is  $A/2$, in each case, but this has no influence on the solution of the task.

In the graphic below, the corresponding spectral function is sketched qualitatively according to magnitude and phase. It is valid:

$$X( f ) = \left| {X( f )} \right| \cdot {\rm e}^{ - {\rm j}\hspace{0.05cm}\cdot \hspace{0.05cm} \varphi ( f )} .$$

The analytical function progression of  $X(f)$  is to be determined.




Hints:

  • The following trigonometric transformations are also given:
$$\sin ^2( \alpha ) = {1}/{2} \cdot \big( {1 - \cos ( {2\alpha } )} \big),\hspace{0.5cm} \tan( {\alpha /2} ) = \frac{ {1 - \cos ( \alpha )}}{ {\sin ( \alpha )}}.$$


Questions

1

Calculate the spectral function  $X(f)$. in general. What value results at the frequency  $f=10\, \text{kHz}$?

${\rm Re}\big[X(f=10 \,\text{kHz})\big] \ = \ $

  $\text{mV/Hz}$
${\rm Im}\big[X(f=10\, \text{kHz})\big]\ = \ $

  $\text{mV/Hz}$

2

Calculate the magnitude function  $|X(f)|$  in general. What values result for the frequencies  $f = 0$  and  $f=20 \,\text{kHz}$?

$|X(f=0)|\ = \ $

  $\text{mV/Hz}$
$|X(f=20\, \text{kHz})|\ = \ $

  $\text{mV/Hz}$

3

Which of the following statements are true regarding  $|X(f)|$ ?

$|X(f)|$  has zeros at multiples of  $f_0 = 1/T$.
$|X(f)|$  has zeros at multiples of  $f_0 = 1/(2T)$.
In the middle between two zeros  $|X(f)| = |A/(\pi f)|$ is true.

4

Calculate the phase function  $\varphi (f)$. What phase angle (in degrees) results at the frequency  $f=10\, \text{kHz}$?

$\varphi (f=10\, \text{kHz})\ = \ $

  $\text{deg}$


Solution

(1)  With the abbreviation  $\omega = 2\pi f$  the spectral function is according to the first Fourier integral:

$$X( f ) = \int_0^T {A \cdot {\rm{e}}^{-{\rm{j}}\omega t} \hspace{0.05cm}{\rm d}t = } \int_0^T {A \cdot \cos \left( {\omega t} \right)\hspace{0.05cm}{\rm d}t }\hspace{0.1cm}-\hspace{0.1cm} {\rm{j}} \cdot \int_{\rm{0}}^T {A \cdot \sin ( {\omega t} )} \hspace{0.05cm}{\rm d}t.$$
  • After integration and insertion of the limits, it follows:
$${\mathop{\rm Re}\nolimits} [ {X( f )} ] = \frac{A}{\omega } \cdot \sin( {\omega T} ),$$
$${\mathop{\rm Im}\nolimits} [ {X( f)} ] = \frac{A}{\omega } \cdot \left( {\cos ( {\omega T}) - 1} \right) = - \frac{A}{\omega } \cdot\left( {1 - \cos ( {\omega T} )} \right).$$
  • For the frequency  $f = 1/(2T) = 10\, \text{kHz}$   ⇒   $\omega \cdot T = \pi$  we get::
$${\mathop{\rm Re}\nolimits}[{X( {f = 10 \;{\rm{kHz}}} )}] = \frac{A}{ {2{\rm{\pi }}f}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0},$$
$${\mathop{\rm Im}\nolimits} [ {X( {f = 10 \;{\rm{kHz}}})} ] = \frac{ { - A}}{ {2{\rm{\pi }}f}} \cdot \big( {1 - \cos ( {\rm{\pi }} )} \big) = - \frac{ { A}}{{ {\rm{\pi }}f}}\hspace{0.15 cm}\underline{= - 0.0637 \;{\rm{mV/Hz}}}{\rm{.}}$$


(2)  The magnitude square is the sum of the real and imaginary parts, squared in each case:

$$\left| {X( f )} \right|^2 = \frac{ {A^2 }}{ {\omega ^2 }}\big[ {\sin ^2 ( {\omega T} ) + 1 - 2 \cdot \cos ( {\omega T}) + \cos ^2 ( {\omega T} )} \big].$$
  • Because of  $\sin^2(\alpha) + \cos^2(\alpha) = 1$ , this can also be written:
$$\left| {X( f )} \right|^2 = \frac{ {2A^2 }}{ {\omega ^2 }} \cdot \big( {1 - \cos ( {\omega T} )} \big) = \frac{ {4A^2 }}{ {\omega ^2 }} \cdot \sin ^2( {\omega T/2} ).$$
  • Setting   $\omega = 2\pi f$  and taking the root, we obtain, under the condition  $A > 0$:
$$\left| {X( f )} \right| = \left| \frac{A}{ {\rm\pi }f} \cdot \sin ( {\rm \pi }fT ) \right| = A \cdot T \cdot \left| \frac{\sin ( {\rm\pi }fT )}{ {\rm \pi}fT} \right|.$$
  • With the shortcut  $\text{si}(x) = \sin(x)/x$  the result is:
$$\left| {X( f)} \right| = A \cdot T \cdot\left|{\rm si} ( { {\rm{\pi }}fT} ) \right|.$$
  • The spectral value at the frequency  $f = 1/T = \text{20 kHz}$  is given by
$$\left| {X( {f = 20\;{\rm{kHz}}} )} \right| = \frac{ {A \cdot T}}{ {\rm{\pi }}} \cdot \sin ( {\rm{\pi }} ) \hspace{0.15 cm}\underline{= 0}.$$
  • When calculating the value for  $f = 0$  the quotient  $\text{0 divided by 0}$. By applying  l'Hospitalschen Regel  the limiting value can be calculated:
$$\mathop {\lim }\limits_{x \to 0 } \frac{ {\sin \left( x \right)}}{x} = 1.$$
  • Daraus folgt:
$$\left| {X( {f = 0} )} \right| = A \cdot T \hspace{0.15 cm}\underline{= 0.1 \;{\rm{mV/Hz}}}{\rm{.}}$$
  • Dieses Ergebnis ist einsichtig, da nach dem ersten Fourierintegral der Spektralwert bei  $f = 0$  genau der Fläche unter der Zeitfunktion entspricht.


Betragsspektrum des Rechteckimpulses

(3)  Richtig sind die Lösungsvorschläge 1 und 3:

  • Entsprechend dem Ergebnis zur Teilaufgabe  (2)  treten die Nullstellen im Abstand  $f_0 = 1/T$  auf.
  • Bei  $f_0 = 1/(2T) = f = 10 \;{\rm{kHz}}$  ist zwar der Realteil  $0$, aber nicht der Imaginärteil.
  • Bei den Argumenten  $f \cdot T = 0.5, 1.5, 2.5,\hspace{0.05cm}\text{ ... }$  ist die Sinusfunktion jeweils betragsmäßig gleich  $1$, und es gilt:
$$\left| {X( f )} \right| = \frac{A}{ {{\rm{\pi }}\left| f \right|}} = X_{\rm S} ( f ).$$
  • Bei anderen Frequenzen dient  $X_{\rm S}(f)$  als obere Schranke, das heißt, es gilt stets  $|Xf)| \leq X_{\rm S}(f)$.
  • In der Skizze ist diese Schranke zusätzlich zu  $|X(f)|$  als violette Kurve eingezeichnet.


(4)  Nach der Definition auf der Angabenseite kann man die Phasenfunktion wie folgt berechnen:

$$\varphi ( f ) = - \arctan \frac{ { {\mathop{\rm Im}\nolimits} ( f )}}{ { {\mathop{\rm Re}\nolimits} ( f )}}.$$
  • Mit den Ergebnissen aus Teilaufgabe  (1)  gilt somit:
$$\varphi ( f ) = \arctan \left( {\frac{ {1 - \cos ( {\omega T} )}}{ {\sin ( {\omega T} )}}} \right).$$
  • Das Argument dieser Funktion ist entsprechend der Angabe gleich  $\tan(\omega T/2) = \tan(\pi fT)$. Daraus folgt ein mit der Frequenz linear ansteigender Verlauf:
$$\varphi ( f ) = \arctan \left( {\tan ( { {\rm{\pi }}fT} )} \right) = {\rm{\pi }}fT.$$
  • Mit  $f = 10\,\text{kHz}$  und  $T = 50\,\text{µs}$  erhält man daraus den Phasenwinkel  $\pi /2$  entsprechend  $\underline{90^{\circ}}$ .