# Kramers-Kronig Transforms

Last Updated: 5/7/19 by Neil Spinner

**1**Theory and Application

In addition to the common methods for determining the extent of linearity, causality, and stability during an EIS experiment,
EIS Data Accuracy and Validity
investigation into these conditions of validity can be more easily performed on the data after completing the experiment. This is accomplished using the Kramers-Kronig transforms, which are mathematical relations for the real and imaginary components of a complex system that define it as linear, causal, stable, and finite.
Agarwal, P.; Orazem, M. E.; Garcia‐Rubio, L. H. Measurement Models for Electrochemical Impedance Spectroscopy.

Agarwal, P.; Orazem, M. E.; Garcia‐Rubio, L. H. Application of Measurement Models to Impedance Spectroscopy.

Macdonald, D. D.; Urquidi‐Macdonald, M. Application of Kramers-Kronig Transforms in the Analysis of Electrochemical Systems.

Urquidi-Macdonald, M.; Real, S.; Macdonald, D. D. Application of Kramers-Kronig Transforms in the Analysis of Electrochemical Impedance Data.

Boukamp, B.; Macdonald, J. R. Alternatives to Kronig-Kramers transformation and testing, and estimation of distributions.

Boukamp, B. A. A Linear Kronig-Kramers Transform Test for Immittance Data Validation.

*Journal of The Electrochemical Society*,**1992**,*139*(7), 1917.Agarwal, P.; Orazem, M. E.; Garcia‐Rubio, L. H. Application of Measurement Models to Impedance Spectroscopy.

*Journal of The Electrochemical Society*,**1995**,*142*(12), 4159.Macdonald, D. D.; Urquidi‐Macdonald, M. Application of Kramers-Kronig Transforms in the Analysis of Electrochemical Systems.

*Journal of The Electrochemical Society*,**1985**,*132*(10), 2316.Urquidi-Macdonald, M.; Real, S.; Macdonald, D. D. Application of Kramers-Kronig Transforms in the Analysis of Electrochemical Impedance Data.

*Journal of The Electrochemical Society*,**1986**,*133*(10), 2018.Boukamp, B.; Macdonald, J. R. Alternatives to Kronig-Kramers transformation and testing, and estimation of distributions.

*Solid State Ionics*,**1994**,*74*(1-2), 85–101.Boukamp, B. A. A Linear Kronig-Kramers Transform Test for Immittance Data Validation.

*Journal of The Electrochemical Society*,**1995**,*142*(6), 1885. If any given set of EIS data can be fitted using these expressions, it may generally be assumed that the data is valid impedance.Strict mathematical application of the Kramers-Kronig transforms is practically impossible for real EIS data because they require integration between limits of zero and infinite frequency, which are not physically possible to measure. A separate technique, developed by Boukamp,
Boukamp, B. A. A Linear Kronig-Kramers Transform Test for Immittance Data Validation.

*Journal of The Electrochemical Society*,**1995**,*142*(6), 1885. is instead typically used, where the experimental data is fitted using a representative circuit (see Figure 1). This circuit itself passes the Kramers-Kronig test; therefore, any real data that can be successfully fitted to it must also pass and therefore be considered valid impedance data.The Kramers-Kronig representative circuit (see Figure 1) contains an indeterminate number of Voigt elements (resistor-capacitor-in-parallel). The optimal number of these circuit elements varies depending on a few factors, including the number of data points and decades of frequency. It can therefore be tricky for the user to intuitively know the precise number of elements to select. Too few or too many Voigt elements can lead to either an under-constrained or over-constrained condition, which then may produce a false negative result. It is critical that the user know whether a poor Kramers-Kronig fit is the result of improper circuit design or impedance data that truly does not meet the conditions of validity. For this reason, AfterMath software automatically performs an algorithm on every Kramers-Kronig fit, without requiring user input, to determine the optimal number of circuit elements so that the result may be trusted.
AfterMath Downloads

An example EIS validity test using Kramers-Kronig analysis in AfterMath is shown below (see Figure 2) for EIS data collected using a dummy cell circuit. The upper pair of plots (Bode and Nyquist) show excellent correlation between experimental results (individual point markers) and the Kramers-Kronig fit (solid lines), with a error statistic of only 0.0004675. The lower pair of plots (Bode and Nyquist) were generated by cascading a baseline drift over the duration of all frequencies, and calculating the effect on resulting EIS data. Since the EIS experiment is conducted from high to low frequency, the greatest impact is observed at low frequencies because the baseline drift is on a similar time scale as the period of sine wave being applied. A deviation between experimental data and Kramers-Kronig fit, as well as a error statistic more than two orders of magnitude higher than the data with no drift, suggests the baseline drift data is not valid impedance.