Theoretical and Experimental Analysis of Energy in Charging a Capacitor by Step-Wise Potential

In this paper, charging capacitor in RC circuit, to a final voltage, via arbitrary number of steps, is investigated and analyzed both theoretically and experimentally. The obtained results show that the stored energy in the capacitor is constant independent of N, but the dissipated energy in the resistor and the consumed energy by the power supply decreases as number of steps N increases (adiabatic charging). The limit when the step number goes to infinity is examined and our result shows that the dissipated energy vanishes theoretically. This limit is carried out experimentally by using a ramp potential.


Introduction
Charging and discharging capacitors play important role in many applications of electrical energy storage [1] [2] [3]. During the charging process of a capacitor, the energy dissipation is usually of great concern [4] [5] [6] [7], so the efficient charging is a crucial factor and has been recently investigated [8] [9] [10]. Furthermore, reduction in energy dissipation has become one of the major concerns in communications and computing [11] [12] [13]. Recently, there has been more concern about energy storage and dissipation with the emergence of Graphene and other nanomaterials in recent development of supercapacitors [14] [15] [16] [17]. The usual treatment of charging a capacitor is the traditional R-C circuit, in which a capacitor of capacitance c and resistor of resistance R are connected in series with a power supply of constant voltage, V 0 . It is widely well-known that (1) Therefore, the consumed energy by the power supply is divided equally between the stored energy in the capacitor and the dissipated energy regardless of the value of the resistance, R. It has long been recognized that abruptly charging the capacitor is accompanied by energy loss given by Equation (1). However, workers suggested gradual (adiabatic) charging to lower the energy loss [18] [19] [20] [21].
In this paper, we consider RC circuit in which the capacitor is charged up to a final potential V 0 through N steps. We derive the energy stored, the dissipation energy, and the consumed energy at the end of arbitrary j th step. We also setup an experiment for this adiabatic charging and compare the theoretical derived quantities with the experimental ones. It is shown that, the final energy stored in the capacitor is a conserved quantity (given by Equation (1)), but the dissipated energy and the consumed energy by the power supply decrease as the number of steps increases. We also consider, theoretically, the special case, N → ∞ , in which case the dissipation energy vanishes and the consumed energy is just the energy stored in the capacitor. Experimentally, this special case is considered by using a ramp potential in the RC circuit and we show that the experimental results are in good agreement with the theoretical ones.
The structure of the manuscript is as follows: In Section 2, charging a capacitor in RC circuit using stepwise potential is theoretically examined and analyzed, so as the dissipation energy and the consumed energy are expressed in terms of the number of steps. In Section 3, the charging process of the capacitor in RC circuit is carried out experimentally using N steps potential, so the final charge on the capacitor is measured as the area under the current-time curve for each N. This enables us to compute the stored and the consumed energies, so the dissipation energy is computed from the difference between the two. Section 3 is devoted for conclusions and discussion.

RC with N Steps Charging: Theoretical Analysis
We consider RC in which a capacitor of capacitance c is connected in series to a resistor of resistance R and a power supply. The procedure is to charge the capacitor to a final potential V 0 through N steps. So in the process, the potential is carried out as So considering the j th step, the potential of the power supply is 0 jV N and thus Kirchhoff law yields whose solution gives the charge on the capacitor during the j th step; So the final charge at the end of the j th step is It is noticed that the amount of charge during each step is the same, which can be seen from The heat energy dissipated in the resistor during the j th step is: where the current, d is found from Equation (4). It is clear that the dissipated heat energy is independent of the step number, and thus it is the same for each step. Therefore, the accumulated dissipated heat energy at the end of the j th step, Q j is and therefore, at the end of the final step (j = N), the total dissipated heat energy is given by This shows that Q decreases as N increases and thus the dissipated heat energy vanishes as N → ∞ . Now we consider the energy stored in the capacitor during this process: At the end of the j th step, the potential , so the stored energy is This can be proved by mathematical induction as follows; 2) We assume it is true at j and need to show it is true at j + 1. Energy stored between steps j and j + 1 is ( ) But the stored energy at end of the ( ) So, ( )

Journal of Applied Mathematics and Physics
That completes the proof, therefore the energy stored in the capacitor at the end of the j th step is: which shows that the energy stored in the capacitor is a conservative quantity, i.e it depends on the potential difference between the initial and final states. It is interesting to note, by comparing Equation (6) and Equation (8), that at the end of the j th step j j U Q ≥ . The equality sign holds only for j = 1.
Finally, we consider the consumed energy by the power supply (input energy): This can be achieved by two methods: In the first, we calculate the work done by the power supply throughout the whole process and, in the second, we add the energy stored in the capacitor to the dissipation energy.
For the first method: We compute the input energy for each step and then we sum to the required step (say the j th step). Letting Therefore, the input energy, E j up to the j th step is given by ( ) The total input energy, E is obtained by substituting, j = N, with the result; Obviously, in the limit N → ∞ , Equation (11) gives which is equal to the energy stored in the capacitor. This is expected since, in this case, the dissipation energy vanishes.
For the second method: At the end of the j th step, the input energy is the sum of the energy stored in the capacitor and the dissipation energy, which with the help of Equation (6) and Equation (8), one gets The above equation can be simply written as which is exactly the same as Equation (10). It reproduces the total input energy, given by Equation (11), when j = N.

