Main matters of capacitor switching