Abstract
Objective.
Avoidance of the adverse electrochemical reactions at the electrode-electrolyte interface defines the voltage safety window and limits the charge injection capacity (CIC) of an electrode material. For an electrode that is not ideally capacitive, the CIC depends on the waveform of the stimulus. We study the modeling of the charge injection dynamics to optimize the waveforms for efficient neural stimulation within the electrochemical safety limits.
Approach.
The charge injection dynamics at the electrode-electrolyte interface is typically characterized by the electrochemical impedance spectrum, and is often approximated by discrete-element circuit models. We compare the modeling of the complete circuit, including a non-linear driver such as a photodiode, based on the harmonic-balance (HB) analysis with the analysis based on various discrete-element approximations. To validate the modeling results, we performed experiments with iridium-oxide electrodes driven by a current source with diodes in parallel, which mimics a photovoltaic circuit.
Main results.
Application of HB analysis based on a full impedance spectrum eliminates the complication of finding the discrete-element circuit model in traditional approaches. HB-based results agree with the experimental data better than the discrete-element circuit. HB technique can be applied not only to demonstrate the circuit response to periodic stimulation, but also to describe the initial transient behavior when a burst waveform is applied.
Significance.
HB-based circuit analysis accurately describes the dynamics of electrode-electrolyte interfaces and driving circuits for all pulsing schemes. This allows optimizing the stimulus waveform to maximize the CIC, based on the impedance spectrum alone.
Keywords: neural stimulation, electro-neural interface, charge injection capacity, harmonic-balance analysis, electrochemical impedance spectrum, photovoltaic neural stimulation
1. Introduction
Electrical stimulation of neurons requires injection of a sufficient amount of charge through the electrode-electrolyte interface. The stimulation threshold depends on various factors, including the electrode geometry [1, 2], proximity to the neurons [3, 4], the pulse waveform [2, 5], the pulse duration [6, 7], and the repetition rate [2, 8]. When too much charge is injected, the potential drop across the electrode-electrolyte interface would rise beyond the safety window, enabling adverse electrochemical reactions, such as water electrolysis, which may result in damage to the electrode material and biological tissues. The charge injection capacity (CIC) of an electrode is defined as the maximum amount of charge that can be injected in one pulse without driving the electrode-electrolyte interface beyond the safety window [9]. For the efficacy of neural stimulation, bio-compatible electrode materials with large CIC are desirable. Iridium oxides (IrOx) [10–15], platinum black (Pt-Black) [16] and poly(3,4-ethylene-dioxythiophene)-poly(styrenesulfonate) (PEDOT:PSS) [8, 17–19] are some common materials used as neural electrodes for this reason.
The CIC is related to the material capacitance and is affected by the impedance spectrum over a frequency range corresponding to the applied stimulus waveform [12, 20]. Very often, however, the impedance is reported only at one specific frequency, 1 kHz, for example [21], or even not reported at all [8, 14, 15, 18, 19]. Since highly capacitive materials are usually porous and often involve reversible electrochemical reactions, the electro-electrolyte interface is not ideally capacitive. Therefore, dynamics of the charge injection and the CIC depend on the applied waveform. For example, the impedance spectrum of sputtered iridium oxide film (SIROF) shows phase characteristics of the transmission lines, due to the pore resistance and the mass-transfer limitation associated with its porous structure [12, 22]. Hence, the CIC was found to vary with pulse duration [23]. Therefore, materials cannot be characterized by a single CIC value, but should rather be described in a more comprehensive manner, taking into account the impedance spectrum and the waveform of stimulus.
Traditionally, electrode-electrolyte interfaces are described by circuit models with discrete elements, the values of which are fit to the impedance spectrum. Solving the differential equations corresponding to such circuits should describe the resulting charge injection dynamics [24–26]. However, as we will show in section 3.2, depending on the applied waveform, various discrete-element approximations to the impedance spectrum may result in highly variable outcomes. An accurate representation of the impedance spectrum typically involves constant phase elements (CPEs) [27], the dynamics of which needs to be modeled in frequency domain through the Laplace transform [28], causing extra complications and often incompatible with non-linear circuit elements, such as diodes, for example.
In this paper, we propose a framework to describe the circuit response without the need to fit an equivalent discrete-element circuit model. If the circuit is driven by controlled current or voltage, directly applying the impedance spectrum in frequency domain yields the corresponding voltage or current response. In cases where neither current nor voltage is directly controlled, we use harmonic-balance (HB) analysis to solve for the response when the circuit driver is non-linear. For example, photovoltaic retinal prosthesis is driven by photodiodes, which have non-linear relationship between the voltage and the current [11]. The results of our modeling are validated by comparing with the actual experimental measurements and with the time-domain solutions of the discrete-element circuit approximation. Since the wireless photovoltaic prosthesis is inaccessible to direct measurements in vivo, we developed an experimental technique to mimic the prosthetic circuit without using light. The proposed framework offers a powerful tool for optimizing the design of electro-neural interfaces in general, and predicts, among other useful metrics, the CIC under any stimulation waveform for any electrode material.
2. Methods
2.1. Circuit modeling
The circuit for neural stimulation generally consists of two parts: the circuit driver and the load, as shown in figure 1. The circuit driver is a controlled power source, while the load comprises an electrochemical cell and other power consuming circuit components. These two parts are connected at a port. The output current of the circuit driver is a function of time , denoted by . Similarly, represents the current flowing through the load, and the voltage at the port. The polarities of and are defined as in figure 1. By Kirchhoff’s laws, for all , we have
| (1) |
Figure 1.

