Biology · Simulator 036
Inject current into a neuron and watch its membrane voltage. Weak pulses fade away; strong ones trigger an all-or-nothing action potential. Hold the current on to see repetitive firing, and find how firing rate depends on stimulus strength.
Class 9–10Class 11–12CollegeClass 10 Science: Control and Coordination; Class 11 Biology: Neural Control and Coordination
This simulator uses the FitzHugh–Nagumo model, a two-variable simplification of the Hodgkin–Huxley equations:
dv/dt = v − v³/3 − w + I
τ dw/dt = v + a − b w
v is the (scaled) membrane voltage, w a slow recovery variable (standing in for sodium inactivation and potassium activation), and I the injected current. The fast cubic term gives the explosive rise of the spike; the slow w brings the voltage back down and makes the cell temporarily refractory.
Key behaviours: a threshold (small inputs decay, larger ones fire), all-or-nothing spikes of similar size, a refractory period when a second pulse fails, and repetitive firing above a critical sustained current, at a rate that increases with I. For display, voltage is mapped to millivolts (rest ≈ −65 mV, peak ≈ +30 mV) and time to milliseconds.
Qualitative model with standard parameters (a = 0.7, b = 0.8, τ = 12.5); real neurons have many more channel types. Units are rescaled for readability.
Why is a neuron's signal strength usually encoded by how often it fires rather than by the size of each spike?
Spikes are all-or-nothing, so their height is fixed by the membrane dynamics, not by the input. What changes with stimulus strength is the time to recover and re-fire, so firing rate carries the information. Raise the sustained current from 0.35 to 0.8 and watch the rate climb (about 11 → 14 Hz in this model) while spike height stays the same. Real neurons have a much wider rate range.
Where the neuron rests: with no input (I = 0) and the lab's constants a = 0.7, b = 0.8, rest is where both variables stop changing:
dw/dt = 0 gives w = (v + 0.7) / 0.8. Putting that into dv/dt = 0, v − v³/3 − w = 0, gives v³ + 0.75 v + 2.625 = 0, so v ≈ −1.20 and w ≈ −0.62. The lab displays that rest state as about −65 mV.
Threshold: a pulse that lifts v only a little lets w pull it back. Past threshold (a pulse of about 0.42 here) the cubic term takes over and the voltage shoots up to a full spike of about +30 mV, the same height whatever the pulse size.
Refractory limit: if a neuron cannot fire again for about 60 ms, it can fire at most about 1000 / 60 ≈ 16 spikes a second, however strong the input. Try pulse gaps of 20 ms and 60 ms.
A brief, all-or-nothing spike in a neuron's membrane voltage, from about −65 mV up to about +30 mV and back within a few milliseconds. It is how neurons send signals along their axons.
The short time after a spike when the neuron cannot fire again, or needs a much stronger push. It limits the firing rate and makes signals travel in one direction.
By firing more often. A stronger steady input makes spikes come closer together, so information is carried by the firing rate, not the spike height.