TL;DR: This calculator simulates the transient current i(t) of a series RL circuit driven by a constant (step) voltage. It reports the key summary values (τ = L/R, ifinal = V/R) and numerically integrates the differential equation so you can plot the full curve and export samples to CSV.
A series resistor–inductor (RL) circuit appears in motor windings, solenoids/actuators, relays, and power electronics. When a DC source is applied, the inductor resists abrupt changes in current, so the current rises (or falls) smoothly toward a steady value rather than stepping instantly.
This page models an ideal series RL connected to a constant voltage source at t = 0 with an optional initial current I₀. You choose the simulation time step Δt and total duration T to control the plotted timeline and numerical resolution.
Applying Kirchhoff’s Voltage Law (KVL) around the loop for a series RL driven by a constant voltage V gives:
Rearrange to the standard first-order ODE:
di/dt = (V − R·i) / L
For constant V, the closed-form solution is:
i(t) = ifinal + (I₀ − ifinal)·e−t/τ
where:
Interpretation of τ: after one time constant, the current has moved about 63.2% of the way from I₀ to ifinal. After about 5τ, it is very close to steady state (~99.3%).
Inputs: V = 5 V, R = 2 Ω, L = 0.5 H, I₀ = 0 A.
Analytical checkpoints:
If you set T to at least ~1.25 s, you’ll see the curve nearly reach steady state. If you set T = 0.5 s (the default), you’ll still see a substantial rise (about 86.5% of final by 2τ).
| Change | What happens to τ = L/R? | What happens to ifinal = V/R? | What you see on the plot |
|---|---|---|---|
| Increase L | Increases (slower) | No change | Slower rise/decay, same final level |
| Increase R | Decreases (faster) | Decreases | Settles faster but to a lower plateau |
| Increase V | No change | Increases | Same shape vs time, higher plateau |
| Nonzero I₀ | No change | No change | Curve starts at I₀ and moves toward V/R |
τ = L/R sets how quickly current changes. Roughly: 1τ gets you 63% of the way to the final value; 5τ is “basically settled.”
The simulator integrates di/dt in discrete steps. Smaller Δt tracks the continuous solution more closely, especially when τ is small or you want accurate energy values.
Not directly. This tool is for a DC step (transient) with constant V. AC steady-state RL analysis uses impedance and phase, which is a different model.
Practice throttling an RL stage to stay inside the current window. Drag or tap the canvas (or use arrow keys) to steer the switch duty and keep the inductor hugging its target band as load pulses and resistance shifts roll in.