Fig. (13) The voltage waveform of charging capacitor and battery.