The schematic diagram of the circuit model consisting of the driver and the load, connected by a port. and are the current output of the circuit driver, the current flowing through the load and the voltage at the port, respectively.
The load is typically a lumped circuit, which we assume to be linear. By the Butler-Volmer model, an electrochemical cell can be linearized within a relatively small window of overpotential, and the nonlinear Tafel behavior outside this window is associated with high rate of Faradaic reactions [29], which usually should be avoided in neural stimulation. Furthermore, electrochemical impedance spectroscopy (EIS) is only meaningful for electrode-electrolyte interfaces with linear circuit behavior, and as a result, most discrete-element circuits used to model neural electrodes assume linearity. The circuit driver, however, may have non-linear current-voltage relationship, especially when neither the current nor the voltage output of the circuit driver is directly controlled. For example, for photovoltaic retinal prosthesis, only the light intensity projected onto the photodiodes is directly controlled, and the relationship of the photodiodes is exponential [24].
2.1.1. Directly controlled driver of current or voltage
For a circuit driven by controlled or , we can calculate the steady-state response of the load to periodic stimulus directly from the impedance spectrum. Let impedance , as a function of frequency , be the impedance spectrum of the load, and be the Fourier transform. , equivalently, , and are related by
| (2) |
(2) is a linear transform from function to function , which we denote with the linear operator . Since the impedance is typically nonzero and finite, is invertible. Therefore, given a stimulus waveform or , we can calculate the corresponding response of or . [28] proposes a similar approach to study the responses of electrochemical cells in frequency domain, but this method still involves equivalent circuits to calculate the Laplace transform for transient behavior. Our approach avoids the complication of finding an equivalent circuit, and can also be applied to describe the transient behaviour in the non-periodic stimulus, as shown in section 2.1.3. Note that the DC impedance is not measured in the standard EIS, and can be determined separately via chronoamperometry or methods alike. However, in neural stimulation, charge should be balanced, and therefore the DC current should be zero.
2.1.2. Nonlinear circuit driver
When neither nor is directly controlled, we can rely on the relationship of the driver at each time step:
| (3) |
To vary the current, the relationship of the circuit driver must change with time, and hence is a function of both and , which may be non-linear, such as the curve of a photodiode illuminated by a pulsed laser. An example of such is given in section 2.2.1. Knowing , we can study the steady-state response following the principles of HB analysis - comparing the current responses of the linear and the non-linear parts of the circuit, and numerically minimizing the difference between the two responses [30, 31]. The solution is found if and only if the two responses match exactly, which is required by Kirchhoff’s current law (KCL). Kirchhoff’s voltage law (KVL) is hardwired in the definition of .
Today, the Newton-Raphson method is the most common approach in HB analysis [30, 31] but its implementation requires proprietary software or custom coding. Since the HB problem can be formulated as an optimization, any optimization method can be used to match the responses. To demonstrate the ease of implementation, we use an off-the-shelf optimization tool in MATLAB to find the solution. Our demonstration code is available online at [32].
For any given , the nominal is given by (2):
| (4) |
and the nominal is given by (3). Note that and have no physical meanings, because generally , which violates (1). We can define the difference between and as an operator acting on :
| (5) |
The true voltage response at the port, , is obtained if and only if . We perform optimization on to find :
| (6) |
We prove in the Appendix that and the solution is unique, if is monotonically non-increasing. The monotonicity is a realistic premise, because higher voltage at the port counteracts the current output.
2.1.3. Transient behavior
HB analysis only provides the steady-state solution of circuits under periodic stimuli [30, 31]. However, the several initial pulses may show transient behavior uncaptured in the steady-state solution, especially when they are monophasic capacitor-coupled. For example, in [24], the initial pulses are not charge-balanced, and the response to them is quite different from the steady state.
The general approach to study the transient behavior of an electrode-electrolyte interface is using the Laplace transform without assuming periodicity, which involves finding its equivalent circuit [28]. Here, we convert the transient behavior into a virtually periodic one by padding the waveform with an additional discharging phase and a checking phase. To calculate the initial pulses between and , we insert a discharging phase of length after and a checking phase of length after , as illustrated in figure 2.
Figure 2.

