Inductor & RL Circuit Back
Circuit Simulator

Inductor & RL Circuit Transient Response

Visualize I(t) and V_L(t) in real time for energizing, de-energizing, and AC steady-state modes. Automatically calculates time constant τ, energy storage, reactance, impedance, and phasor diagram.

Parameters
Mode
Inductance L
Range: 1 μH – 100 H (log)
Resistance R
Range: 0.01 Ω – 100 kΩ (log)
Supply Voltage V₀
V
Initial Current I₀
A
Results
Time Constant τ
I(τ) [A]
Energy ½LI² [J]
X_L / |Z| [Ω]
Current I(t) Transient Response
Current
Inductor Voltage V_L(t)
Vl
Theory & Key Formulas

Energizing: $I(t) = \dfrac{V_0}{R}\!\left(1 - e^{-t/\tau}\right) + I_0\,e^{-t/\tau}$, $\tau = \dfrac{L}{R}$

De-energizing: $I(t) = I_0\,e^{-t/\tau}$, $V_L(t) = -R\,I_0\,e^{-t/\tau}$

Energy: $U = \dfrac{1}{2}LI^2$

AC: $X_L = \omega L = 2\pi f L$, $|Z| = \sqrt{R^2 + X_L^2}$, $\phi = \arctan\!\left(\dfrac{X_L}{R}\right)$

What is RL Circuit Transient Response?

🙋
What exactly is a "transient response" in an RL circuit? I see the simulator has energizing and de-energizing modes.
🎓
Basically, it's how the circuit behaves during the short, dynamic period after a sudden change, like flipping a switch. It's the transition between two steady states. In practice, the inductor resists sudden changes in current, so it takes time for the current to build up or die down. Try switching the "Mode" control above between "Energizing" and "De-energizing" to see this dramatic difference in the current plot.
🙋
Wait, really? So the inductor is what causes the delay? What's that "τ" value the simulator calculates automatically?
🎓
Exactly! The inductor's property of inductance (L) fights the change. The time constant, tau ($\tau$), quantifies how long that delay is. It's simply $\tau = L / R$. For instance, a large inductor with a small resistor gives a large τ and a very slow response. Play with the L and R sliders—you'll see τ update instantly and watch the current curve stretch or shrink in real time.
🙋
Okay, that makes sense. But in the energizing equation, there's a part with an initial current I₀. Why would there be current before we energize it?
🎓
Great observation! That's for modeling a more complex, real-world scenario. Imagine you're switching between two power sources, or you have a circuit that cycles on and off rapidly. The inductor might still have current flowing from the previous state. That's what the I₀ parameter is for. Set a non-zero I₀ in the simulator and switch to energizing mode—you'll see the current start from that value and climb, instead of starting from zero.

Physical Model & Key Equations

The core physics comes from Kirchhoff's voltage law and the inductor's defining equation. For a series RL circuit with a DC voltage source V₀, the sum of voltages around the loop must be zero: the source voltage equals the voltage drop across the resistor plus the back-EMF across the inductor.

$$V_0 = i(t)R + L\frac{di(t)}{dt}$$

Solving this first-order differential equation gives the general transient current, where $\tau = L/R$ is the time constant, and $I_0$ is the current at time $t=0$.

The solution takes two primary forms, which you select with the "Mode" control:

Energizing (Switch closes to V₀):

$$I(t) = \dfrac{V_0}{R}\!\left(1 - e^{-t/\tau}\right) + I_0\,e^{-t/\tau}$$

De-energizing (Source removed, circuit shorted):

$$I(t) = I_0\,e^{-t/\tau}$$

Variables: $I(t)$ = instantaneous current (A), $V_0$ = supply voltage (V), $R$ = resistance (Ω), $L$ = inductance (H), $\tau$ = time constant (s), $I_0$ = initial current (A). The magnetic energy stored in the inductor is $W = \frac{1}{2} L I^2$.

Frequently Asked Questions

Charging mode simulates the process of storing energy from the power source into the coil (current increasing), while discharging mode simulates the process of releasing stored energy (current decreasing). The time constant τ is the same, but the direction of current change is opposite.
It can be adjusted by changing the values of resistance R and inductance L. There is a relationship τ = L/R. Increasing R makes τ smaller and the transient response faster, while increasing L makes τ larger and the response slower.
The phasor diagram visually shows the phase difference between voltage and current. In an RL circuit, the current lags behind the voltage, so the phase difference φ = arctan(ωL/R) can be confirmed, which helps in understanding reactance and impedance.
First, check whether the input values for resistance R, inductance L, power supply voltage V0, and initial current I0 are correct. In particular, verify that there are no unit errors (Ω, H, V, A) or mistakes in selecting charging/discharging mode.

Real-World Applications

Motor & Solenoid Drive Design: Every time you energize a motor winding or a solenoid valve, it's an RL circuit. Engineers use this analysis to size drivers, predict how fast the device actuates, and ensure inrush currents don't damage transistors. The simulator's "Initial Current" parameter is key for modeling pulse-width modulation (PWM) drives.

Power Supply & EMI Filter Design: The inductors in switch-mode power supplies and EMI filters experience continuous transients. Analyzing the RL time constant is crucial for stabilizing output voltage and designing filters that effectively suppress high-frequency noise without causing harmful voltage spikes.

Snubber Circuit Optimization: When switching off inductive loads (like relays), the collapsing magnetic field can create huge, damaging voltage spikes ($V = L di/dt$). RL transient analysis helps design snubber circuits (often an RC network) to safely dissipate this energy and protect sensitive electronic switches.

Circuit-Level Pre-Check for Electromagnetic FEA: Before running complex and computationally expensive 3D Finite Element Analysis (FEA) on a motor or transformer, engineers use this simple RL model to get ballpark figures for current rise times and steady-state values, ensuring their full simulation setup is physically reasonable.

Common Misconceptions and Points to Note

First, understand that "the time constant τ is not the time for the response to 'completely' finish." τ is the time for the current to reach approximately 63.2% (precisely 1 - 1/e) of its final value. In practice, a state is considered steady after about 5τ (reaching 99.3%). For example, if τ=2ms, you can estimate that the circuit will settle in roughly 10ms. Next, pay attention to the difference between an "ideal inductor" in simulation and a "real-world inductor." Real inductors always have winding resistance and stray capacitance. Even if you set L=100mH and R=10Ω in this tool, a real 100mH inductor you procure might have several ohms of DC resistance itself, making the effective R larger and the time constant shorter than calculated. Finally, "the current phase lag in AC mode" is often overlooked. In an inductor, the current lags the voltage by 90 degrees, but this simulator's graph displays the "instantaneous values" of voltage and current on separate axes. To intuitively understand the phase relationship, try setting the frequency extremely low (1Hz) and high (1kHz) and observe how the "peak positions" of the two waveforms shift.