Introduction

An impedance technique has been commonly employed in studies of the electrochemical sources of energy. This technique is used in working conditions of the electrochemical sources in order to determine their technical parameters, including degree of charging [16] or operation conditions such as state of health, state of charge, or depth of discharge [79], or for optimizing the operating conditions of the fuel cells [1015]. In this case, impedance measurements are usually carried out in a two-electrode configuration. Impedance studies are also employed to acquire information about the degree of degradation of electrode materials [1618], intercalation phenomena [1923], reagent transport [24, 25], hydrogen absorption [2629], electrode reaction mechanism [3032], etc. For all of these applications, a three-electrode configuration is generally used.

The main limitation of using the impedance technique in the case of two-electrode as well as three-electrode configuration is that the system is non-stationary. The proper use of a commercial technique such as frequency response analysis (FRA) requires that the system being analyzed does not change while the measurement is carried out. Difficulties arising from the necessity of maintaining the stationarity conditions can be overcome by using multisinusoidal excitation in cooperation with Fourier transform analysis. The advantages of this kind of signal in impedance techniques are as follows:

  • Possibility of shortening of time needed for every single impedance spectrum

  • Getting averaged impedance spectrum thanks to Fourier transformation's qualities (what is important when the examined system is not stationary)

  • Possibility of combining impedance technique with other electrochemical techniques (multisinusoidal signal is superimposed on other signals)

  • Possibility of getting impedance spectra as a function of time or as a function of changes in other parameters (short-time form of Fourier transformation is needed)

  • Elimination of disturbances occurring when the frequency of excitation signal is being changed in sequence mode (multisinusoidal signal is a continuous signal)

