Hello there, was examinating a simple RC circuit in LTSpice when the input was sinusoidal (DC=0V) and I noticed an exponential transient I didn't expected. I took pen and used Laplace to gain more insight.
Applying a sin(wt) gave me the exact behavior of LTSpice, a decreasing exponential starting from wRC/(1+(wRC)^2) ~ 1/wRC. But when it comes to an applied cos(wt) things doesn't work out at all. The LTSpice simulation is in the attachment: as you can see the exponential starts from the same starting point of the input (a cosine of 1V amplitude). This is somehow intuitive, but using Laplace I get the following exponential :-w/(1+(wRC)^2) *exp(-t/RC) obtained by calculating the effect of the pole -1/RC of the output expression Vo(s)=s/(s^2+w^2) * H(S) where s/(s^2+w^2) = Laplace(cos(wt)) and H(s)=1/(1+sRC) is the LPF transfer function. The obtained exponential starts from a negative value and has little value. Also, the contribution of the other two imaginary poles reflects in the sinusoidal steady state output which is not of my interest (I have calculated that aswell and it's ok).
What am I doing wrong? Thanks.
Applying a sin(wt) gave me the exact behavior of LTSpice, a decreasing exponential starting from wRC/(1+(wRC)^2) ~ 1/wRC. But when it comes to an applied cos(wt) things doesn't work out at all. The LTSpice simulation is in the attachment: as you can see the exponential starts from the same starting point of the input (a cosine of 1V amplitude). This is somehow intuitive, but using Laplace I get the following exponential :-w/(1+(wRC)^2) *exp(-t/RC) obtained by calculating the effect of the pole -1/RC of the output expression Vo(s)=s/(s^2+w^2) * H(S) where s/(s^2+w^2) = Laplace(cos(wt)) and H(s)=1/(1+sRC) is the LPF transfer function. The obtained exponential starts from a negative value and has little value. Also, the contribution of the other two imaginary poles reflects in the sinusoidal steady state output which is not of my interest (I have calculated that aswell and it's ok).
What am I doing wrong? Thanks.
Attachments
-
147.2 KB Views: 23