next up previous
Next: Series and Parallel Resonance Up: Chapter 3: AC Circuit Previous: AC Circuit Analysis I

AC Circuit Analysis II (Complete Response)

If we need to find out the transient response of an AC circuit to a certain input applied at time moment $t=0$ (e.g., after a switch is closed), then the phasor method discussed above is no longer sufficient. Now the DE describing the circuit will have to be solved to obtain the complete solution including the homogeneous (transient) solution as well as the particular (steady state) solution.

As a simple example, the RC and RL circuits shown below are composed of a resistor $R$ and capacitor $C$ or an inductor $L$ in series with an external voltage input $v(t)$, which is turned on at $t=0$, wither by a switch or a step voltage $v(t)$, such as a square wave input. Any of the variables $v_R(t)$, $v_C(t)$, $v_L(t)$ and $i(t)$ can be considered as the circuit's response to this input.

RL_RCcircuit.gif

Homogeneous Solution

When the external input is zero $v_C(t)=0$, the DE is homogeneous (zero on right hand side):

\begin{displaymath}RC\frac{d}{dt} v_c(t)+v_c(t)=\tau \frac{d}{dt} v_C(t)+v_C(t)=0 \end{displaymath}

To find the transient solution $v_C(t)$ due to the non-zero initial condition $v_C(0)=V_0$, we need to solve this DE by substituting the general solution $v_C=A e^{st}$ and its derivative $dv_C(t)/dt=s A e^{st}$ into the DE, and get

\begin{displaymath}\tau s+1=0,\;\;\;\;\;s=-\frac{1}{\tau} \end{displaymath}

i.e., $v_C(t)=Ae^{-t/\tau}$ for ($t\ge 0$). Assume the initial voltage on $C$ is $v_C(0)=V_0$ (initial condition), we can find the unknown constant $A$:

\begin{displaymath}v_C(0)=A e^{-t/\tau}\vert _{t=0}=A e^{0}=V_0,\;\;\;\;\;\mbox{i.e.}\;\;\;\;\;A=V_0 \end{displaymath}

and the solution is

\begin{displaymath}v_C(t)=V_0 e^{-t/\tau} \end{displaymath}

The current through $R$ and $C$ is

\begin{displaymath}i(t)=C\frac{d\;v_C(t)}{dt}=C\frac{d}{dt}[V_0 e^{-t/\tau}]
=-V_0 \frac{C}{\tau} e^{-t/\tau}=-\frac{V_0}{R} e^{-t/\tau} \end{displaymath}

The voltage across $R$ is

\begin{displaymath}v_R(t)=i(t)R=-V_0 e^{-t/\tau}=-v_C(t) \end{displaymath}

This result can be verified: $v_C(t)+v_R(t)=0$.

Complete Solution 1: Constant Input

When a non-zero external input $v(t)\ne 0$ is applied to the circuit, the DE is no longer homogeneous:

\begin{displaymath}v_R(t)+v_C(t)=\tau\frac{d}{dt} v_c(t)+v_c(t)=v(t) \end{displaymath}

We want to solve the DE for $v_C(t)$ as the circuit's complete response to the input as well as the initial condition $v_C(0)=V_0$, after a switch is closed at time moment $t=0$.

First we consider a constant (DC) input $v(t)=V_s$ applied to the circuit at $t=0$, i.e., a step input $v(t)=V_s u(t)$. The solution of this inhomogeneous DE is composed of two parts,

Therefore the overall solution is:

\begin{displaymath}v_C(t)=v'_C(t)+v''_C(t)=V_s+A e^{-t/\tau} \end{displaymath}

From the initial condition $v_C(t)\vert _{t=0}=v_C(0)=V_0$, we have

\begin{displaymath}v_C(0)=V_0=V_s+A,\;\;\;\;\;\mbox{i.e.,}\;\;\;\;A=V_0-V_s \end{displaymath}

and the solution becomes

\begin{displaymath}v_C(t)=V_s+(V_0-V_s) e^{-t/\tau} \end{displaymath}

In particular, for zero initial condition $v_C(0)=0$, the solution is

\begin{displaymath}v_C(t)=V_s+(-V_s) e^{-t/\tau}=V_s(1-e^{-t/\tau}) \end{displaymath}

The voltage across $R$ is

\begin{displaymath}
v_R(t)=V_s-v_C(t)=V_s-[V_s+(V_0-V_s) e^{-t/\tau}]=(V_s-V_0) e^{-t/\tau}
\end{displaymath}

and the current through the circuit is

\begin{displaymath}i(t)=\frac{V_R(t)}{R}=\frac{V_s-V_0}{R} e^{-t/\tau} \end{displaymath}

The two plots below show $v_C(t)$ (red) and $v_R(t)$ (green) under different initial conditions $V_0$ (purple, 2, 1) and inputs $V_s$ (blue, 1, 2). Note that when $t<0$ $v_R(t)=0$ and when $t\ge 0$ $v_R(t)<V_s-v_c(0)=V_s-V_0$, which can be a negative value if $v_C(0)=V_0>V_s$. ($v_R(t)$ measured with respective to the wire at the bottom treated as the ground), while the voltage source $V_s>0$ is positive. This is because right after the switch is closed, the voltage on the left side of $C$ drops from $V_0=2V$ to $V_s=1V$, causing the voltage on its right side to also drop from $0$ to $-1V$, lower than the ground level of $0V$.

first_order_response1.gif first_order_response2.gif

A Shortcut Method:

All first-order systems can be described by the canonical form of a first-order DE which can be solved once for all. The responses of all first order systems take the same form:

\begin{displaymath}f(t)=f(\infty)+[f(0)-f(\infty)] e^{-t/\tau} \end{displaymath}

in terms of three essential components of the system's response:
  1. $f(0)$ is the initial value;
  2. $f(\infty)$ is the steady-state response;
  3. $\tau$ is the time constant of the system.
In particular, note that Here is how to find the three components specifically:

Example 1:

Find $v_C(t)$ after the switch is closed at $t=0$. Assume $V_0=10V$, $R_1=R_2=2K\Omega$, $R_3=5K\Omega$, $C=0.5\mu F$, and the circuit was in steady-state at $t=0$.

bridgecapacitor.gif

completeresponse.gif

Example 1a:

In the same circuit above, find the voltages $v_1(t)$ and $v_2(t)$ across and currents $i_1(t)$ and $i_2(t)$ through $R_1$ and $R_2$, respectively.

Note that when $t=0_+$, $v_2(t)=V_c=-5V$, lower than ground voltage $V_b$!

transientDCexample.gif

Complete Solution 2: Sinusoidal input

If the input voltage is sinusoidal $v(t)=V_s cos(\omega t+\psi)$, the DE becomes

\begin{displaymath}v_R(t)+v_C(t)=\tau\frac{d}{dt} v_c(t)+v_c(t)=V_s cos(\omega t+\psi) \end{displaymath}

The homogeneous solution is the same as before $v''_C(t)=A e^{-t/\tau}$. The particular solution $v'_C(t)$ as the steady-state response to $v(t)$ can be found by the phasor method. The input is

\begin{displaymath}v(t)=V_s cos(\omega t)=Re[\dot{V}\sqrt{2}e^{j\omega t}] \end{displaymath}

where $\dot{V}=V_s\; e^{j\psi}/\sqrt{2}$. The steady-state voltage across $C$ is (voltage divider)

\begin{displaymath}\dot{V}_C=\dot{V} \frac{Z_C}{R+Z_C}
=\dot{V} \frac{1/j\omega...
...tau+1}
=\frac{\dot{V}\;e^{-j\phi}}{\sqrt{(\omega \tau)^2+1}} \end{displaymath}

where $\phi=\tan^{-1} \omega \tau$. The steady state voltage $v'_C(t)$ in time domain is:

\begin{displaymath}
v'_C(t)=Re[\frac{V_s e^{j(\omega t+\psi)}\;e^{-j\phi}}{\sqrt...
...= \frac{V_s}{\sqrt{(\omega \tau)^2+1}} cos(\omega t+\psi-\phi) \end{displaymath}

The complete solution is then the sum of both homogeneous and particular solutions:

\begin{displaymath}v_C(t)=v'_C(t)+v''_C(t)=
\frac{V_s}{\sqrt{(\omega \tau)^2+1}}cos(\omega t+\psi-\phi)+A e^{-t/\tau} \end{displaymath}

From the initial condition $v_C(0)=V_0$, we have

\begin{displaymath}v_C(0)=V_0=\frac{V_s}{\sqrt{(\omega \tau)^2+1}}cos(\psi-\phi)+A \end{displaymath}

Solving for $A$ we get

\begin{displaymath}A=V_0-\frac{V_s}{\sqrt{(\omega \tau)^2+1}}cos(\psi-\phi) \end{displaymath}

Substituting $A$ back to $v_C(t)$, we get

\begin{displaymath}v_C(t)=\frac{V_s}{\sqrt{(\omega \tau)^2+1}}cos(\omega t+\psi-...
...frac{V_s}{\sqrt{(\omega \tau)^2+1}}cos(\psi-\phi)] e^{-t/\tau} \end{displaymath}

This result can also be generalized for any non-constant input:

\begin{displaymath}f(t)=f_{\infty}(t)+[f(0)-f_{\infty}(0)]e^{-t/\tau} \end{displaymath}

where $f_{\infty}(t)$ is the steady state response of the system.

If the initial voltage on $C$ is zero $V_0=0$, then

\begin{displaymath}v_C(t)=\frac{V_s}{\sqrt{(\omega \tau)^2+1}}[cos(\omega t+\psi-\phi)
-cos(\psi-\phi) e^{-t/\tau}] \end{displaymath}

Note that the initial magnitude of the transient component varies depending on the angle $\psi-\phi$. When this angle is either $\pm 90^\circ$, $cos(\psi-\phi)=0$, i.e., the transient component disappears altogether. However, when $\psi-\phi$ is either $0^\circ$ or $180^\circ$, $cos(\psi-\phi)=\pm 1$, i.e., the magnitude of the transient component reaches maximum (positive or negative), and if $\tau$ value is large and therefore the transient component decays slowly, the magnitude of the initial voltage $v_C(t)$ could be close to twice as much as the peak of steady-state. The three cases for $\psi-\phi$ to be $0^\circ$, $90^\circ$, and $180^\circ$ are shown below:

first_order_response.gif

Example 2:

An electromagnet, modeled by a resistor $R=20\Omega$ and $L=0.3H$, is powered by sinusoidal voltage of $120V$ and $60Hz$. Find the current through the circuit when the switch is closed at $t=0$ when the phase angle happens to be $\psi=10^\circ$, i.e., $v(t)=120\sqrt{2}\;
\cos(6.28\times 60 t+10^\circ)$.

electromagnet.gif


next up previous
Next: Series and Parallel Resonance Up: Chapter 3: AC Circuit Previous: AC Circuit Analysis I
Ruye Wang 2009-04-01