This way of performing the impedance measurements has been known since the pioneer works of Smith and Creason in the 1970s [3335]. The development of digital techniques has contributed to the increase of popularity of the method [3643], and it has been appreciated sufficiently to be introduced to commercial applications (http://www.gamry.com/App_Notes/PDF/OptiEISAppNote.pdf).

In studies of electrochemical sources of energy, it is also essential to determine the comprehensive impedance evaluation. There are a few papers available on that topic. Furthermore, in those papers, the complete impedance characteristics of the measured systems are obtained by the classical FRA technique, which requires the stationarity of the system during the measurement. Electrochemical cells are not stationary systems: in the case of fuel cells, there is a possibility of maintaining stationary conditions, but this approach significantly limits the amount of information obtained in the measurement as the fuel cells usually work in changing conditions. Considering this, the authors proposed in this study a measurement method that uses additional pseudo-reference electrodes and enables the simultaneous determination of cathode and anode impedance individually as well as total impedance. Additionally, the proposed measurement allows the obtainment of impedance changes of the individual components over the entire operation time, e.g., while charging/discharging, temperature changes, etc., are occurring. Not only is such an approach relatively innovative but it also meets the measurement requirements with regard to assessment of various electrochemical sources of energy.

Theoretical description

Figure 1 demonstrates the diagram of the investigated system. It can be seen that not only the current and potential between E1 and E2 are measured but also the potential of individual electrodes due to the two independent reference electrodes.

Fig. 1
figure 1

Diagram of the measurement of the left electrode potential, the right electrode potential, difference of potentials between the left and the right electrodes, and the current flowing between the two electrodes

This approach enables the calculation of the independent impedance values of both electrodes as a part of the experiment. The other goal is to eliminate the impedance with resistance–capacitance character which can be caused by separators or membranes commonly used in power cells. In the case of a single reference electrode, the impedance of the separator/membrane is added to the value obtained for one of the analyzed electrodes. It is possible to eliminate such circumstances by employing two independent pseudo-reference electrodes placed in direct neighborhood of the examined (separated by membrane) electrodes.

The current perturbation presented in Eq. (1) consists of basic sinusoidal signals with constant frequencies and the constant component.

$$ i(t) = {A_0} + \sum\nolimits_{n = 1}^{{n_{\max }}} {{A_n}\sin \left( {2\pi {f_n}t + {\varphi_n}} \right)} $$
(1)

where A 0 is DC component (polarization), A n , f n , and φ n are the amplitude, the frequency, and the phase of n-th component of a multisinusoidal signal, respectively, n max is the number of components of multisinusoidal signal.

The excitation current flows through the entire system: the left and right electrode. Together with the registration of current changes i(t), the voltage between these electrodes u E1−E2(t) and the changes of the electrode potential E 1 and the E 2 relative to the E REF1 and the E REF2 electrode (u E1(t) and u E2(t)), respectively, are measured. These parameters change in time due to the multisinusoidal excitation signal i(t) and the variability of the measurement’s or object’s conditions.

The measured signals are sampled with the defined sampling frequency f s and they are subsequently quantized using an analog-to-digital converter with a defined resolution (for example, 16 bit). As a result of sampling and quantizing, a discrete representation of signals in the form of four sequences of N samples is obtained, which can be described by a generalized formula:

$$ {x^m} = x\left( {m \cdot \Delta t} \right) $$
(2)

where x is the sampled signal: u E1, u E2, u E1−E2, i; m is the sample number (m = 0, 1, …N − 1), N is the total number of samples, Δt is the sample spacing (Δt = 1/f s), and f s is the sampling frequency.

Using the discrete Fourier transform (DFT) the frequency representation for each sequence of samples can be determined, where its L-th line is described by the following general dependencies:

$$ {X^L} = X\left( {L \cdot \Delta f} \right) = \sum\nolimits_{m = 0}^{N - 1} {{x^m}} \cdot \exp \left( {\frac{{ - j2\pi ml}}{N}} \right) $$
(3)

where X is the frequency representation of the signal: U E1−E2, U E1, U E2, or I, L = 0, 1, …, N − 1 is the L-th spectrum line of the signal, Δf = f s/N = 1/NΔt.

Having complex values of the given voltages earlier, the three complex impedances can be calculated using the general formula:

$$ Z_E^L = \frac{{U_E^L}}{{{I^L}}} $$
(4)

where \( Z_E^L \) is the impedance based on signal: U E1−E2, U E1, and U E2 for L-th component of multisinusoidal excitation signal.

The application of the Fourier transform (FT) for the entire data register (N) renders the average value of each impedance for the acquisition time (it results directly from the FT integration properties). The application of the short-time discrete Fourier transform STDFT [44, 45] allows the acquisition of information on the variability of impedance parameters during the process.

There are significant limitations which need to be taken into consideration while performing the Fourier transform:

  • The theoretical upper frequency f max should be much lower in practice than half the sampling frequency f s (Nyquist frequency f s/2):

    $$ {f_{\max }}\langle \frac{{{f_s}}}{2} $$
  • The lower frequency f min is related to the total data acquisition time T acq (T acq = NΔt) as well as requirement (in the basic version of the transform) of registering at least one period of signal which, in a simple way, leads to the dependency:

    $$ {f_{\min }} \geqslant \frac{1}{{{T_{acq}}}} $$
  • Leakage of the impedance spectra obtained using the STFT analysis could be entirely eliminated by maintaining the accurate proportion between a length of the analysis window (T w) and period of single frequencies of excitation signal (f n ):

    $$ {T_W} = {k_n}\frac{1}{{{f_n}}} $$

    where k is an integer number.

  • Electrochemical systems have non-linear character. Excitation with frequency f n will generate harmonics (2f n , 3f n …kf n ) in response signal. The components of multisinusoidal excitation signal should not be complete multiples of each other in order to reduce the influence of harmonics. When choosing frequencies, one can apply the rule of prime number multiples of the fundamental frequency Δf = 1/T W.

In practice, the considered process of impedance measurement consists of a few steps.

In the first step, the examined system is excited with multisinusoidal current signal. At this point, excitation signal as well as global and local voltage response signals are measured (potential of each electrode is measured in relation to its own pseudo-reference electrode). Current signals as well as potential signals are being registered with the same sampling frequency for the whole duration of measurement. Data acquisition system with synchronous sampling in all channels is needed in this case. The use of a system with multiplexer will introduce additional phase shifts.

The second step is fragmentation of registered signals. Pieces of adequate length (length of window) are cut out of overall current and potential signals. At this point, the whole measured signal can be cut into equal pieces or some specific pieces can be separated by time intervals where the registered data are not treated at all. As the lengths of time windows are much shorter than the whole measurement time, location in time can be ascribed to each piece. According to one's need, overall and local fragmentation can be applied.

The last step is Fourier transformation of signals inside each time window, from time to frequency domain. On this basis, temporary impedance spectra are available, which are located in time.

Examples of determination of total cell impedance

Application of the method to an equivalent circuit

Experimental setup

In order to apply the authors’ procedure in a more practical manner, an equivalent circuit model was utilized. Figure 2 illustrates a model that consists of two electrical equivalent circuits coupled with a single resistor R 3. The model is a simple electrical analog of non-stationary two-electrode configuration which generally describes an electrochemical cell. A non-stationary element was introduced by applying resistance parameters R 1 and R 2 dependent on operating time. Values of both R 1 and R 2 elements change linearly with time. In the case of R 1, changes in resistance values from approximately 0 Ω up to 10 kΩ were obtained at a speed rate dR/dt equal to 0.5 Ω/s, while changes in R 2 values were acquired from values close to 10 kΩ up to 0 Ω at −0.5 Ω/s, respectively. Resistance characteristics were obtained throughout the experiment by employing a dual digital potentiometer DS1267-10.

Fig. 2
figure 2

Electrical diagram of the studied system with programmed resistance changes. R 1, R 2—resistors with resistance change programmed in time, C 1 = 1 μF, C 2 = 10 μF, R 3 = 120 Ω

The measurement of impedance in a galvanostatic manner was performed using the system based on potentiostat/galvanostat Autolab pgstat30 and data acquisition card National Instruments PXI6120 which was described in detail previously [46, 47]. Its original configuration involved a two-electrode system, i.e., the current flow which was a multisinusoidal signal was passed throughout the entire system (Fig. 2).

The whole measurement time interval was 2,000 s, which was caused by the speed of changes in R 1 and R 2. The signals were registered with sampling frequency of f s = 12.5 kHz that causes restriction of maximal frequency, according to Nyquist law, which cannot exceed 6.5 kHz. In this study, f max was equal to 4.5 kHz. All of the registered signals were cut into windows with equal length of 100 s. It determines the minimal value of frequencies: f min > =Δf = 0.01 Hz. In this study, f min was equal to 0.07 Hz. Correspondingly, all imposed frequencies, presented in Table 1, were taken as multiples/product of this fundamental frequency and prime numbers.

Table 1 Frequencies, phases, and amplitudes of multisinusoidal excitation signal

Amplitudes of the excitation signal's components were picked up in a way that provides good detection of potential response signals. Keeping in mind that (a) for most systems, impedance decreases when frequency increases and (b) the amplitude of response potential signal is directly proportional to impedance; applied amplitudes of current excitation signals decrease with frequency of component. For low frequencies, this trend was inversed (Table 1). It was connected with the character of Fourier transformation: the lower the frequency, the less periods are submitted to averaging, which has direct influence on the precision of results. When choosing amplitudes, one should afford to keep the resultant amplitude of multisinusoidal excitation signal at the lowest possible level. Proper adjustment of phase shift of every component is helpful. During preparation of excitation signal, Schroeder relation was used [48, 49]:

$$ {\phi_{kn}} = {\phi_{kn - 1}} + 2\left( {{k_n} - {k_{n - 1}}} \right)\sum\nolimits_{m = 1}^{{n_{{{\max }^{ - 1}}}}} {{p_{km}}} \quad n = 2, \ldots, {n_{\max }} $$
(5)

where Φ kn is the remaining phase angles, k n is the harmonic number, and p km is the relative power of harmonic.

As a result of this operation, amplitudes and phases of the excitation signal's components were selected in a way to make sure that voltage response signal does not exceed 24 mV peak to peak (the difference between maximal and minimal amplitude of altering signal inside an analyzing window).

The voltage signal between points A and D was registered. Additionally, voltage signals between points A and B and points C and D were acquired simultaneously. In order to acquire instantaneous impedance spectra, time registers were treated with the use of STDFT transform when the length of the window analysis was equal to 100 s. In this time interval, all frequencies of multisinusoidal excitation signal have a complete number of periods. Inside each time window, the oscillations of all frequencies have integer numbers of complete periods. In the case presented here, the analyzing window was seven times longer than the period of the lowest frequency. It was possible due to slow changes of resistances R 1 and R 2 and had beneficial influence on the quality of results (accuracy increases with the number of periods analyzed with Fourier transformation). The analysis of experimental impedance spectra was conducted using the ZSimpWin correlation program register.

Results

The transformation of the current and voltage registers, acquired between points A and D, enables the obtainment of a global impedance description of a two-electrode system \( {Z_{AD}}\left( {j,t} \right) = f\left[ {{U_{A - D}}\left( {,t} \right),{I_{A - D}}\left( {,t} \right)} \right]. \) The changes of the impedance values in time are presented in Fig. 3.

Fig. 3
figure 3

Changes of the impedance of a global two-electrode system versus time for the assumed changes of the first and the second electrode

The impedance spectra of a global two-electrode system generally take the form of two semicircles. The first semicircle, which undergoes detection within the range of higher frequencies, represents the Z AB() impedance values which increase throughout the operating time. The second semicircle that was detected in the low frequency range at the initial stage of the investigation represents impedance values Z CD().

Analysis of impedance data of the system where two or more electrical elements or equivalent circuits are connected in a series causes some difficulties. Use of algorithms by which impedance spectra are analyzed does not allow the differentiation into an order of the elements in series. Permutation of these elements in series does not alter anything. It is particularly crucial when two-electrode systems such as power cells are investigated. In such a situation, one needs to deal with two impedance values of the elements in series. Relaying on electrical parameters obtained as a result of fitting an equivalent electrical circuit to experimental data is not reliable enough to attribute obtained resistance or capacitance values to exact (correct) electrode.

A similar situation also occurs in the case of a model system that includes two time constants that are related to electrical circuits RC coupled in series (Fig. 2). Figure 4 illustrates R 1, R 2 and C 1, C 2 values as a function of time. These electrical parameters are obtained as a result of fitting experimental data to equivalent electrical circuit (Fig. 3). The knowledge of the electrical model allows estimation that the calculated values presented in Fig. 4 might correspond to R 1 and R 2 as well as C 1 and C 2, respectively. Thus, it is impossible to decide if the acquired resistance or capacitance values represent the first or the second time constant. After 5 h of measurement, there is a noticeable large scatter of the obtained results. At this time of the experiment, the difference between impedance results which were analyzed by two different electrical circuits is significant. Moreover, impedance changes of those equivalent circuits remained in the same frequency range. All of these lead to a conclusion that the results obtained as a result of analysis were burdened with some high error and hence were questionable.

Fig. 4
figure 4

Evolution of the resistance values, R 1 (open square) and R 2 (square with cross), and the capacitance values, C 1 (open circle) and C 2 (square with cross), vs. operating time, obtained as a result of fitting impedance data representing the entire system

It is possible to gain adequate results by analysis of impedance spectra illustrating the impedance values of each electrode individually. Thus, such impedance spectrum could be obtained during the investigation on the condition that two additional voltage registers are acquired (Figs. 5 and 6).

Fig. 5
figure 5

Changes of the impedance of the left electrode Z AB() during the experiment

Fig. 6
figure 6

Changes of the impedance of the right electrode Z CD() during the experiment

$$ \begin{array}{*{20}{c}} {{{Z}_{{AB}}}\left( {j,t} \right) = f\left[ {{{U}_{{A - B}}}\left( {,t} \right),{{I}_{{A - D}}}\left( {,t} \right)} \right]} \hfill \\ {{{Z}_{{CD}}}\left( {j,t} \right) = f\left[ {{{U}_{{C - D}}}\left( {,t} \right),{{I}_{{A - D}}}\left( {,t} \right)} \right]} \hfill \\ \end{array} $$
(6)

The analysis of impedance spectra resulting in partial impedances of the studied system provides accurate results within the entire range. Figure 7 presents changes of the resistance and the capacitance values of the left and right electrodes determined on the basis of the analysis of the experimental time diagram of impedance. The slope of the resistance curves are identical as programmed change rate equal to dR 1 /dt = 0.5 Ω/s and dR 2 /dt = −0.5 Ω/s. An adequate situation takes place in the case of C 1 and C 2. Once more, an analysis of partial impedance values allows the provision of adequate capacitance values.

Fig. 7
figure 7

Changes of the resistance values, R 1 (open square) and R 2 (square with cross), and the capacitance values, C 1 (open circle) and C 2 (square with cross), determined on the basis of the analysis of impedance diagram of the left and the right electrodes

Real cell

Apart from analysis of the circuit model, the proposed technique was applied to direct methanol fuel cell (DMFC). The in situ impedance measurements of fuel cell are usually conducted in a two-electrode configuration because placing a reference electrode inside a fuel cell is a challenge, especially in the case of solid electrolytes [50]. In the measurement of a two-electrode configuration, the impedance of individual electrodes cannot be obtained directly. Fortunately, if the anode side with Pt as catalyst is fed with hydrogen stream to become a reversible hydrogen electrode, only the impedance of cathode processes is measured [51]. It is also possible to obtain the individual behavior of the anode and cathode by using symmetrical single cells operated with an identical hydrogen or oxygen supply in both compartments. However, the measurement has to be conducted at open circuit voltage [52]. J. T. Mueller et al. and Lai et al. have obtained impedance characteristics of anodes by applying the EIS technique in a two-electrode configuration when cathode was operated on hydrogen instead of oxygen or air [14, 53, 54]. To measure the individual contributions from the cathode and the anode of the polymer electrolyte membrane fuel cell, the reference electrode must either be in direct contact with proton exchange membrane or be located in a separate compartment with electrical contact provided by salt bridge with solid membrane [55]. Yang et al. developed a three-electrode EIS measurement to characterize a direct methanol fuel cell under various operating conditions. A silver/silver chloride electrode was used as an external reference electrode [12, 56]. Gerteisen presented a concept for realizing a reference electrode configuration in a PEMFC by means of laser ablation [57]. Diard et al. used a reference electrode, which was platinum wire, plunged in methanol solution [58]. However, in principle, three- or two-electrode EIS measurement requires conditioning of the fuel cell to ensure stationarity. The changes of the individual impedance spectra of anode and cathode were not obtained at the same time.

Experimental

The single fuel cell tested in this study had an active area of 1 cm2. The membrane electrolyte assembly consisted of Nafion 115 (thickness 125 μm) loading Pt–Ru of 2.5 mg/cm2 at the anode and Pt of 2.5 mg/cm2 at the cathode. Gas diffusion layer was hydrophobized substrate with a 5 wt.%. Polytetrafluoro–etylene (PTFE) loading at the anode and 10 wt.% PTFE loading at the cathode, according to producers, assure an open pore structure, good mechanical strength, and high electrical conductivity and targeted for use in moderate-to-high humidity and higher current density operating environments. Processing steps to the substrate consist of bulk impregnation of the standard carbon fiber matrix with PTFE. There were channels with parallel geometry in the graphite plates, 1 mm in flow field depth and 1 mm in width. The fuel used at the anode was 3 wt.% methanol solution. The solution was supplied to the fuel cell via a pump (KNF, Stepdos FEM03_18/RC). Air was used as an oxidant with its flow controlled by a mass flow controller (Brooks MFC 5850E).

To register individual anode's and cathode's potentials, small silver/silver chloride pseudo-reference electrodes, made of silver wire (ϕ = 50 μm) covered with silver chloride, were used. They were placed on both sides of the membrane, without addition of chloride containing electrolyte, opposite to each other, and each was 500 μm far from the anode and the cathode, respectively (Fig. 8). These pseudo-reference electrodes were electrically separated from other elements of the cell by non-conducting polyethylene gasket. Due to this isolation, the only electrical contact was possible across the membrane.

Fig. 8
figure 8

Schematic presentation of the investigated cell

One should note that registration of potential between reference electrodes allows for determination of membrane's impedance. In the case described here, this possibility was not utilized. Acquisition card (PXI6120) allows for registration of only four signals simultaneously. Registration of potential between anode and cathode was sacrificed to allow registration of potential between reference electrodes. Impedance of the whole cell could not be registered directly and was calculated as the sum of cathode's, anode's and membrane's impedances.

Karta PXI due to limitation of acquisition card (PXI6120), which can register only four signals simultaneously.

The AC multisinusoidal signal that was applied in order to evaluate impedance values had a similar frequency composition as in the case of analysis with the use of electrical model system (components 50 and 30 mHz were added). Also, the same procedures for choosing amplitudes and phase shifts of each component were used in order to keep the amplitude of AC voltage response signal below 24 mV peak to peak throughout the entire experiment. The length of the analyzing window was 100 s.

In order to get simultaneous and independent characteristics of positive and negative electrode, as well as the entire investigated system, potentials of both electrodes were registered versus pseudo-reference electrodes.

The experiment was conducted at a constant temperature of 75 °C and at a constant methanol flow equal to 0.11 ml/min, with air flow of 13.5 ml/min. Measurements were performed in a galvanodynamic manner with a linear load change at a rate equal to 0.003 mA/s.

Figure 9 presents a change of the cell impedance value during operation along with a changing load. The highest impedance values are observed for the highest load of the fuel cell. An initial increase of the load, up to 100 mA, decreases the impedance values. In the Nyquist diagram, the lowest impedance values are obtained at around 100 mA with the value of impedance increasing consistently with the increase in the load afterwards. Using only the impedance characteristic of fuel cell, it is difficult to diagnose the limiting process in a fuel cell during the real operation. When conducting individual electrode impedance measurements, it is necessary to place a pseudo-reference electrode inside a fuel cell. Information obtained separately at the anode and the cathode helps to identify problems in the fuel cell.

Fig. 9
figure 9

Change in global cell impedance of DMFC during a change in the cell load

Figure 10 presents changes in anodic impedance of DMFC during a change in the cell load. It is visible that impedance increases with the increase of the load. Initially, impedance characteristics increase only slightly, until the load is close to 100 mA, with a very rapid increase of the impedance for higher values. Up to the load of approximately 150 mA, impedance diagrams consist of three partial semicircles, and for higher values two semicircles are visible on the Nyquist plots. Moreover, all temporary impedance spectra start almost in the beginning of coordinate system, which is the result of the negligible membrane's surface resistance between pseudo-reference electrode and anode.

Fig. 10
figure 10

Change in anode impedance of DMFC during a change in the cell load

Figure 11 presents a change in cathode impedance of DMFC during cell load. The highest impedance values of the cathode are observed for the lowest load of the fuel cell. With the increase in the load, the impedance values become reduced.

Fig. 11
figure 11

Change in cathode impedance of DMFC during a change in the cell load

The values of electrode impedance depend on the value of load of the fuel cell. It suggests that this characteristic is determined either by the cathode or by both electrodes, depending on the power consumption value. Similarly as in the anodic spectra, here the spectra start closely to the beginning of the coordinate system.

Conclusions

The presented measurement methodology has proven to have some potential in the comprehensive impedance analysis of an electrochemical system:

  • The simultaneous impedance measurements of cathode, anode, and global system measurement provide results consistent with the real values.

  • The technique can be used for monitoring the cell during real operation.

  • The impedance characteristics of each cell component can be obtained at the same time, allowing for measurement of the impedance of both positive and negative electrodes as well as the entire investigated system simultaneously.

  • The method can be used for monitoring the state of charge–discharge of electrochemical cells and individual electrodes’ contributions to the overall performance of the cell.

  • The method can be used for optimizing the operating conditions of the fuel cells.

The new measurement methodology proved to be a useful tool in the study of two-electrode configuration systems such as secondary cells, supercapacitators, fuel cells, etc., whose performance depends on reactions taking place on both positive and negative electrodes.