Electronics/RC transient

From testwiki
Jump to navigation Jump to search

< Electronics

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


V0=vc(t)+dvc(t)dtRC


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

By letting τ=RC and rearranging the equation:

dvc(t)dt+1τvc(t)=1τV0


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

e1τdt


etτ



Multiplying both sides by the integrating factor:

dvc(t)dtetτ+1τvc(t)etτ=1τV0etτ


Note that:

ddt[et/τvc(t)]=dvc(t)dtetτ+1τvc(t)etτ


Substituting and integrating both sides:

etτvc(t)=V0etτ+K


where K is the integration constant.

When t=0

vc(0)=0


Therefore:

K=V0


When t>0 this gives:

etτvc(t)=V0etτV0


vc(t)=V0V0etτ


vc(t)=V0(1etτ)


when t<0:

vc(t)=0