Positive current is outward. Black indicates the command or ideal relation; purple shows the uncompensated recording; teal shows the voltage coordinate after I·Rs correction. Hover for values; camera buttons download PNG files.

How to use this simulation

Work through the three demonstrations

Choose the numbered demonstrations from the popup menu or use the arrow buttons. Compare all places the voltage step, synaptic current, and I–V relations beside the main conclusions. The recording electrode and membrane-property controls apply throughout.

The shared voltage-clamp model

The amplifier controls the membrane through series resistance Rs. With outward-positive current, actual membrane voltage is Vm = Vcommand − IRs. The effective clamp speed also depends on Cm. The compensation control is an intentionally idealized reduction of effective Rs; real amplifier compensation can introduce ringing or instability, which is outside this simulation.

1. Voltage step: settling and capacitive current

Compare Vcommand with actual Vm. A finite Rs prevents an instantaneous voltage change, producing a capacitive current that decays as the membrane approaches its steady voltage. Increase Rs or Cm to slow the clamp. The dashed current is the ideal steady membrane current and deliberately excludes an instantaneous ideal capacitive impulse.

2. Synaptic current: when does Rs matter?

The event is a normalized double-exponential conductance with reversal potential Esyn, peak gsyn, τrise, and τdecay. The displayed current is baseline-subtracted. Try an excitatory miniature at Vhold = −70 mV and Esyn = 0 mV, then an inhibitory miniature at Vhold = 0 mV and Esyn = −70 mV. Error depends on the resulting current, not simply on whether the recording is in voltage clamp.

3. I–V relations: separate holding and synaptic currents

The upper panel shows the steady holding current needed to maintain each command voltage. Its ideal I–V relation crosses zero at Vrest. Finite Rs reduces the actual voltage excursion and makes the measured relation pivot around Vrest. Purple points use nominal Vcommand; teal points use the actual baseline voltage Vbaseline = Vcommand − IholdRs,eff.

The lower panel shows the synaptic current after subtracting the holding current. The AMPAR (linear) model represents an ohmic AMPA-receptor conductance: its ideal synaptic I–V relation is a straight line crossing zero at Esyn. During the response, additional current through Rs moves Vm away from both Vcommand and its baseline value. The corrected voltage coordinate therefore uses the total current during the response: Vresponse = Vcommand − Itotal,responseRs,eff.

The CP-AMPAR (inwardly rectifying) option represents calcium-permeable, commonly GluA2-lacking AMPA receptors. Intracellular polyamines increasingly block these receptors at positive potentials, suppressing outward current and producing inward rectification. The simulation uses a qualitative voltage-dependent rectification factor to demonstrate how Rs error can displace or obscure that shape; it is not a quantitative kinetic fit to Lalanne et al. Mode 3 treats gsyn as a steady open conductance at the sampled point. Cm and synaptic kinetics determine how quickly that state is approached but do not change these steady I–V relations.

Suggested exercises

  1. Calculate the initial current and steady voltage error for a voltage step using Ohm's law. Compare your result with the displayed values.
  2. Set Rs to 5, 25, 50, and 100 MΩ. Determine when a 1-nS synaptic event first exceeds a 1-mV clamp error.
  3. Keep gsyn fixed while changing Vhold and Esyn. Explain the error from driving force and current amplitude.
  4. At +30 mV, calculate IholdRs and predict the baseline membrane voltage before reading the I–V summary.
  5. Explain why the holding-current relation pivots around Vrest, whereas the linear synaptic relation reverses at Esyn.
  6. Compare the AMPAR and CP-AMPAR models. Why can plotting current against nominal command voltage misrepresent CP-AMPAR rectification?

Scope and references

This is a single-compartment teaching model. It omits spatial voltage escape, imperfect Rs estimates, noise, amplifier saturation, and instability from aggressive compensation. Series-resistance correction follows the Ohm's-law treatment described by Traynelis (1998) and the classical analysis of Moore, Hines & Harris (1984). Direct measurements of somatic voltage-clamp error are discussed by Williams & Mitchell (2008) and Gray & Santin (2023). The positive-voltage I–V correction is motivated by Lalanne et al. (2016).