Given Vin(t)=sinωt and Vin=Vc+Vr(out). Use laplace transform to show that
Vout=1+(ωRC)2ωRCcosωt+1+(ωRC)2(ωRC)2sinωt−1+(ωRC)2ωRCe−t/RC
**Solution.**
Start with Kirchhoff's loop law:
Vin=Vc+Vrsinωt=IR+CQ=RdtdQ(t)+CQ(t)
We have differential equation:
RQ˙+CQ=sinωt
Find the general solution of our differential equation:
RQ˙+CQ=0Qgs(t)=eAtRAeAt+CeAt=0RA+C1=0A=−RC1
So
Qgs(t)=e−RC1
Find the particular solution of our differential equation:
Qps(t)=Asinωt+Bcosωtsinωt=ARωcosωt−BRω+CAsinωt+CBcosωt
Use laplace transform: f(t)=F(s)
ω2−s2ω(1+ωRB−CA)+ω2−s2s(−ωRA−CB)=0
Find A and B:
A=1+(ωRC)2ω(RC)2B=−1+(ωRC)2RC
Then
q(s)=1+(ωRC)2ω(RC)2ω2−s2ω−1+(ωRC)2RCω2−s2s+1+(ωRC)2ωRC2(s+RC1)1Q(t)=q(s):Q(t)=1+(ωRC)2Csinωt−1+(ωRC)2ωRC2cosωt+1+(ωRC)2ωRC2e−t/RC
Whereas Vout=Vr=IR=RdtdQ(t) , we have:
Vout=1+(ωRC)2ωRCcosωt+1+(ωRC)2(ωRC)2sinωt−1+(ωRC)2ωRCe−t/RC