Week 6

First-order transients, complex numbers

Week 5 gave you capacitors and inductors in steady state; this week asks what happens between two steady states when a switch moves. A circuit with one capacitor or one inductor obeys a first-order differential equation, and every answer has the form x(t) = x(∞) + (x(0) − x(∞))e^(−t/τ), so the work reduces to finding the initial value, the final value and τ = RTh C or L/RTh. The lab measures series and parallel RLC resonance and the resonance of a mechanical servo, and the week closes by recalling complex numbers for the phasor work in week 7.

Objectives

  • Write the differential equation of a series RC or RL circuit using KVL and i = C dv/dt (avoiding integrals), solve it with the trial solution A + Be^(st), and identify τ as the coefficient of dx/dt.
  • Write the complete response of any first-order circuit as x(t) = x(∞) + (x(0) − x(∞))e^(−t/τ) for a capacitor voltage, inductor current, or any other voltage or current in the circuit.
  • Find initial conditions from vC(0−) = vC(0+) and iL(0−) = iL(0+), then the other voltages and currents at t = 0+, and find final conditions by DC analysis with capacitors open and inductors shorted.
  • Find the time constant τ = RTh C or L/RTh, where RTh is the Thévenin resistance seen by the capacitor or inductor after the switch moves.
  • Solve a transient expression for the time at which a voltage or current reaches a given value, t = −τ ln((x − x(∞))/(x(0) − x(∞))), and recognize values the response can never reach.
  • Solve a circuit whose switch moves twice (for example back again at t = 0.8τ) by using the end of the first transient as the initial condition of the second, with a new time variable and a new τ.
  • Use the exponential's landmarks: 63% of the way after one τ, 95% after 3τ, within 1% after 5τ, and an initial slope of (final − initial)/τ.
  • Compute energy dissipated during a capacitor discharge, and find the final voltages and energy lost when a charged capacitor shares charge with an uncharged one through a resistor.
  • Measure the resonant frequency and frequency response of series and parallel RLC circuits, explain why the capacitor voltage can exceed the source at resonance, and relate a sharper peak (higher Q) to smaller series resistance.
  • Measure the natural oscillation frequency of a servo at high gain and its driven resonant frequency, and explain why a mechanical system cannot follow high-frequency inputs.

Reading

2.24Return to the inductor section for 2.24.10 to 2.24.12: energizing and de-energizing an RL circuit and the voltage spikes from switching an inductor's current off.
3.7Practical inductors: construction, series and parallel combinations, the RL time constant, inductive reactance, non-ideal behavior, types, and reading inductor labels.
2.30Resonant circuits: series RLC resonance, Q and bandwidth, voltage across components at resonance, and parallel resonance. Read it alongside the resonance lab.
2.34Transient circuits: what happens between two DC states, with RC and RL switching examples. Focus on the first-order parts now; the series RLC part comes back in week 9.

Lectures

1
First-order transientsOpen original recording
38:45
2
Capacitor examplesOpen original recording
30:24
3
Inductor examplesOpen original recording
24:46
4
Steady-state ACOpen original recording
7:48
5
Complex numbersOpen original recording
34:01
2:15:44

Notes

From the notes pack:

  1. Circuit transients: what a transient is, and typical shapes (exponential rise, exponentially growing sine, overshoot, ringing)
  2. Why transients matter: signals and control systems, with a printer-design example
  3. First-order transients: series RC circuit analyzed the traditional way, writing the differential equation in terms of vC
  4. Solving with vC(t) = A + Be^(st): forced part A = vC(∞), transient part gives s = −1/RC, B = vC(0) − vC(∞)
  5. Resistor voltage and current from vC(t), and the generalized charging curves in time constants
  6. First-order transients the easy way: x(t) = x(∞) + (x(0) − x(∞))e^(−t/τ), finding τ by memory, by Thévenin, or from the form constant = x + τ dx/dt
  7. Series RL circuit: τ = L/R and the current build-up
  8. Initial and final conditions: capacitor voltage and inductor current cannot change instantly; capacitors open and inductors shorted for DC final conditions; phasors for AC sources
  9. Exponential curves: rising and decaying shapes, 63%, 95% at 3τ, 99% at 5τ, initial slope
  10. Example 1: 9 V, 600 Ω, 0.1 µF charging, voltage at 0.1 ms, time when iR = 5 mA
  11. Example 2: energy dissipated when a 1000 µF capacitor at 12 V discharges into 20 Ω
  12. Example 3: two-position switch with 24 V and 10 V sources, two intervals with different τ, time when vC = 12 V and falling
  13. Example 4: RL circuit with 15 V, 20 Ω, 60 Ω, 15 Ω, 3 mH: iL(t), time when vR2 = 10 V, vL(t)
  14. Example 5: current-source RL circuit with the switch opened at t = 0 and closed again at 1.4τ

