Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2014 Mar 13;9(3):e90480. doi: 10.1371/journal.pone.0090480

Energy-Optimal Electrical-Stimulation Pulses Shaped by the Least-Action Principle

Nedialko I Krouchev 1,*, Simon M Danner 2,3, Alain Vinet 4, Frank Rattay 2, Mohamad Sawan 1
Editor: Dante R Chialvo5
PMCID: PMC3953645  PMID: 24625822

Abstract

Electrical stimulation (ES) devices interact with excitable neural tissue toward eliciting action potentials (AP’s) by specific current patterns. Low-energy ES prevents tissue damage and loss of specificity. Hence to identify optimal stimulation-current waveforms is a relevant problem, whose solution may have significant impact on the related medical (e.g. minimized side-effects) and engineering (e.g. maximized battery-life) efficiency. This has typically been addressed by simulation (of a given excitable-tissue model) and iterative numerical optimization with hard discontinuous constraints - e.g. AP’s are all-or-none phenomena. Such approach is computationally expensive, while the solution is uncertain - e.g. may converge to local-only energy-minima and be model-specific. We exploit the Least-Action Principle (LAP). First, we derive in closed form the general template of the membrane-potential’s temporal trajectory, which minimizes the ES energy integral over time and over any space-clamp ionic current model. From the given model we then obtain the specific energy-efficient current waveform, which is demonstrated to be globally optimal. The solution is model-independent by construction. We illustrate the approach by a broad set of example situations with some of the most popular ionic current models from the literature. The proposed approach may result in the significant improvement of solution efficiency: cumbersome and uncertain iteration is replaced by a single quadrature of a system of ordinary differential equations. The approach is further validated by enabling a general comparison to the conventional simulation and optimization results from the literature, including one of our own, based on finite-horizon optimal control. Applying the LAP also resulted in a number of general ES optimality principles. One such succinct observation is that ES with long pulse durations is much more sensitive to the pulse’s shape whereas a rectangular pulse is most frequently optimal for short pulse durations.

Introduction

Electrical stimulation (ES) today is an industry worth in excess of 3 G$. ES devices interact with living tissues toward repairing, restoring or substituting normal sensory or motor function [1]. The rehabilitation-engineering applications scope is constantly growing: from intelligent limb prosthetics and deep-brain stimulation (DBS) to bi-directional brain-machine interfaces (BMI), which are no longer just about recording brain activity, but have also recently used ES toward closed-loop systems, [2][5].

Application-specific current patterns need to be injected toward reliably eliciting action potentials (AP’s) in target excitable neural tissue. To prevent tissue damage or loss of functional specificity, the employed current waveforms need to be efficient. This may significantly impact the biomedical effects and engineering feasibility. Hence, an optimization problem of high relevance to the design of viable ES devices is to minimize the energy required by the stimulation waveforms, while maintaining their capacity for AP triggering toward achieving the targeted functional effects.

A number of recent studies of ES optimality are based on extensive model simulation and related numerical methods through the wider spread of high-performance computing, e.g. [6][9]. The model dynamics to iterate can be arbitrarily complex and nonlinear. This implies lengthy numerically-intensive computation, irregular convergence and constraints that may be difficult to enforce - e.g. that an AP is an all-or-none phenomenon. Thus, any function of membrane voltage will suffer dramatic discontinuities at parameter-space manifold boundaries where intermittent AP’s are likely to be elicited.

Hence, such an iterative approach is not only computationally expensive, but its solution quality is highly uncertain and model-specific. The long-lasting iteration may converge to shallow local energy-minima. Such numerical misdemeanor of the approach is well known to its frequent users.

In this work we follow the ES pioneers - we use physical reasoning and related mathematics toward a more theoretical treatment of the subject.

Below we summarize very briefly our historical premises. ES’ theoretical cornerstones were laid a century ago by experimentally-driven assumptions and models, [10][12]. Various constant ES current levels and durations were tried systematically. E.g. Louis and Marcelle Lapicque spent many years performing such lab experiments with multiple physiological preparations [13], [14]. This classical work led to concepts like strength-duration curve (SD), i.e. the function of threshold (but still AP-evoking) ES current strength on duration. The first mathematical fit to this empirical results is usually attributed to Weiss, [10], [15]

graphic file with name pone.0090480.e001.jpg (1)

where Inline graphic is the stimulus duration, Inline graphic is called the rheobase (or rheobasic current level) and Inline graphic is the chronaxie.

The most expedite way of introducing the rheobase and chronaxie would be to point to eqn. (1) and notice that:

graphic file with name pone.0090480.e005.jpg (2)

and

graphic file with name pone.0090480.e006.jpg (3)

i.e. the rheobase is the threshold current strength with very long duration, and chronaxie is the duration with twice the rheobasic current level. In the pioneering studies electrical stimulation was done with extracellular electrodes.

Eqn. (1) is the most simplistic of the 2 ‘simple’ mathematical descriptors of the dependence of current strength on duration, and leads to Weiss’ linear charge-transfer progression with T, Inline graphic Both Lapicque’s own writings - [11][13], and more recent work are at odds with the linear-charge approximation. Already in 1907 Lapicque was using a linear first-order approximation of the cell membrane, modeled as a single-RC equivalent circuit with fixed threshold:

graphic file with name pone.0090480.e008.jpg (4)

with time constant Inline graphic Inline graphic and Inline graphic are the membrane capacity and conductance respectively.

The second form of eqn. (4) is easily obtained by subtracting/adding the term Inline graphic. From it, when Inline graphic (and hence Inline graphic):

graphic file with name pone.0090480.e015.jpg

which accounts for the hyperbolic shape of the classic Lapicque SD curve.

Originally, eqn. (4) described the SD relationship for extra-cellular applied current. However, the single-RC equivalent circuit with fixed threshold, where Inline graphic is the electrode current flowing across the cell membrane

graphic file with name pone.0090480.e017.jpg (5)

can be used with either extra- or intra-cellular stimulation. Inline graphic is the reduced membrane voltage with Inline graphic the resting value of Inline graphic From eqns. (4) and (5), one may also see that Inline graphic where Inline graphic is the attained membrane voltage at the end of the stimulation (at time Inline graphic).

Notice that the chronaxie Inline graphic is not explicitly present in eqn. (4). Notice also that - with very short duration Inline graphic by the Taylor series decomposition of the exponent (around Inline graphic), one may have either Inline graphic or Inline graphic Note that these two different simplifications (and esp. the latter) are ‘historical’ and depend on which of the two right-hand sides (RHS’) of eqn. (4) is used. In the second case only the denominator is developed to first order, while the numerator is truncated at zero-order. The second approximation throws a bridge to Weiss’ empirical formula of eqn. (1). I.e. the latter is a simplification of a simplification (i.e. of the 1st-order linear membrane model), capturing best the cases of shortest duration. On the other hand, Inline graphic leads to a constant-charge approximation. Interestingly, the latter may fit well also more complex models of the excitable membrane, which take into account ion-channel gating mechanisms, as well as intracellular current flow, which may be the main contributors for deviations from both simple formulas. These ‘subtleties’ are all clearly described in Lapicque’s work, but less clearly by one of the most recent accounts in [16].

Before we continue, it is in order to examine the practical value of numerical optimization to identify energy-efficient waveforms. It is limited for the following reasons. First, it is subject to the rigorous constraints of quantitative equivalence between the model used and the real preparation to which the results should apply. A noteworthy example is provided by the very practice of numerical simulations: often a minute change in parameters precludes the use of a just computed waveform, which is no longer able to elicit an AP in the targeted excitable model. Alas, the same or similar applies hundredfold to the real ES practice.

Second, in the search for minimum-energy waveforms, using numerical mathematical programming algorithms, there is no guarantee about obtaining a globally optimal solution.

Finally, such an approach sheds very little light with respect to the major forces that are at play, and the key factors which determine excitability, such as - for example, the threshold value of membrane potential, whose crossing triggers an AP.

However, the problem at hand is also reminiscent of the search for energy-efficiency in many other physical domains - e.g. ecological car driving. For centuries, physics has tackled similar problems through an approach known as the Least-Action Principle (LAP) [17].

Thus, we first used simple models to derive key analytical results. We then identified generally applicable optimality principles. Finally, we demonstrate how these principles apply also to far more complex and realistic models and their simulations.

The modeling and algorithmic part of this work is laid out in the next section. First, we introduce a simple and general model template. Next we present four most popular specific ionic-current models. Each of these can be plugged in the template to describe an ES target in a single spatial location in excitable-tissue (or alternatively - a space-clamped neural process).

We then examine the conditions for the existence of a finite membrane-voltage threshold for AP initiation. The introduced ionic-current model properties are analyzed to gain important insights into the solution of the main problem at hand.

Two very different ways to identify energy-efficient waveforms are presented in the last two subsections of the Methods. The first relies on a standard numerical optimal-control (OC) approach. The second outlines the LAP in its ES form, which is used to derive a general analytic solution for the energy-optimal trajectories in time of the membrane-potential and stimulation-current.

The Results section presents the model-specific results, applying OC or the LAP. We perform a detailed optimality analysis for both the simple and more realistic models. Comparisons between the two types of approaches, and the quality of their solutions, are made.

Commonly used abbreviations are summarized in Table 1 and symbols - in Table 2.

Table 1. Commonly used abbreviations.

Symbol Description
0D zero-dimensional, i.e. single-compartment or space clamp models; whose spatial extents are confined to a point
1D cable-like, multi-compartment spatial structure; homo-morphic to line
2D etc. two- or more dimensional, refers to the number of states that describe the excitable system’s dynamics
AIS the axon’s initial segment
AP Action potential
ASA Adjoint Sensitivity Analysis
BCI brain-computer interface
BMI brain-machine interface
BVP Boundary-value [ODE solution] problem
BVDP the Bonhoeffer-Van der Pol oscillator-dynamics model; also known as the Fitzhugh-Nagumo model
DBS Deep-brain stimulation
ES Electrical stimulation
FHOC Finite-Horizon Optimal-Control
FP Fixed point of system dynamics → vanishing derivative(s)
HH or HHM Hodgkin and Huxley’s [model of excitable membranes]
IM the Izhikevich model
LM the Linear sub-threshold model; also known in computational neuroscience as leaky integrate & fire
MRG the McIntyre, Richardson, and Grill model
OC Optimal-Control
ODE Ordinary Differential equation; see also PDE
PDE Differential equation involving partial derivatives; see also ODE
LAP the Least-Action Principle
RN Ranvier-node
RHS right-hand side
SD strength-duration [curve]
W.R.T. with respect to

