Skip to main content
Physics

RLC Circuit Simulator: LR & LC Inductors in 3D

Switch an inductor into a circuit. Why does the current lag, and with a capacitor, why does it swing back and forth?

An inductor opposes sudden current changes via self-induced EMF (-L dI/dt): in an LR loop current rises exponentially with time constant tau = L / R_total, whereas in a damped LC (RLC) loop energy oscillates between capacitor electric field and inductor magnetic field at period T_0 = 2 pi sqrt(L C) while coil wire resistance damps the envelope. This 3D RLC circuit simulator lets students measure 100 kHz LR transients, iron-core inductance, and LC resonance.

  • 11 languages
  • Laptop · tablet · phone
  • Members

Create a free account to get 2 lifetime Free Lab Passes for any labs in the library. The course guide on this page stays free.

Inside this lab

  1. 1

    Preview

    • Driving question
    • What you will predict
    • Equipment and safety
  2. 2

    Lab

    • Lock in prediction
    • Run the experiment, measure and replay
    • Your notebook fills in as you go
  3. 3

    Check

    • Did the lab agree with you?
    • Claim, evidence, reasoning
    • Check questions and a printable lab report

LR time constants and the LC circuit resonant frequency formula

An inductor stores magnetic energy U_B = (1/2) L I^2 and generates back-EMF V_ind = -L dI/dt whenever current tries to change. In the LR layout, current approaches I_f = E / (R + R_L) with time constant tau = L / (R + R_L) and half-time t_1/2 = tau ln(2). In the LC layout, connecting a charged film capacitor (1.0, 4.7, or 10 uF) across the 8.2 mH coil (R_L = 5.7 ohm) creates an underdamped series RLC oscillator whose undamped natural frequency follows the LC circuit resonant frequency formula f_0 = 1 / (2 pi sqrt(L C)) (T_0 = 2 pi sqrt(L C)), with damping envelope e^(-R_L t / (2 L)) and damped period T_d = 2 pi / sqrt(omega_0^2 - (R_L / (2 L))^2).

Apparatus, safety notes, and step-by-step procedure

  • Apparatus: Dual-layout 3D circuit board (LR and LC), 8.2 mH air-core coil (R_L = 5.7 ohm wire resistance) with removable iron core (L_core = 27.0 mH), board resistors (10 ohm, 33 ohm), non-polarized film capacitors (1.0 uF, 4.7 uF, 10 uF), DC supply (1.5 V, 3.0 V), three-position break-safe switch (O open, A supply/charge, B closed loop), and 100 kHz (0.01 ms step, 12 ms window, 1000x slow-motion) voltage and current scope.
  • Safety note (for physical lab prep): When building physical LR/LC circuits, avoid opening switches under high coil current to prevent inductive kickback sparks, and always use non-polarized film capacitors in LC loops because capacitor voltage reverses polarity each half-cycle.
  1. Open the bench in Ideal mode on the LR layout with air core (8.2 mH), 10 ohm resistor (R_total = 15.7 ohm), and 3.0 V supply (E30).
  2. Flip the switch from O to A (supply) and capture the 12 ms sweep; record final steady current I_f = 191.1 mA, half-time t_1/2 = 0.362 ms, and derived tau = t_1/2 / ln(2) = 0.522 ms.
  3. Flip the switch from A to B (closed loop) to record the symmetric exponential decay back to 0 mA with the exact same tau = 0.522 ms and safely dissipate stored U_B before changing components.
  4. Predict whether switching from 10 ohm to 33 ohm (R_total = 38.7 ohm) makes t_1/2 shorter or longer, then run the 33 ohm rise sweep to verify I_f drops to 77.5 mA and tau shortens to 0.212 ms.
  5. Wait until I < 5 mA, insert the iron core (27.0 mH), and run 10 ohm (tau = 1.720 ms, t_1/2 = 1.192 ms) and 33 ohm (tau = 0.698 ms) rise sweeps to verify L = tau * (R + R_L).
  6. Switch to the LC layout (air core 8.2 mH, R_L = 5.7 ohm), select C = 1.0 uF and 3.0 V, move switch to A to charge the capacitor through 10 ohm, then flip to B to launch damped LC oscillations.
  7. Measure the period T_d across downward voltage zero-crossings (0.569 ms, f_d = 1757 Hz), peak current I_pk, and negative voltage swing V_min, observing U_E and U_B trading out of phase while R_L heats the coil.
  8. Repeat LC sweeps for C = 4.7 uF (T_d = 1.236 ms, f_d = 809 Hz) and C = 10 uF (T_d = 1.808 ms, f_d = 553 Hz), verifying T^2 scales linearly with C (T^2 = 4 pi^2 L C).
  9. Switch to Real mode (±15% coil inductance tolerance, ±5% resistor/capacitor tolerance, 2.5 mV ADC resolution and offset) and compare inductance L extracted from LR vs. LC sweeps.

Recording table and model reference data

Model reference data — run your own trials in the 3D lab. Values below reflect Ideal mode (PHY-032-v0.3, L_air = 8.2 mH, L_core = 27.0 mH, R_L = 5.7 ohm, E = 3.0 V).