Homework

1stTr1: First-order RC transients

  1. 1) FE style: a 10 µF capacitor charged to 150 V discharges through a 25 Ω resistor; pick the energy dissipated after 10 time constants from five choices
  2. 2a) A switch closes at t = 0 connecting 12 V to 60 Ω in series with 2 µF, vC(0) = 0; find vC(t)
  3. 2b) Find vC at t = 40 µs
  4. 3a) A switch has been in its upper position (10 V through R1 = 2 kΩ) for a long time and moves at t = 0 to a 4 V source; the switch feeds R2 = 1 kΩ, a 3.3 µF capacitor and R3 = 600 Ω in series; find vC(0) and vC(∞)
  5. 3b) Find the time constant after t = 0
  6. 3c) Find vC(t)
  7. 3d) Find when vC = 5 V
  8. 4a) A switch connects 6 V to R1 = 100 Ω, which feeds a node with R3 = 200 Ω to ground and R2 = 250 Ω in series with 22 µF to ground; find vC(∞) using a Thévenin equivalent
  9. 4b) Find the time constant
  10. 4c) Find vC(t), given the switch was open a long time
  11. 5a) A 200 mA source drives R1 = 100 Ω (shorted by a switch) in series with R3 = 80 Ω, and R2 = 50 Ω in series with 0.6 µF sits across the source; the switch has been closed a long time and opens at t = 0; find initial and final conditions and vC(t)
  12. 5b) Find vC at t = 0.8τ
  13. 5c) The switch closes again at t = 0.8τ; find vC(t') with its new time constant
  14. 6a) A charged capacitor C1 is connected through R to an uncharged C2 at t = 0; derive the differential equation for i(t) in the form constant = x + τ dx/dt and find τ
  15. 6b) Find i(t) for C1 = 24 µF, C2 = 12 µF, R = 400 Ω, vC1(0) = 18 V, vC2(0) = 0
  16. 6c) Find vC2(t), using conservation of charge to get the final condition
  17. 6d) Compare the initial and final total stored energy and explain where the lost energy went

