Techniques for increasing the accuracy of detection of atrial capture may
involve determining a ventricular sensing window for ventricular senses
associated with atrial test pulses based on observed ventricular senses.
For example, an implanted medical device may deliver atrial test pulses
to a patient at a time prior to respective atrial pacing pulses to
evaluate atrial capture. The implanted medical device observes
ventricular senses in response to the atrial test pulses. The implanted
medical device may determine a point such as, for example, a midpoint of
the ventricular sensing window for the ventricular senses and shift a
midpoint of the default ventricular window to the determined midpoint.
Further, the implanted medical device may measure patient parameters,
such as heart rate and activity level, and determine a ventricular
sensing window for ventricular senses associated with atrial test pulses
based on the observed ventricular senses and measured patient parameters.