This paper firstly presents a case study dealing with the detection mechanism for multi-phase interface levels, taking a parallel-plate capacitance sensor as an example. Then, on the basis of the basic algorithm and difference algorithm, a novel adaptive algorithm is developed. Experimental results show that the adaptive algorithm can reasonably satisfy different operating environments.