Schematic diagram of the augmented period consisting of the initial pulses, the discharging phase and the checking phase.
In the discharging phase, we keep constant at the resting voltage of the load, and allow any amount of current to flow through the driver. In the checking phase, the circuit driver has the resting relationship to verify the load has sufficiently discharged. The circuit driver is resting before the current injection begins, during which its relationship does not change with time, and we define as before all stimulations. Hence, is a function of only but not . For the circuit driver, we have
| (7) |
For this scheme to work properly, should be at least several times longer than the time constants of the electrode relaxation and charge redistribution calculated in [33]. To verify the efficacy of the discharging phase, the deviation of from in the checking phase should be negligible compared to its average magnitude between 0 and :
| (8) |
2.2. Experimental validation
2.2.1. Circuit driver
The circuit of a photovoltaic retinal prosthesis described in [11] can be driven by shining light on photodiodes. However, quantitative analysis of such circuit requires precise measurement of the irradiant power on each photodiode and their light-to-current conversion. To simplify such experiments, we use a current source in parallel with the same photodiode in the dark, which exhibits an identical curve, and therefore allows driving the circuit in an equivalent way as using light.
By equation (1) of [24], , the output current of the photodiode, equals the short-circuit photocurrent minus the forward current of the diode in dark under the output voltage :
| (9) |
and can be approximated by the exponential relationship
| (10) |
where is the scale current, is the elementary charge, is the diode ideality factor, is the Boltzmann constant and is the temperature. Note that we did not explicitly use (10) to calculate , but rather interpolate current from measured dark curve of the photodiode. The dataset of the curve is available at [32].
By (9), the current source and the shaded photodiode combined in parallel are equivalent to the photodiode in light, as shown in the red dashed box in figure 3. The ON and OFF status of the current source correspond to turning the light on and off, respectively. Because of the limited precision of the current source, we cannot set the OFF current to be strictly zero between pulses. To prevent random drift of due to charge accumulation, a Schottky diode is connected in parallel with in opposite polarity, and a negative current that is much smaller in amplitude than the stimulating current is applied between pulses. In the resting state, , which is the turn-on voltage of . The circuit is designed to function when , and has no effect on the circuit in this range. We applied Stimulus 1 and Stimulus 2 to the current source, whose features are summarized in figure 4 and table 1. Together, the relationship of the circuit driver is given by
| (11) |
and are the relationship of and , respectively.
Figure 3.

The circuit diagram of the experiment, consisting of the current source, the photodiode , the Schottky diode , the electrochemical cell (blue circle) and the monitor resistor . The circuit driver and the load are noted by the red and the blue dashed boxes, respectively.
Figure 4.

Current output of the current source in figure 3. Values of the repetition rate , the pulse duration , the ON current and the OFF current are given in table 1. Plotting is not to scale.
Table 1.
Parameters of the periodic waveform output by the current source. and are defined in figure 4
| Stimulus 1 | 2 | 50 | 2.679 | −51.2 |
| Stimulus 2 | 30 | 10 | 9.72 | −255.7 |
2.2.2. Electrochemical cell
We use an electrochemical cell of the 2-electrode setup. The working and the counter electrodes are a pair of -diameter platinum disks coated with 400 nm of SIROF, spaced apart center-to-center on an insulating planar substrate. The electrolyte is a cell-culture medium made of 89% of DMEM/F12 base solution, 10% of fetal bovine serum and 1% of Penicillin(10,000 U ml−1)-Streptomycin (10 mg ml−1) in volume. The experiment is conducted at 37°C. A resistor is connected in series with the electrochemical cell to monitor the current. The complete circuit is illustrated in figure 3.
To check linearity of the electrochemical cell, we first measured the impedance spectra at different voltage biases and with different perturbation amplitudes. The EIS was performed with a Gamry’s Interface 1010 E potentiostat using the 2-electrode setup, with the working and counter electrodes being the pair of SIROF-coated disks mentioned above. Impedance was measured at 121 sampling frequencies (20 points per decade) between 0.1 Hz and 100 kHz. We then applied Stimulus 1 and Stimulus 2 and recorded the current and the voltage of the load. Next, we used HB analysis to calculate and directly from the impedance spectrum, and compare with the experimental measurements. For comparison, we also fit the discrete-element circuit models to the impedance spectrum and solve the corresponding differential equations for and in time domain.
3. Results
3.1. Validation of linearity by EIS
To validate that the electrochemical cell can be treated as a linear system, we performed EIS at 10 different voltage biases, evenly spaced by 0.1 V from −0.2 V to 0.7 V, with perturbation of 10 mV root-mean-square (RMS). We also measured the impedance spectrum at 0.3 V bias with 100 mV-RMS perturbation. All the spectra, plotted in figure 5(a), match each other very well, confirming linearity of the electrochemical cell. The DC impedance is determined to be 962 MΩ by chronoamperometry.
Figure 5.