Table 2. Commonly used symbols.

Symbol Description
Inline graphic or Inline graphic membrane capacity
Inline graphic the temporal precision of a model’s simulation
Inline graphic or Inline graphic membrane conductance; see also Inline graphic
Inline graphic nominal (max.) conductance for ion Inline graphic
Inline graphic the growing-exponent stimulation pulse
Inline graphic stimulation current, see also Inline graphic
Inline graphic the capacitive current, see also Inline graphic
Inline graphic threshold current for duration Inline graphic to elicit an AP; see Inline graphic
Inline graphic algebraic sum of in and out axial currents
Inline graphic ionic current function of membrane voltage; see Inline graphic
Inline graphic resting-state approximation; see Inline graphic
Inline graphic asymptotic-state approximation; see Inline graphic
Inline graphic cable spatial constant
Inline graphic or Inline graphic membrane resistance; see also Inline graphic
Inline graphic and Inline graphic power for Inline graphic as function of duration; see Inline graphic, Inline graphic
Inline graphic and Inline graphic charge-transfer
Inline graphic square (rectangular) waveform
Inline graphic critical duration; see Inline graphic
Inline graphic or Inline graphic or Inline graphic duration of stimulation
Inline graphic or Inline graphic membrane time constant
Inline graphic or Inline graphic gate time constant for ion Inline graphic
Inline graphic stimulation waveform
Inline graphic optimal current stimulation waveform
Inline graphic membrane voltage
Inline graphic or Inline graphic resting Inline graphic
Inline graphic voltage difference w.r.t. rest
Inline graphic or Inline graphic first time-derivative of the membrane voltage
Inline graphic temporal pattern of Inline graphic
Inline graphic optimal Inline graphic
Inline graphic AP triggering Inline graphic threshold
Inline graphic resting-state Inline graphic
Inline graphic the asymptotic-state Inline graphic
Inline graphic gate resting state for ion Inline graphic; see Inline graphic
Inline graphic gate asymptotic state for ion Inline graphic

Methods

A General Excitability Model Template

For the equivalent circuit of Fig. 1, Inline graphic is the stimulation current. Inline graphic is the capacitive current, whose direction is as shown on the Figure when the excitable-membrane’s potential is being depolarized. The algebraic sum of all the ionic and all axial currents is represented by Inline graphic where Inline graphic stands for the algebraic difference (divergence) of in- and out-going axial currents. In the sequel we will use the notation Inline graphic for the stimulation-current waveform. The latter is our system input, which will be the leverage to refine in order to achieve desirable outcome - reliable triggering of APs in the excitable system. It is customary in the control literature to denote such a signal Inline graphic

Figure 1. Excitability model template: The equivalent circuit represents the simplified electro-dynamics of an excitable membrane.

Figure 1

Inline graphic is the intra-cellular stimulation current. Inline graphic is the capacitive current. The direction of the latter is for a case of depolarizing the membrane’s voltage (i.e. the inside of the cell wall becoming more positive). The algebraic sum of all the ionic and all axial currents is represented by Inline graphic where Inline graphic stands for the algebraic difference (divergence) of in- and out-going axial currents.

Thus, all the currents are linked by the first Kirchhoff circuit law:

graphic file with name pone.0090480.e109.jpg (6)

where - in the most general form, Inline graphic depends on membrane voltage Inline graphic and on the state vector of the ionic channels’ gate variables. Unless ambiguous, below we will simplify notation by writing Inline graphic

Inline graphic (typically around 1 Inline graphic, [18]) and Inline graphic (in Inline graphic’s) are the excitable-membrane’s capacitance and potential. Equation (6) can be rewritten as:

graphic file with name pone.0090480.e117.jpg (7)

Clearly according to eqn. (7), an outgoing total ionic current opposes the effects of cathodic stimulation, since not all of Inline graphic is employed toward the main goal of maximizing the Inline graphic growth, which the reader may have also already deduced from the equivalent circuit of Fig. 1. Conversely, ingoing total current assists the effects of stimulation. Hence, in such a case Inline graphic may be lower than when it is estimated assuming the absence of membrane conductivity. Let us elucidate right away by providing typical examples.

Specific Single-compartment (Space-clamp) Models

The models here are zero-dimensional (0D). Their spatial extents are confined to a point. This may be contrasted to the multi-compartment cable-like models that we will discuss later, and whose spatial structure is one-dimensional (1D) - i.e. homo-morphic to a line.

For single-compartment models there are no axial currents. Hence, Inline graphic.

Linear Sub-threshold model (LM)

graphic file with name pone.0090480.e122.jpg (8)

Inline graphic is the excitable-membrane’s resting (Inline graphic −70 Inline graphic) conductance - in milli-Siemens per unit membrane surface area - e.g. 1 Inline graphic. Substituting Inline graphic from eqn. (8) into eqn. (6) yields a linear first-order model with Inline graphic the familiar expression for the time constant of such a dynamic model. This model predicts a reasonable resting Inline graphic 1 Inline graphic.

As pointed out in the introduction, this type of model was extensively used by the ES pioneers, [12]. They were particularly concerned with the derivation of analytic expressions for the experimentally observed strength-duration (SD) curves. The latter describe the threshold (minimal) current strength (Inline graphic), which if maintained constant (i.e. through a rectangular waveform) for a given duration Inline graphic is likely to elicit an AP in excitable-tissue (see the introductory section).

Even if it may account for a significant part of the sub-threshold variation of the membrane’s potential, the linear model lacks a paramount feature - it cannot fire AP’s as the latter are due to the highly nonlinear properties of the excitable-membrane’s conductance around and beyond the firing threshold.

The Hodgkin-Huxley-type model (HHM)

Hodgkin and Huxley (HH) not only proposed a novel way to model ionic-channels but also introduced ionic-channel-specific parameters to fit experimental data [19]. Since, HH-type models have been proposed for many ionic-channels for cardiac to neuroscience applications.

We present one such model from the literature - [20], which has been used to fit experimental data from the central nervous system and particularly the neocortex.

graphic file with name pone.0090480.e133.jpg (9)

See Tables 3 and 4, which define all the model’s variables and parameter values. We consider specifically the Inline graphic sodium channel subtype, to which the axon initial segment (AIS) owes its higher excitability [20], [21].

