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
Preview
- Driving question
- What you will predict
- Equipment and safety
- 2
Lab
- Lock in prediction
- Run the experiment, measure and replay
- Your notebook fills in as you go
- 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 (
LRandLC),8.2 mHair-core coil (R_L = 5.7 ohmwire 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 (Oopen,Asupply/charge,Bclosed loop), and100 kHz(0.01 msstep,12 mswindow,1000xslow-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.
- Open the bench in Ideal mode on the LR layout with
aircore (8.2 mH),10 ohmresistor (R_total = 15.7 ohm), and3.0 Vsupply (E30). - Flip the switch from
Oto A (supply) and capture the12 mssweep; record final steady currentI_f = 191.1 mA, half-timet_1/2 = 0.362 ms, and derivedtau = t_1/2 / ln(2) = 0.522 ms. - Flip the switch from
Ato B (closed loop) to record the symmetric exponential decay back to0 mAwith the exact sametau = 0.522 msand safely dissipate storedU_Bbefore changing components. - Predict whether switching from
10 ohmto33 ohm(R_total = 38.7 ohm) makest_1/2shorter or longer, then run the33 ohmrise sweep to verifyI_fdrops to77.5 mAandtaushortens to0.212 ms. - Wait until
I < 5 mA, insert the iron core (27.0 mH), and run10 ohm(tau = 1.720 ms,t_1/2 = 1.192 ms) and33 ohm(tau = 0.698 ms) rise sweeps to verifyL = tau * (R + R_L). - Switch to the LC layout (air core
8.2 mH,R_L = 5.7 ohm), selectC = 1.0 uFand3.0 V, move switch to A to charge the capacitor through10 ohm, then flip to B to launch damped LC oscillations. - Measure the period
T_dacross downward voltage zero-crossings (0.569 ms,f_d = 1757 Hz), peak currentI_pk, and negative voltage swingV_min, observingU_EandU_Btrading out of phase whileR_Lheats the coil. - Repeat LC sweeps for
C = 4.7 uF(T_d = 1.236 ms,f_d = 809 Hz) andC = 10 uF(T_d = 1.808 ms,f_d = 553 Hz), verifyingT^2scales linearly withC(T^2 = 4 pi^2 L C). - Switch to Real mode (
±15%coil inductance tolerance,±5%resistor/capacitor tolerance,2.5 mVADC resolution and offset) and compare inductanceLextracted 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).
| Trial | Independent Variable (Layout, Inductance & R / C) | Dependent Variable (tau, t_1/2, I_f or Period T_d, Frequency f_d) | Units | Observation |
|---|---|---|---|---|
| Ref 1 | LR: Air (8.2 mH) + 10 ohm (R_tot = 15.7 ohm) | tau = 0.522, t_1/2 = 0.362, I_f = 191.1 | ms, ms, mA | Baseline LR rise; L = tau * R_tot = 8.20 mH |
| Ref 2 | LR: Air (8.2 mH) + 33 ohm (R_tot = 38.7 ohm) | tau = 0.212, t_1/2 = 0.147, I_f = 77.5 | ms, ms, mA | Higher resistance speeds up transient (tau = L / R_tot) |
| Ref 3 | LR: Iron core (27.0 mH) + 10 ohm (R_tot = 15.7 ohm) | tau = 1.720, t_1/2 = 1.192, I_f = 191.1 | ms, ms, mA | Iron core triples tau while steady DC current stays 191.1 mA |
| Ref 4 | LC (RLC): Air (8.2 mH, R_L = 5.7 ohm), C = 1.0 / 4.7 / 10 uF | T_d = 0.569 / 1.236 / 1.808 (f_d = 1757 / 809 / 553) | ms, Hz | 10x larger C lengthens period by sqrt(10) ≈ 3.16x |
| Your Trial | Record layout, core, R/C, E, mode | Record I_f, t_1/2, tau (or T_d, V_min, I_pk), derived L | mA, ms, V, mH | Plot T^2 vs. C (slope = 4 pi^2 L) and check LR vs. LC L |
Lab report outline (blank template)
- Title: State the inductive circuit relationship tested (e.g., LR time-constant scaling with resistance/core and damped LC resonant period vs. capacitance).
- Purpose: Define how
100 kHzcurrent and voltage waveforms measuretau = L / R_totalandT = 2 pi sqrt(L C). - Hypothesis: Predict how changing
R, adding the iron core, and increasingCaltert_1/2,I_f,T_d, and voltage polarity swing. - Variables: List layout (
LR/LC), resistor (10/33 ohm), core (air/iron), capacitor (1.0/4.7/10 uF), andE(independent);I_f,t_1/2,tau,T_d,V_min, andI_pk(dependent); mode (controlled). - Data Table: Record layout,
R_tot (ohm)orC (uF),t_1/2 (ms),tau (ms),I_f (mA),T_d (ms),T_d^2 (ms^2), and derivedL (mH). - Analysis & Calculation: Compute
L = tau * (R + R_L)for LR trials, plotT_d^2vs.Cto extractL = slope / (4 pi^2), and compare dampedT_dwith idealT_0 = 2 pi sqrt(L C). - Conclusion & Sources of Error: Explain why increasing
Rshortens LRtauwhile lengthening RCtau, and evaluate how Real-mode±15%coil tolerances,R_Ldamping, and ADC offset affect derivedL.
Related circuits and electromagnetism labs
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.


