Lab

Series RLC circuit lab: resonance, bandwidth and phase

Objective
Find the resonant frequency of a series RLC circuit, f0 = 1/(2π√(LC)), check it with the lab's AC sweep (frequency response), see how the resistance sets the width of the peak (bandwidth and Q), and see on the NGSpice Time Domain chart that the current leads the source below resonance, is in step with it at resonance and lags it above.
Level
High school physics and first-year college
Time
50 minutes
Topics
Series RLC circuits, resonance f0 = 1/(2π√(LC)), inductive and capacitive reactance, impedance, bandwidth and Q factor, phase between voltage and current, frequency response
The lab's NGSpice AC Sweep chart for this circuit, with N3 and N5 added under V(f): from 1 Hz to 10 kHz both magnitudes rise to a peak of about 10 at 501 Hz, N3 (10 Ω) narrow and N5 (100 Ω) broad, and their phases (dashed) fall from 90° through 0° towards −90°; at 501 Hz the pointer reads N3: 9.996, N5: 10, N3 (deg): 1.518 and N5 (deg): 0.152.
This is what you will get: the AC Sweep chart (on this page or in the full lab: Analysis Type: AC Sweep, then add N3 and N5 to V(f) with + add), from 1 Hz to 10 kHz: the voltage across each resistor in volts on the left axis and its phase in degrees on the right, dashed. Both peak at 501 Hz, the point nearest f0: 9.996 V and 1.5° for N3, 10.000 V and 0.2° for N5 (lab readings).
Preview of Series RLC Resonance: AC Sweep and Phase Lab
Open in the lab Embed Run the circuit right here. To edit it in the full lab, sign in; free accounts have a time limit there.

The NGSpice chart on this page opens on Time Domain at 250 Hz with N1 (red, the source, the big wave) and N3 (yellow, the voltage across the 10 Ω resistor, the small wave) already plotted, and the board flags N1 and N3 in the same colors. N3 peaks a little before N1: below resonance the current leads. For the resonance curve, set Analysis Type to AC Sweep and add N3 and N5 to V(f) with + add. The chart's orange − button minimizes it, to show the whole board.

Teachers can assign this to a class. DCACLab for teachers

Steps

  1. Look at the circuit: the sine AC source (10 V peak, 250 Hz) on the left, its top terminal flagged N1 on the board. Two series RLC branches stand side by side between the top wire and ground, each with a 10 mH inductor at the top, a 10 µF capacitor in the middle and a resistor at the bottom: 10 Ω in the left branch, 100 Ω in the right one. N3 is the point between the capacitor and the 10 Ω resistor (flagged on the board); N5 is the same point in the 100 Ω branch. Before you start, work out f0 = 1 ÷ (2π × √(L × C)).
  2. The voltage across a resistor is its current times its resistance, so N3 and N5 show the current in each branch: I = V(N3) ÷ 10 Ω and I = V(N5) ÷ 100 Ω. Both branches hang straight across the source, so each behaves as if it were alone.
  3. Look at the NGSpice chart; it runs on this page without signing in. It opens with Analysis Type set to Time Domain and plots N1 (red) and N3 (yellow) under Volts over ten cycles of the 250 Hz source, with a point every 0.2 ms. The Amps panel stays empty: nothing is plotted there. On a later cycle, read the peak of N3 and the time from an N3 peak to the next N1 peak.
  4. Set Analysis Type to AC Sweep, here on the page or in the full lab (Open in the lab, sign in, then NGSpice), and add N3 and N5 to V(f) with + add. The chart now shows both against frequency, from 1 Hz to 10 kHz with 100 points per decade: their magnitude in volts (solid lines) and their phase in degrees (dashed lines).
  5. Move the pointer along the curves and record the magnitude and the phase of N3 and N5 at 1 Hz, 10 Hz, 100 Hz, 200 Hz, 501 Hz, 589 Hz and 1.738 kHz (the point nearest each). Find the peak of each curve, and the frequencies on each side of it where the magnitude falls to 7.07 V (0.707 of the 10 V source) and the phase reaches +45° or −45°.
  6. In the full lab, click the AC source and set its frequency to 503 Hz, then to 1 kHz. Each time, set Analysis Type to Time Domain, keep N1 and N3 under Volts (add them with + add if they are missing) and run the chart with ▶. Compare the size of N3 and its timing against N1 at 250 Hz, 503 Hz and 1 kHz.
  7. Work out each branch's bandwidth from your 7.07 V frequencies (upper minus lower) and its Q = f0 ÷ bandwidth, and compare them with bandwidth = R ÷ (2πL).

Data table

Frequency (Hz) N3 magnitude (V) N3 phase (°) N5 magnitude (V) N5 phase (°) Current, 10 Ω branch: N3 ÷ 10 Ω (A)
           
           
           
           
           
           
           

Questions

  1. Work out f0 for 10 mH and 10 µF. Where did the AC sweep peak, and what did N3 and N5 read there?
  2. At resonance, why does the whole 10 V appear across the resistor, and what current flows in each branch?
  3. From your readings, what are the bandwidth and the Q of each branch? Compare them with bandwidth = R ÷ (2πL) and Q = f0 ÷ bandwidth. Why do both branches peak at the same frequency?
  4. At 250 Hz, work out XL = 2πfL, XC = 1/(2πfC), the impedance and the voltage across the 10 Ω resistor, and compare them with the Time Domain chart. Why does N3 come before N1?
  5. What happened to N3's size and timing at 503 Hz and at 1 kHz? Explain with XL and XC which part wins on each side of resonance.
  6. Predict, without measuring: what capacitor would double f0 with the same inductor? What would halving the 10 Ω resistor do to the peak?