TrialIndependent Variable (Layout, Inductance & R / C)Dependent Variable (tau, t_1/2, I_f or Period T_d, Frequency f_d)UnitsObservation
Ref 1LR: Air (8.2 mH) + 10 ohm (R_tot = 15.7 ohm)tau = 0.522, t_1/2 = 0.362, I_f = 191.1ms, ms, mABaseline LR rise; L = tau * R_tot = 8.20 mH
Ref 2LR: Air (8.2 mH) + 33 ohm (R_tot = 38.7 ohm)tau = 0.212, t_1/2 = 0.147, I_f = 77.5ms, ms, mAHigher resistance speeds up transient (tau = L / R_tot)
Ref 3LR: Iron core (27.0 mH) + 10 ohm (R_tot = 15.7 ohm)tau = 1.720, t_1/2 = 1.192, I_f = 191.1ms, ms, mAIron core triples tau while steady DC current stays 191.1 mA
Ref 4LC (RLC): Air (8.2 mH, R_L = 5.7 ohm), C = 1.0 / 4.7 / 10 uFT_d = 0.569 / 1.236 / 1.808 (f_d = 1757 / 809 / 553)ms, Hz10x larger C lengthens period by sqrt(10) ≈ 3.16x
Your TrialRecord layout, core, R/C, E, modeRecord I_f, t_1/2, tau (or T_d, V_min, I_pk), derived LmA, ms, V, mHPlot T^2 vs. C (slope = 4 pi^2 L) and check LR vs. LC L

Lab report outline (blank template)

  1. Title: State the inductive circuit relationship tested (e.g., LR time-constant scaling with resistance/core and damped LC resonant period vs. capacitance).
  2. Purpose: Define how 100 kHz current and voltage waveforms measure tau = L / R_total and T = 2 pi sqrt(L C).
  3. Hypothesis: Predict how changing R, adding the iron core, and increasing C alter t_1/2, I_f, T_d, and voltage polarity swing.
  4. Variables: List layout (LR/LC), resistor (10/33 ohm), core (air/iron), capacitor (1.0/4.7/10 uF), and E (independent); I_f, t_1/2, tau, T_d, V_min, and I_pk (dependent); mode (controlled).
  5. Data Table: Record layout, R_tot (ohm) or C (uF), t_1/2 (ms), tau (ms), I_f (mA), T_d (ms), T_d^2 (ms^2), and derived L (mH).
  6. Analysis & Calculation: Compute L = tau * (R + R_L) for LR trials, plot T_d^2 vs. C to extract L = slope / (4 pi^2), and compare damped T_d with ideal T_0 = 2 pi sqrt(L C).
  7. Conclusion & Sources of Error: Explain why increasing R shortens LR tau while lengthening RC tau, and evaluate how Real-mode ±15% coil tolerances, R_L damping, and ADC offset affect derived L.

Compare capacitive RC transients in Capacitors & RC Circuits, examine Faraday's law and Lenz's law in Electromagnetic Induction, review DC loop and junction laws in Ohm's Law & Circuits, or browse all Physics Simulations.

Common questions

What is the LC circuit resonant frequency formula and how do you measure it from the waveform?

The ideal LC circuit resonant frequency formula is f_0 = 1 / (2 pi sqrt(L C)), with period T_0 = 2 pi sqrt(L C). Because the real 8.2 mH coil includes 5.7 ohm wire resistance, the simulator models a lightly damped series RLC loop whose period T_d = 2 pi / sqrt(1/(L C) - (R_L / (2 L))^2) is measured across downward voltage zero-crossings.

Why does increasing resistance make an LR circuit reach steady current faster instead of slower?

Unlike an RC circuit (tau = R C), an LR circuit has time constant tau = L / R_total (half-time t_1/2 = tau ln 2). Increasing total resistance from 15.7 ohm to 38.7 ohm lowers final current I_f = E / R_total and cuts tau by more than half (0.522 ms to 0.212 ms).

Why must coil wire resistance R_L = 5.7 ohm be included in LR time-constant calculations?

The inductor's copper windings have 5.7 ohm of DC resistance in series with the board resistor (10 ohm or 33 ohm), so total loop resistance is R_total = R + 5.7 ohm—leaving R_L out would miscalculate inductance L by over 35% on the 10 ohm setting.

How does inserting the iron core change inductance and the LR time constant?

Sliding the ferromagnetic iron core into the air-core coil increases inductance from 8.2 mH to 27.0 mH (more than 3.2x), lengthening the 10 ohm LR time constant from 0.522 ms to 1.720 ms while leaving final DC current unchanged.

Why does capacitor voltage swing negative in the LC circuit?

When the capacitor finishes discharging to 0 V, coil current is at its peak and magnetic energy U_B = (1/2) L I^2 drives charge onward onto the opposite plate, reversing capacitor voltage past zero before swinging back.

Why does the bench block opening the switch while coil current exceeds 5 mA?

Suddenly breaking a live inductive loop forces a massive dI/dt voltage spike and inductive spark (U_B = 1/2 L I^2); moving the switch to the Loop position (B) lets current decay safely through the closed circuit before disconnecting.