Difference between revisions of "Aufgaben:Exercise 2.5Z: Square Wave"
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
The DC signal coefficient is $A_0 = \Delta t/T_0$ and the following applies to the cosine coefficients: | The DC signal coefficient is $A_0 = \Delta t/T_0$ and the following applies to the cosine coefficients: | ||
:$$A_n=\frac{2}{n\pi}\cdot \sin(n\pi \Delta t/T_0).$$ | :$$A_n=\frac{2}{n\pi}\cdot \sin(n\pi \Delta t/T_0).$$ | ||
− | In subtasks '''(1)''' and '''(2)''' the signal $x(t)$ is | + | In subtasks '''(1)''' and '''(2)''' the signal $x(t)$ is analyzed for the two parameter values $\Delta t/T_0 = 0.5$ and $\Delta t/T_0 = 0.25$ respectively. |
Then we consider the two signals $y(t)$ and $z(t)$, each with $\Delta t/T_0 = 0.25$. There is a fixed relationship between these signals and $x(t)$ which can be exploited for the calculation. | Then we consider the two signals $y(t)$ and $z(t)$, each with $\Delta t/T_0 = 0.25$. There is a fixed relationship between these signals and $x(t)$ which can be exploited for the calculation. | ||
Line 34: | Line 34: | ||
{Which statements are true for the signal $x(t)$ with $\Delta t/T_0 = 0.5$? | {Which statements are true for the signal $x(t)$ with $\Delta t/T_0 = 0.5$? | ||
|type="[]"} | |type="[]"} | ||
− | + The spectral function ${X(f)}$ contains a Dirac function at $f = 0$ with the weight $0.5$. | + | + The spectral function ${X(f)}$ contains a Dirac delta function at $f = 0$ with the weight $0.5$. |
− | - The spectral function ${X(f)}$ contains Dirac lines at all multiples of the base frequency $f_0 = 1/T_0$. | + | - The spectral function ${X(f)}$ contains Dirac delta lines at all multiples of the base frequency $f_0 = 1/T_0$. |
− | + The spectral function ${X(f)}$ contains Dirac lines at odd multiples of the base frequency $f_0$. | + | + The spectral function ${X(f)}$ contains Dirac delta lines at odd multiples of the base frequency $f_0$. |
- The spectral line at $f_0$ has the weight $2/\pi = 0.636$. | - The spectral line at $f_0$ has the weight $2/\pi = 0.636$. | ||
+ The spectral line at $–\hspace{-0.1cm}f_0$ has the weight $1/\pi = 0.318$. | + The spectral line at $–\hspace{-0.1cm}f_0$ has the weight $1/\pi = 0.318$. | ||
Line 43: | Line 43: | ||
{Which statements are true for the signal $x(t)$ with $\Delta t/T_0 = 0.25$? | {Which statements are true for the signal $x(t)$ with $\Delta t/T_0 = 0.25$? | ||
|type="[]"} | |type="[]"} | ||
− | + The spectral function ${X(f)}$ contains Dirac lines at all odd multiples of the base frequency $f_0$. | + | + The spectral function ${X(f)}$ contains Dirac delta lines at all odd multiples of the base frequency $f_0$. |
− | + ${X(f)}$ has Dirac lines at $\pm2f_0$, $\pm6f_0$, $\pm10f_0$, etc. | + | + ${X(f)}$ has Dirac delta lines at $\pm2f_0$, $\pm6f_0$, $\pm10f_0$, etc. |
− | - ${X(f)}$ has Dirac lines at $\pm4f_0$, $\pm8f_0$, $\pm12f_0$, etc. | + | - ${X(f)}$ has Dirac delta lines at $\pm4f_0$, $\pm8f_0$, $\pm12f_0$, etc. |
− | + The Dirac line at $2f_0$ has the weight $1/(2\pi) = 0.159$. | + | + The Dirac delta line at $2f_0$ has the weight $1/(2\pi) = 0.159$. |
Line 72: | Line 72: | ||
{{ML-Kopf}} | {{ML-Kopf}} | ||
'''(1)''' <u>Statements 1, 3 and 5</u> are correct: | '''(1)''' <u>Statements 1, 3 and 5</u> are correct: | ||
− | *The spectral function contains a Dirac line at $f = 0$ with | + | *The spectral function contains a Dirac delta line at $f = 0$ with weight $0.5$ (DC component) as well as further spectral lines at odd multiples ($n = \pm1, \pm3, \pm5,\text{...}$ of $f_0$. |
− | The weights at $\pm f_0$ are $A_1/2 = 1/\pi = 0.318$ in each case. | + | *The weights at $\pm f_0$ are $A_1/2 = 1/\pi = 0.318$ in each case. |
'''(2)''' <u>Statements 1, 2 and 4</u> are correct: | '''(2)''' <u>Statements 1, 2 and 4</u> are correct: | ||
*Spectral lines exist at all odd multiples of the basic frequency, and additionally at the $2–{\rm fold}$, $6–{\rm fold}$ and $10–{\rm fold}$. | *Spectral lines exist at all odd multiples of the basic frequency, and additionally at the $2–{\rm fold}$, $6–{\rm fold}$ and $10–{\rm fold}$. | ||
− | *For example $A_1 = 1/\pi = 0.450$. The Dirac line at $2f_0$ thus has the weight $A_2/2 = 1/(2\pi) = 0.159$. | + | *For example $A_1 = 1/\pi = 0.450$. The Dirac delta line at $2f_0$ thus has the weight $A_2/2 = 1/(2\pi) = 0.159$. |
*For $n = 4$, $n = 8$, etc., on the other hand, the coefficients $A_n = 0$, since the following holds for the sine function: $\sin(\pi) = \sin(2\pi) =\text{ ...} = 0$. | *For $n = 4$, $n = 8$, etc., on the other hand, the coefficients $A_n = 0$, since the following holds for the sine function: $\sin(\pi) = \sin(2\pi) =\text{ ...} = 0$. | ||
Line 96: | Line 96: | ||
Thus one obtains: | Thus one obtains: | ||
:$$A_1^{(z)}=-A_1^{(y)}={\sqrt2}/{\pi}\hspace{0.15cm}\underline{=+0.450}, \hspace {0.5cm} A_2^{(z)}=A_2^{(y)}=-{1}/{\pi}\hspace{0.15cm}\underline{=-0.318}.$$ | :$$A_1^{(z)}=-A_1^{(y)}={\sqrt2}/{\pi}\hspace{0.15cm}\underline{=+0.450}, \hspace {0.5cm} A_2^{(z)}=A_2^{(y)}=-{1}/{\pi}\hspace{0.15cm}\underline{=-0.318}.$$ | ||
− | + | The same result is obtained starting from the given coefficients with $\Delta t/T_0 = 0.75$: | |
:$$A_1^{(z)}={2}/{\pi} \cdot \sin({3}/{4}\cdot \pi)={\sqrt2}/{\pi}, | :$$A_1^{(z)}={2}/{\pi} \cdot \sin({3}/{4}\cdot \pi)={\sqrt2}/{\pi}, | ||
\hspace {0.5cm}A_2^{(z)}= | \hspace {0.5cm}A_2^{(z)}= |
Latest revision as of 13:30, 18 January 2023
The signal $x(t)$ periodic with time $T_0$ is described by the single parameter $\Delta t$; let the amplitude of the square-wave pulses be $1$ in each case. Since $x(t)$ is even, all sine coefficients $B_n = 0$.
The DC signal coefficient is $A_0 = \Delta t/T_0$ and the following applies to the cosine coefficients:
- $$A_n=\frac{2}{n\pi}\cdot \sin(n\pi \Delta t/T_0).$$
In subtasks (1) and (2) the signal $x(t)$ is analyzed for the two parameter values $\Delta t/T_0 = 0.5$ and $\Delta t/T_0 = 0.25$ respectively.
Then we consider the two signals $y(t)$ and $z(t)$, each with $\Delta t/T_0 = 0.25$. There is a fixed relationship between these signals and $x(t)$ which can be exploited for the calculation.
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 ⇒ "To calculate the Fourier coefficients",
- Eigenschaften der Fourierreihendarstellung ⇒ "Properties of the Fourier series representation".
Questions
Solution
- The spectral function contains a Dirac delta line at $f = 0$ with weight $0.5$ (DC component) as well as further spectral lines at odd multiples ($n = \pm1, \pm3, \pm5,\text{...}$ of $f_0$.
- The weights at $\pm f_0$ are $A_1/2 = 1/\pi = 0.318$ in each case.
(2) Statements 1, 2 and 4 are correct:
- Spectral lines exist at all odd multiples of the basic frequency, and additionally at the $2–{\rm fold}$, $6–{\rm fold}$ and $10–{\rm fold}$.
- For example $A_1 = 1/\pi = 0.450$. The Dirac delta line at $2f_0$ thus has the weight $A_2/2 = 1/(2\pi) = 0.159$.
- For $n = 4$, $n = 8$, etc., on the other hand, the coefficients $A_n = 0$, since the following holds for the sine function: $\sin(\pi) = \sin(2\pi) =\text{ ...} = 0$.
(3) From the graphical representation of the signal ${y(t)}$ it is clear that $A_0 = 0.75$ must apply. The same result can be obtained using the relationship:
- $$A_0^{(y)}=1-A_0^{(x)}=1-0.25\hspace{0.15cm}\underline{=0.75}.$$
(4) The following applies: ${y(t)} = 1 - x(t)$. For $n \neq 0$ the Fourier coefficients are the same as for the signal $x(t)$, but with negative signs. In particular:
- $$A_1^{(y)} = -A_1^{(x)}=-{2}/{\pi} \cdot \sin({\pi}/{4})= -{\sqrt2}/{\pi}\hspace{0.15cm}\underline{\approx -0.450},$$
- $$A_2^{(y)} = -A_2^{(x)}=-{1}/{\pi}\hspace{0.15cm}\underline{ \approx - 0.318}.$$
(5) ${z(t)} = y(t - T_0/2)$ applies. With the Fourier series representation of ${y(t)}$ it follows:
- $$z(t)=A_0+A_1^{(y)}\cos(\omega_0(t-\frac{T_0}{2}))+A_2^{(y)}\cos(2\omega_0(t-\frac{T_0}{2}))+A_3^{(y)}\cos(3\omega_0(t-\frac{T_0}{2}))+\ldots$$
- $$\Rightarrow \quad z(t)=A_0-A_1^{(y)}\cos(\omega_0 t)+A_2^{(y)}\cos(2\omega_0 t)-A_3^{(y)}\cos(3\omega_0 t)+\text{...}$$
Thus one obtains:
- $$A_1^{(z)}=-A_1^{(y)}={\sqrt2}/{\pi}\hspace{0.15cm}\underline{=+0.450}, \hspace {0.5cm} A_2^{(z)}=A_2^{(y)}=-{1}/{\pi}\hspace{0.15cm}\underline{=-0.318}.$$
The same result is obtained starting from the given coefficients with $\Delta t/T_0 = 0.75$:
- $$A_1^{(z)}={2}/{\pi} \cdot \sin({3}/{4}\cdot \pi)={\sqrt2}/{\pi}, \hspace {0.5cm}A_2^{(z)}= {1}/{\pi} \cdot \sin({3}/{2} \cdot \pi) =-{1}/{\pi}.$$