Salta al contenuto
Note per Studenti First and Second Order Transients Report

First and Second Order Transients

In questa pagina 5

So far the networks analysed contained only adynamic elements (resistors, sources, adynamic two-ports). Here the network also contains dynamic two-terminal elements (ideal capacitor and ideal inductor) and switches that open, close or change over at a given instant. The analysis is carried out with functions of time. Sinusoidal steady state, the other main case of time-varying voltages and currents, is treated in Sinusoids and PhasorsA network is in sinusoidal steady state when all voltages and currents are sinusoids of the same frequency; each sinusoid is identified by its rms value and phase, i.e. by a complex number called phasor.Sinusoids and Phasors → and Sinusoidal Steady-State AnalysisIn sinusoidal steady state every element becomes a complex impedance or admittance, KCL and KVL hold for phasors, so the network becomes a linear algebraic circuit in the complex domain solved with the same methods as resistive circuits (dividers, superposition, mesh, nodal, Thevenin, Norton), with resonance in series and parallel RLC.Sinusoidal Steady-State Analysis →.

1. The switch and the "critical" instant

The switch used here is a three-terminal element with terminals A, B, C. At the instant t=t∗t = t^* it changes over:

  • for t<t∗t < t^* terminals A and C are in short circuit and B is open;
  • for t>t∗t > t^* terminals B and C are in short circuit and A is open.

A switch that only opens or closes is the same idea with one position missing. The opening, closing or changeover instant is called a "critical" instant. Only one critical instant per network is considered, and it is taken as the time reference, t=0t = 0.

At the critical instant voltages and currents may have a finite jump discontinuity. Example: an open switch with non-zero voltage at t=0−t = 0^- that closes at t=0t = 0 has zero voltage at t=0+t = 0^+, so its voltage jumps. Likewise a switch carrying non-zero current at t=0−t = 0^- that opens has zero current at t=0+t = 0^+.

The case of interest is the one where, at the critical instant, no voltage or current tends to infinity: everything stays bounded. This implies the continuity of the state variables:

vC(0+)=vC(0−),iL(0+)=iL(0−)v_C(0^+) = v_C(0^-), \qquad i_L(0^+) = i_L(0^-)

i.e. the voltage across an ideal capacitor and the current through an ideal inductor are continuous at t=0t = 0. All the other voltages and currents of the network may jump.

The three-part analysis

  1. t<0t < 0: analyse the network (usually in DC steady state) to find vC(0−)v_C(0^-) and iL(0−)i_L(0^-). In DC steady state an ideal inductor is a short circuit and an ideal capacitor is an open circuit.
  2. t=0t = 0: by continuity, vC(0+)=vC(0−)v_C(0^+) = v_C(0^-) and iL(0+)=iL(0−)i_L(0^+) = i_L(0^-). These are the initial conditions.
  3. t>0t > 0: write the equations of the new network and solve them with those initial conditions.

2. Analysis for t > 0: the equations

For t>0t > 0 consider a network of ideal voltage sources (IVS) with prescribed voltage e(t)e(t), ideal current sources (ICS) with prescribed current j(t)j(t), ideal resistors, inductors and capacitors. For simplicity the e(t)e(t) and j(t)j(t) are either all constant or all sinusoids with the same frequency. Write KVL, KCL and the element equations:

∑±v(t)=0,∑±i(t)=0,v(t)=e(t),i(t)=j(t),\sum \pm v(t) = 0, \quad \sum \pm i(t) = 0, \quad v(t) = e(t), \quad i(t) = j(t), vR(t)−R iR(t)=0,iC(t)−CdvC(t)dt=0,vL(t)−LdiL(t)dt=0v_R(t) - R\, i_R(t) = 0, \quad i_C(t) - C\frac{dv_C(t)}{dt} = 0, \quad v_L(t) - L\frac{di_L(t)}{dt} = 0

This is a system of 2ℓ2\ell equations in 2ℓ2\ell unknowns (the branch voltages and currents). The prescribed voltages and currents are the inputs x(t)x(t); the unknowns are the outputs or responses y(t)y(t). Combining the equations gives one equation in one unknown: a linear ordinary differential equation (ODE) with constant coefficients. Its order is the maximum order of derivative present. One dynamic element of one type gives first order; the series RLC circuit below gives second order.

The solution has two terms, y(t)=yo(t)+yP(t)y(t) = y_o(t) + y_P(t):

  • yo(t)y_o(t): the general solution of the associated homogeneous equation (the "natural" part, which dies out: the transient);
  • yP(t)y_P(t): a particular solution (for constant inputs, a constant: the DC steady state).

3. First-order circuits

3.1 Capacitor charging (RC)

Circuit (series loop): IVS EE (constant), switch S, resistor RR, capacitor CC, with R,C>0R, C > 0.

   +---- S ---- R ----+
   |                  |
  (E)                 C   v_C(t) across C, i_C(t) through C
   |                  |
   +------------------+

For t<0t < 0 the switch S is open and the capacitor is uncharged: vC(0−)=0v_C(0^-) = 0. At t=0t = 0 S closes. Find vC(t)v_C(t) and iC(t)i_C(t) for t>0t > 0.

  • t<0t < 0: vC(0−)=0v_C(0^-) = 0.
  • t=0t = 0: continuity gives vC(0+)=vC(0−)=vC(0)=0v_C(0^+) = v_C(0^-) = v_C(0) = 0.
  • t>0t > 0: S closed. With the reference directions of the figure: vR+vC−E=0,iR=iC,vR=RiR,iC=CdvCdtv_R + v_C - E = 0, \quad i_R = i_C, \quad v_R = R i_R, \quad i_C = C\frac{dv_C}{dt} Substitute the resistor equation, replace iRi_R by iCi_C, use the capacitor equation: RCdvC(t)dt+vC(t)=ERC\frac{dv_C(t)}{dt} + v_C(t) = E

This is a first-order linear ODE with constant coefficients. The solution has the form vC(t)=Aest+Kv_C(t) = A e^{st} + K. Substituting into the ODE gives K=EK = E and s=−1RCs = -\dfrac{1}{RC}. Introducing the time constant T=RCT = RC (unit: s):

vC(t)=Ae−t/T+Ev_C(t) = A e^{-t/T} + E

The constant term EE is a particular solution; Ae−t/TA e^{-t/T} is the general solution of the homogeneous equation. The constant AA is found by imposing the initial value (continuity of vCv_C):

0=vC(0)=lim⁡t→0(Ae−t/T+E)=A+E  ⇒  A=−E0 = v_C(0) = \lim_{t \to 0} \left( A e^{-t/T} + E \right) = A + E \;\Rightarrow\; A = -E

vC(t)=E(1−e−t/T),T=RC\boxed{v_C(t) = E\left(1 - e^{-t/T}\right), \quad T = RC}

The current follows from the capacitor relation:

iC(t)=CdvCdt=CETe−t/T=ERe−t/Ti_C(t) = C\frac{dv_C}{dt} = \frac{CE}{T} e^{-t/T} = \frac{E}{R} e^{-t/T}

For E>0E > 0: vCv_C rises exponentially from 00 to EE; iCi_C jumps from 00 (at t=0−t = 0^-) to E/RE/R (at t=0+t = 0^+) and decays to 00. Note that iCi_C is not a state variable, so it is allowed to jump.

Practical duration. After about 44 to 55 times TT the voltage differs from the final value EE by about 1%1\% and the current is about 1%1\% of the initial value E/RE/R. In practice the charging transient is over after 44 to 55 time constants. The final condition (vC=Ev_C = E, iC=0i_C = 0) is exactly the solution of the DC steady-state analysis for t>0t > 0: IC=0I_C = 0, VC=EV_C = E.

3.2 Capacitor discharge (RC)

