Week 9

Second-order transients

Circuits with both an inductor and a capacitor obey second-order differential equations, so their transients can ring instead of just decaying exponentially. This week extends the first-order RC and RL transients of week 8 to RLC circuits: Laplace impedances give the transfer function, its denominator gives the characteristic equation, and the roots decide whether the response is overdamped, critically damped, or underdamped. You then fit the canned solution to initial and final conditions. The lab shows RC, RL and RLC transients on the scope.

Objectives

  • Replace R, L and C with the Laplace impedances R, Ls and 1/(Cs) and combine them with series, parallel and voltage-divider rules.
  • Find the transfer function H(s) of an RLC circuit and simplify it to one polynomial over another with a denominator of the form s² + bs + k.
  • Write the characteristic equation by setting the transfer-function denominator to zero, and solve it for s1 and s2 with the quadratic formula.
  • Classify a second-order response as overdamped, critically damped or underdamped from the sign of b² − 4k, and find α and the ringing frequency ω (and f = ω/2π) when it is underdamped.
  • Find initial conditions iL(0) and vC(0), final conditions iL(∞) and vC(∞), and initial slopes from diL/dt(0) = vL(0)/L and dvC/dt(0) = iC(0)/C by redrawing the circuit before, just after, and long after the switch.
  • Write the full time response X(t) for each damping case and solve for the constants B and D from X(0), X(∞) and the initial slope.
  • Choose a resistor or capacitor value that makes a series RLC circuit critically damped.
  • Write the differential equation for a circuit variable by cross-multiplying its transfer function and replacing each s with d/dt.
  • Measure an RC or RL time constant, and the ringing frequency and decay time constant of an RLC circuit, on an oscilloscope and compare them with calculated values.

Reading

2.34Transient circuits: what happens between one DC steady state and the next, with the series RLC circuit worked as overdamped, critically damped and underdamped cases. Focus on the three solution forms and how the resistance decides which one you get; the notes pack does the same analysis with Laplace impedances.

Lectures

1Introduction21:02
2Characteristic equation21:14
3Solutions20:18
1:02:34

Notes

From the notes pack:

  1. 1.6 Second-order transients: a series RLC circuit switched onto a DC source gives a second-order differential equation for vC
  2. Guessing vC(t) = A + Be^(st), splitting it into the forced part (A = final condition) and the transient part, which yields the characteristic equation s² + (R/L)s + 1/(LC) = 0
  3. Roots s1 and s2 from the quadratic formula and the three cases: overdamped (two real roots), underdamped (s = α ± jω, decaying sinusoid), critically damped (repeated root, Dte^(st) term)
  4. Natural frequency ωn = √(α² + ω²) and damping ratio ζ = α/ωn
  5. Overdamped example (12 V, R = 90 Ω, L = 20 mH, C = 10 µF): final conditions with L as a short and C as an open, initial conditions before and just after the switch, initial slopes, solving for B and D, plots of vC(t) and i(t)
  6. Underdamped example with R = 10 Ω and critically damped example with R = 2√(L/C) ≈ 89.4 Ω
  7. 1.7 The easy way to get the characteristic equation: Laplace impedances Ls and 1/(Cs), writing a transfer function, putting it in standard polynomial form, reading the characteristic equation off the denominator, and recovering the differential equation
  8. Second-order transient examples: Ex. 1 transfer function and characteristic equation of R in parallel with C feeding L
  9. Ex. 2: switched circuit with 18 V and 6 V sources, 25 Ω, 125 Ω, 0.08 µF and 5 mH, critically damped vC(t); then the same circuit with R2 = 1 kΩ, underdamped
  10. Ex. 3: 12 V, 200 Ω, 8 mH, 1 kΩ and 0.1 µF with a switch that opens: transfer function, roots, pole-zero plot, initial and final conditions, full iL(t) and vC(t), the R1 that gives critical damping, and the overdamped case with R1 = 1 kΩ
  11. Summary sheet, Second Order Transients: Laplace impedances, transfer function form, characteristic equation, and the recipe for initial conditions, final conditions and the solution in each damping case
  12. Derivation of the canned solutions: how B and D come from X(0), X(∞) and the initial slope for overdamped, underdamped and critically damped responses

Homework

