A method for carrying out an alternating heating and capacitive measuring operation by a common heating wire, comprising the following steps:
- carrying out a heating operation, during which a pair of first switching elements and a pair of second switching elements are in a conducting state owing to interconnection by way of a control circuit, the pair of first switching elements and the pair of second switching elements and the common heating wire are connected in series, and the common heating wire is conductively connected to one of two different heating potentials via one of the pair of first switching elements and one of the pair of second switching elements connected to the one of the pair of first switching elements via a conductor section, such that a heating current is applied to the common heating wire;
- initiating a change from the heating operation to a measuring operation of the pair of first switching elements and the pair of second switching elements by way of the control circuit, wherein, during the measuring operation, the pair of first switching elements and the pair of second switching elements are in a blocking state, such that the two connections of the common heating wire that are electrically conductive in the heating operation at the two different heating potentials are each interrupted several times in the measuring operation;
- carrying out the measuring operation in which a measuring capacitance of the common heating wire is determined with respect to a reference potential by applying an AC voltage of an AC voltage source to the common heating wire by way of a detection circuit;
- carrying out a test phase falling within a time frame of the measuring operation, during which, by a test circuit containing at least one third switching element and a test impedance, the test circuit is switched by way of the control circuit in such a way that a test impedance is added to the measuring capacitance and an associated change in the measuring capacitance and/or a total impedance made up of the measuring capacitance and the test impedance is at least detected by the detection circuit.