The method involves generating a series of measuring signals by a sensor. A value of noise parameter is continuously determined from the measuring signals for a predetermined time interval by a recursive filter, where the value indicates impairing of the measurement by interference signals. A determination is made to find rapid changing of the noise parameter from continuously determined values of the noise parameter. Speed change of the noise parameter is evaluated by comparison with a threshold value for detection of a malfunction in the sensor.