Difference between revisions of "Aufgaben:Exercise 2.4Z: Triangular Function"

From LNTwww
Line 33: Line 33:
 
{Which of the following statements are true for all permissible  $T_0$  and  $T_1$ ?
 
{Which of the following statements are true for all permissible  $T_0$  and  $T_1$ ?
 
|type="[]"}
 
|type="[]"}
+ Der Gleichanteil beträgt  $A_0 = T_1/T_0$.
+
+ The DC component is  $A_0 = T_1/T_0$.
+ Alle Sinuskoeffizienten  $B_n$  sind Null.
+
+ All sine coefficients  $B_n$  are zeroo.
- Alle Cosinuskoeffizienten  $A_n$  mit geradzahligem  $n$  sind Null.
+
- All cosine coefficients  $A_n$  with even   $n$  are zero.
  
  
{Berechnen Sie die Fourierkoeffizienten  $A_n$  in allgemeiner Form. Welche Werte ergeben sich für  $A_1$,  $A_2$  und  $A_3$  mit  $T_1/T_0 = 0.25$?
+
{Calculate the Fourier coefficients  $A_n$  in general form. What are the values for  $A_1$,  $A_2$  and  $A_3$  with  $T_1/T_0 = 0.25$?
 
|type="{}"}
 
|type="{}"}
 
$A_1\ = \ $ { 0.405 3% }
 
$A_1\ = \ $ { 0.405 3% }
Line 45: Line 45:
  
  
{Schreiben Sie die Funktion  ${x(t)}$  als Fourierreihe und brechen Sie diese nach  $N = 3$  Koeffizienten ab. Wie groß ist der Fehler  $\varepsilon_3(t = 0)$?
+
{Write the function  ${x(t)}$  as a Fourier series and break it off after  $N = 3$  coefficients. How large is the error   $\varepsilon_3(t = 0)$?
 
|type="{}"}
 
|type="{}"}
 
$\varepsilon_3(t = 0)\ = \ $  { -0.11--0.09 }
 
$\varepsilon_3(t = 0)\ = \ $  { -0.11--0.09 }
Line 53: Line 53:
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp;  Richtig sind die <u>Lösungsvorschläge 1 und 2</u>:
+
'''(1)'''&nbsp;  Proposed <u>solutions 1 and 2</u> are correct:
*Der Gleichanteil ist tatsächlich&nbsp; $T_1/T_0$. Da&nbsp; ${x(t)}$&nbsp; eine gerade Funktion ist, sind alle Sinuskoeffizienten&nbsp; $B_n = 0$.  
+
*The DC component is actually&nbsp; $T_1/T_0$. Since&nbsp; ${x(t)}$&nbsp; is an even function, all sine coefficients&nbsp; $B_n = 0$.  
*Die geradzahligen Cosinuskoeffizienten&nbsp; $A_{2n}$&nbsp; verschwinden nur dann, wenn&nbsp; $T_1 = T_0/2$&nbsp; ist.  
+
*The even cosine coefficients&nbsp; $A_{2n}$&nbsp; only disappear if &nbsp; $T_1 = T_0/2$&nbsp;.  
*In diesem Fall ist die Bedingung&nbsp; ${x(t)} = 2A_0 - x(t - T_0/2)$&nbsp; erfüllt $($mit $A_0 = 0.5)$.  
+
*In this case the condition&nbsp; ${x(t)} = 2A_0 - x(t - T_0/2)$&nbsp; is fulfilled $($mit $A_0 = 0.5)$.  
  
  
  
'''(2)'''&nbsp; Unter Ausnutzung der Symmetrieeigenschaft&nbsp; ${x(-t)} = {x(t)}$&nbsp; erhält man:
+
'''(2)'''&nbsp; Taking advantage of the symmetry property&nbsp; ${x(-t)} = {x(t)}$&nbsp; one obtains:
 
:$$A_n=2 \cdot \frac{2}{T_0}\cdot \hspace{-0.1cm}\int_0^{T_1}(1-\frac{t}{T_1})\cos(2\pi n\frac{t}{T_0})\, {\rm d}t.$$
 
:$$A_n=2 \cdot \frac{2}{T_0}\cdot \hspace{-0.1cm}\int_0^{T_1}(1-\frac{t}{T_1})\cos(2\pi n\frac{t}{T_0})\, {\rm d}t.$$
 
*Dies führt zu zwei Teilintegralen&nbsp; $I_1$&nbsp; und&nbsp; $I_2$. Das erste lautet:
 
*Dies führt zu zwei Teilintegralen&nbsp; $I_1$&nbsp; und&nbsp; $I_2$. Das erste lautet:

Revision as of 20:15, 16 January 2021

Vorgegebenes Dreiecksignal

We consider the signal  ${x(t)}$  with  $T_0$  according to the adjacent sketch, where the second signal parameter  $T_1 ≤ T_0/2$  is to apply. This signal is dimensionless and limited to  $1$ .

In subtask  (3)  the Fourier series representation  $x_3(t)$ based on only  $N = 3$  coefficients is used.

The difference between the truncated Fourier series and the actual signal is:

$$\varepsilon_3(t)=x_3(t)-x(t).$$




Hints:

  • This exercise belongs to the chapter  Fourier Series.
  • You can find a compact summary of the topic in the two learning videos