RC with N Steps Charging: Experimental
In this section, we consider RC circuit with applied voltage that can be set at any number of steps, N to achieve a final voltage V 0 . The potential steps was applied Journal of Applied Mathematics and Physics using computerized PGZ 402 universal potentiostate (radiometer analytical).
Connection to RC circuit was established using two electrode connections mode as shown in Figure 1.
The procedure goes as follows: The voltage source is set at the required number of steps with duration time for each step much greater than the time constant (RC) of the circuit. The current in the circuit is plotted as function of time.
The total charge, q delivered by the power source and accumulated at the capacitor is calculated by finding the area under the current-time curve. The final energy stored in the capacitor is calculated from the formula, 2 2 U q c = . The input energy (consumed energy) is calculated as follows: where V avg is the average potential the process of N steps and is given by Using ( ) so the input energy becomes The dissipated energy is calculated from the difference between E and U, The experimental measurements were taken for different values of the number of steps, N. The special case N → ∞ was considered by applying a ramp potential from the power source. For each value of N, a graph for current vs.
At the beginning of each step (t = 0), the initial current, 0 Using the values, V 0 = 1 V, and R = 10 4 Ω, the initial current for each step becomes µ . This value is in agreement with the experimental value for each step number in all stepwise potentials. Figure 12 represents the current-time curve for the ramp potential which corresponds to the special stepwise case, N → ∞ . In order to explain this case, we derive below the current as function of time when the power source is a ramp potential. Consider the ramp potential is the time constant of the RC circuit. Applying Kirchhoff law to the circuit gives us (20) The above equation is a linear, inhomogeneous, first-order differential equation, which has the same structure as the standard form, namely The well-known method to solve the above equation is by the integrating factor method. In this method, defining an integrating factor ( ) , then the solution for Equation (21) is where A is a constant to be found from the initial condition. Applying this method to our differential Equation (21), we get ( ) , so that the integral in Equation (22), gives (after integration by parts) Since the capacitor is initially uncharged, so q = 0 at t = 0 determines the constant A, and the substitution, The electric current is now readily obtained, using d d i q t = , with the result of ( ) Therefore, after a long time t τ , the electric current attains a constant value, V 0 /R. This explains the plateau behavior in Figure 12. The almost linear behavior of the current for very short time t τ in Figure 12 can be explained by expanding the exponential in Equation (26) and retaining the first two terms to get , which is linear in time.
Chrono-coulometry experiment has been performed in order to determine the capacitance best value, c of the used commercial capacitor. In this method, a constant voltage, V 0 = 1 V is applied and then the charge accumulated on the capacitor is plotted as function of time as shown in Figure 13.
while the experimental and theoretical values of the dissipated energy and the input energy are calculated from Equations ((17), (7), (16), and (11)) respectively. Our experimental and theoretical results are tabulated in Table 1.
Our results show a good agreement between the experimental and theoretical values. For comparison purposes, we compute the ratios between both the stored energy and the dissipated energy on one hand, and the input energy on the other for the experimental and the theoretical values. These quantities are shown in Table 2. Figure 13. The charge and current as function of time to find the capacitance, c.  Figure 14. Experimental ratios of both the stored and dissipated energy relative to the input energy.
It is noticed that we achieved a very high percentage for the stored energy ratio, and thus a very low percentage for the dissipation energy ratio. We show in Figure 14, the experimental ratios between the energy stored and the dissipated energy relative to the input energy by the power source.

Discussion and Conclusion
In this paper, we investigated the stepwise charging of a capacitor in RC circuit.
The potential step was applied using the PGZ 402 universal potentiostate. In the first part, theoretical investigation is carried out: Analytical results for the dissipation energy and the consumed energy were derived when charging the capacitor by N steps to achieve the final voltage. It was shown that each of the energy Journal of Applied Mathematics and Physics dissipation and the consumed energy decreases as the step number N increases, while the energy stored in the capacitor is independent of N. An interesting result is that the dissipation energy vanishes as N → ∞ and in this case the consumed energy is equal to the stored energy in the capacitor. In the second part, experimental analysis is investigated: This has been carried out by plotting current vs. time in each case and the charge on the capacitor is computed from the area under the curve. The calculated charge was used to find the energy stored in the capacitor and the use of Equations (16) and (17) yields the dissipated energy and the consumed energy. Our theoretical results were verified by carrying experiment measurements of the consumed energy, stored energy and the dissipated energy using stepwise potential and the ramp potential that corresponds to the case N → ∞ . Our experimental results were found to be in good agreement with the theoretical ones.