Fixed capacitor charging and discharging principle