Methods for performing cardiac signal analysis in an implanted medical
device, and devices configured to perform illustrative methods of cardiac
signal analysis. A cardiac signal is captured by an implanted device
using implanted electrodes and, during at least certain conditions, the
cardiac signal undergoes heuristic filtering. In some embodiments,
heuristic filtering is achieved by modifying a signal or value that is
used as an indicator of received signal amplitude. In an illustrative
example, the heuristic filtering includes periodically incrementing or
decrementing the signal or value toward a desired quiescent point, where
the heuristic filter period is significantly longer than the sampling
period for the signal itself. In another illustrative example, the
heuristic filter frequency can be adjusted dynamically to keep the signal
average near the desired quiescent point.