Design Considerations
AN64846 - Getting Started with CapSense
®
Doc. No. 001-64846 Rev. *X
56
3.4.2 IIR Filter
Infinite impulse response filters (IIR) produce a step response similar to RC filters. IIR filters attenuate high-frequency
noise components and pass lower frequency signals, such as finger touch-response waveforms.
Figure 3-25. IIR Filter Step Response
The general equation for a first-order IIR filter is:
𝑦[𝑖] =
1
𝑘
(𝑥[𝑖] + ((𝑘 − 1) ×𝑦[𝑖 – 1]))
Equation 17
and
illustrate the results of a first-order IIR filter on real CapSense data using the filter equation
with k = 16:
𝑦[𝑖] =
1
16
(𝑥[𝑖] + (15 ×𝑦[𝑖 − 1]))
Equation 18
Figure 3-26. IIR Filter Noise