(a) Impedance spectrum of the electrochemical cell, measured at 10 voltage biases evenly spaced between −0.2 V and 0.7 V, with 10 mV-RMS perturbation. An additional measurement is performed at 0.3 V bias with 100 mV-RMS perturbation. Each of the colored bundles (solid blue and dashed red) comprises 10 curves, representing the magnitude and the phase, respectively. (b) The impedance spectrum of the electrochemical cell and its two discrete-element approximations shown in figure 6.
3.2. Discrete-element circuit models
A widely used equivalent circuit model of the electrode-electrolyte interface, the Randles circuit, typically includes the constant phase elements (CPEs) [29], the dynamics of which is given in frequency domain. However, since modeling involving a nonlinear circuit driver is more convenient in time domain, a simplification of the Randles circuit, comprising only capacitors and resistors [24, 25, 34] is usually applied. Figure 6(a) shows one possible simplification consisting of the interface capacitor , the Faradaic resistor and the access resistor (Model 1). Sometimes, is neglected and the circuit further simplifies as illustrated in figure 6(b) (Model 2) [26]. Generally, we need two sets of lumped circuits to model the working and the counter electrodes, respectively. However, since we use symmetric working and counter electrodes, only one set of the circuit is needed in each model. We averaged all the 10 mV-RMS impedance spectra in figure 5(a), and fit the two circuit models to the mean spectrum using the method of least squares on the relative error, which is described in section 3.3.2.3 of [27]. The spectra of the fit circuits are plotted in figure 5(b), and the values of the discrete elements are shown in table 2.
Figure 6.

(a) Model 1: simplification of the Randles circuit with the interface capacitance , the Faradaic resistor and the access resistance . (b) Model 2: further simplification of (a) when is much larger than the total impedance and thereby can be neglected.
Table 2.
Fit values of the discrete components from the impedance spectrum.
| Model 1 | 11.00 | 1.746 | 252.7 |
| Model 2 | 11.30 | 302.7 |
The periodic steady-state response to Stimulus 1 with Model 1 and Model 2 can be calculated by solving the differential equations in time domain using Mathematica 11. As shown in figure 7, the two models produce very different results. Since Model 2 is a special case of Model 1 where is constrained at , Model 1 fits the impedance spectrum better than Model 2. However, the response calculated with Model 2 is more accurate than that with Model 1.
Figure 7.

Periodic steady-state response to Stimulus 1 repeated at 2 Hz. Although Model 1 fits the impedance spectrum better than Model 2, it gives the least accurate prediction of the voltage and current waveforms. The curves are plotted for only 100 ms to better show the details of the pulse.
3.3. HB analysis for steady-state response to periodic stimulus
To find the steady-state circuit response to a periodic stimulus, we implement the optimization in (6) with the built-in non-linear least square solver (lsqnonlin) in MATLAB (R2017a). As shown in figure 7, the steady-state response to Stimulus 1 matches the experimental result better than both models in section 3.2. The response is calculated in 0.25 ms steps, yielding 2000 sampling points per period of 500 ms.
Stimulus 2 is repeated at a higher frequency of 30 Hz. Measurement and modeling were performed with another working electrode of the same geometry and material, whose impedance spectrum closely resembles that of the electrode used for Stimulus 1. We calculated the periodic steady-state response to Stimulus 2 in steps (666 sampling points per period of 33.3 ms). The optimization converges in eight iterations for both stimuli. Figure 8 depicts the final result plotted with the starting values of and , and the two intermediate iterations of the optimization. For comparison, we also calculated the response of Model 1 to Stimulus 2 using the time-domain method in section 3.2, as shown in figure 8. The time-domain solution is significantly improved at higher stimulation frequencies (Stimulus 2, 30 Hz) compared with lower frequencies (Stimulus 1, 2 Hz), because the impedance spectrum of Model 1 fits the EIS measurement better in frequency range higher than approximately 30 Hz, although the HB solution still matches the measurement better.
Figure 8.

Steady-state response to Stimulus 2 repeated at 30 Hz. The HB solution matches the experimental measurement better than the discrete-circuit Model 1. The HB solution converges to the measurement after 8 iterations. The starting value, iteration 2 and iteration 4 are plotted to visualize the optimization process.
3.4. HB analysis for transient behavior
Following the scheme outlined in section 2.1.3, we model the first 115 ms of the response to Stimulus 2, which includes the four initial pulses. According to figure 5 in [33], the relaxation time for SIROF electrodes of the same geometry is around 10 ms. Therefore, we design the discharging and the checking phases to be 60 ms and 15 ms, respectively. The transient response based on HB analysis, calculated in steps (3800 sampling points per augmented period of 190 ms) with convergence after 10 iterations, is plotted in figure 9, and it matches the experimental measurement well. The last pulse in this sequence is already fairly close to the periodic steady-state response to Stimulus 2, shown in figure 8.
Figure 9.

Transient response to Stimulus 2 in the first 115 ms, featuring the first four pulses. The discharging and the checking phases are 60 ms and 15 ms, respectively. The inset of the current (top) panel shows the spike in the discharging phase between 115 ms and 125 ms, which is truncated in the main plot.
4. Discussion
Successful design of electro-neural interfaces requires comprehensive understanding of the electrode response to given current or voltage stimuli. Only under the assumption that the electrode is ideally polarizable could the electrode-electrolyte interface be treated as a simple capacitor and CIC has a fixed value. In reality, an electrode material usually exhibits more complex impedance spectrum than what can be represented by a simple RC series. One reason for this complexity is that materials capable of storing large amount of charge usually have porous surfaces [20], and some even allow diffusion into the bulk of the electrode [27]. Dynamics of the charge transfer to distributed double layer or redox sites leads to a phase element characteristic of a transmission line in the impedance spectrum [12, 22, 27, 29], and therefore, the CIC becomes waveform-specific. Hence, a computational framework for proper modeling of the electrode-electrolyte interface is nontrivial and important.
One way to model the electrode response is by fitting a discrete-circuit model, comprising capacitors and resistors, to the impedance spectrum, and solving the differential equations in time domain. However, we have demonstrated that the solutions are highly susceptible to small variations in the discrete-element approximations widely used in engineering of electro-neural interfaces. Figure 5(b) shows that both discrete-element models approximate the impedance spectrum well in most of the frequency range, except for the low-frequency end. Model 1 includes the Faradaic resistor to improve the fitting, but the self-discharge of the electrodes between pulses is overestimated as a result. Calculation of the response to Stimulus 1 repeated at 2 Hz with Model 1 shows much higher CIC than in reality. Model 2 does not capture the electrode discharge mechanism, but predicts the response better, even though it approximates the spectrum worse than Model 1. The effect of the Faradaic resistor is so prominent because the stimulation period is comparable to the RC time constant of the self-discharge loop ( and ). Although the specific discrete-circuit model predicts the response better with stimuli repeated at higher frequency (30 Hz), this itself illustrates the problem that a match between the discrete-element circuit model and experiment varies with the stimulus shape. With more resistors and capacitors, one can build models that better approximate the full spectrum using phasor analysis [35]. A more accurate approximation usually requires CPEs [12, 27–29], and there are established tools to generate discrete-element models for different physical processes that induce the CPEs, which typically takes 1 to 1.5 circuit lumps per frequency decade to yield a good fit [36]. However, rather than incrementally improving the accuracy of the approximation, a better approach is to directly apply the impedance spectrum without any approximations. Even though the equivalent circuit models are useful for mechanistic description of various processes in electrochemistry, they may not be the most efficient approach for electro-neural engineering.
Some electro-neural interfaces are driven by nonlinear power sources, such as photodiodes [11] or phototransistors [15]. The proposed HB technique enables computational analysis of circuits with non-linear elements. By minimizing the difference between the responses of the linear load and the nonlinear circuit driver, the true solution is found if and only if the difference vanishes. HB analysis is adopted because of the convenience to incorporate distributed components described in frequency domain [30]. We show that if the circuit driver has a non-increasing relationship, the optimization is guaranteed to converge to the unique true solution. Note that our separation of the circuit into the driver and the load is nominal, only for the convenience of discussion. If the load has non-linear components, it can be lumped with the non-linear part of the circuit driver to keep the nominal load linear.
The efficient optimization-based HB technique is enabled by advances in optimization research and the growing power of computers. Many optimization algorithms are shown to converge linearly (the distance to the solution decreases exponentially with the number of iterations, i.e. , where is the distance to the true solution after the nth iteration and is a constant such that ), some even quadratically ) [37]. Modeling the electro-electrolyte interfaces is a small-scale problem compared with typical applications of HB analysis in radio-frequency circuit design, so an off-the-shelf optimization tool can solve the system efficiently. The runtime of the optimization varies from a few seconds (Stimulus 2, 666 sampling points) to about a minute (the transient modeling, 3800 sampling points) on a laptop computer (3.1 GHz dual-core CPU, 8 GB of memory). We demonstrated the baseline capability of HB analysis using a simple implementation, and the computational efficiency can be further improved with more sophisticated algorithms. For example, modern HB software uses the Newton-Raphson method, which is a powerful algorithm for finding zeros of non-linear multivariate functions [31]. In addition, a variety of highly efficient algorithms are developed for convex optimization [38], although the specific optimization in (6) is not convex. The comparison of different numerical methods is beyond the scope of this paper.
Standard HB analysis can only be applied to periodic waveforms, i.e. it assumes a steady state when repetitive pulsing is applied [30, 31]. We adapted the HB technique to model the transient behavior in the beginning of a long burst of pulses by virtually augmenting the period with the discharging and the checking phases. This adaptation is possible when the electrode-electrolyte interface takes only several cycles before it reaches the steady state, as is the case of typical neural stimulation settings. We demonstrated that the computational workload of the optimization is manageable on a laptop computer, if the number of sampling points in a period is on the order of a few thousands. If the ramp-up would include hundreds or thousands of cycles, as in typical radio-frequency circuits, our adaptation would be computationally inefficient. It also would be inefficient if the pulse duration is very short compared to the period since most sampling points would fall in the inter-pulse intervals the details of which are not of particular interest. Similarly, our adaption is not applicable to the case when the discharge time of the electrode is much longer than the transient behavior.
We developed an experimental technique that enables testing the characteristics of photovoltaic electro-neural interfaces without using light. The observation that a current source and a shaded photodiode in parallel mimic the relationship of the illuminated photodiode greatly simplifies the experiments, which would otherwise require optical setup with precise measurements of the irradiant power on the diode and the light-to-current conversion efficiency.
The framework we proposed requires the electrode-electrolyte interface to be linear within the relevant voltage range. Linearity is also the underlying premise of using EIS to characterize the electrode. We verified the linearity on SIROF electrodes by performing the EIS at different voltage biases (−0.2 V to 0.7 V) and different perturbation amplitudes (10 mV and 100 mV). To avoid excessive Faradaic reactions in neural stimulation, the electrochemical overpotential is usually limited to a relatively small range, where the electrode-electrolyte interface exhibits linear behavior.
For neural stimulation, even if electrodes are in close contact with tissue, vast majority of electric current flows through the extracellular medium between the electrode and the neurons rather than through the cell membrane, as evidenced by much lower seal resistance than the membrane resistance [39]. Therefore, changes in the cell membrane conductivity due to opening and closing of the voltage-gated ion channels are unlikely to significantly affect the tissue impedance. However, at the onset of stimulation, biological tissue may also respond by gradual changes of its impedance due to change in the metabolic activity, which may affect the osmotic balance, affecting cellular volume, shape and hence the tissue impedance. In extreme stimulation conditions, exceeding the safety limits, tissue might be damaged by electroporation or pH changes, and hence will change its impedance very significantly. Nevertheless, under safe chronic stimulation, tissue properties are expected to be stable and hence maintain linearity of the electrode-electrolyte interface.
In the future, this computational method could be extended to cover the case when the impedance spectrum is piece-wise linear, for example, corresponding to different Faradaic reactions within different voltage ranges.
5. Conclusions
We established a computational framework to study electro-neural interfaces and the associated electrical circuit dynamics. To model the steady state under periodic stimulus, we directly apply the impedance spectrum to the stimulus in frequency domain. If non-linear components are involved, we implement HB analysis using a rapidly converging optimization. By adding the discharging and the checking phases in a period, the HB technique is also adapted to study the transient behavior in the beginning of a burst of pulses. We demonstrate that the HB optimization is computationally tractable on a laptop computer, and guaranteed to converge to an unique solution if the circuit driver has a non-increasing relationship. Comparing the computational results to the experimental measurements, we show superiority of the HB method over the discrete-element circuit approximations.
Acknowledgment
The authors would like to thank Professor Lenya Ryzhik from Department of Mathematics at Stanford University, Professor Boris Murmann, Dr Dante Muratore and Stephen Weinreich from Department of Electrical Engineering at Stanford University, Dr Ken Kundert from Designer’s Guide Consulting, Inc. and Professor Stuart Cogan and Atefeh Ghazavi from Department of Bioengineering at the University of Texas at Dallas for the very helpful discussions. Funding was provided by the National Institutes of Health (Grants No. R01-EY-018608 and No. R01-EY-027786), the Stanford Neurosciences Institute, and Research to Prevent Blindness.
Appendix
Here we show the existence of a unique solution to the optimization (6), such that
| (A1) |
if when , and is monotonically non-increasing in for all .
Proof. First, we show the existence of such , by proving
| (A2) |
Because when and has a minimum. We now show that all extrema of are 0. Suppose is an extremum at . By the Karush-Kuhn-Tucker conditions,
| (A3) |
for any variational . By equation (5),
| (A4) |
Therefore, we have
| (A5) |
The net power consumption of the load is positive, so by definition, for all . Because is non-positive, we also have:
| (A6) |
for all , which implies
| (A7) |
Therefore, has at least one minimum at , and all extrema of , including , are 0.
Next, we show the uniqueness of the minimum. We prove, by contradiction, a stronger claim that is injective, from which the uniqueness directly results. Assume there exist and , such that but . We define a function by
| (A8) |
By (A6), we have:
| (A9) |
However, we also have
| (A10) |
which is a contradiction, and it follows that is injective. Therefore, is the unique minumum of (6). □
References
- [1].Flores T et al. 2019. Honeycomb-shaped electro-neural interface enables cellular-scale pixels in subretinal prosthesis Sci. Rep 9 1–12 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [2].Elton H. et al. Characteristics of prosthetic vision in rats with subretinal flat and pillar electrode arrays. J. Neural Eng. 2019;16:066027. doi: 10.1088/1741-2552/ab34b3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [3].Flores T, Lei X, Huang T, Lorach H, Dalal R, Galambos L, Kamins T, Mathieson K and Palanker D 2018. Optimization of pillar electrodes in subretinal prosthesis for enhanced proximity to target neurons J. Neural Eng 15 036011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [4].Rattay F, Bassereh H and Fellner A 2017. Impact of electrode position on the elicitation of sodium spikes in retinal bipolar cells Sci. Rep 7 1–12 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [5].Wang B, Petrossians A and Weiland JD 2014. Reduction of edge effect on disk electrodes by optimized current waveform IEEE Trans. Biomed. Eng 61 2254–63 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [6].Boinagrov D, Loudin J and Palanker D 2010. Strength-duration relationship for extracellular neural stimulation: numerical and analytical models J. Neurophysiol 104 2236–48 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [7].Boinagrov D, Pangratz-Fuehrer S, Goetz G and Palanker D 2014. Selectivity of direct and network-mediated stimulation of the retinal ganglion cells with epi-, sub- and intraretinal electrodes J. Neural Eng 11 026008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [8].Ghezzi D. et al. A polymer optoelectronic interface restores light sensitivity in blind rat retinas. Nat. Photon. 2013;7:400. doi: 10.1038/nphoton.2013.34. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [9].Leung RT, Shivdasani MN, Nayagam DAX and Shepherd RK 2014. In vivoandin vitrocomparison of the charge injection capacity of platinum macroelectrodes IEEE Trans. Biomed. Eng 62 849–57 [DOI] [PubMed] [Google Scholar]
- [10].Negi S, Bhandari R, Rieth L, van Wagenen R and Solzbacher F 2010. Neural electrode degradation from continuous electrical stimulation: comparison of sputtered and activated iridium oxide J. Neurosci. Methods 186 8–17 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [11].Lorach H. et al. Photovoltaic restoration of sight with high visual acuity. Nat. Med. 2015;21:476. doi: 10.1038/nm.3851. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [12].Weiland JD and Anderson DJ 2000. Chronic neural stimulation with thin-film, iridium oxide electrodes IEEE Trans. Biomed. Eng 47 911–18 [DOI] [PubMed] [Google Scholar]
- [13].Fan L-S 2013. Toward a high visual-acuity retinal prosthesis 2013 Transducers and Eurosensors XXVII: The 17th Int. Conf. on Solid-State Sensors, Actuators and Microsystems (TRANSDUCERS and EUROSENSORS XXVII) (Piscataway, NJ: IEEE; ) pp 738–43 [Google Scholar]
- [14].Daschner R, Rothermel A, Rudorf R, Rudorf S and Stett A 2018. Functionality and performance of the subretinal implant chip alpha ams Sens. Mater 30 179–92 [Google Scholar]
- [15].Damle S, Liu Y-H, Arya S, Oesch NW and Yu-Hwa L 2020. Vertically integrated photo junction-field-effect transistor pixels for retinal prosthesis Biomedical Optics Express 11 55–67 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [16].Boretius T, Badia J, Pascual-Font A, Schuettler M, Navarro X, Yoshida K and Stieglitz T 2010. A transverse intrafascicular multichannel electrode (time) to interface with the peripheral nerve Biosensors and Bioelectronics 26 62–9 [DOI] [PubMed] [Google Scholar]
- [17].Ferlauto L, Leccardi MJIA, Chenais Nig AL, Gilliéron SCA, Vagni P, Bevilacqua M, Wolfensberger TJ, Sivula K and Ghezzi D 2018. Design and validation of a foldable and photovoltaic wide-field epiretinal prosthesis Nat. Commun 9 992. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [18].Benfenati F and Lanzani G 2018. New technologies for developing second generation retinal prostheses Lab Animal 47 71. [DOI] [PubMed] [Google Scholar]
- [19].Maya-Vetencourt JF. et al. A fully organic retinal prosthesis restores vision in a rat model of degenerative blindness. Nat. Mater. 2017;16:681. doi: 10.1038/nmat4874. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [20].Cogan SF, Ehrlich J, Plante TD, Smirnov A, Shire DB, Gingerich M and Rizzo JF 2009. Sputtered iridium oxide films for neural stimulation electrodes J. Biomed. Mater. Res. B 89 353–61 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [21].Musk E. et al. An integrated brain-machine interface platform with thousands of channels. J. Med. Internet Res. 2019;21:e16194. doi: 10.2196/16194. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [22].Cogan SF 2008. Neural stimulation and recording electrodes Annu. Rev. Biomed. Eng 10 275–309 [DOI] [PubMed] [Google Scholar]
- [23].Ghazavi A, Maeng J, Black M, Salvi S and Cogan S 2019. Electrochemical characteristics of ultramicro-dimensioned sirof electrodes for neural stimulation and recording J. Neural Eng 17 016022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [24].Boinagrov D, Lei X, Goetz G, Kamins TI, Mathieson K, Galambos L, Harris JS and Palanker D 2015. Photovoltaic pixels for neural stimulation: circuit models and performance IEEE Trans. Biomed. Circuits Syst 10 85–97 [DOI] [PMC free article] [PubMed] [Google Scholar]
- [25].Rand D. et al. Direct electrical neurostimulation with organic pigment photocapacitors. Adv. Mater. 2018;30:1707292. doi: 10.1002/adma.201707292. [DOI] [PubMed] [Google Scholar]
- [26].Noorsal E, Sooksood K, Hongcheng X, Hornig R, Becker J and Ortmanns M 2011. A neural stimulator frontend with high-voltage compliance and programmable pulse shape for epiretinal implants IEEE J. Solid-State Circuits 47 244–56 [Google Scholar]
- [27].Barsoukov E and Macdonald JR 2005. Impedance Spectroscopy: Theory, Experiment and Applications (New York: Wiley; ) [Google Scholar]
- [28].Aurian-Blajeni B 1992. The numerical inversion of the laplace transform applied to impedance spectroscopy J. Appl. Electrochem 22 553–7 [Google Scholar]
- [29].Bard AJ and Faulkner LR 2001. Electrochemical methods: fundamentals and applications 2nd edn (New York: Wiley; ) [Google Scholar]
- [30].Kundert KS 1999. Introduction to RF simulation and its application IEEE J. Solid-State Circuits 34 1298–1319 [Google Scholar]
- [31].Maas SA 2003. Harmonic balance analysis and related methods Nonlinear Microwave and RF Circuits Ch 3 (Norwood, MA: Artech House, Inc.) pp 119–214 [Google Scholar]
- [32].Chen ZC 2020. HBA demonstration for electro-neural interfaces v1.1 (https://github.com/CCCharlesChanHBA/_demo)
- [33].Chen Z, Ryzhik L and Palanker D 2020. Current distribution on capacitive electrode-electrolyte interfaces Phys. Rev. Appl 13 014004 [Google Scholar]
- [34].Shah S, Hines A, Zhou D, Greenberg RJ, Humayun MS and Weiland JD 2007. Electrical properties of retinal-electrode interface J. Neural Eng 4 S24. [DOI] [PubMed] [Google Scholar]
- [35].Kundert K 2011. Introduction to phasors (https://designersguide.org/theory/phasors.pdf) (Accessed 31 January 2020)
- [36].Kundert K 2008. The fracpole suite (https://designers-guide.org/modeling/suite.pdf) (Accessed 31 January 2020)
- [37].Luenberger DG and Yinyu Y 2015. Linear and Nonlinear Programming (Berlin: Springer; ) vol 228 [Google Scholar]
- [38].Boyd S and Vandenberghe L 2004. Convex Optimization (Cambridge: Cambridge University Press; ) [Google Scholar]
- [39].Shmoel N, Rabieh N, Ojovan SM, Erez H, Maydan E and Spira ME 2016. Multisite electrophysiological recordings by self-assembled loose-patch-like junctions between cultured hippocampal neurons and mushroom-shaped microelectrodes Sci. Rep 6 1–11 [DOI] [PMC free article] [PubMed] [Google Scholar]
