Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
XPLANATION: FPGA 101<br />
Figure 2 – IDFT or impulse response of the perfect low-pass filter<br />
band—is also apparent in this<br />
response. Ripples in the passband will<br />
affect the signals being filtered. The<br />
s<strong>to</strong>pband attenuation demonstrates<br />
how much of the unwanted frequencies<br />
remain <strong>with</strong>in the filter output.<br />
This can be critical in applications<br />
where specific frequency rejection is<br />
required, for example when filtering<br />
one frequency-division multiplexed<br />
channel from another in a communications<br />
system.<br />
Figure 3 – Low-pass filter impulse responses (<strong>to</strong>p chart) and frequency responses<br />
IMPULSE RESPONSE<br />
It is from the impulse response that the<br />
coefficients for your filter are abstracted.<br />
However, <strong>to</strong> achieve the best performance<br />
from your filter, the standard<br />
practice is <strong>to</strong> use a windowing function.<br />
Windowing is the technique of applying<br />
an additional mathematical function <strong>to</strong> a<br />
truncated impulse response <strong>to</strong> reduce<br />
the undesired effects of truncation.<br />
Figure 2 demonstrates the impulse<br />
response extending out infinitely <strong>with</strong><br />
ripples which, though they diminish significantly<br />
in amplitude, never settle at<br />
zero. Therefore, you must truncate the<br />
impulse response <strong>to</strong> N + 1 coefficients<br />
chosen symmetrically around the center<br />
main lobe, where N is the desired filter<br />
length (please remember that N<br />
must be an even number). This truncation<br />
affects the filter’s performance in<br />
the frequency domain due <strong>to</strong> the abrupt<br />
cu<strong>to</strong>ff of the new, truncated impulse<br />
response. If you were <strong>to</strong> take a discrete<br />
Fourier transform (DFT) of this truncated<br />
impulse response, you would<br />
notice ripples in both the passband and<br />
s<strong>to</strong>pband along <strong>with</strong> reduced roll-off<br />
performance. This is why it is common<br />
practice <strong>to</strong> apply a windowing function<br />
<strong>to</strong> improve the performance.<br />
STEP RESPONSE<br />
The step response, which is obtained by<br />
integrating the impulse response,<br />
demonstrates the time-domain performance<br />
of the filter and how the filter itself<br />
modifies this performance. The three<br />
parameters of importance when you are<br />
observing the step response are the rise<br />
time, overshoot and linearity.<br />
The rise time is the number of samples<br />
it takes <strong>to</strong> rise between 10 percent<br />
and 90 percent of the amplitude levels,<br />
demonstrating the speed of the filter. To<br />
be of use <strong>with</strong>in your final system, the filter<br />
must be able <strong>to</strong> distinguish between<br />
events in the input signal; therefore, the<br />
step response must be shorter than the<br />
spacing of events in the signal.<br />
Overshoot is the dis<strong>to</strong>rtion that the<br />
filter adds <strong>to</strong> the signal as it is processing<br />
it. Reducing the overshoot in the<br />
38 <strong>Xcell</strong> <strong>Journal</strong> First Quarter 2012