2ndTr1: Transfer functions and characteristic equations

  1. 1a. Find H(s) = Vo/Vi for a series capacitor C feeding a shunt branch of L in series with R, with Vo taken across the L–R branch; write it in normal polynomial form
  2. 1b. Find H(s) = Vo/Vi for a series capacitor C feeding R in parallel with L, with Vo across the parallel pair
  3. 2. Write the characteristic equation of each circuit in problem 1
  4. 3a. A current source Iin feeds R1 in series with a parallel combination of C, R2 and L; find H(s) = Vout/Iin, where Vout is across the parallel combination, as a ratio of simple polynomials
  5. 3b. Find the roots of the characteristic equation in terms of the circuit parts
  6. 4a. A 24 V source and a switch feed R = 240 Ω in series with L = 4 mH in parallel with C = 5 µF; find the generalized impedance Z(s) seen by the source
  7. 4b–c. Evaluate Z(s) at s = 0 (DC) and at s = ∞
  8. 4d. With the switch closed and the current through R as the output, find the transfer function and the roots of its characteristic equation
  9. 4e. Decide whether the response is undamped, underdamped, critically damped or overdamped
  10. 4f–g. Find the initial and final values of the currents in R, L and C

2ndTr2: Differential equations and series RLC step responses

  1. 4 (first page; the answer key calls it 1). A current source Iin with a switch across it that opens at t = 0 drives R in parallel with a series C–L branch: a) write the differential equation for iL using Laplace impedances, b) write the differential equation for vC, c) find the characteristic equation
  2. 1a–c. Series RLC with R = 200 Ω, L = 0.1 H, C = 100 µF switched onto 20 V with no initial charge: find the characteristic equation with i(t) as output, its roots, and the damping type
  3. 1d. Find i(∞), i(0), vC(0) and di/dt(0)
  4. 1e. Write the full expression for i(t) with all constants
  5. 2. Series RLC with R = 200 Ω and L = 0.1 H: find the capacitance that makes it critically damped
  6. 3. Find the ringing frequency in Hz of a series RLC with R = 200 Ω, L = 0.1 H, C = 5 µF
  7. 5a–b. A switch moves from a 4 V source to a 20 V source feeding R1 = 10 Ω and L = 10 mH in series with R2 = 190 Ω in parallel with C = 36 µF; given the characteristic equation s² + (R1/L + 1/(CR2))s + (R1/(LCR2) + 1/(LC)) = 0, find its roots and the damping type
  8. 5c. The switch has been on the 4 V source for a long time and moves to 20 V at t = 0: find the initial and final conditions
  9. 5d. Write the full expression for iL(t) with all constants

Lab: Transients (Lab 8)

Drive RC, RL, series RLC and parallel RLC circuits with a square wave that acts like a switch between 0 and 8 V, and watch the transients on the scope. You measure time constants, ringing frequencies and decay rates and compare them to the calculations in the appendix, and you try to find the resistance that gives critical damping.

Before the lab

  • Bring a book (ODE or circuits) that shows overdamped, critically damped and underdamped second-order responses
  • Read the appendix calculations for the series and parallel RLC circuits
  • Remember that the function generator has 50 Ω of output resistance that acts like an extra series resistor in every circuit

Equipment

  • Function generator (HP or Agilent 33120A, 50 Ω output resistance)
  • Oscilloscope (two channels)
  • BNC T connector, BNC-to-BNC cable, and BNC-to-clip lead
  • Resistor substitution box (from the stockroom)
  • Digital multimeter (ohmmeter, for the inductor winding resistance)
  • Breadboard and jumper wires

Parts

10.001 µF capacitormarked 102
10.22 µF capacitormarked 224, new this lab
1100 Ω resistorbrown black brown
11 kΩ resistorbrown black red
122 kΩ resistorred red orange, new this lab
1Inductor, 2 to 4 mHkit part is 3.3 mH (332) or about 2.9 mH; the schematics say 3 mH and the appendix uses 3.3 mH

