A minute ventilation sensing device in which transthoracic impedance is
measured with voltage sense electrodes during injection of current by
excitation current electrodes. The device is capable of operating with
different configurations of voltage sense and excitation current
electrodes. By computing a signal and/or noise level for a number of
available configurations, the electrodes resulting in the highest
signal-to-noise ratio may be selected for use by the device.