For teachers

Answer key

  1. Computed: f0 = 1 ÷ (2π × √(0.01 H × 0.00001 F)) = 503.3 Hz. Measured on the AC sweep: both curves peak at 501 Hz, the sweep point nearest f0, with N3 at 9.996 V and 1.5° and N5 at 10.000 V and 0.2°: the whole source voltage, almost exactly in phase with it.
  2. At f0 the inductor's reactance equals the capacitor's, and their voltages are equal and opposite, so they cancel: the branch's impedance is just R, and the resistor gets the whole 10 V. Computed: 10 V ÷ 10 Ω = 1 A peak in the 10 Ω branch and 10 V ÷ 100 Ω = 0.1 A in the 100 Ω branch. The same 10 V across both resistors means ten times the current in the 10 Ω branch.
  3. Measured: N3 falls to about 7.07 V at ±45° between the 427 Hz and 437 Hz sweep points (computed 430 Hz) and at 589 Hz (7.08 V, −44.9°), a bandwidth of about 159 Hz; computed R ÷ (2πL) = 10 Ω ÷ (2π × 0.01 H) = 159 Hz and Q = 503.3 Hz ÷ 159 Hz = 3.2. N5 falls to 7.07 V at about 146 Hz (computed) and at 1.738 kHz (7.07 V, −45.0°), a bandwidth of 1.59 kHz; computed 100 Ω ÷ (2π × 0.01 H) = 1.59 kHz and Q = 0.32. Ten times the resistance gives ten times the bandwidth and a tenth of the Q: the 10 Ω peak is sharp, the 100 Ω peak broad. Both peak at the same frequency because f0 depends only on L and C.
  4. Computed at 250 Hz: XL = 2π × 250 Hz × 0.01 H = 15.7 Ω and XC = 1 ÷ (2π × 250 Hz × 0.00001 F) = 63.7 Ω, so the branch is capacitive: X = 15.7 Ω − 63.7 Ω = −48.0 Ω and |Z| = √(10² + 48.0²) = 49.0 Ω. The current is 10 V ÷ 49.0 Ω = 0.204 A peak, so N3 = 0.204 A × 10 Ω = 2.04 V, leading by arctan(48.0 ÷ 10) = 78.2°, which is 0.87 ms of the 4 ms period. Measured on the chart: N3 peaks at 2.06 V, about 0.9 to 1.0 ms before N1. The Time Domain points are 0.2 ms (18°) apart, so this timing is coarse; the AC Sweep's dashed phase trace gives the phase more precisely. Below resonance the capacitor dominates, and the current into a capacitor leads its voltage, so the current, and N3 with it, leads. In the 100 Ω branch the resistor dominates: N5 reads 9.0 V and leads by only about 0.3 ms (computed 9.02 V and 25.6°).
  5. Measured: at 503 Hz N3 peaks at 9.94 V, in step with N1; at 1 kHz it is back down to 2.06 V but comes about 0.2 ms after N1 (computed 2.08 V, −78°, 0.22 ms). At resonance XL and XC cancel, so the current is largest and in phase with the source. Above resonance XL is larger than XC (computed at 1 kHz: 62.8 Ω and 15.9 Ω), the branch acts like an inductor, and the current lags. 250 Hz and 1 kHz are about one octave below and above f0, and the current is about the same size at both: only the sign of the phase changes.
  6. Computed: f0 = 1/(2π√(LC)) goes as 1/√C, so a quarter of the capacitance, 2.5 µF, doubles f0 to about 1 kHz. Halving R to 5 Ω halves the bandwidth, R ÷ (2πL), and doubles Q: a narrower, sharper peak, still at 503 Hz and still reaching the full 10 V. You can try both in the full lab: click the capacitor or the 10 Ω resistor to change its value, then run the AC sweep again.

Frequently asked questions

Do students need an account?

Not to run the circuit and its chart on this page: they run in the browser without signing in. To work in the full lab (Open in the lab), students sign in, and free accounts have a time limit there. Saving their own copy needs a DCACLab plan. To hand the work in as an assignment, they join your class through its join link.

Who can run the AC Sweep?

Without signing in, on this page: the NGSpice chart opens with the circuit, so set Analysis Type to AC Sweep and add N3 and N5 to V(f) with + add. In the full lab (Open in the lab), any signed-in account can run AC Sweep, Time Domain and DC Sweep, free accounts included (within the free account's time limit), except accounts on the Starter plan, which cannot open these charts.

Does the lab draw the response in decibels or as phasors?

No. The AC Sweep chart shows magnitude in volts on a linear axis and phase in degrees against frequency, from 1 Hz to 10 kHz with 100 points per decade (the range is fixed); there is no dB axis and no phasor diagram. Students can convert readings to decibels themselves with 20 × log10(V ÷ 10 V) and sketch the phasors from R, XL and XC.

Why does the chart open on Time Domain and not on the AC Sweep?

The page starts with the waves at one frequency, 250 Hz, below resonance, because they show what the series circuit does there: the current is small and leads the source. The resonance curve comes next and is a few clicks away: set Analysis Type to AC Sweep, then add N3 and N5 to V(f) with + add.

Teaching with circuits?

Create a classroom, give your students this lab, and review what they submit. The free classroom demo gives you one classroom with room for 30 students for 7 days, counted from when your first student joins (once per teacher); after that it keeps up to 5 students.

Try the free classroom demo