Electronics/RC transient

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

< Electronics

RC switch.PNG

When the switch is open, the initial voltage across the capacitor is zero. When the switch closes (which we will refer to as time zero) the capacitor charges via the resistor to V0.

When the switch is closed, the circuit must follow the relationship:

V0 = vc(t) + ic(t)R


V_0=v_c(t)+\frac{dv_c(t)}{dt}RC


which is derived by analysing the circuit using Kirchoff's Voltage Law.

By letting τ = RC and rearranging the equation:

\frac{dv_c(t)}{dt}+\frac{1}{\tau}v_c(t)=\frac{1}{\tau}V_0


This is a first order linear differential equation with integrating factor:

e^{\int \frac{1}{\tau}dt}


e^{\frac{t}{\tau}}



Multiplying both sides by the integrating factor:

\frac{dv_c(t)}{dt}e^{\frac{t}{\tau}}+\frac{1}{\tau}v_c(t)e^{\frac{t}{\tau}}=\frac{1}{\tau}V_0e^{\frac{t}{\tau}}


Note that:

\frac{d}{dt}[e^{t/\tau}v_c(t)]=\frac{dv_c(t)}{dt}e^{\frac{t}{\tau}}+\frac{1}{\tau}v_c(t)e^{\frac{t}{\tau}}


Substituting and integrating both sides:

e^{\frac{t}{\tau}}v_c(t)=V_0e^{\frac{t}{\tau}}+K


where K is the integration constant.

When t=0

vc(0) = 0


Therefore:

K = - V0


When t>0 this gives:

e^{\frac{t}{\tau}}v_c(t)=V_0e^{\frac{t}{\tau}}-V_0


v_c(t)=V_0-V_0e^{-\frac{t}{\tau}}


v_c(t)=V_0(1-e^{-\frac{t}{\tau}})


when t<0:

vc(t) = 0


Rc circuit plot.png