In an implantable heart stimulating device, system and method, electrical
stimulation pulses are delivered to first and second ventricles of a
heart with a variable time interval therebetween, and signals are sensed
at two different positions in the heart, from which an impedance value is
derived. A minimum value and a maximum value of the impedance value are
determined during a heart cycle, and a relationship between the minimum
and maximum values also is determined. The time interval is varied and
the relationship is monitored over a number of heart cycles. The time
interval is set so that the relationship satisfies a predetermined
requirement.