Procedure

  1. General setup
    • Put a BNC T on the function generator output. Run one side to scope CH2 and the other to a BNC-to-clip lead; that lead is the input to every circuit.
    • Set the generator to a square wave of 8 Vpp (most units must be set to 4 Vpp to get 8 Vpp into a high-impedance load). Press Offset and set the DC offset to 4 V (the display usually shows 2 V). Set the frequency to about 10 Hz.
    • On the scope, place 0 V at the center and make the top of the square wave sit at 8 V. Trigger on CH2.
    • Treat the generator as a switch flipping between 8 V and ground with a 50 Ω resistor in series.
  2. Experiment 1: RC transient
    • Build: generator output through R = 22 kΩ to a node, then C = 0.22 µF from that node to ground. Put CH1 on the node (vC).
    • Adjust the scope so each trace shows two transients: one when the input steps 0 to 8 V and one when it steps 8 to 0 V. Is it exponential? Does vC ever jump?
    • Sketch vC with a vertical axis of at least −8 V to +8 V (you will add vR later).
    • Measure τ with the 3/8 trick (e^−1 ≈ 3/8, and the screen has 8 vertical divisions): turn TIME/DIV counterclockwise until you see the flat steady-state part, use Vertical Position to put that level on the top or bottom grid line, set VOLTS/DIV so the curve spans at least all 8 divisions (push a knob for fine adjustment), then turn TIME/DIV back clockwise and use Horizontal Position to start the curve at a top-left or bottom-left corner. The time for the trace to cross 5 divisions is τ.
    • Measure the charge or discharge curve and check that the other one (change trigger SLOPE) looks the same. Calculate τ = RC, including the 50 Ω, and compare.
    • Readjust to see the whole curve, swap the positions of R and C, and sketch vR on the same axes. Check whether vC + vR adds up to the 8 V input at each instant and whether vR has the same τ.
  3. Experiment 2: RL transient
    • Build: generator output through R = 100 Ω to a node, then L = 3 mH from that node to ground. Put CH1 on the node (vL).
    • Raise the generator frequency to about 2 kHz.
    • Repeat Experiment 1: sketch the transient, measure τ with the 3/8 trick, and compare to τ = L/R using R = 150 Ω (100 Ω plus the 50 Ω source).
    • Expect vL to jump; in an inductor it is the current that can't change instantly.
    • Extra credit: swap the positions of R and L and sketch the new transient (vR).
  4. Experiment 3: Series RLC
    • Build: generator output through the resistor substitution box, then C = 0.001 µF, then L = 3 mH to a node, then R = 100 Ω from that node to ground. Put CH1 on the node (the voltage across the 100 Ω).
    • Set the substitution box to 0 Ω (or short it) and observe the transients. Flip the trigger SLOPE to see the other one and sketch at least one.
    • Measure the ringing period T and compute f = 1/T. Estimate the decay time constant from the exponential envelope through the peaks.
    • Compare with the appendix: α = −22,727 s⁻¹, ω = 5.5×10⁵ rad/s, f = 87.5 kHz, τ = 44 µs.
    • Raise the substitution box resistance until the response looks critically damped (one overshoot at most). It is hard to tell under, critical and over apart near this point; do your best and comment on how similar the curves look.
    • Record the box setting R, add 150 Ω for the 100 Ω resistor and the 50 Ω source to get RT, and compare with the appendix value RT = √(4L/C) = 3633 Ω.
  5. Experiment 4: Parallel RLC
    • Measure the inductor's winding resistance RL with the ohmmeter. It is part of the inductor, not a separate resistor.
    • Build: generator output through R = 1 kΩ to a node; from that node to ground connect C = 0.22 µF in parallel with L = 3 mH. Put CH1 on the node.
    • Lower the generator frequency to about 200 Hz. Observe both transients (change the trigger slope) and sketch one or both.
    • Measure the ringing frequency and the decay time constant. Compare with the appendix: f = 5.9 kHz, τ = 0.342 ms (using R = 1050 Ω, L = 3.3 mH, RL = 5 Ω, C = 0.22 µF).
  6. Conclusion
    • Get the notebook checked off.
    • Comment on how well the calculations describe the real circuits, both the general waveform shapes and the measured numbers.

Record

  • Sketch of vC for the RC circuit, with vR added after swapping R and C; answer whether vC ever changes instantly, whether vC + vR = 8 V, and whether vR has the same τ
  • Measured and calculated τ for the RC circuit (include the 50 Ω source)
  • Sketch of vL for the RL circuit; measured τ and calculated τ = L/150 Ω
  • Sketch of the series RLC ringing; measured f and decay τ versus the appendix values (87.5 kHz, 44 µs)
  • Substitution box R at apparent critical damping, RT = R + 150 Ω, compared with 3633 Ω; comment on how hard critical damping is to see
  • Measured inductor winding resistance RL
  • Sketch of the parallel RLC transient; measured f and τ versus 5.9 kHz and 0.342 ms
  • Conclusion on agreement between theory and measurement

Files

  • Appendix: calculations: Worked calculations for Experiments 3 and 4. Series RLC (R = 100 Ω, Rs = 50 Ω, L = 3.3 mH, C = 0.001 µF): transfer function, characteristic equation, α = −22,727 s⁻¹, ω = 5.5×10⁵ rad/s, f = 87.5 kHz, τ = 44 µs, and RT = 3633 Ω for critical damping. Parallel RLC (R = 1050 Ω including the source, L = 3.3 mH, RL = 5 Ω, C = 0.22 µF): characteristic equation, τ = 0.342 ms, f = 5.9 kHz.
  • LTspice files: Simulation version of the lab (from the 2020 remote semester). Contains Lab8_LTspice/LTSpiceIntro.pdf (LTspice introduction), Lab8_LTspice/Lab8_Help.pdf (help for this lab), and schematics lab8_Ex1_RC.asc, lab8_Ex2_RL.asc, lab8_Ex3_Series_RLC.asc and lab8_Ex4_Parallel_RLC.asc, one per experiment, plus macOS metadata (.DS_Store and __MACOSX/ files) you can ignore.