Zur Berechnung der Fourierkoeffizienten
Eigenschaften der Fourierreihendarstellung
  • To solve the problem, you can use the following definite integral   (let $n$ be an integer$)$:
$$\int u \cdot \cos(au)\,{\rm d}u = \frac{\cos(au)}{a^2} + \frac{u \cdot \sin(au)}{a}.$$


Questions

1

Which of the following statements are true for all permissible  $T_0$  and  $T_1$ ?

The DC component is  $A_0 = T_1/T_0$.
All sine coefficients  $B_n$  are zeroo.
All cosine coefficients  $A_n$  with even   $n$  are zero.

2

Calculate the Fourier coefficients  $A_n$  in general form. What are the values for  $A_1$,  $A_2$  and  $A_3$  with  $T_1/T_0 = 0.25$?

$A_1\ = \ $

$A_2\ = \ $

$A_3\ = \ $

3

Write the function  ${x(t)}$  as a Fourier series and break it off after  $N = 3$  coefficients. How large is the error   $\varepsilon_3(t = 0)$?

$\varepsilon_3(t = 0)\ = \ $


Solution

(1)  Proposed solutions 1 and 2 are correct:

  • The DC component is actually  $T_1/T_0$. Since  ${x(t)}$  is an even function, all sine coefficients  $B_n = 0$.
  • The even cosine coefficients  $A_{2n}$  only disappear if   $T_1 = T_0/2$ .
  • In this case the condition  ${x(t)} = 2A_0 - x(t - T_0/2)$  is fulfilled $($mit $A_0 = 0.5)$.


(2)  Taking advantage of the symmetry property  ${x(-t)} = {x(t)}$  one obtains:

$$A_n=2 \cdot \frac{2}{T_0}\cdot \hspace{-0.1cm}\int_0^{T_1}(1-\frac{t}{T_1})\cos(2\pi n\frac{t}{T_0})\, {\rm d}t.$$
  • Dies führt zu zwei Teilintegralen  $I_1$  und  $I_2$. Das erste lautet:
$$I_1=\frac{4}{T_0} \cdot \hspace{-0.1cm} \int_0^{T_1}\cos(2\pi n\frac{t}{T_0})\,{\rm d}t=\frac{2}{\pi n}\sin(2\pi n\frac{T_1}{T_0}).$$
  • Für das zweite Integral gilt mit dem Integral auf der Angabenseite:
$$I_2=\frac{-4}{T_0\cdot T_1}\cdot \hspace{-0.1cm}\int_0^{T_1}t\cdot\cos(2\pi n\frac{t}{T_0})\,{\rm d}t=\frac{-4}{T_0\cdot T_1}\cdot \hspace{0.1cm}\left[\frac{T^2_0 \cdot \cos(2\pi nt/T_0)}{4\pi^2n^2}+\frac{T_0 \cdot t \cdot \sin(2\pi nt/T_0)}{2\pi n}\right]^{T_1}_0.$$
  • Dieses letzte Integral kann wie folgt zusammengefasst werden:
$$I_2=\frac{-\cos(2\pi nT_1/T_0)}{\pi^2 n^2T_1/T_0}+\frac{1}{\pi^2 n^2 T_1/T_0}-I_1.$$
  • Daraus folgt mit  $1 - \cos(2\alpha) = 2 \cdot \sin^2(\alpha)$:
$$A_n=I_1+I_2=\frac{1-\cos(2\pi nT_1/T_0)}{\pi^2 n^2 T_1/T_0}=\frac{2\sin^2 (\pi nT_1/T_0)}{\pi^2 n^2 T_1/T_0}.$$
  • Für  $T_1/T_0 = 0.25$  erhält man:
$$A_n=\frac{8\sin^2 (\pi n/4)}{\pi^2 n^2}.$$
  • Insbesondere gilt:
$$A_1=\frac{8}{\pi^2}\sin^2(\pi/4)=\frac{4}{\pi^2}\hspace{0.15cm}\underline{\approx 0.405},\hspace{0.5cm} A_2=\frac{2}{\pi^2}\sin^2(\pi/2)=\frac{2}{\pi^2}\hspace{0.15cm}\underline{\approx 0.202},\hspace{0.5cm} A_3=\frac{8}{9\pi^2}\sin^2(3\pi/4)=\frac{4}{9\pi^2}\hspace{0.15cm}\underline{\approx 0.045}.$$


(3)  Es gilt:

$$x_3(t)=\frac{1}{4}+\frac{4}{\pi^2}\left[\cos(\omega_0 t)+\frac{1}{2}\cos(2\omega_0 t)+\frac{1}{9}\cos(3\omega_0 t)\right].$$
  • Zum Zeitpunkt  $t = 0$  ergibt sich hieraus:
$$x_3(t=0)=\frac{1}{4}+\frac{4}{\pi^2}\cdot \frac{29}{18}\approx 0.9 \hspace{0.5cm}\Rightarrow \hspace{0.5cm}\varepsilon_3(t=0)=x_3(t=0)-x(t=0)\hspace{0.15cm}\underline{=-0.1}.$$
  • Für die Zeit  $t = 0$  und bei Vielfachen der Periodendauer  $T_0$  (jeweils Spitze der Dreiecksfunktionen)  ist die Abweichung betragsmäßig am größten.