Circuit: capacitor CC and resistor RR with a switch S. For t<0t < 0 S is open and the capacitor is charged: vC(0−)=V0≠0v_C(0^-) = V_0 \neq 0. At t=0t = 0 S closes.

  • t=0t = 0: vC(0+)=vC(0−)=V0v_C(0^+) = v_C(0^-) = V_0.
  • t>0t > 0: vR+vC=0v_R + v_C = 0, iR=iCi_R = i_C, vR=RiRv_R = R i_R, iC=C dvC/dti_C = C\,dv_C/dt, hence RCdvCdt+vC=0RC\frac{dv_C}{dt} + v_C = 0 This is the charging equation with E=0E = 0, so vC(t)=Ae−t/Tv_C(t) = A e^{-t/T} with T=RCT = RC. From V0=vC(0)=AV_0 = v_C(0) = A:

vC(t)=V0e−t/T,iC(t)=CdvCdt=−CV0Te−t/T=−V0Re−t/T\boxed{v_C(t) = V_0 e^{-t/T}}, \qquad i_C(t) = C\frac{dv_C}{dt} = -\frac{C V_0}{T} e^{-t/T} = -\frac{V_0}{R} e^{-t/T}

For V0>0V_0 > 0: both tend to zero exponentially. After 44 to 55 time constants the voltage is about 1%1\% of V0V_0 and the current (in absolute value) about 1%1\% of V0/RV_0/R: the discharge transient is over. The final condition IC=0I_C = 0, VC=0V_C = 0 is the DC steady-state solution for t>0t > 0.

3.3 Inductor charging (RL)

Circuit (series loop): IVS EE, switch S, resistor RR, inductor LL, with R,L>0R, L > 0. For t<0t < 0 S is open and iL(0−)=0i_L(0^-) = 0. At t=0t = 0 S closes. Find iL(t)i_L(t) and vL(t)v_L(t) for t>0t > 0.

  • t=0t = 0: iL(0+)=iL(0−)=0i_L(0^+) = i_L(0^-) = 0.
  • t>0t > 0: vR+vL−E=0v_R + v_L - E = 0, iR=iLi_R = i_L, vR=RiRv_R = R i_R, vL=L diL/dtv_L = L\,di_L/dt, hence LdiLdt+R iL=EL\frac{di_L}{dt} + R\, i_L = E Solution of the form iL=Aest+Ki_L = A e^{st} + K: substitution gives K=E/RK = E/R, s=−R/Ls = -R/L. The time constant is T=LRT = \dfrac{L}{R} (unit: s): iL(t)=Ae−t/T+ERi_L(t) = A e^{-t/T} + \frac{E}{R} From 0=iL(0)=A+E/R0 = i_L(0) = A + E/R, A=−E/RA = -E/R:

iL(t)=ER(1−e−t/T),T=LR\boxed{i_L(t) = \frac{E}{R}\left(1 - e^{-t/T}\right), \quad T = \frac{L}{R}}

vL(t)=LdiLdt=LERTe−t/T=E e−t/Tv_L(t) = L\frac{di_L}{dt} = \frac{L E}{R T} e^{-t/T} = E\, e^{-t/T}

For E>0E > 0: iLi_L rises from 00 to E/RE/R; vLv_L jumps from 00 to EE and decays to 00. After 44 to 55 time constants the current differs from E/RE/R by about 1%1\% and the voltage is about 1%1\% of its initial value EE (this is the corrected version, from the course errata: the slide had said "current" twice). The final condition is the DC steady state: IL=E/RI_L = E/R, VL=0V_L = 0 (inductor equivalent to a short circuit).

3.4 Inductor discharge (RL)

Circuit: inductor LL and resistor RR with a switch S. For t<0t < 0 the inductor current is iL(0−)=I0≠0i_L(0^-) = I_0 \neq 0 (S closed). At t=0t = 0 S opens. For t>0t > 0 the inductor and the resistor form a single loop.

  • t=0t = 0: iL(0+)=iL(0−)=I0i_L(0^+) = i_L(0^-) = I_0.
  • t>0t > 0: vR+vL=0v_R + v_L = 0, iR=iLi_R = i_L, vR=RiRv_R = R i_R, vL=L diL/dtv_L = L\,di_L/dt, hence LdiLdt+R iL=0L\frac{di_L}{dt} + R\, i_L = 0 The charging equation with E=0E = 0: iL(t)=Ae−t/Ti_L(t) = A e^{-t/T}, T=L/RT = L/R, and A=I0A = I_0:

