Introduction
The vast repertoire of electrical activity displayed by neurons, cardiac myocytes, and various endocrine and sensory cells is the result of membrane-bound ion channels each producing a distinct conductance that facilitates current flux through the membrane. These conductances may be static, or their magnitudes may be voltage or ligand dependent. Dynamic clamp, a term for the various combinations of software and hardware that simulate these conductances, has proven to be a valuable tool for electrophysiologists studying excitable cells. One can think of dynamic clamp as a tool for immersing neurons in virtual reality-inspired experiments. Virtual synapses may be simulated, allowing a biological neuron to communicate with or receive inputs from real and simulated cells. Dynamic clamp can also be used to introduce virtual voltage-gated channels into biological neurons, thus altering the neurons integrative properties. This Toolbox article includes a brief description of how conductances are simulated as well as a discussion of the neurophysiological applications of dynamic clamp and its potential pitfalls. The origins of dynamic clamp, its implementation, and its applications to cardiac and endocrine electrophysiology have been reviewed elsewhere (Sharp et al., 1993; Prinz et al., 2003; Goaillard and Marder, 2006; Wilders, 2006; Destexhe and Bal, 2009).
Conductance injection
The current I that flows through a population of channels is governed by the equation I = Gmax a (Vm − Eion). In general, Gmax, the maximal conductance, is a constant that depends on the density of channels in the membrane and the speed with which ions can pass through the channel. The reversal potential, Eion, is determined by the concentration of ions inside the cell and in the extracellular space. Therefore, to simulate the current introduced by a membrane conductance, one must be able to continuously monitor the membrane voltage, Vm, and determine the fraction of channels that are open, a, at each point in time. Vm can be measured with sufficient accuracy by a patch pipette in the whole-cell configuration. For voltage-gated channels, the time evolution of a is typically modeled by a differential equation that describes the kinetics of channel opening and closing in response to changing voltage. For a constant conductance, such as the leak conductance, a is constant and equal to 1. For calcium-dependent K+ and similar channels, the model must account for the molecular species to which the channels are sensitive. Similarly, to simulate channels that depend on binding of a neurotransmitter, one must additionally account for changing ligand concentration to calculate a. Models of postsynaptic conductances gated by neurotransmitters are typically phenomenological, based on evoked or spontaneous responses measured under voltage or current clamp.
The current produced by this simulated population of channels is subsequently injected into the cell either using a second patch pipette or, if the amount of current to be injected is sufficiently small, with the same pipette used to monitor voltage (Fig. 1). As a result, the magnitude of current flowing into the cell is the same as if a channel with the modeled properties was embedded into the cell membrane. For this reason, simulating channels via dynamic clamp is often referred to as “creating artificial conductances” (Sharp et al., 1993) or a “virtual knockin” (Dorval and White, 2005).
Virtual pharmacology
Careful voltage clamp studies have been undertaken to quantify the maximal conductance, reversal potential, and dynamics governing the gating of many of the channels typically present in neuronal cell membranes. Although virtual knockins via dynamic clamp using these parameters can be powerful for studying the impact of various channels on the input–output properties of neurons, more sophisticated manipulations can be undertaken as well in which properties of a model channel may be altered to determine which features of the channel impact membrane dynamics.
Dorval and White (2005) provide a good example of such a manipulation. In this study, dynamic clamp was used to show that the stochasticity of the persistent sodium current, INaP, is essential to its role in the generation of subthreshold membrane potential oscillations and input selectivity in stellate cells of the medial entorhinal cortex (Fig. 2). Although all channels open and close probabilistically, stochastic flicker of INaP channels has been shown to be the major source of membrane potential noise in these cells in vitro. This is the result of a relatively small number of INaP channels in the membrane coupled with their large single-channel conductance. In this example, INaP was blocked using the neuroprotective drug riluzole, abolishing subthreshold membrane potential oscillations. To assess the impact that the stochasticity of the channel, in particular, has on membrane dynamics, the INaP channel was then knocked in virtually in either a deterministic form or using a model in which the number of open and closed channels was determined probabilistically at each time step. Subthreshold membrane potential oscillations similar in power to the control were restored after addition of the stochastic, but not the deterministic, persistent sodium channel (Fig. 2B,C).
Similar virtual pharmacological experiments have been performed in a number of studies to elucidate the role of specific channels. In CA1 pyramidal cells, INaP reduces gain, regularizes spike trains, and increases response variability (Vervaeke et al., 2006). Idoux et al. (2006) used dynamic clamp to contrast the spatial distribution of INaP and its impact on excitability in type B and type D cells in the prepositus hypoglossi nucleus of the guinea pig, while Hughes et al. (1998) demonstrated the vital role of the hyperpolarization-activated cation current, Ih, on delta frequency bursts in thalamocortical neurons.
Artificial synaptic input
Synaptic inputs, represented by stereotyped current waveforms, have been applied to neurons to study their integrative and response properties for many years. However, synaptic inputs introduced in this way do not capture two vital, interrelated aspects of realistic conductance-based inputs. First, conductance inputs interact in a nonlinear manner. For example, the inhibitory action of GABAergic inputs is typically not achieved as a result of large deviations in membrane potential but by “shunting” the current produced by excitatory inputs, thus reducing their impact on the postsynaptic cell. This GABAergic shunting is a direct result of the reversal potential of GABA receptor channels, which is close to resting potential (Hille, 2001). Second, conductance-based synaptic inputs, native or simulated via dynamic clamp, decrease the input resistance of the cell membrane and, consequently, the time constant of the cell, thus reducing the time interval over which inputs are integrated (Paré et al., 1998; Destexhe and Paré, 1999; Destexhe et al., 2003).
In vivo intracellular recordings in awake and anesthetized animals have shown that neurons in the neocortex (Matsumura et al., 1988; Baranyi et al., 1993; Borg-Graham et al., 1998; Paré et al., 1998; Destexhe and Paré, 1999) and other regions of the nervous system (Jörntell and Ekerot, 2006; Berg et al., 2007, 2008) receive a constant barrage of synaptic input. This synaptic activity has been shown to reduce the input resistance and membrane time constant by 50–80% and to produce a significant depolarization even when the local network is relatively inactive (Destexhe et al., 2003). These findings imply that neurons reside in a qualitatively different state in the intact brain than the relatively quiescent state observed in vitro. Destexhe et al. (2003) have shown that this “high conductance state” can be replicated during in vitro experiments by applying high rates of artificial synaptic inputs to a cell via dynamic clamp (Fig. 3A,B).
Following this approach, it has been shown that the input–output behavior of CA1 pyramidal cells switches from a primarily integrative mode, responding to the average rate of synaptic input under quiescent conditions, to a mode in which they preferentially respond to highly correlated inputs in the high-conductance state (Prescott et al., 2006, 2008). A qualitative shift in response properties has also been shown in thalamocortical neurons in the high-conductance state (Wolfart et al., 2005). During dynamic clamp-mediated synaptic barrages, there was no clear delineation between the two states these cells have been shown to occupy in vitro: a quiescent “down state,” in which synaptic inputs are reliably relayed, and a burst-firing “up state,” in which the cell is relatively insensitive to the spiking of its presynaptic partners. Instead, these cells occupied a range of states intermediate between the up and down states with a commensurate range of input sensitivities.
An advantage to a flexible, real-time, feedback control system like many dynamic clamp implementations is the ability to perform other operations in real time in addition to the simulation of conductances. For instance, the ability to detect action potentials in real time coupled with the capability to simulate synaptic conductance transients allows for the construction of virtually connected networks. In this scheme, two neurons may be recorded simultaneously and an artificial synaptic conductance initiated in one cell whenever a spike occurs in the other. Similarly, one may record from a single neuron and simulate reciprocal connections with one or more in silico neurons whose activity are simulated in real time with the dynamic clamp software, in this way constructing a hybrid network of real and artificial cells. This technique has been applied to study central pattern generators in the lobster stomatogastric ganglia (Harris-Warrick et al., 1995; Sharp et al., 1996; Bartos et al., 1999; Elson et al., 2002; Thirumalai et al., 2006) and to study the manner in which reciprocally connected cells synchronize (Fig. 3C). Hybrid network approaches are also useful for model validation. Replacing a modeled cell in a simulated network with an in vitro recorded cell and observing that the network behavior remains qualitatively similar is an excellent validation that the modeled cell captures the necessary features of the real cell for the study.
Feedback control
Apart from simulating conductances—both synaptic and voltage-gated—a flexible dynamic clamp system enables all manner of experiments requiring feedback control. One application that falls into this category is the simulation or stimulation of feedback excitation and inhibition following each action potential in a recorded cell in vitro. In the “reactive clamp” of Fellous and Sejnowski (2003), persistent activity was induced in a spontaneously firing cell when artificial feedback excitatory and inhibitory synaptic conductances were applied to the cell following each spike. More recently, dynamic clamp has been used to control light-activated opsins expressed in fast-spiking interneurons (Fig. 4B). When inhibition was stimulated in this way following action potentials in a neocortical pyramidal cell, the pyramidal cell was found to oscillate at gamma frequencies, providing direct evidence that gamma oscillations can be induced by feedback from fast-spiking interneurons, as predicted by theoretical and experimental studies (Traub et al., 1996; Whittington et al., 2000; Atallah and Scanziani, 2009).
Similar to the idea of virtual pharmacology, dynamic clamp has been used to knock in conductances that have no direct biophysical correlate. Fernandez and White (2008) devised an afterhyperpolarization (AHP) reduction conductance as well as a similar AHP enhancement conductance to show that the spike train rhythmicity observed in entorhinal stellate cells can be attributed to the shape of the AHP (Fig. 4A). These currents are not intended to mimic native membrane-bound channels but instead simply manipulate the voltage trajectory following an action potential. This manipulation could be implemented just as effectively as an AHP-modifying current, although this would be difficult without a real-time system able to inject current with a very short, consistent delay after an action potential is detected.
Technical challenges
The electrophysiological prerequisite for implementing dynamic clamp is simple: intracellular voltage must be measured accurately in the presence of applied current. This is not an issue when separate pipettes are used to measure voltage and apply current, but when recording with a single pipette in bridge mode, a certain amount of inaccuracy is inevitable. Although the access resistance—the resistance due to the recording pipette—is typically compensated for with an intracellular amplifier, this compensation is typically only 80–90% accurate. This imperfect bridge balance results in a voltage measurement error that is directly proportional to the amount of current flowing through the pipette. This measurement error is typically small for low-resistance patch pipettes passing modest amounts of current. Sharp microelectrodes and high-resistance patch pipettes (e.g., those used to record in vivo) introduce considerable inaccuracy, and, although methods exist to minimize this error (Brette et al., 2007, 2008), extra care must be taken to ensure that sufficient accuracy is obtained.
While typically more expensive and less flexible than software-based systems, dynamic clamp systems implemented in hardware are able to update the applied current to a cell nearly instantaneously as voltage fluctuates. Software-based systems require that an analog voltage signal be digitized, some calculation be performed in the computer, and then the correct analog control signal be generated and applied to the neuron. This sequence of events takes a finite amount of time (latency) and is repeated some predetermined number of times per second (update rate). The variation in the update period from time step to time step is referred to as “jitter.” The effect of update rate, latency, and jitter on dynamic clamp performance and stability has been quantified in detail (Butera and McCarthy, 2004; Raikov et al., 2004; Bettencourt et al., 2008; Preyer and Butera, 2009). In general, the update rate should be sufficient to capture the dynamics of the conductance being modeled as well as the time course of voltage fluctuations. An update rate of 10–20 kHz is typically sufficient for this purpose and is possible on nearly every dynamic clamp system. Simulating a conductance with very fast kinetics, such as the transient sodium channel responsible for the upstroke of action potentials, requires a much higher update rate (Bettencourt et al., 2008). Latency and jitter should be minimized to the extent possible. Conversion between analog and digital signals constitutes another source of error, although this inaccuracy becomes relevant only when dealing with small signals. In practice, dynamic clamp systems have been implemented in a number of environments. Systems built in real-time Linux [available at www.rtxi.org (Dorval et al., 2001; Raikov et al., 2004)] and LabVIEW (Kullmann et al., 2004) guarantee real-time performance. Systems built in Windows (Nowotny et al., 2006; Milescu et al., 2008) do not make this guarantee but can be shown to perform well for many applications (Milescu et al., 2008).
Model error
In most dynamic clamp experiments, the greatest source of inaccuracy stems from model error, which we define as a mistake in the form, parameters, or implementation of a modeled process. In virtual pharmacology experiments, an accurate knockin is predicated upon the assumption that the model truthfully captures the properties of the native channel. Aside from the inherent imperfections of voltage clamp measurements (Johnston and Brown, 1983; Williams and Mitchell, 2008; Sakmann and Neher, 2009), channel kinetics, densities, and voltage dependence have been shown to depend strongly on the neuromodulatory state of the neuron (Zhang and Harris-Warrick, 1995; Peck et al., 2006) as well as intracellular (Jensen et al., 2005) and extracellular (Zhang et al., 2001) concentrations of ions and other molecules. Model errors can even be introduced purposefully to formulate computationally efficient models of biophysical properties. For example, many channel models operate under the convenient but inaccurate assumption that activation and inactivation are independent (Hille, 2001). It is essentially certain that any voltage-gated conductance added via dynamic clamp will not perfectly mimic its naturally occurring counterpart, although the magnitude and importance of such model error is likely to vary considerably from case to case. A recent study aimed at minimizing this source of error uses online estimation to tune model parameters to account for cell-to-cell variation in channel properties (Milescu et al., 2008). This approach should prove valuable for optimizing channel models knocked in with virtual pharmacology.
Model error can appear in implementations of synaptic bombardment as well. A common method for simulating in vivo-like background synaptic activity is to determine arrival times according to a random Poisson process. These processes are simple to implement computationally and incorporate the added benefit that the SD of interevent intervals is equal to the mean interval regardless of the rate at which synaptic inputs arrive. This is an important consideration for those attempting to separate the complementary effects of noise and increased membrane conductance introduced by in vivo-like activity on neuronal dynamics (Chance et al., 2002; Prescott and De Koninck, 2003; Tateno and Robinson, 2006). A particularly efficient approximation of the Poisson process is to determine the probability of an event occurring at each time step and then to apply a conductance transient via dynamic clamp according to that probability (Fernandez and White, 2008; Chance and Abbott, 2009). However, this approximation only holds if the rate of synaptic inputs is sufficiently small compared with the update rate of the dynamic clamp software. As a rule of thumb, the probability of an event occurring at each time step must be <0.1 to ensure that the ratio of the SD to the mean remains above 0.95 (M. N. Economo and J. A. White, unpublished observations). If this approximation does not hold, one must apply an appropriate correction (e.g., calculating the probability that two or more events occur in one interval) to avoid introducing unnecessary confounds into experimental results.
Issues related to electrode-mediated conductance application
Currents injected via dynamic clamp are typically introduced at the soma, as in conventional current clamp experiments. For this reason, virtual conductances mimicked by dynamic clamp are restricted to a single location in the membrane—the location of the recording pipette—unlike native conductances, which are distributed throughout the plasma membrane of the cell either uniformly or with some spatially varying density (Häusser et al., 2000; Stuart et al., 2007). Many of the effects of dendritic filtering can be inferred from somatic recordings of synaptic events, and modeling studies have indicated that the effects of somatic and dendritic synaptic barrages on the neuronal integrative properties are similar (Destexhe et al., 2003) (F. R. Fernandez and J. A. White, unpublished data). Nevertheless, it is clear that nonlinear interactions among synaptic inputs arriving at dendritic locations will not be captured using the traditional dynamic clamp approach. Additionally, changes in membrane conductance effected at the soma will not pervade the dendritic tree but are restricted to less than one space constant from the recording site (Williams, 2004).
One last notable aspect of conductances introduced with dynamic clamp is the necessary constraint that all current flowing into or out of the cell is mediated by the flux of a single charge carrier, typically the chloride ion. For this reason, chemical effects, such as the accumulation of calcium inside the cell following activation of calcium-permeable channels or dynamics associated with second-messenger systems, cannot currently be captured via dynamic clamp, although such effects can be simulated (Feng and Jaeger, 2008).
Conclusion
We have reviewed several uses and some of the potential pitfalls of the dynamic clamp technique with the goal of helping readers understand and evaluate articles that use this emerging technique. The dynamic clamp technique allows electrophysiologists to test hypotheses in novel and powerful ways. In particular, dynamic clamp experiments are the only way to study the effects of mathematically precise manipulations of voltage- or ligand-gated channels on cellular integration in living neurons. For this reason, we expect use of the technique to grow.
With regard to the pitfalls of dynamic clamp, the one that prompts the most discussion is the difficulty in representing spatially extended conductances using a “point-source” electrode. This is a legitimate point that should always be kept in mind in interpreting dynamic clamp results, but this problem can be mitigated in many cases. For example, many studies (Chance et al., 2002; Netoff et al., 2005; Wolfart et al., 2005; Dorval and White, 2006; Prescott et al., 2008) focus on the effects of conductance-based synaptic input on neuronal integration at the soma and axon hillock. In most such studies, synapses are modeled using data from somatic recordings that include the effects of dendritic filtering. Thus, to the degree that the inputs sum linearly in the dendrites, the effects of the dendrite can be accounted for. Other techniques, including dendritic patching, real-time triggering of nerve shock, or neurotransmitter uncaging, can account for spatial locations as well. In evaluating this issue, the reader should keep in mind that we as a community generally accept results from somatic current–clamp experiments at face value, although this technique relies on a point source as well.
The problem of model error, which we define as systematic error in the details of simulated channels or input processes, is perhaps underappreciated by the neuroscience community at large. As in pure computational studies, it is essentially impossible to construct the perfect dynamic clamp representation of a set of channels, particularly voltage-gated channels. In both computational and dynamic clamp studies, one must demonstrate, or hope, that the effects of model error are minimal, which is often the case. Methods for automated tuning of model parameters to match control data (Milescu et al., 2008) may prove helpful in mitigating this problem.
We consider the future of the dynamic clamp technique bright. Nearly turnkey implementations are becoming more widespread. A number of courses in computational neuroscience (e.g., at the Marine Biological Laboratory, in Okinawa, Japan, and the Program of European Neuroscience Schools course in Europe) are increasing the level of awareness of the technique and pool of potential users at a dramatic pace. And the problems of spatial distributions of channels and model error can be mitigated. We hope that dynamic clamp becomes an integral part of every electrophysiologist's experimental toolbox.
Footnotes
-
This work was supported by National Institutes of Health Grants R01 RR020115, R01 NS034425, and RC1 NS069033. We thank Dr. Tilman P. Broicher, Dr. Roy M. Smeal, and Dr. Alan D. Dorval Jr. for useful discussions and comments on this manuscript.
-
Editor's Note: Toolboxes are intended to briefly highlight a new method or a resource of general use in neuroscience or to critically analyze existing approaches or methods. For more information, see http://www.jneurosci.org/misc/itoa.shtml.
- Correspondence should be addressed to John A. White, Department of Bioengineering, University of Utah, 20 South 2030 East, BPRB 108, Salt Lake City, UT 84112. john.white{at}utah.edu