|
26 | 26 | "source": [
|
27 | 27 | "### Causal Filters\n",
|
28 | 28 | "\n",
|
29 |
| - "Let's assume that the desired frequency characteristics of the filter are given by the frequency response (i.e. the DTFT spectrum) $H_\\text{d}(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$. The corresponding impulse response is computed by its inverse discrete-time Fourier transform (IDTFT)\n", |
| 29 | + "Let's assume that the desired frequency characteristics of the filter are given by its frequency response (i.e. discrete-time Fourier transform) $H_\\text{d}(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$. The corresponding impulse response is computed by its inverse discrete-time Fourier transform (IDTFT)\n", |
30 | 30 | "\n",
|
31 | 31 | "\\begin{equation}\n",
|
32 | 32 | "h_\\text{d}[k] = \\frac{1}{2 \\pi} \\int\\limits_{- \\pi}^{\\pi} H_\\text{d}(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) \\, \\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega\\,k} \\; \\mathrm{d}\\Omega\n",
|
|
38 | 38 | "h[k] = h_\\text{d}[k] \\cdot w[k]\n",
|
39 | 39 | "\\end{equation}\n",
|
40 | 40 | "\n",
|
41 |
| - "where $h[k]$ denotes the impulse response of the designed filter. Its frequency response $H(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$ is given by the multiplication theorem of the discrete-time Fourier transform (DTFT)\n", |
| 41 | + "where $h[k]$ denotes the impulse response of the designed filter and $w[k] = 0$ for $k < 0$. Its frequency response $H(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$ is given by the multiplication theorem of the discrete-time Fourier transform (DTFT)\n", |
42 | 42 | "\n",
|
43 | 43 | "\\begin{equation}\n",
|
44 | 44 | "H(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) = \\frac{1}{2 \\pi} \\; H_\\text{d}(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) \\circledast W(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})\n",
|
|
182 | 182 | "source": [
|
183 | 183 | "### Zero-Phase Filters\n",
|
184 | 184 | "\n",
|
185 |
| - "Above results show that an ideal-low pass cannot be realized very well with the window method. The reason is that an ideal-low pass has zero-phase, as most of the idealized filters.\n", |
| 185 | + "Above results show that an ideal-low pass cannot be realized very well by the window method. The reason is that an ideal-low pass has zero-phase, as most of the idealized filters.\n", |
186 | 186 | "\n",
|
187 | 187 | "Lets assume a general zero-phase filter with transfer function $H_d(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) = A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$ with amplitude $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) \\in \\mathbb{R}$. Its impulse response $h_d[k] = \\mathcal{F}_*^{-1} \\{ H_d(e^{j \\Omega} \\}$ is conjugate complex symmetric\n",
|
188 | 188 | "\n",
|
189 | 189 | "\\begin{equation}\n",
|
190 | 190 | "h_d[k] = h_d^*[-k]\n",
|
191 | 191 | "\\end{equation}\n",
|
192 | 192 | "\n",
|
193 |
| - "due to the symmetry relations of the DTFT. Hence, a transfer function with zero-phase cannot be realized by a causal non-recursive filter. This observation motivates to replace the zero-phase by a linear-phase in such situations. This is illustrated in the following." |
| 193 | + "due to the symmetry relations of the DTFT. If the desired impulse response has large values around $k=0$, removal of the anti-causal part by windowing will result in large deviations between the desired transfer function and the designed filter. Such filters cannot be realized very well by simple windowing of the desired impulse response. This observation motivates to replace the zero-phase by a linear-phase in such situations in order to shift the large values of the desired impulse response to the center of the window. This is illustrated in the following." |
194 | 194 | ]
|
195 | 195 | },
|
196 | 196 | {
|
|
221 | 221 | "\n",
|
222 | 222 | "Introducing the symmetry relations of the impulse response $h[k]$ into the DTFT and comparing the result with above definition of a generalized linear phase system reveals four different types of linear-phase systems. These can be discriminated with respect to their phase and magnitude characteristics\n",
|
223 | 223 | "\n",
|
224 |
| - "| Type | Length $N$ | Impulse Response $h[k]\\;$ | Constant Group Delay $\\alpha$ in Samples| Constant Phase $\\beta$ | Transfer Function $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$ |\n", |
| 224 | + "| Type | Length $N$ | Impulse Response $h[k]\\;$ | Group Delay $\\alpha$ in Samples| Constant Phase $\\beta$ | Transfer Function $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega})$ |\n", |
225 | 225 | "| :---: | :---: | :---: | :---:| :---: | :---: |\n",
|
226 | 226 | "| 1 | odd | $h[k] = h[N-1-k]$ | $\\alpha = \\frac{N-1}{2} \\in \\mathbb{N}$ | $\\beta = \\{0, \\pi\\}$ | $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) = A(\\mathrm{e}^{-\\,\\mathrm{j}\\,\\Omega})$, all filter characteristics|\n",
|
227 | 227 | "| 2 | even| $h[k] = h[N-1-k]$ | $\\alpha = \\frac{N-1}{2} \\notin \\mathbb{N}$ | $\\beta = \\{0, \\pi\\}$ | $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\Omega}) = A(\\mathrm{e}^{-\\,\\mathrm{j}\\,\\Omega})$, $A(\\mathrm{e}^{\\,\\mathrm{j}\\,\\pi}) = 0$, only lowpass or bandpass|\n",
|
|
0 commit comments