iL(t)=I0e−t/T,vL(t)=LdiLdt=−LI0Te−t/T=−RI0e−t/T\boxed{i_L(t) = I_0 e^{-t/T}}, \qquad v_L(t) = L\frac{di_L}{dt} = -\frac{L I_0}{T} e^{-t/T} = -R I_0 e^{-t/T}

For I0>0I_0 > 0 both tend to zero. After 44 to 55 time constants the current is about 1%1\% of I0I_0 and the voltage (absolute value) about 1%1\% of RI0R I_0. Final condition: IL=0I_L = 0, VL=0V_L = 0.

3.5 Summary of the four cases

Case State variable Time constant TT Result for t>0t > 0
RC charging vC(0)=0v_C(0)=0 RCRC vC=E(1−e−t/T)v_C = E(1-e^{-t/T}), iC=ERe−t/Ti_C = \frac{E}{R}e^{-t/T}
RC discharge vC(0)=V0v_C(0)=V_0 RCRC vC=V0e−t/Tv_C = V_0 e^{-t/T}, iC=−V0Re−t/Ti_C = -\frac{V_0}{R}e^{-t/T}
RL charging iL(0)=0i_L(0)=0 L/RL/R iL=ER(1−e−t/T)i_L = \frac{E}{R}(1-e^{-t/T}), vL=Ee−t/Tv_L = E e^{-t/T}
RL discharge iL(0)=I0i_L(0)=I_0 L/RL/R iL=I0e−t/Ti_L = I_0 e^{-t/T}, vL=−RI0e−t/Tv_L = -R I_0 e^{-t/T}

All of them follow one pattern: response = final (DC steady-state) valuethe value obtained by analysing the network in DC steady state for t > 0 + (initial value - final value) times e−t/Te^{-t/T}, with the initial value of the state variable fixed by continuity. Check with charging: vC=E+(0−E)e−t/Tv_C = E + (0 - E)e^{-t/T}.

4. Second order: series RLC with constant IVS

Circuit: IVS EE (constant), switch S with two positions 1 and 2, resistor RR, inductor LL, capacitor CC, all in series, with R,L,C>0R, L, C > 0. For t<0t < 0 the circuit is in DC steady state with S in position 2. At t=0t = 0 S moves to position 1 (the source EE is connected to the series RR-LL-CC). Find, for t>0t > 0, the inductor current and the capacitor voltage.

t<0t < 0. In DC steady state the inductor is a short circuit and the capacitor an open circuit: IL=0=IRI_L = 0 = I_R, so VR=RIR=0V_R = R I_R = 0 and therefore VC=0V_C = 0. Hence iL(0−)=0i_L(0^-) = 0, vC(0−)=0v_C(0^-) = 0.

t=0t = 0. Continuity of both state variables: iL(0+)=0i_L(0^+) = 0, vC(0+)=0v_C(0^+) = 0.

t>0t > 0. S in position 1. Equations (reference directions of the figure):

vR+vL+vC=vE,iR=iL=iC=iE,vE=E,vR=RiR,iC=CdvCdt,vL=LdiLdtv_R + v_L + v_C = v_E, \quad i_R = i_L = i_C = i_E, \quad v_E = E, \quad v_R = R i_R, \quad i_C = C\frac{dv_C}{dt}, \quad v_L = L\frac{di_L}{dt}

Choose vCv_C as the unknown. Insert the resistor, inductor and source equations and replace iRi_R and iLi_L by iCi_C:

R iC+LdiCdt+vC=E,iC=CdvCdtR\, i_C + L\frac{di_C}{dt} + v_C = E, \qquad i_C = C\frac{dv_C}{dt}