Table 3. Definition and notation for the key HHM variables.
Notation Variable description and units Typical value (*1
Potentials, in Inline graphic:
Inline graphic Membrane voltage (*3
Inline graphic Membrane resting voltage −77
Inline graphic Inline graphic Nernst potential −90
Inline graphic Inline graphic Nernst potential 60.0
Inline graphic Leak reversal potential −70
Membrane capacitance, in Inline graphic:
Inline graphic Membrane capacitance 1
Maximum (*2 conductances, in Inline graphic:
Inline graphic Inline graphic conductance 150
Inline graphic Inline graphic conductance 300
Inline graphic Leak conductance 0.033
Currents, in Inline graphic:
Inline graphic Inline graphic Ionic Current (*4 Inline graphic
Inline graphic Inline graphic Ionic Current Inline graphic
Inline graphic Leak Current Inline graphic

Notes:

(*1 Typical values are for the Inline graphic model, [20]; see also Table 4.

(*2 These are dependent on (grow with) temperature, the values listed are for Inline graphic.

(*3 Membrane voltage is either at its resting value Inline graphic; is depolarized (grows due to stimulation and/or activated sodium Inline graphic ion channels); is repolarized (decays back to Inline graphic, due to the potassium Inline graphic ion channels).

(*4 Ionic currents depend on both the membrane voltage and the dynamic state of the ion channels’ gates. See Table 4.

Table 4. Gate-state dynamics parameters.
Notation Variable description Value
Temperature dependence:
Inline graphic Inline graphic constant (*1 2.3
Inline graphic: Inline graphic-gate (*2
Inline graphic Inline graphic-gate max opening rate 0.02
Inline graphic Inline graphic-gate min closing rate 0.002
Inline graphic half-min/max in/activation rate voltage 25 Inline graphic
Inline graphic Inline graphic-gate voltage constant Inline graphic 9
Inline graphic: Inline graphic-gate (*2
Inline graphic Inline graphic-gate max opening rate 0.182
Inline graphic Inline graphic-gate min closing rate 0.124
Inline graphic half-min/max in/activation rate voltage 41 Inline graphic
Inline graphic Inline graphic-gate voltage constant Inline graphic 6
Inline graphic: Inline graphic-gate (*2
Inline graphic Inline graphic-gate max opening rate 0.024
Inline graphic Inline graphic-gate min closing rate 0.0091
Inline graphic half-max activation rate voltage 48 Inline graphic
Inline graphic half-min inactivation rate voltage 73 Inline graphic
Inline graphic Inline graphic-gate voltage constant Inline graphic 5
Inline graphic (*3 asymptotic gate-state voltage constant Inline graphic 6.2
Inline graphic 50% open gates voltage 70 Inline graphic

Notes:

(*1 Temperature dependence is linear and with a slope Inline graphic, where Inline graphic.

(*2 For a given gate type Inline graphic of the Inline graphic and Inline graphic ionic channels, the fractions of open and closed gates are given by the general (Boltzmann-Energy like) template formulae:
graphic file with name pone.0090480.e212.jpg
Inline graphic.Thus, the corresponding rates of opening Inline graphic and closing Inline graphic are sigmoidal functions of Inline graphic s.t.
graphic file with name pone.0090480.e217.jpg
The actual position of the inflection point (Inline graphic) is determined by the Inline graphic parameter. For the Inline graphic and Inline graphic gates, by the l’Hospital-Bernoulli rule, it can be seen that at Inline graphic, the opening or closing rates attain half of their max or min, respectively.(*3 For the inactivating gate Inline graphic of the Inline graphic ionic channel:
graphic file with name pone.0090480.e225.jpg

The dynamics of a gate-state variable Inline graphic (where Inline graphic stands for one of Inline graphic) are described by:

graphic file with name pone.0090480.e229.jpg (10)

Eqns. (6), (9) and (10) define a system of four coupled ODE’s - with respect to the four dynamic variables Inline graphic.

Further simplification may reduce the model complexity, maintaining only Inline graphic as the single dynamic variable. Gate-variable states are factored out by introducing appropriate non-dynamic functions of the membrane potential. E.g. in eqn. (9), the fast Inline graphic gates may be assumed to reach instantaneously Inline graphic, while the far slower Inline graphic and Inline graphic gates remain at their resting values (corresponding to a membrane at its resting equilibrium potential Inline graphic ).

The Izhikevich model (IM)

graphic file with name pone.0090480.e237.jpg (11)

This model [22] has a second-order nonlinearity, compared to its predecessor - the BVDP model [23], which contains a cubic nonlinearity. The IM will therefore not auto-limit. As in the BVDP, there is a slow second dynamic variable Inline graphic called the ‘recovery current’ and its dynamics is described by:

graphic file with name pone.0090480.e239.jpg (12)

The IM responds to supra-threshold stimulation with a wide variety of AP-firing patterns, depending on the particular choices of parameters. Interested in the sub-threshold regimen, we have chosen the “Spike Latency” set: Inline graphic [24]. Hence, Inline graphic is equal to 50 Inline graphic. At the time-scale of a single stimulation pulse (lasting at most a few milliseconds), Inline graphic is virtually a constant.

Here, it may be important to remind the reader that the state of simplest models like the IM needs to be artificially reset after an AP event. However in more complex models (e.g. the HHM), channels that are responsible to revert the system to its resting potential will have a significant effect on the optimal waveform. We will see this in more detail in the results section.

Multi-compartment Models

To expand the scope of our analysis and the applicability of its results, it is essential to also address models of AP initiation and propagation along spatial neural structures. A popular example is the McIntyre, Richardson, and Grill model (Inline graphic). It was originally used to simulate the effects of ES in the peripheral nervous system and specifically the myelinated axons that form nerve bundles [25]. An adapted version of the same model was recently used to simulate the effects of DBS [7].

Myelinated axon has been pinpointed as the most excitable tissue with extracellular stimulation [26][28]. Therefore models like the MRG’02 are of particular interest. Moreover, this model facilitates the illustration of optimality principles as it has only one excitable compartment type - the Ranvier-nodes (RN). The paranodal and other compartments that form the myelinated internodal sections are all modeled as a passive double-cable (due to the myelin sheath that insulates the extracellular periaxonal space) structure, see Fig. 2.

Figure 2. The MRG’02 myelinated axon model (See also Table 4) Box: Equivalent circuit for current injection into the center RN (#1).

Figure 2

The RN compartment is a model of the HH-type:

graphic file with name pone.0090480.e309.jpg (13)

Here two different Inline graphic ion channel subtypes are modeled (please see Table 5 for all the details). The fast subtype (with maximum conductance parameter Inline graphic) is controlled by the opening Inline graphic and closing Inline graphic gate states. The persistent subtype (with maximum conductance Inline graphic) is controlled by the Inline graphic gates. As its name suggests, it has no gate-inactivating states and is non-inactivating. In addition, this model has very slow Inline graphic gates, associated to its Inline graphic ion channel and very fast Inline graphic gates.

Table 5. MRG’02 double-cable model-axon electrical parameters.

Notation Parameter description Value
Shared parameters:
Inline graphic Resting potential −80 Inline graphic
Inline graphic Axoplasmic resistivity 70 Inline graphic
Inline graphic Periaxonal resistivity 70 Inline graphic
Nodal compartments:
Inline graphic Membrane capacitance 2 Inline graphic
Inline graphic Inline graphic Nernst potential −90 Inline graphic
Inline graphic Inline graphic Nernst potential 50.0 Inline graphic
Inline graphic Leak reversal potential −90 Inline graphic
Inline graphic Maximum slow Inline graphic conductance with opening Inline graphic and no closing gate states 0.08 Inline graphic
Inline graphic Maximum fast Inline graphic conductance with opening Inline graphic and closing Inline graphic gate states 3.0 Inline graphic
Inline graphic Maximum persistent Inline graphic conductance with opening Inline graphic and no closing gate states 0.01 Inline graphic
Inline graphic Leak conductance 0.007 Inline graphic
Internodal compartments:
Inline graphic Membrane capacitance 2 Inline graphic
Inline graphic Passive-compartment Nernst potential
Passive (leak) membrane conductance by segment type:
Inline graphic MYSA 0.001 Inline graphic
Inline graphic FLUT 0.0001 Inline graphic
Inline graphic STIN 0.0001 Inline graphic
Myelin parameters:
Inline graphic Capacitance 0.1 Inline graphic
Inline graphic Conductance 0.001 Inline graphic

Notes:

See also Table 6.

Below we call a fixed point (FP) every Inline graphic value s.t. Inline graphic. From eqn. (7) with Inline graphic,

graphic file with name pone.0090480.e336.jpg

The nonlinear dynamics behavior of the RN compartment taken in isolation is quite unlike that of the specific single-compartment HHM example we provided above. None of its four FPs are stable. Around its unstable ‘resting’ state (Inline graphic = −80 Inline graphic), the zero-dimensional RN’s of MRG’02 model yield depolarizing ionic current. I.e. not only does Inline graphic not resist moving away from the resting state, but it actually contributes to automatic firing, with or without any external current!

The addition of the passive myelinated spatial structures around the RN’s makes the resting state stable, and the problem at hand (of identifying the LAP-optimal ES waveforms) tractable only within a spatial structure. However, this also comes with bonuses. First, the active-passive association brings a very clear-cut picture of the factors at hand that influence AP initiation and propagation. Second, the myelinated double-cable has a very low spatial constant, which provides for a straightforward extension of the single-compartment analysis.

Namely, consider the second term in the more general expression for Inline graphic in eqn. (7). Since around the resting state Inline graphic is always there as a depolarizing factor, it is Inline graphic that needs to be closely considered, see Box in Fig. 2.

The numerical results presented for the MRG’02 in the literature [7], [8] often target the mid-cable (center) RN in their ES simulations. This motivated us to use of the method of mirrors to double the model’s dimensions at the same computational cost. We consider a long axon (with 41 RN’s), which has a relatively low length constant (Inline graphic). See also Tables 4 and 5. For the RN’s Inline graphic = 167.5 Inline graphic vs respectively 2129.7 and 443.2 Inline graphic, for the myelinated and the MYSA (paranode) sections. These are paired to significant differences in the passive membrane time constant (Inline graphic). For the RN’s Inline graphic = 0.29 Inline graphic vs respectively 20 and 2 Inline graphic, for the myelinated and paranode sections. The cable end-conditions are formed by virtual compartments with membrane at rest Inline graphic = −80 Inline graphic. This choice is further motivated by the results of model simulations - namely the relatively little spread of potentials at the end of stimulation lasting up to a few milliseconds (see Fig. 3).

Figure 3. Propagating AP’s and spatial profile of the membrane voltage Inline graphic & intracellular potential Inline graphic (at the end of stimulation, please also see Fig. 2); Inline graphic is the 1D axonal spatial coordinate.

Figure 3

The peaks of Inline graphic at the Ranvier nodes are due to the direct exposure to the extracellular medium, which is unlike that of the myelinated sections in the double-cable MRG’02 model.

We studied extensively all the published accounts of the MRG’02 model and its use for ES modeling [7], [8], [25]. We also carefully compared parameter values (see Tables 5 and 6) to the ones in the official NEURON models database (senselab.med.yale.edu/modeldb/ShowModel.asp?model = 3810).

Table 6. MRG’02 double-cable model-axon geometric parameters, in Inline graphic.

Notation Parameter description Value
Shared parameters:
Inline graphic Fiber Diameter 16.0
Inline graphic Node-node separation 1500
Inline graphic Number of myelin lamellae 150
Nodal compartments:
Inline graphic Node length 1.0
Inline graphic Node diameter 5.5
MYSA (myelin attachment paranode)
Inline graphic length 3.0
Inline graphic diameter 5.5
Inline graphic periaxonal width (Membrane-to-Myelin gap) 0.004
FLUT compartments (main section of paranode)
Inline graphic length 60.0
Inline graphic diameter 12.7
Inline graphic periaxonal width 0.004
STIN compartments (internodal section, 3+3 total in 1 internode, see Fig. 2)
Inline graphic length 228.8 (*1
Inline graphic diameter 12.7
Inline graphic periaxonal width 0.004

Notes:

(*1 Inline graphic

Our model implementation originally for [29], [30] was done in Matlab (the Mathworks, ver. 7 and above). The code uses CVODES (the Lawrence Livermore National Laboratory, Release 2.7.0) to reliably and robustly solve the related multi-dimensional system of ODEs. The implementation was validated through extensive comparisons and personal correspondence with the authors of the original model - W.M. Grill [31] and A.G. Richardson, regarding specifically the mismatch between the 2002 publication and its NEURON implementation.

Preliminary Analysis: On the Existence of the AP-firing Threshold

The above ionic-current descriptions differ largely in form and complexity. Yet each of them is capable of capturing some of the essential dynamics properties of excitable living tissues.

In order to elicit an AP through electric stimulation, the membrane’s potential Inline graphic needs to first be driven (depolarized, Inline graphic) to some threshold value Inline graphic, beyond which assisting ionic channels are massively engaged to produce the AP upstroke without the need of any further ES intervention. From eqn. (6) in order to do so, the stimulation waveform needs to be positive and superior to Inline graphic at most times - i.e. Inline graphic needs to overcome the opposing currents.

A Inline graphic value is hiding inside each of the above nonlinear flavors of Inline graphic. Predictably, it is easiest to find the Inline graphic value associated with the IM. Above we saw that the variable Inline graphic in the IM reacts slowly to changes in Inline graphic. Hence, one may approximate it by its value at rest: Inline graphic. The resting membrane potential Inline graphic is then obtained from the condition Inline graphic, where the subscript Inline graphic indicates that we have assumed Inline graphic.

The resting potential Inline graphic is one of the zeroes of the 2nd-order polynomial in Inline graphic, which characterizes the ionic current. The second zero is Inline graphic. Beyond this threshold the total ionic current switches its sign. So eqn. (11) becomes:

graphic file with name pone.0090480.e467.jpg (14)

Hence, Inline graphic = −70 mV and the resting threshold is Inline graphic = −55 mV.

We will utilize this simple nonlinear model to complete the picture. If Inline graphic - i.e. the membrane is not at rest, the point where the total ionic current Inline graphic switches sign is shifted rightward toward a higher Inline graphic value. For example, for very long durations Inline graphic, Inline graphic:

graphic file with name pone.0090480.e491.jpg (15)

The subscript Inline graphic indicates that we have assumed Inline graphic. Predictably, this does not affect the resting potential, since Inline graphic. However, Inline graphic = −50 mV is higher than the resting threshold Inline graphic.

This reflects the lowering of excitability shortly after an AP, and once the post-AP membrane re-polarization takes place. This is known as refractoriness, which can be either absolute - i.e. no AP can be elicited regardless of how large the stimulation, or relative - i.e. larger stimulation current is required - to reach a higher threshold Inline graphic.

Some models of the HH-type have even more complex Inline graphic and thence Inline graphic behavior. This complexity is due to the multiple gate states, which may have very different time constants and hence reach their asymptotic states at different times. In addition, the HH models involve inactivating sodium (Inline graphic) channels. Hence, excitability may be conditional on attaining the firing threshold within a specific time window. Then Inline graphic may exist only with durations Inline graphic. Hence, even over arbitrarily long duration, an arbitrarily low (non-zero) current may never elicit AP’s, and may also damage the tissues and the electrodes as irreversible chemical reactions take place.

So, wide stimulation pulses lasting well over some critical duration Inline graphic may not be able to elicit any AP. This is due to the comparable temporal scales of duration Inline graphic and the time constant Inline graphic of the closing gates associated with depolarizing ionic currents and of the opening gates associated with re-polarizing currents.

Therefore, let us assume that the excitable-membrane’s potential is at its resting value Inline graphic. Hence, in principle an action potential (AP) can be elicited by stimulation of the fixed duration Inline graphic. Therefore stimulation takes place over a finite time-horizon.

Finite-Horizon Optimal-Control (FHOC)

In this approach, the current waveform is the unknown system input signal complying with specific optimality criteria. The optimal pattern Inline graphic for Inline graphic is sought as a solution of the following constrained minimization problem:

graphic file with name pone.0090480.e530.jpg (16)
graphic file with name pone.0090480.e531.jpg

where Inline graphic and Inline graphic are the constant lower and upper bounds on the values for each Inline graphic sought.

The computational model’s dynamical system is introduced in the optimization problem of eqn. (16) in the form of a set of equality constraints. The vector function Inline graphic describes the dynamics of the array of system state-variable trajectories Inline graphic, resulting from given initial state Inline graphic and control signal Inline graphic.

The example developed in the Results section uses the Izhikevich model - eqns. (6) and (11) - with Inline graphic.

The minimized functional, contains the integration term Inline graphic and a final-time (also known as penalty) term Inline graphic - pulling toward the desired final state Inline graphic. The specific Inline graphic expression yields minimum electric stimulation power:

graphic file with name pone.0090480.e548.jpg (17)

The penalty term is a convenient way to express the desirable stimulation’s outcome - the membrane voltage reaching some pre-defined threshold-level Inline graphic:

graphic file with name pone.0090480.e550.jpg (18)

Using a general constrained parametric optimal-control approach (e.g. [32]), the objective and equality constraints in eqn. (16) are combined into the Lagrangian:

graphic file with name pone.0090480.e551.jpg (19)

where Inline graphic are the Lagrange multipliers, associated to each of the Inline graphic equality constraints in eqn. (16) and Inline graphic stands for the vector-matrix transpose operator. Inline graphic is known as the Hamiltonian.

The necessary conditions for optimality require that all partial derivatives of the Lagrangian by the system states vanish at the optimal solution to the problem of eqn. (16) - i.e.:

graphic file with name pone.0090480.e556.jpg (20)

Here the ‘vector-matrix’ notations Inline graphic or Inline graphic, where Inline graphic, mean respectively Inline graphic or Inline graphic, Inline graphic.

This development is known as mathematical sensitivity analysis and its main purpose is to reveal the impact of a given system parameter (such as Inline graphic or its initial state Inline graphic) on the resulting dynamics.

From eqns. (19) and (20):

graphic file with name pone.0090480.e565.jpg (21)
graphic file with name pone.0090480.e566.jpg

where

graphic file with name pone.0090480.e567.jpg

Notice that eqn. (21) describes the adjoint dynamic system iterated in reverse time with a terminal condition provided by the derivative of the Inline graphic term. To solve the ODE system of eqn. (21), the achieved forward dynamics of eqn. (16) needs to be already computed.

Similarly, all partial derivatives of the Lagrangian by Inline graphic vanish at the optimal solution to the problem of eqn. (16) - i.e. Inline graphic:

graphic file with name pone.0090480.e577.jpg (22)

where Inline graphic is the sampling time, Inline graphic and

graphic file with name pone.0090480.e580.jpg

Hence, eqn. (22) yields all components of the gradient w.r.t. Inline graphic, which enables the use of gradient-based quasi-Newton search routines (e.g. fmincon from the Matlab optimization toolbox).

Moreover, one sees from eqn. (19) that the array Inline graphic is the sensitivity (i.e. the gradient) w.r.t. initial state Inline graphic, i.e.:

graphic file with name pone.0090480.e584.jpg

A boundary-value problem (BVP), with known initial conditions for Inline graphic and terminal conditions for Inline graphic, is solved numerically. However, it should also be noted that such solutions may also converge to shallow local minima. For example, the Newton search is guaranteed to produce the ‘true’ solution when the problem at hand involves a quadratic cost. Here the objective function not only may be non-quadratic, but also may be non-convex in some manifolds of its high-dimensional parametric space.

Above we described the continuous-time FHOC. The CVODES toolbox readily provides adjoint sensitivity analysis (ASA) capabilities. FHOC is one of the common applications of the latter. Analogously, a discrete-time version may be formulated and solved (see the Results section, where a specific example is developed).

Solving the Problem Analytically: The PLA in ES

Through calculus of variations, here we establish a general form for the energy-optimal current waveform Inline graphic. This approach applies the Principle of Least Action to ES.

Let us assume that Inline graphic, where Inline graphic is the time-constant that determines the behavior of the slow gate states of the modeled ionic-channels. Hence, the fast gate states may be approximated by their asymptotic values Inline graphic, while the slow gate states - by their resting values Inline graphic.

Then an AP can readily be evoked by stimulation from the resting state, and the threshold potential Inline graphic to reach at time Inline graphic is finite and assumed (without loss of generality) to be known. The energy-efficiency of driving the excitable-tissue membrane potential Inline graphic from its resting value Inline graphic to Inline graphic through a stimulation of fixed duration Inline graphic satisfies:

graphic file with name pone.0090480.e598.jpg (23)

Since from eqn. (6), Inline graphic:

graphic file with name pone.0090480.e600.jpg (24)

As done in the calculus of variations let us perturb the energy-optimal time-course Inline graphic by the infinitesimal perturbation Inline graphic, where Inline graphic is an arbitrary function of time and Inline graphic is an infinitesimal scalar.

graphic file with name pone.0090480.e605.jpg (25)

From eqn. (25), Inline graphic the integrand in eqn. (24) becomes:

graphic file with name pone.0090480.e607.jpg (26)

From eqns. (24) and (26), and since Inline graphic.

graphic file with name pone.0090480.e609.jpg (27)

The necessary condition for Inline graphic to have a minimum at Inline graphic for any Inline graphic is:

graphic file with name pone.0090480.e613.jpg (28)

To deal with the Inline graphic term of eqn. (28), it is integrated by parts :

graphic file with name pone.0090480.e615.jpg (29)

Since the perturbation Inline graphic respects the boundary-value problem (BVP) with known initial and terminal conditions for Inline graphic - i.e. Inline graphic, then the first RHS term above vanishes. Hence, the only way that eqn. (29) will hold for any Inline graphic is that we have the Euler-Lagrange-type equation:

graphic file with name pone.0090480.e620.jpg (30)

Equation (30) can also be attained directly using the continuous version of the standard OC formalism [32] (please see also the just presented FHOC subsection above).

Here the Hamiltonian is.

graphic file with name pone.0090480.e621.jpg (31)

The necessary conditions for optimality require that.

graphic file with name pone.0090480.e622.jpg (32)
graphic file with name pone.0090480.e623.jpg (33)

From eqns. (32) and (31) Inline graphic. Then from eqn. (33).

graphic file with name pone.0090480.e625.jpg

which is the same as eqn. (30).

From eqns. (6) and (30) we have that.

graphic file with name pone.0090480.e626.jpg

and thence:

graphic file with name pone.0090480.e627.jpg

And finally, from eqn. (6).

graphic file with name pone.0090480.e628.jpg (34)

Equation (34) is a rather simple system of ordinary differential equations (ODE) that can readily be solved for a given current model Inline graphic to compute the energy-optimal membrane voltage profile Inline graphic. The energy-efficient current waveform Inline graphic is then computed from eqn. (6).

In the Results section below we illustrate the use of eqn. (34) with several frequently encountered current models.

Results

Here, we first derive some key analytical results using the simplest and clearest models. We then identify generally applicable optimality principles. Finally, we demonstrate how these principles apply also to more complex and realistic models and their simulations.

Part I - Specific Point-model Results, Applying the LAP

For the zero-dimensional (single-compartment, space clamp) models introduced in the Methods, here we describe the LAP-optimal waveforms Inline graphic and Inline graphic, stemming from the general (model-independent) LAP result of eqn. (34).

These simple cases readily illustrate some rather key optimality principles resulting from a LAP perspective. We will discuss these optimality principles as we go, and will summarize them at the end of this subsection.

Linear sub-threshold model

Replacing Inline graphic in eqn. (34) with Inline graphic from eqn. (8):

graphic file with name pone.0090480.e636.jpg (35)

Inline graphic is the membrane’s time constant and for expediency Inline graphic and Inline graphic = 0.

The general solution of eqn. (35) is:

graphic file with name pone.0090480.e640.jpg (36)

Given the boundary conditions Inline graphic and Inline graphic:

graphic file with name pone.0090480.e643.jpg (37)

A result similar to eqn. (37) is obtained by [33], using a slightly different (less direct or general) optimal-control approach.

From eqn. (37) one can see that Inline graphic - i.e. it has a linear rise, especially with Inline graphic. Here Inline graphic = 100 Inline graphic and Inline graphic = 1 Inline graphic (computed using typical values from the literature for Inline graphic = 1 Inline graphic and Inline graphic = 1 Inline graphic).

Figure 4 presents the LAP energy-optimal stimulation profiles Inline graphic and Inline graphic for a short and a long stimulus duration Inline graphic and three membrane time constant Inline graphic values.

Figure 4. LAP energy-optimal Inline graphic and Inline graphic for the LM: for Inline graphic respectively 10 Inline graphic and 5 Inline graphic; the time constant Inline graphic was varied as indicated in the legend; membrane capacity was constant - Inline graphic = 1 Inline graphic, while membrane (leak) conductance Inline graphic was respectively 0.2, 1 and 5 Inline graphic; The 3 solutions shown correspond to the nominal Inline graphic = 1 Inline graphic (cyan trace) or 5-fold shorter (thin red dash-dot), or 5-fold longer (thick dashed black) Inline graphic respectively; (thin dashed black) rectangular pulse with amplitude Inline graphic.

Figure 4

Before we go on, it is useful to investigate the conditions for a growing exponent (Inline graphic) waveform to outperform the Inline graphic waveform.

First, Inline graphic has a very rapid rise. Hence, its optimal duration Inline graphic will be short. Second, it is noteworthy that in [33] Inline graphic = 30.4 micro-seconds! Hence, injected current rapidly leaks out. However even with the above extreme Inline graphic value, at its optimal duration Inline graphic the Inline graphic wave does just 22% worse, which means that the Inline graphic is among the best candidates for its robustly good performance.

Second, in multiple cases, the energy-optimal LAP waveform Inline graphic looks a lot like a ‘classical’ rectangular waveform. From eqn. (8), we may also see that, with Inline graphic = 0, Inline graphic = 1, the max. value of Inline graphic is equal to 1 and is attained as the membrane potential reaches the threshold Inline graphic. If we then replace Inline graphic in eqn. (6), we see that a waveform Inline graphic - that brings Inline graphic from Inline graphic to Inline graphic at a constant rate, is the time-constant waveform Inline graphic. For this example, Inline graphic, which explains why Inline graphic is that close to a rectangular waveform.

As a matter of fact, for very short stimulation times, the Inline graphic tend to be high, while Inline graphic tends to be linear. Hence, the ‘classic’ rectangular (or square, Inline graphic) waveform tends to also be close to energy-optimal.

Such facts are rather important as they lead us below (as evidence is accumulated) to a general form not only of Inline graphic, but also of Inline graphic.

Comparative properties the Inline graphic growth profiles

The Inline graphic waveform may be an Inline graphic waveform in disguise. I.e. some linear growth of the membrane voltage may still fit the one obtained upon ES with a Inline graphic. The motivation for this is in eqn. (36), where the first term vanishes with Inline graphic.

Finally, the total electric charge conveyed by the ES source may have to be considered. For example, in the Inline graphic of eqn. (8) the total charge consists of a capacitive charge to raise the membrane voltage by a given amount (to Inline graphic), and resistive charge Inline graphic. A similar situation occurs in the Inline graphic model due to the opposing axial currents.

So let us solve the following auxiliary problem:

Find a linear fit Inline graphic to the growing exponent Inline graphic, so that the ES source conveys the same resistive charge in the time interval Inline graphic. I.e. we want that:

graphic file with name pone.0090480.e697.jpg

Here, for simplicity (and without any loss of generality) we have assumed Inline graphic and Inline graphic.

For example with Inline graphic, we obtain Inline graphic, i.e. the linear-growth equivalent has more than twice shorter duration - e.g. with Inline graphic, Inline graphic.

The latter result promotes intuition: with large opposing currents optimal ES cannot afford to last long. The transition of the membrane voltage from its rest to a threshold value is best performed rapidly. Hence, the shape of the Inline graphic growth profile depend on the Inline graphic ratio. As seen, for Inline graphic, the optimal Inline graphic is close to rectangular, while with Inline graphic, the Inline graphic is in effect equivalent to doing nothing for at least half of the duration, and then to a Inline graphic waveform of at least doubled amplitude.

With quite similar reasoning, one can demonstrate that a 1st-order membrane voltage growth profile Inline graphic in the time interval Inline graphic is suboptimal and equivalent to linear growth, which has about twice longer duration.

Izhikevich model

Replacing Inline graphic in eqn. (34) with the Inline graphic approximations from eqn. (14) or (15), see Box in Fig. 5:

graphic file with name pone.0090480.e715.jpg (38)
Figure 5. LAP optimal waveforms Inline graphic and Inline graphic for the 0D IM: The 3 solutions shown correspond to the nominal IM opposing current (cyan trace), twice higher (thin red dash-dot), or twice lower (thick dashed black) Inline graphic respectively.

Figure 5

The Inline graphic approximation of the ionic current is used for a case of very short duration (Inline graphic = 10 Inline graphic) and the Inline graphic approximation is used for a case of long duration (Inline graphic = 5 Inline graphic). It is important to notice that - as with the Inline graphic model above, Inline graphic, where Inline graphic (see the Box) Box: Resting-state Inline graphic and asymptotic-state Inline graphic ionic currents for the 0D IM; Markers are inserted at the resting and threshold membrane-voltage points, respectively Inline graphic = −70, Inline graphic = −55 and Inline graphic = −50 Inline graphic.

As in the preceding model Inline graphic. Note that the dynamics of eqn. (38) has all FP’s of Inline graphic, as well as a third FP at Inline graphic, contributed by the derivative term Inline graphic.

Equation (38) can be solved analytically. However, it provides the solution in an implicit form and involves an incomplete elliptic integral of the first kind. Hence, we used the Matlab bvp4c BVP solver with boundary conditions Inline graphic and Inline graphic.

Figure 5 illustrates the energy-optimal LAP solution Inline graphic and the corresponding membrane voltage profile Inline graphic. The Inline graphic approximation of the ionic current is used for a case of very short duration (Inline graphic = 10 Inline graphic) and the Inline graphic approximation is used for a case of long duration (Inline graphic = 5 Inline graphic).

It is important to notice that - as with the Inline graphic model above, Inline graphic, where Inline graphic (see the Box in Fig. 5).

According to eqns. (14) and (15) the opposing current in the IM can be presented in the general form:

graphic file with name pone.0090480.e733.jpg (39)

where the nominal Inline graphic = 1, and Inline graphic.

To see how the optimal ES is affected by the level of opposing current, it is more than tempting to experiment with different Inline graphic values.

Hence, 3 Inline graphic cases are plotted in Fig. 5 - for the nominal Inline graphic (cyan traces) and two additional cases: the opposing current Inline graphic is either doubled (Inline graphic = 2, red traces) or decreased two-fold (Inline graphic = 1/2, black traces). As could be intuitively expected from the general equation (24), when Inline graphic (very low ionic currents):

graphic file with name pone.0090480.e743.jpg (40)

By the Cauchy-Schwartz inequality in the space of continuous real functions, it is straightforward to show that the voltage trajectory Inline graphic that minimizes eqn. (40) is such that Inline graphic, where Inline graphic is determined from the boundary conditions satisfied by Inline graphic. Hence:

graphic file with name pone.0090480.e748.jpg (41)

Just as in the preceding model, it is also Inline graphic with the shorter durations - which justifies the use of the resting approximation Inline graphic.

HHM

Here the Inline graphic of eqn. (34) is replaced with the resting-state - Inline graphic, or asymptotic-state - Inline graphic ionic current approximations (see the Box in Fig. 6).

Figure 6. LAP optimal waveforms Inline graphic and Inline graphic for the 0D HHM: The Inline graphic approximation of the ionic current is used for a case of very short duration (Inline graphic = 10 Inline graphic) and the Inline graphic approximation is used for a case of long duration (Inline graphic = 5 Inline graphic) (see the Box).

Figure 6

As with the IM, bvp4c was used to numerically solve the BVP of eqn. (34). The figure follows a quite similar format to Fig. 5. Inline graphic can also be assumed higher or lower. All the maximal ionic conductances in the HHM (see also Table 3) are temperature-dependent and are linearly proportional to the coefficient Inline graphic. The 3 solutions shown correspond to the ionic current at Inline graphic (cyan trace), twice higher (thin red dash-dot), or twice lower (thick dashed black) Inline graphic respectively. From eqn. (42) we can see that Inline graphic = 1.6047 (half the nominal) at Inline graphic, and Inline graphic = 6.4188 (twice the nominal) for at Inline graphic. Box: Resting-state Inline graphic and asymptotic-state Inline graphic ionic currents for the 0D HHM; Markers are inserted at the resting and threshold membrane-voltage points, respectively Inline graphic = −77 Inline graphic, Inline graphic = −64.55 Inline graphic and Inline graphic = −52.35 Inline graphic.

Toward Inline graphic the gate-state variables are factored out as follows: The fast state Inline graphic, while the slower variables Inline graphic, and Inline graphic are approximately at rest, assuming very short durations. Conversely, and assuming very long durations, toward Inline graphic all gate variables are approximately at their asymptotic value, corresponding to a given membrane voltage Inline graphic (see Methods).

As with the IM, we used bvp4c to numerically solve the BVP of eqn. (34) with boundary conditions Inline graphic and Inline graphic.

Figure 6 follows a very similar format to Fig. 5.

Similarly to eqn. (39) above, Inline graphic can also be assumed higher or lower. All the maximal ionic conductances in the HHM (see also Table 3) are temperature-dependent and are linearly proportional to the coefficient Inline graphic:

graphic file with name pone.0090480.e764.jpg (42)

where Inline graphic and Inline graphic = 23°C. Hence with Inline graphic = 37°C, according to eqn. (42) Inline graphic = 3.2094. Let this be our standard case (Inline graphic = 1).

As we did with the IM, 3 gain cases are plotted in Fig. 6 for Inline graphic. For the two additional cases the opposing current Inline graphic is either doubled (Inline graphic = 2, red traces) or halved (Inline graphic = 1/2, black traces).

Once again - as with the Inline graphic and Inline graphic models above, Inline graphic (see the Box in Fig. 6).

Numerical model simulation and optimal control

The IM was also evoked in the FHOC Methods section. It is therefore interesting to contrast the results of the LAP and FHOC approaches in identifying energy-optimal ES waveforms for the same ionic current model. For such comparison, the IM has the clear advantage of hiding no implementation specifics inside a black box.

The FHOC formalism (see Methods) is computationally efficient, but it is also subject to the similar limitations as most of the ad-hoc search approaches. Iterative numerical optimization requires an initial guess for the solution, and trying different starting arrays Inline graphic may alleviate a bit the propensity to converge to shallow local energy-minima.

Here it is also important to realize that in eqn. (16) the two terms to minimize in the Inline graphic functional (a function of functions), namely the energy cost (17) and the penalty (18) may conflict each other. When the penalty gain Inline graphic in (18) is too low, the search will identify a lower-energy solution Inline graphic, which however does not bring the membrane potential Inline graphic up to the desired threshold value - i.e. Inline graphic. Conversely, a too high penalty gain Inline graphic will identify a very high-energy solution Inline graphic, which is not only costly, but the membrane potential may also overshoot the threshold, since the ‘getting there’ is underestimated for the sake of the very last simulation steps.

As seen from Fig. 7 Panel B (which uses the Inline graphic approximation of the ionic current for the relatively long duration Inline graphic = 2 Inline graphic), the linear growth profile is a reasonable estimate for the optimal membrane voltage profile Inline graphic. Hence:

graphic file with name pone.0090480.e789.jpg (43)

where Inline graphic is given by eqn. (41). When Inline graphic is close to the LAP estimate Inline graphic of eqn. (43), the FHOC iteration also consistently ends close to there (see Fig. 7, panel B). The cyan traces on Fig. 7 are the Inline graphic and the resulting Inline graphic. With the LAP estimate, the FHOC approach resulted in a final membrane potential reasonably close to the desired threshold value - i.e. Inline graphic, even if the IM was simulated with the discretized LAP waveform Inline graphic (Inline graphic = 10 Inline graphic).

Figure 7. The LAP vs or with numerical optimisation for the 0D IM, with Inline graphic = 2 Inline graphic: see also Fig. 5 which shows that an initial guess Inline graphic, based on the linear-growth rate Inline graphic is still valid with Inline graphic = 2 Inline graphic dand Inline graphic = −50 Inline graphic.

Figure 7

panel A: discrete-time IM and FHOC panel B: continuous-time IM and FHOC, using CVODES adjoint sensitivity analysis capabilities upper plots: (dashed black) a rectangular pulse with amplitude Inline graphic; (thick cyan) the LAP Inline graphic; (thick black) the best FHOC Inline graphic lower plots: (dashed black) linear-growth evolution of the membrane potential from Inline graphic at Inline graphic to Inline graphic at Inline graphic; (dotted gray) the desired threshold value Inline graphic = −50 mV; (thick cyan) the resulting LAP Inline graphic; (thick black) the resulting FHOC Inline graphic.

The black traces illustrate the FHOC solution, computed for two different Inline graphic choices. For Panel A, Inline graphic was chosen to be all zeros. When all time-step entries Inline graphic were chosen to be equal to the upper bound Inline graphic = 30 (data not shown), due to the (discontinuous) AP event occurring mid-way the temporal horizon, the Matlab’s fmincon solver remains stuck to the initially provided values.

Except for the case in Panel B, the Inline graphic meta-parameter had to be kept high (Inline graphic = 70) in order to respect the terminal constraint of Inline graphic.

The total energy costs (all expressed as 2-norms of the obtained best Inline graphic) are respectively 161, 153.2 and 423.4 (for the discrete-time version) 186.7, 159.1 and 334.2 (for the continuous-time version).

Comparing these to Inline graphic = 153.2 (discrete-time) and = 157.4 (continuous-time), the LAP-based solution is comparable to or superior than the FHOC solutions. The numerical FHOC solution on Fig. 7, panel A has converged to a local extremum. Note that a post-hoc correction (simple DC offset) is applied to the LAP-based estimate, which adjusts for the overshoot of Inline graphic when simulating the full (two-dimensional) IM. The overshoot is due to using the one-dimensional approximation, eqn. (15).

The results obtained here nicely illustrate multiple aspects of identifying energy-efficient waveforms through numerical model simulation and optimization. Clearly, pairing theoretical insights with numerical tools carries the best success potential.

Part I Results Summary

A number of more general observations on Inline graphic can be made looking at the results this far.

Probably, the most significant result is that the use of LAP reduces the problem to the BVP, defined by eqn. (34), with Inline graphic and Inline graphic. We still need to have a very good idea of both Inline graphic and Inline graphic to successfully solve for Inline graphic, and thence for Inline graphic, in a given particular situation.

We identify also the following key and practice-oriented optimality principles resulting from the LAP perspective.

  1. The optimal sub-threshold membrane potential growth profile with relatively short durations Inline graphic and low membrane conductivity:

    First, in all simple models we used up to here, the solution Inline graphic of the ODE system, defined by eqn. (34), is quite close to a linear growth from Inline graphic to Inline graphic. Second, with the total current Inline graphic (e.g. low leak), then from eqn. (6), it follows that Inline graphic will be exactly proportional to the rate of change of the membrane’s potential Inline graphic. If Inline graphic, then Inline graphic is close to a Inline graphic waveform.

  2. The energy-efficient waveform depends directly on the temporal shape of currents at the AP initiation site.

  3. The targeted Inline graphic membrane voltage threshold depends on stimulation duration, with a tendency to increase with Inline graphic.

  4. The exponential growth membrane voltage profiles Inline graphic are equivalent to linear growths of shorter duration.

Part II - Multiple-compartment Model Results

Here we first extend the general (model-independent) LAP result of eqn. (34) to spatial-structure models (non-zero-dimensional, multi-compartment), which involve membrane-voltage distribution and propagation along cable structures.

LAP result generalization to multi-compartment models

There is a combinatorial explosion in both the number of parameters and the number of ways that multi-compartment models can be put together and used. Hence, there is much more than one way of generalizing the LAP result of eqn. (34).

Here we briefly present a variant, which appears to be one of the most straightforward generalizations.

With a multi-compartment model, eqn. (7) can be rewritten as:

graphic file with name pone.0090480.e829.jpg (44)

Without loss of generality, we used the variable Inline graphic to represent any ‘spatial’ model dimension. It could even stand for the compartment index in a discretized implementation.

Now, eqn. (7) is a partial DE, depending both on the temporal and the spatial model dimensions.

Assuming that we are free to manipulate Inline graphic in every compartment as we wish, the derivation sequence from eqn. (23) to eqn. (30) (see the LAP subsection in the Methods) still applies yielding a family of equations ‘parameterized’ by the location coordinate Inline graphic.

Hence, we may obtain the generalization of eqn. (34) as:

graphic file with name pone.0090480.e833.jpg (45)

Like the extended eqn. (44), eqn. (45) is a partial DE, depending on both temporal and spatial boundary conditions. In particular, Inline graphic becomes a function of Inline graphic. It is no longer a single variable, but a whole spatial profile, subject to conditions such as the safety factor for propagation introduced in the cardiac literature [34].

The MRG’02 model: Toward upper bounds on Inline graphic

Multi-compartment models add complexity unseen with the single-compartment models. Wongsarnpigoon & Grill [8] used the peripheral-axon MRG’02 model [25] in a genetic-programming search for energy-efficient stimulation waveforms. The approach was somewhat similar to the FHOC described above. After thousands of iterations simulating the MRG’02 model, the identified waveforms were reminiscent of noisy truncated and vertically offset Gaussian’s (Fig. 2 in [8]). In the light of analysis this far one might think that this reflects the shape of Inline graphic for Inline graphic ranging from the resting value (−80 mV) to some threshold Inline graphic.

In this work stimulation is assumed to be intracellular and at just one spatial location (Inline graphic, the center RN, see Methods) along the cable structure.

To suggest a version of optimal waveforms Inline graphic for the MRG’02 model, we first estimate the membrane voltage threshold for each duration. One analytic way toward such estimates is readily provided by the MRG’02 model. Recall also that with simpler models Inline graphic showed a tendency to increase with Inline graphic.

Figure 8 presents a family of ionic current Inline graphic approximations at the target site (Inline graphic), for a set of durations Inline graphic. For each of the durations we assume that the membrane voltage trajectory Inline graphic evolves according to a linear ramp from rest Inline graphic to threshold Inline graphic. As the latter is unknown, we produced one such ramp for each Inline graphic value on the horizontal (independent-variable) axis of the figure, and then computed the corresponding ionic current Inline graphic as described next.

Figure 8. The MRG’02 model: Toward upper bounds on Inline graphic: the figure presents a family of ionic current Inline graphic approximations at the target site (Inline graphic), for a set of durations Inline graphic.

Figure 8

For each of the durations it is assumed that the membrane voltage trajectory Inline graphic evolves according to a linear ramp from rest Inline graphic to threshold Inline graphic (the unknown). For each Inline graphic value on the horizontal (independent-variable) axis of the figure, a Inline graphic ramp was assumed and the corresponding ionic current Inline graphic was computed, based on approximate gate states (see the Box). Note: for the sake of better visibility, a Inline graphic gain is applied to the approx. Inline graphic for the case of Inline graphic = 5 Inline graphic. Box: For a chosen Inline graphic = 5 Inline graphic and as Inline graphic is linearly ramped up, for each gate state the plots show the ratio Inline graphic, where Inline graphic is given by eqn. (46) to its asymptotic value - both functions of Inline graphic. Legend for gate states: opening Inline graphic and closing Inline graphic gates for the fast Inline graphic ion-channel subtype; Inline graphic persistent Inline graphic channel gates; Inline graphic slow Inline graphic gates.

Toward gross estimates of Inline graphic, we first solve approximately eqn. (10) for each gate-state:

graphic file with name pone.0090480.e853.jpg (46)

where Inline graphic is the gate-state value at rest and Inline graphic is the average excursion from the resting membrane voltage.

Figure 8 shows the obtained approximate ionic currents Inline graphic as a function of just Inline graphic for three very different durations - Inline graphic = 0.02, 0.5 and 5 Inline graphic. For Inline graphic = 5 Inline graphic, the Box in the same figure illustrates the estimated proportions-to-rest Inline graphic for each of the 4 gate-state variables, at the end of stimulation.

Why does such an analysis provide upper bounds on Inline graphic?

First, from the Box of Fig. 8 we can see that indeed the dynamics of the fast Inline graphic ion channel subtype evolves before that of the other ion channels. Particularly, we see that the estimate for inactivating Inline graphic gates suggests they are completely closed for Inline graphic = 5 Inline graphic and once Inline graphic reaches around −40 Inline graphic.

On the other hand from the main Fig. 8, one can see that this analysis gives the intervals Inline graphic in which the approximate ionic currents Inline graphic (i.e. remain depolarizing).

Clearly if Inline graphic is not reasonably within Inline graphic, no miracle would yield an AP at the target location, since Inline graphic becomes repolarizing outside of these bounds.

Interestingly, the analysis also predicts lowering of Inline graphic with longer durations. This result is exactly the opposite of what was observed with the simpler models of the HH-type, where Inline graphic was repolarizing for Inline graphic.

The numerical experiments we conducted were fully consistent with the above predictions, and some upper bounds were also quite tight.

The MRG’02 model: numerical experiments

We conducted four series of numerical experiments in search of the optimal waveforms Inline graphic for the MRG’02 model. Each series was computed for the same set of 9 durations Inline graphic = 20, 50, 100, 200, 400 and 500 Inline graphic; 1, 2 and 5 Inline graphic (for the sake of better visibility, only the most representative subsets are illustrated in full detail).

The four series differed by the chosen voltage-clamp temporal growth profile Inline graphic at the targeted RN location and A baseline series involved finding the threshold rectangular stimulation amplitude. In all series, the constraint was to observe a propagating AP at the latest within 1 Inline graphic after the end of stimulation.

With Inline graphic, where the minimum Inline graphic was found (with 0.001 mV tolerance) using the same type of golden-section search algorithm as per the optimal Inline graphic amplitude.

And the three LAP-driven series were:

linear growth

graphic file with name pone.0090480.e887.jpg (47)

exponential growth

graphic file with name pone.0090480.e888.jpg (48)

1-st order growth

graphic file with name pone.0090480.e889.jpg (49)

The corresponding Inline graphic ES waveforms were computed from eqn. (44) with Inline graphic.

The MRG’02 model: numerical results

Figure 9 and table 7 illustrate the obtained Inline graphic as a function of Inline graphic.

Figure 9. The actually computed Inline graphic as a function of Inline graphic : Notice how the computed Inline graphic value is rather similar (almost matched) between the linear and exponential cases, for Inline graphic respectively 2 and 5 ms; and between the Inline graphic-order and linear cases, for Inline graphic respectively 0.2 and 0.5 ms. see also Fig. 10.

Figure 9

Table 7. Minimal Inline graphic values for the MRG’02 model, obtained for each Inline graphic trajectory class.
Inline graphic Linear 1st-order Exponent.
0.020 −25.649 −37.602 −4.963
0.050 −41.838 −50.515 −24.311
0.100 −50.852 −57.366 −37.032
0.200 −57.061 −61.506 −47.137
0.400 −60.588 −63.558 −54.124
0.500 −61.247 −63.889 −55.731
1.000 −62.378 −63.960 −59.255
2.000 −61.950 −62.578 −60.977
5.000 −59.273 −59.094 −61.249

The computed optimal values of Inline graphic are often similar for two adjacent durations either between the linear and 1-st order, or between the linear and exponential growth (EG). 1-st order is usually similar to its right-hand linear neighbor (for the next longer duration). Conversely, EG is similar to its left-hand linear neighbor (for the previous shorter duration).

This is consistent with and best interpreted in the light of our growth-profiles comparison (see the dedicated subsection on page 13). There we saw that indeed an EG Inline graphic trajectory is approximately equivalent to linear growth of about twice shorter duration. As for 1-st order growth, clamping the voltage to its plateau will tend to be similar to a linear growth of about twice longer duration. Recall also that 1-st order is the ‘reverse-time’ analog of EG.

Figure 10 and tables 7, 8 illustrate the obtained optimal-waveforms’ energy Inline graphic and charge-transfer Inline graphic values as a function of Inline graphic.

Figure 10. The energy Inline graphic and charge-transfer Inline graphic values as a function of Inline graphic : The linear-ramp voltage profile yields the best Inline graphic performance for most of the durations.

Figure 10

As in Fig. 8 notice that the Inline graphic and Inline graphic values are quite similar for the linear and exponential cases, for Inline graphic respectively 2 and 5 ms; and also for the Inline graphic-order and linear cases, for Inline graphic respectively 0.2 and 0.5 ms. Toward the Inline graphic values electrode impedance of 1 Inline graphic is assumed. Contrasted: Inline graphic stands for the square (or rectangular) stimulation waveform.

Table 8. Minimal Inline graphic values for the MRG’02 model, obtained for each Inline graphic trajectory class.
Inline graphic Inline graphic Linear 1st-order Exponent.
0.0200 3.1180 0.1279 0.1671 0.1467
0.0500 1.2472 0.1630 0.1946 0.1642
0.1000 0.6236 0.1959 0.2212 0.1847
0.2000 0.3832 0.2369 0.2583 0.2121
0.4000 0.3426 0.3045 0.3191 0.2545
0.5000 0.2605 0.3440 0.3492 0.2937
1.0000 0.2143 0.5093 0.4736 0.3910
2.0000 0.1808 0.8640 0.6361 0.5855
5.0000 0.1411 2.1216 1.5673 1.2018

The linear-growth strategy is the one that tends to perform best across the board, except for the 2 longest durations, and as predicted by the comparative (linear vs exponential growth) analysis, based on the 0D LM.

Figure 3 illustrates the propagating AP’s, corresponding to the two representative linear and exponential voltage-clamp temporal growth profiles at the stimulation site Inline graphic. The figure also shows the spatial profiles of the membrane voltage and intracellular potential at the end of stimulation for the two growth cases.

Consistently with the analysis in the subsection on the comparative properties of the Inline graphic growth profiles, we found out that the spatial distributions of membrane voltage and intracellular potentials at the end of stimulation were reasonably similar - e.g. between the optimal linear growth voltage-clamp for Inline graphic = 2 Inline graphic, Fig. 3 (Panels A, C) and the optimal exponential growth with Inline graphic = 5 Inline graphic, Fig. 3 (Panels B, D).

Note that we expect from an approximately globally optimal stimulation waveform Inline graphic to yield a specific distribution of membrane voltages Inline graphic at the end of the stimulation. We call this distribution tentatively the invariant spatial profile of the membrane voltage. Importantly, such a profile will differ for any different duration Inline graphic even when the corresponding waveform Inline graphic is globally optimal. This is due for example to the small spatial constant Inline graphic, which controls the spatial diffusion with time.

However, if the spatial profile is about the same for different durations Inline graphic and the corresponding different waveforms Inline graphic (see Panels B and D in Fig. 3), then both waveforms may be optimal. Recall that linear fits to both the optimal 1-st order growth and the optimal exponential growth with durations Inline graphic = 5 Inline graphic have duration Inline graphic = 2.3 Inline graphic. Thus, all of the above cases may yield quasi-invariant spatial potentials at the end of stimulation, and may also be otherwise similar.

For two representative linear-growth cases Fig. 11 illustrates the corresponding waveforms Inline graphic and their construction in detail.

Figure 11. Optimal waveforms Inline graphic, Inline graphic = 20, 200 Inline graphic: The figure also provides the corresponding optimal Inline graphic-like linear-growth-related current Inline graphic (dashed black), as well as the components of Inline graphic - respectively the Inline graphic (blue traces) and Inline graphic (red traces) current trajectories.

Figure 11

Finally, Fig. 12 uses the same-vertical-scale to compare the relative contributions of the growth rate and the compensated re-polarizing node currents for each different duration. The waveforms’ offsets (due to Inline graphic) are inversely proportional to duration. This readily compares qualitatively with the results in [8]. Especially for very short durations (e.g. Inline graphic), the optimal waveform Inline graphic has a significant rectangular component (see also the optimality-analysis for the simple 0D models). Further parallels may be made for the relatively shorter durations (Inline graphic).

Figure 12. Optimal waveforms Inline graphic: see also Fig. 11. Notes:

Figure 12

Since here Inline graphic, where Inline graphic is given by eqn. (41), from eqn. (6) Inline graphic. The figure is optimized to present clearly both Inline graphic and Inline graphic (*1) The dashed trace at the bottom plots Inline graphic as a function of Inline graphic (*2) Toward equally good plot visibility, for all durations Inline graphic, the waveforms Inline graphic are rubber-banded to take the same graph width as the 1 ms-waveform. This is illustrated by the scale bars for the shortest duration Inline graphic = 20 Inline graphic. (*3) The vertical scale is the same for all plots, except for the logarithmic offset, as defined by pt. (*1) above.

Numerous essential differences in the approach preclude further objective comparisons. Interestingly however, for the longer durations (Inline graphic 0.5 Inline graphic) the results in [8] show very little (if any) variation with Inline graphic (there called pulse-width, PW).

Finally, with long PW’s in [8] most of the stimulation’s energy is delivered toward the middle of the active period. This late and peaky delivery requires additional analysis and comparisons of the actually achieved waveform-energy levels, which cannot be done in its details at this time. However, we return to the late delivery policy in the Discussion (see below), where it is deemed equivalent to a shorter-duration case.

The latter provides a clue why such significant delivery differences would not be at odds with the very narrow 95% confidence intervals that resulted from the genetic algorithm in [8], and seeming to preclude different optimal waveforms.

Discussion and Conclusions

In eqn. (23), we addressed directly the electric power required for driving the excitable-tissue membrane potential Inline graphic from its resting (Inline graphic) to its threshold value (Inline graphic) through a stimulation of fixed duration. Through the LAP perspective, we obtained eqn. (34) - a general (model-independent) description of the energy-optimal time-course of the excitable-tissue’s membrane potential Inline graphic.

We would like to bring the reader’s attention to three specific conclusions.

The first is related to the intuition gained with respect to the evolution of the membrane potential Inline graphic. This optimality principle is best demonstrated by the simplest linear sub-threshold model (LM). Let ES circumstances be characterized by large opposing currents (e.g. the leak LM current) over long durations. This situation is physically analogous to filling with water a bucket which has large holes in its bottom. Since only the final outcome is important (i.e. we want the bucket full at the final time Inline graphic), the best policy is to do nothing for most of the duration and then be able to dump a very large amount of water in the bucket over very short time. From experience, we know that works for even an unplugged sink. Moreover, we saw that the same intuition transfers to more refined models (e.g. the HHM or the MRG’02) as do nothing for most of the duration means that we are still around the resting Inline graphic and hence there is no danger of Inline graphic ionic-channel deactivation.

The second take-home message is that the use of LAP principles jointly with numerical approaches (e.g. the classical FHOC) provides a mathematically sound and practical waveform optimization approach, providing more assurance toward the quality of the final outcome.

And finally, a note of humility is in perfect order. In this work we just slightly opened the door to using the LAP ideas for optimal ES. There are many more aspects to tackle than the ones that we can address in this short paper as ‘proof of concept’. In particular we would like to extend the method for extracellular stimulation in forthcoming work. The motivation for doing so is at least twofold. On the one hand, extracellular stimulation has far more practical relevance. On the other hand, the only way we could rigorously employ the general LAP solution of eqn. (45) is to consider a model where we are free to manipulate Inline graphic in every compartment or at every spatial location.

A direction for such manipulation is provided by the activating function concept [15], [20], [25], which supplies every compartment with a virtual injected current. In the context of extracellular stimulation, we will also have to properly address the conditions for stable AP propagation (see [15], [35] for an extensive treatment of the subject). The optimal pattern of extracellular potentials (size of depolarized and hyperpolarized regions) depends on the distance to the electrode. These conditions would also naturally provide the spatial voltage profile at the end of the stimulation, needed to properly solve the PDE of eqn. (45).

Here we took a shortcut path by assuming that intuitions gained with single-compartment models suffice. This may be partially true with the specific MRG’02 setup that we addressed, but does not hold in general. Hence, the LAP results are approximate. A clue is provided by the slightly lower Inline graphic values of the optimal rectangular waveform, for Inline graphic = 100 and 200 Inline graphic - see Table 9. As can be seen from Fig. 9, no benefit in terms of lower Inline graphic can be associated to the steep rise of the rectangular waveform, since Inline graphic is expected to be higher, esp. for dramatically shorter durations. This was further confirmed by numerical testing with dual linear (high/low rate) Inline graphic rise schedules (data not shown), which all had inferior performance to the baseline simple linear-growth protocol. However, the rectangular waveform also leads to steep capacitive decay of Inline graphic at the end of the stimulation, which may trigger specific patterns of additional depolarizing currents.

Table 9. Minimal Inline graphic values for the MRG’02 model, obtained for each Inline graphic trajectory class.

Inline graphic Inline graphic Linear 1st-order Exponent.
0.0200 1.9444 0.9620 1.4387 2.2993
0.0500 0.7778 0.6391 0.7765 1.1611
0.1000 0.3889 0.4596 0.5158 0.7325
0.2000 0.2937 0.3307 0.3692 0.4766
0.4000 0.2934 0.2693 0.3003 0.3352
0.5000 0.3392 0.2675 0.2913 0.3463
1.0000 0.4593 0.2934 0.2929 0.2954
2.0000 0.6535 0.4265 0.3321 0.3204
5.0000 0.9949 1.0339 0.9486 0.5263

For the shortest durations, the plain rectangular waveform outperforms by Inline graphic the ones associated to the linear-ramp voltage profile (see Fig. 10). On Fig. 13 one can see that the steep rise of the Inline graphic waveform yields an early super-linear ramping of the membrane voltage. However, the rectangular waveform requires a lot more charge Inline graphic to be transferred.

Figure 13. Propagating AP due to an optimal Inline graphic (rectangular) waveform, Inline graphic = 100 Inline graphic: For the shortest durations, the plain rectangular waveform outperforms by Inline graphic the ones associated to the linear-ramp voltage profile.

Figure 13

One can see clearly that the steep rise of the Inline graphic waveform yields an early superlinear ramping of the membrane voltage. However, the rectangular waveform requires a lot more charge Inline graphic to be transferred (see Fig. 10).

In practical situations many more additional aspects need to be addressed. E.g. stimulation needs to be charge balanced. This is a necessity for implanted devices and also debatably important for transcutaneous applications. Such stimulation will have an effect on the optimal threshold intensity of the cathodic pulse [36]. One would expect that a pre- or post- anodic pulse would also have a significant effect on the optimal waveform. Moreover, its own shape would be subject to optimization - e.g. to minimize the overall energy level required - a cost suitable for the design of implanted devices.

We hope that the analysis and numerical evidence provided in this work may convince the reader of the practical benefits of applying the LAP principles toward the design of energy-efficient ES.

Funding Statement

The Fonds de recherche du Quebec - Nature et technologies and the Natural Sciences and Engineering Research Council of Canada provided funding for this work. S.D. was supported by the Vienna Science and Technology Fund (WWTF), Proj.Nr. LS11-057. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Liberson W, Holmquest M, Scot D, Dow M (1961) Functional electrotherapy: stimulation of the peroneal nerve synchronized with the swing phase of gait of hemiplegic patients. Arch Phys Med Rehabil 42: 101–105. [PubMed] [Google Scholar]
  • 2. Dhillon G, Horch K (2005) Direct neural sensory feedback and control of a prosthetic arm. IEEE Trans Neural Syst Rehab Eng 13(4): 468–72. [DOI] [PubMed] [Google Scholar]
  • 3. Fetz EE (2007) Volitional control of neural activity: implications for brain-computer interfaces. Journal of Physiology-London 579: 571–579. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Doherty J, Lebedev M, Hanson T, Fitzsimmons N, Nicolelis M (2009) A brain-machine interface instructed by direct intracortical microstimulation. Front Integr Neurosci 3: 20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Lucas T, Fetz E (2013) Myo-cortical crossed feedback reorganizes primate motor cortex output. J Neurosci 33(12): 5261–74. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Sahin M, Tie Y (2007) Non-rectangular waveforms for neural stimulation with practical electrodes. J Neural Eng 4(3): 227–33. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Foutz T, McIntyre CC (2010) Evaluation of novel stimulus waveforms for deep brain stimulation. Journal of Neural Engineering 7: 066008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Wongsarnpigoon A, Grill WM (2010) Energy-efficient waveform shapes for neural stimulation revealed with a genetic algorithm. Journal of Neural Engineering 7(4): 046009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Wongsarnpigoon A, Woock JP, Grill WM (2010) Efficiency analysis of waveform shape for electrical excitation of nerve fibers. IEEE Trans Neural Syst Rehab Eng 18: 319–328. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Weiss G (1901) Sur la possibilite de rendre comparable entre eux les appareils servant a l’excitation electrique. ArchItalBiol 35: 413–446. [Google Scholar]
  • 11. Lapicque L (1907) Recherches quantitatives sur l’excitation electrique des nerfs traites comme une polarization. J Physiol (Paris) 9: 622. [Google Scholar]
  • 12.Lapicque L (1926) L’excitabilite en Fonction du Temps. La Chronaxie, sa Signification et sa Mesure. Presses Universitaries de France, Paris.
  • 13. Lapicque L (1931) Has the muscular substance a longer chronaxie than the nervous substance? The Journal of Physiology 73: 189–214. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Lykknes A, Opitz DL, Tiggelen BV, editors (2012) For Better or For Worse? Collaborative Couples in the Sciences, volume 44 of Science Networks. Historical Studies. Basel: Springer-Birkhaeuser, 319 pp.
  • 15.Rattay F (1990) Electrical Nerve Stimulation: Theory, Experiments and Applications. Wien, NY: Springer-Verlag.
  • 16. Geddes LA (2004) Accuracy limitations of chronaxie values. IEEE Trans Biomed Eng 51: 176–181. [DOI] [PubMed] [Google Scholar]
  • 17.Feynman R, Leighton R, Sands M (1964) The principle of least action. IN: The Feynman Lectures on Physics Addison-Wesley, vol.II, ch.19.
  • 18.Rall W (1977) Core conductor theory and cable properties of neurons. In: Handbook of Physiology - The Nervous System (APS) vol 1, chap 3, 39–97.
  • 19. Katz B (1937) Experimental evidence for a non-conducted response of nerve to subthreshold stimulation. ProcRoySocLondon serB 124: 244–276. [Google Scholar]
  • 20. Rattay F, Wenger C (2010) Which elements of the mammalian central nervous system are excited by low current stimulation with microelectrodes? Neuroscience 170: 399–407. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Hu W, Tian C, Li T, Yang M, Hou H, et al. (2009) Distinct contributions of Nav 1:6 and Nav 1:2 in action potential initiation and backpropagation. Nat Neurosci 12: 996–1002. [DOI] [PubMed] [Google Scholar]
  • 22.Izhikevich E (2007) Dynamical Systems in Neuroscience. Cambridge, MA: MIT Press.
  • 23. Fitzhugh R (1961) Impulses and physiological states in theoretical models of nerve membrane. Biophys J 1: 445–66. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Izhikevich E (2004) Which model to use for cortical spiking neurons? IEEE Transactions on Neural Networks 15(5). [DOI] [PubMed]
  • 25. McIntyre CC, Richardson AG, Grill WM (2002) Modeling the excitability of mammalian nerve fibers: Inuence of afterpotentials on the recovery cycle. Journal of Neurophysiology 87: 995–1006. [DOI] [PubMed] [Google Scholar]
  • 26. Ranck JJB (1975) Which elements are excited in electrical stimulation of mammalian central nervous system: A review. Brain Research 98: 417–440. [DOI] [PubMed] [Google Scholar]
  • 27. Rattay F (1998) Analysis of the electrical excitation of cns neurons. IEEE Trans Biomed Eng 45: 766–772. [DOI] [PubMed] [Google Scholar]
  • 28. Rattay F (1999) The basic mechanism for the electrical stimulation of the nervous system. Neuroscience 89: 335–46. [DOI] [PubMed] [Google Scholar]
  • 29.Danner S (2010) Master thesis: Computer simulation of electrically stimulated nerve fibers in the human spinal cord. TU Vienna, Inst for Scientific Computing & Analysis, Advisor: F Rattay.
  • 30. Danner SM, Hofstoetter US, Ladenbauer J, Rattay F, Minassian K (2011) Can the human lumbar posterior columns be stimulated by transcutaneous spinal cord stimulation? A modeling study. Artificial Organs 35: 257–262. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Grill W (2010). Personal comm. w.r.t. possible printing errors in the MRG’02 model’s original 2002 publication.
  • 32.Sage AP, Melsa JL (1971) System Identification, volume 80 of Mathematics in Science and Engi-neering. Academic Press, 221 pp.
  • 33. Jezernik S, Morari M (2005) Energy-optimal electrical excitation of nerve fibers. IEEE Trans Biomed Eng 52(4): 740–3. [DOI] [PubMed] [Google Scholar]
  • 34. Shaw RM, Rudy Y (1997) Ionic mechanisms of propagation in cardiac tissue. roles of the sodium and l-type calcium currents during reduced excitability and decreased gap junction coupling. Circ Res 81: 727–41. [DOI] [PubMed] [Google Scholar]
  • 35. Rattay F, Paredes LP, Leao RN (2012) Strength-duration relationship for intra- versus extracellular stimulation with microelectrodes. Neuroscience 214: 1–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Hofmann L, Ebert M, Tass PA, Hauptmann C (2011) Modified pulse shapes for effective neural stimulation. Frontiers Neuroeng 4: 9. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES