The method for the continuous cleaning of the concentration sensor was developed. Cleaning of the sensor is carried out by the compact vibrator that works from compressed air. The vibrator is integrated into the sensor and provides an efficient mechanical cleaning of the sensor, as well as the intensive mixing of the solution. This allows to perform the measurements in presence of oils, precipitations and other contaminants.