How to detect the quality of compensation capacitors