1stTr2: First-order RL transients

  1. 1) A 12 V ignition coil is a 20 mH inductor in series with its winding resistance (the text gives both 1.5 Ω and 3 Ω; the answer uses 3 Ω); find how long the current takes to reach 95% of its maximum
  2. 2) A constant voltage is switched onto a series RL circuit with L = 0.1 H; vL is 40 V at t = 0 and 8 V at t = 4 ms; find R
  3. 3) A switch closes at t = 0 connecting 80 V to R1 = 100 Ω, R2 = 40 Ω, L = 0.1 H and R3 = 60 Ω in series; find the current i(t)
  4. 4) A switch connects 40 V to R = 200 Ω and L = 500 mH in series at t = 0, then at 2 ms moves to a second 40 V source of opposite polarity; find when the current reaches zero and reverses
  5. 5a) A 9 V source feeds R1 = 75 Ω into R2 = 180 Ω in parallel with L = 9 mH, returning through R3 = 150 Ω; a switch across R3, open a long time, closes at t = 0; find iL(t)
  6. 5b) Find iL at t = 1.2τ
  7. 5c) The switch opens again at t = 1.2τ; find iL(t') and its time constant

Lab: Resonance (ECE 2210/2200 Lab 6)

Build a series RLC circuit from 100 Ω, a 3.3 mH inductor and 0.001 µF, find its resonant frequency and plot its frequency response, then swap in 390 Ω to see a lower Q. Build a parallel RLC circuit and find its resonance, then make the lab servo oscillate and find its mechanical resonance with a sine input.

Before the lab

  • Calculate the series resonant frequency f0 = 1/(2π√(LC)): about 87.6 kHz for 3.3 mH and 0.001 µF, about 95 kHz for a 2.8 mH inductor
  • Plan a log-2 frequency axis: seven marks with the nearest whole number to f0 in the center, doubling each mark to the right and halving to the left (f0/8 to 8f0)
  • Review from lab 1 how to set the power supply to ±6 V for the servo

Equipment

  • Ohmmeter (digital multimeter)
  • Function generator (Agilent/HP 33120A)
  • Oscilloscope (two channels)
  • Two 10X scope probes (from the post in the lab; set any switches to 10X)
  • Servo unit (from the stockroom)
  • Bench power supply with ±6 V outputs
  • BNC-to-BNC cable
  • Breadboard and jumper wires

Parts

1100 Ω resistorbrown black brown
1390 Ω resistororange white brown
12 kΩ resistorred black red
10.001 µF capacitormarked 102
13.3 mH inductorblue cylinder marked 332, or a 2.8 mH marked LH233; anything 2 to 4 mH works

Procedure

  1. Inductor resistance
    • Measure the inductor's winding resistance with the ohmmeter (ideally 0 Ω, but expect a small value)
  2. Build the series RLC circuit
    • Function generator output to 100 Ω, to the 3.3 mH inductor, to the 0.001 µF capacitor, to ground
    • CH1 probe at the inductor-capacitor junction (this is vC); CH2 probe at the resistor-inductor junction; both probe grounds to circuit ground
    • Tell the scope you are using 10x probes: press the channel key, then the Probe softkey, for CH1 and again for CH2
  3. Find resonance
    • Set the generator to your calculated f0
    • Vary the frequency up and down while watching vC on CH1; use the right-arrow button to adjust the lower digits so you can find the true maximum
    • Record the generator frequency at the vC maximum as the actual f0
  4. Plot the frequency response
    • Measure the CH1 and CH2 amplitudes at enough frequencies from f0/8 to 8f0 to plot both curves (at least the seven log-2 marks)
    • Move CH2 to the generator side of the resistor so it reads vs; tune to f0 and find the ratio vC/vs
  5. Watch the phases
    • Sweep the generator slowly above and below f0 while watching the phase between the two traces
    • Note which way the phase shifts on each side of resonance
  6. Change the resistor
    • Replace the 100 Ω resistor with 390 Ω
    • Put CH2 back at the resistor-inductor junction
    • Repeat the amplitude measurements and plot them (same axis is fine; label every line)
  7. Parallel RLC circuit
    • Function generator to 2 kΩ, to a node; from the node to ground, the inductor and the 0.001 µF capacitor in parallel
    • CH1 probe at the node
    • Find the resonant frequency experimentally
    • If you were triggering from the generator's external sync (EXT), set the scope trigger back to internal (INT)
  8. Servo oscillation
    • With the servo's power switch off, connect it to the power supply (red, green or black common, blue) set to ±6 V as in lab 1
    • Turn the servo on and check that it works; note this in your notebook
    • Clip the scope probe ground to the servo ground (green banana jack) and the probe tip to the center (yellow) wire of the Motor Position Sensor potentiometer
    • Set the Input Position pot to about center and turn Gain fully clockwise
    • If it does not oscillate, nudge the Input Position pot; if it still doesn't, power off and adjust the rubber link to the Motor Position Sensor for less gear friction
    • Get a repeating trace (or press Run/Stop to freeze it) and measure the oscillation period and frequency
  9. Servo resonance
    • Turn the gain down slowly until the oscillation just stops and leave it at this barely stable point
    • Connect the generator to the servo SIGNAL input with a BNC-to-BNC cable; set 1 Vpp (probably 500 mVpp on the display) at 1 kHz and listen to the motor
    • Press Run/Stop if needed to unfreeze the trace; lower the frequency until the servo moves significantly, then drop the amplitude to about 200 mVpp
    • Keep lowering the frequency (and the amplitude if the trace gets messy) to find the frequency of greatest output; there may be several peaks from the rubber link, so use the biggest

Record

  • Measured inductor resistance
  • Calculated and measured f0 for the series circuit, compared
  • Plots of CH1 (vC) and CH2 amplitudes from f0/8 to 8f0 on a log-2 axis
  • The ratio vC/vs at resonance; answer: how can it be greater than 1?
  • Sketch or description of the phase change through resonance; explain which impedance (inductor or capacitor) dominates above and below f0 and why that sets the phase of the current
  • Plots for the 390 Ω circuit, clearly labeled
  • Which circuit has the higher Q, judged from the plots, and a comment on Q versus resistance
  • Parallel circuit's resonant frequency; answers: is it the same as the series circuit's, and how is resonance different here?
  • Note that you powered the servo and confirmed it worked, and that the scope is on the Motor Position signal
  • Description of the servo oscillation, with its period and frequency
  • Answers: is the servo trying to move back and forth 1000 times a second, and why can't the mechanics keep up?
  • Servo resonant frequency compared with its natural oscillation frequency
  • Conclusion; get the check-off