Standard capacitor detection and calibration