Using the capacitor relation and dividing by LCLC:

d2vCdt2+RLdvCdt+1LCvC=ELC\frac{d^2 v_C}{dt^2} + \frac{R}{L}\frac{dv_C}{dt} + \frac{1}{LC} v_C = \frac{E}{LC}

This is a second-order linear ODE with constant coefficients. Define

α=R2L,ω0=1LC\alpha = \frac{R}{2L}, \qquad \omega_0 = \frac{1}{\sqrt{LC}}

α\alpha is the damping constant (unit: s−1^{-1}) and ω0\omega_0 the angular resonant frequency (unit: s−1^{-1}). The ODE becomes

d2vCdt2+2αdvCdt+ω02vC=ELC\frac{d^2 v_C}{dt^2} + 2\alpha\frac{dv_C}{dt} + \omega_0^2 v_C = \frac{E}{LC}

Initial conditions. A second-order ODE needs two: vC(0+)=0v_C(0^+) = 0 and dvCdt∣t=0+=1CiC(0+)=1CiL(0+)=0\left.\frac{dv_C}{dt}\right\rvert_{t=0^+} = \frac{1}{C} i_C(0^+) = \frac{1}{C} i_L(0^+) = 0

Solution structure. vC(t)=vo(t)+vP(t)v_C(t) = v_o(t) + v_P(t).

  • Particular solution. The right-hand side is constant, so look for vP=Kv_P = K. Substituting gives vP(t)=K=Ev_P(t) = K = E.
  • Homogeneous solution. The characteristic polynomial is s2+2αs+ω02=0s^2 + 2\alpha s + \omega_0^2 = 0, with roots (in the complex domain) s1,2=−α±α2−ω02s_{1,2} = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}

The sign of the discriminant gives three cases (with α>0\alpha > 0, ω0>0\omega_0 > 0):

Case Condition Discriminant
overdamped α>ω0\alpha > \omega_0 positive
critically damped α=ω0\alpha = \omega_0 zero
underdamped α<ω0\alpha < \omega_0 negative

The slides give the analytical solutions only qualitatively (as graphs). In all three cases the solution has a transient, after which the capacitor voltage and the inductor current reach the DC steady-state values for t>0t > 0: IL=0I_L = 0 and VC=EV_C = E. So vCv_C starts at 00 at t=0+t = 0^+ and ends at EE; iLi_L starts at 00 and ends at 00.

Qualitative plots, case E>0E > 0 (remember iL=iC=C dvC/dti_L = i_C = C\,dv_C/dt):

  1. Overdamped (α>ω0\alpha > \omega_0). vCv_C starts at zero with zero derivative and rises to EE smoothly: first upward concavity, then an inflection point, then downward concavity. The current iL=iCi_L = i_C is zero at 0+0^+, positive (voltage rising), reaches a maximum exactly at the inflection point of vCv_C, then decreases to zero. The transient has two time constants: one smaller than 1/α1/\alpha and one larger. In practice the transient ends after about 55 times the larger time constant.
  2. Critically damped (α=ω0\alpha = \omega_0). The analytical solution differs from the other two cases but the qualitative graph is similar to the overdamped one. The transient ends after about 55 times the time constant 1/α1/\alpha.
  3. Underdamped (α<ω0\alpha < \omega_0). vCv_C starts from zero with zero derivative, exceeds the final value EE during the transient and then tends to EE through damped oscillations around EE. The current iL=iCi_L = i_C is zero at 0+0^+, is maximum or minimum at the inflection points of vCv_C and zero at its maximum and minimum points. The transient ends after about 55 times 1/α1/\alpha.

