Capacitor charging and discharging
Time:2021.12.22
View:

A capacitor is a passive device that stores energy in the form of an electric field. When needed, the capacitor can release the stored energy to the circuit. The capacitor is composed of two conductive parallel plates, and an insulating material or a dielectric material is filled between the plates. Figure 1 and Figure 2 are the basic structure and symbols of the capacitor, respectively.

Figure 1: The basic structure of a capacitor

Figure 2: Circuit symbol of the capacitor
When a capacitor is connected to a circuit whose power source is direct current (DC), under certain circumstances, two processes will occur, namely the "charging" and "discharging" of the capacitor.
If the capacitor is connected to the DC power supply, as shown in Figure 3, there is current flowing in the circuit. The two boards will receive equal amounts of opposite charges, and the capacitor is charging at this time, and the potential difference vc between its two ends gradually increases. Once the voltage vc at both ends of the capacitor increases to equal to the power supply voltage V, vc = V, the capacitor is charged, no current flows in the circuit, and the charging process of the capacitor is completed.

Figure 3: The capacitor is charging
Since after the capacitor charging process is completed, no current flows through the capacitor, so in the DC circuit, the capacitor can be equivalent to an open circuit or R = ∞, and the voltage vc on the capacitor cannot change suddenly.
When the connection between the capacitor and the power supply is cut off, the capacitor is discharged through the resistor RD, and the voltage between the two boards will gradually drop to zero, vc = 0, as shown in Figure 4.

Figure 4: The capacitor is discharging
In Fig. 3 and Fig. 4, the resistance value of RC and RD influence the charging and discharging speed of the electric capacity respectively.
The product of the resistance value R and the capacitance value C is called the time constant τ, which describes the charging and discharging speed of the capacitor, see Figure 5.

Figure 5: Voltage vc and current iC during charging and discharging
The smaller the capacitance value or resistance value, and the smaller the time constant, the faster the charging and discharging speed of the capacitor, and vice versa.
Capacitors exist in almost all electronic circuits, and it can be used as a "fast battery". For example, in the flashlight of a camera, the capacitor acts as an energy storage element to quickly release energy at the moment of the flash.