RL Circuit: Current, Back-EMF and Energy Curves of a Solenoid (2D)
The same RL model on a flat circuit diagram: charge flowing round the loop, field loops around the coil, lamp glow and an energy bar, with live current, coil-voltage and energy curves. Compare air, ferrite and iron cores and four ways of driving the circuit.
Every real coil — a motor winding, a relay, a transformer, a solenoid — resists sudden changes in current because of its own self-inductance. This simulator renders an actual 3D solenoid wired into a battery-resistor-switch loop: close the switch and the current climbs smoothly toward V/R along the exponential curve I(t) = (V/R)(1 − e^(−tR/L)); open it and the coil's collapsing magnetic field drives the same current back down to zero. Tune the voltage, resistance and inductance to see the time constant τ = L/R stretch or compress the transient live, watch charge markers move along the wire at a rate proportional to the instantaneous current, and see the magnetic field arrows inside the coil grow and collapse with it — exactly the physics behind why switching off an inductive load without a flyback diode can spike the voltage.
The same RL model on a flat circuit diagram: charge flowing round the loop, field loops around the coil, lamp glow and an energy bar, with live current, coil-voltage and energy curves. Compare air, ferrite and iron cores and four ways of driving the circuit.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install