5. Procedure to solve a switched first-order circuit

  1. Analyse the circuit for t<0t < 0 (DC steady state if long enough: inductor short, capacitor open) and find vC(0−)v_C(0^-), iL(0−)i_L(0^-).
  2. State vC(0+)=vC(0−)v_C(0^+) = v_C(0^-) and iL(0+)=iL(0−)i_L(0^+) = i_L(0^-).
  3. Draw the circuit for t>0t > 0, write KVL, KCL and the element equations, reduce to one ODE in the state variable.
  4. Solve: particular solution (the DC value for t>0t > 0) plus Ae−t/TA e^{-t/T} with T=RCT = RC or L/RL/R.
  5. Fix AA with the initial value; derive the other quantities from the element relations (iC=C dvC/dti_C = C\,dv_C/dt, vL=L diL/dtv_L = L\,di_L/dt, vR=RiRv_R = Ri_R).
  6. Check: after 44 to 55 TT the result must equal the DC steady-state solution for t>0t > 0.

Versione ripasso

Critical instant. Switch changes at t=0t = 0. State variables are continuous: vC(0+)=vC(0−)v_C(0^+) = v_C(0^-), iL(0+)=iL(0−)i_L(0^+) = i_L(0^-). Other voltages and currents may jump (finite jump). Analysis in three parts: t<0t < 0 (find vC(0−)v_C(0^-), iL(0−)i_L(0^-); DC: L short, C open), t=0t = 0 (continuity), t>0t > 0 (ODE).

Inputs and outputs. Inputs x(t)x(t) = prescribed e(t)e(t), j(t)j(t); outputs y(t)y(t) = branch voltages and currents. Solution = particular (DC steady state for constant inputs) + homogeneous (transient).

First order. Solution y=Ae−t/T+Ky = A e^{-t/T} + K.

  • RC: T=RCT = RC. Charging (vC(0)=0v_C(0)=0): vC=E(1−e−t/T)v_C = E(1-e^{-t/T}), iC=ERe−t/Ti_C = \frac{E}{R}e^{-t/T}. Discharge (vC(0)=V0v_C(0)=V_0): vC=V0e−t/Tv_C = V_0 e^{-t/T}, iC=−V0Re−t/Ti_C = -\frac{V_0}{R}e^{-t/T}.
  • RL: T=L/RT = L/R. Charging (iL(0)=0i_L(0)=0): iL=ER(1−e−t/T)i_L = \frac{E}{R}(1-e^{-t/T}), vL=Ee−t/Tv_L = E e^{-t/T}. Discharge (iL(0)=I0i_L(0)=I_0): iL=I0e−t/Ti_L = I_0 e^{-t/T}, vL=−RI0e−t/Tv_L = -R I_0 e^{-t/T}.
  • Rule: response = final value + (initial value - final value) e−t/Te^{-t/T}.
  • Transient is over after about 44 to 55 TT (about 1%1\% left). Final values = DC steady-state solution for t>0t > 0.

Series RLC with constant EE. ODE v¨C+2αv˙C+ω02vC=E/(LC)\ddot v_C + 2\alpha \dot v_C + \omega_0^2 v_C = E/(LC), with α=R2L\alpha = \frac{R}{2L}, ω0=1LC\omega_0 = \frac{1}{\sqrt{LC}}. Initial conditions vC(0+)=0v_C(0^+) = 0, v˙C(0+)=iL(0+)/C=0\dot v_C(0^+) = i_L(0^+)/C = 0. Particular solution vP=Ev_P = E. Roots s1,2=−α±α2−ω02s_{1,2} = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}.

  • Overdamped α>ω0\alpha > \omega_0: smooth rise to EE, two time constants, end after about 55 times the larger.
  • Critically damped α=ω0\alpha = \omega_0: similar graph, end after about 5/α5/\alpha.
  • Underdamped α<ω0\alpha < \omega_0: vCv_C overshoots EE and oscillates (damped) around EE; end after about 5/α5/\alpha.
  • In all cases final values VC=EV_C = E, IL=0I_L = 0.

Typical mistakes. Using continuity for iCi_C or vLv_L (only vCv_C and iLi_L are continuous). Using T=RCT = RC for an RL circuit (it is L/RL/R). Forgetting that for discharge the final value is 00 and A=A = initial value. Mixing the two time constants of the overdamped case.

Teoria collegata