*The spectral components of the rectangular signal at $f_0, 3f_0,$ etc., although now no longer suppressed, are increasingly attenuated as the frequency increases, in such a way that the rectangular curve is converted into a periodic triangular signal. The direct component $(1 \hspace{0.05cm} \rm V)$ remains unchanged here, too.
*The spectral components of the rectangular signal at $f_0, 3f_0,$ etc., although now no longer suppressed, are increasingly attenuated as the frequency increases, in such a way that the rectangular curve is converted into a periodic triangular signal. The direct component $(1 \hspace{0.05cm} \rm V)$ remains unchanged here, too.
*Thus, both filters provide the average value of the input signal. For the signal $x(t)$ at hand the filter $\rm A$ is more suitable than the filter $\rm B$for the determination of the mean value, because for the former the length of the impulse response is a multiple of the period $T_0 = 2T$ .
*Thus, both filters provide the average value of the input signal. For the signal $x(t)$ at hand the filter $\rm A$ is more suitable than the filter $\rm B$ for the determination of the mean value, because for the former the length of the impulse response is a multiple of the period $T_0 = 2T$ .
*If this condition – as with the filter $\rm B$ – is not fulfilled, an error signal (triangular in this example) is still superimposed on the mean value.
*If this condition – as with the filter $\rm B$ – is not fulfilled, an error signal (triangular in this example) is still superimposed on the mean value.
Periodic rectangular signal and filter with rectangular impulse response
We consider the periodic rectangular signal $x(t)$ , whose periodic duration is $T_0 = 2T$ , according to the sketch above.
This signal has spectral components at the fundamental frequency $f_0 = 1/T_0 = 1/(2T)$ and at all odd multiples thereof, that is, at $3f_0$, $5f_0,$ and so on. In addition, there is a direct component.
For this purpose, we consider two filters $\rm A$ and $\rm B$ each with rectangular impulse response $h_{\rm A}(t)$ with duration $6T$ and $h_{\rm B}(t)$ with duration $5T$, respectively.
The heights of the two impulse responses are such that the areas of the rectangles each add up to $1$ .
The spectral components of the rectangular signal at $f_0, 3f_0,$ etc., although now no longer suppressed, are increasingly attenuated as the frequency increases, in such a way that the rectangular curve is converted into a periodic triangular signal. The direct component $(1 \hspace{0.05cm} \rm V)$ remains unchanged here, too.
Thus, both filters provide the average value of the input signal. For the signal $x(t)$ at hand the filter $\rm A$ is more suitable than the filter $\rm B$ for the determination of the mean value, because for the former the length of the impulse response is a multiple of the period $T_0 = 2T$ .
If this condition – as with the filter $\rm B$ – is not fulfilled, an error signal (triangular in this example) is still superimposed on the mean value.