Abstract
We discuss a robust method to simultaneously fit a complex multi-body model both to the complex impedance and the noise data for transition-edge sensors. It is based on a differential evolution (DE) algorithm, providing accurate and repeatable results with only a small increase in computational cost compared to the Levenberg–Marquardt (LM) algorithm. Test fits are made using both DE and LM methods, and the results compared with previously determined best fits, with varying initial value deviations and limit ranges for the parameters. The robustness of DE is demonstrated with successful fits even when parameter limits up to a factor of 10 from the known values were used. It is shown that the least squares fitting becomes unreliable beyond a 10% deviation from the known values.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Transition-edge sensors (TES) are versatile, state-of-the-art radiation detectors [1, 2], currently used in many applications, such as particle-induced X-ray emission spectroscopy [3, 4], and ground- and space-borne telescopes [5, 6]. However, the modelling of transition-edge sensors and finding fits to data has sometimes proven quite challenging in practice, due to the complexities of the thermal circuit of the device [7,8,9,10,11,12], as two- and three-block thermal models [13] need to be employed at times. Fitting these models by the commonly used least squares fitting methods or with certain initial guesses manually, as was done in references [7, 8], has proven to be tedious or even unreliable.
Here, we propose a different approach to fit TES thermal models, which is independent of the initial parameters given, and can fit both the complex impedance and the noise data simultaneously, even for three-block models, producing more reliable results than the more commonly used Levenberg–Marquardt method [15]. It is based on the differential evolution (DE) algorithm [14], a branch of genetic algorithms. In this study, we fit previously measured data from Ref. [7] both with the DE algorithm and with the LM algorithm and use the published manual fits in that paper as the control to evaluate the performance.
2 Two- and Three-Block Thermal Models
In Ref. [7], it was shown that for good fitting of the complex impedance and noise data, three-block thermal models had to be employed. The models chosen for study here are the so-called hanging (H) model for two-block and intermediate–hanging (IH) model of Ref. [13], see Fig.1. In the IH model, in addition to the heat capacity of the TES sensor element, \(C_\text {tes}\), there are two additional heat capacities: one intermediate, \(C_2\), and one hanging, \(C_1\). For the H model, only one additional heat capacity \(C_1\) is connected. The full equations for the complex impedance and for all the noise terms are lengthy and can be found in full detail from Ref. [13].
3 Genetic Algorithm and Differential Evolution
Differential evolution (DE) is a high-performance, yet simple, optimizer algorithm based on mutation and crossover of the trial argument vectors of the fit function [14]. DE is initialized by selecting a number of initial population entities (typically D-dimensional vectors \(x_i\)) that are evaluated with the cost function. In each step, trial vectors are randomly mutated \(y_i = x_i + F(x_j - x_k)\), where \(F\in [0,2]\) is the mutation factor, and a crossover is performed by randomly mixing the vector elements \((y_i)_k \rightarrow (y_j)_k\) of two distinct entities \(y_i\) and \(y_j\). The cost function is then re-evaluated for the decision whether the trial is kept or discarded from the population.
Three different functions are simultaneously fitted to the measured data. The complex impedance is broken down to its real and imaginary parts and used as the first two fit functions. The third function comes from the total TES current noise, including a constant \((4\,\hbox {pA}/\sqrt{\text {Hz}})^2\) SQUID noise component. The cost function to be minimized for both the DE and LM fitting methods is the sum of squared errors (considered as dimensionless numbers), summed over the real and imaginary parts of the complex impedance and the noise. For the noise data and fit, an additional \(\hbox {log}_{10}\) is taken prior to the subtraction. In order to normalize the relative weighting between the impedance and noise datasets, the number of impedance data points is increased to match the noise. All the calculations are done with Python 3.7, NumPy version 1.15.1, and SciPy version 1.1.0, and both of the optimization algorithms are from the package scipy.optimize: least_squares and differential_evolution. The DE strategy was “best2bin,” and following parameters were used for the algorithm: population size 15, mutation 1.8, recombination 0.1, tolerance \(10^{-7}\), and absolute tolerance 0. No seed was chosen, in order to see whether the fit found is always the same. Polishing was used, which runs scipy.optimize.minimize with limited memory Broyden–Fletcher–Goldfarb–Shanno algorithm, and initial population was determined by “latinhypercube.”
4 Calculations and Results
A total of six fitting parameters were chosen for the three-block model to be free parameters for the fitting tests: All the three heat capacities of the model, the two steady state temperatures \(T_0\) and \(T_2\), and one of the thermal conductances, \(g_{\text {tes},2}\). \(g_{\text {tes},1}\),\(\alpha _I\) and \(\beta _I\) were kept fixed at the values determined in Ref. [7], and \(g_{2,\text {b}}\) is not free anymore, if \(g_{\text {tes},2}\), \(T_0\) and \(T_2\) are set, as the overall dynamic conductance to the bath is known from the I-V measurements [13].
For the estimation of initial values, the Corbino geometry of the devices of Ref. [7] allows for a reasonable estimation of the heat capacities \(C_\text {tes}\) and \(C_1\), but very little is known beforehand on \(C_2\), the “excess” heat capacity. The TES (\(T_{0}\)) and the intermediate block (\(T_{2}\)) temperatures have certain limits that they follow, but are typically not exactly known. A good initial guess for the TES temperature can be calculated from the I-V curves, based on the bias point dissipated power \(P = IV\) and its measured bath temperature \(T_\text {bath}\) dependence, \(P = K(T_0^n-T_{\text {bath}}^n)\), by \(T_\text {0} = \big (\frac{P}{K}+T_{\text {bath}}^n\big )^\frac{1}{n}\). The intermediate block temperature is somewhere between the TES temperature and the bath temperature, depending on the values of \(g_{\text {tes},2}\) and \(g_{2,\text {b}}\). Figure 2 shows the obtained DE (red) and LM (blue) fits of complex impedance and noise at several bias points, with a 10% deviation of the parameter limits from the manual control fit [7] (green). We see that both methods, in this case, give reasonable fits, with the DE method giving slightly better results.
We compared both algorithms with the same lower and upper parameter limits (\(\pm 1\%\), \(\pm 10\%\), or \(\pm 50\%\)) with several different runs (initial conditions). For the LM fit, the initial guess is randomized from the control fit parameters [7] by an additional factor of \(\pm 1\%\),\(\pm 10\%\), or \(\pm 20\%\), respectively. The LM fit for \(\pm 1\%\) is good, but with the \(\pm 10\%\) limits, LM algorithm gets stuck in local minima and loses its consistency, as shown in Fig. 3. However, the DE algorithm is robust even with \(\pm 50\%\) limits (Fig. 3). This underlines the importance of the accuracy of the initial parameters for Levenberg–Marquardt algorithm and, conversely, the robustness of the differential evolution algorithm. A two-block H model with similar parameters was also explored with artificially generated noisy data. DE still performs better, but the difference between the performance of the algorithms is not as significant.
Relative weighting between the noise and impedance data was also explored for the DE algorithm. Examples of fits and their residuals are shown in Fig. 4, with averages and standard errors for the fit parameters, and overall goodness-of-fit measures (cost function metric) are shown in Table 1 for all ratios studied. The observed general trend is that increasing the weighting ratio to favor impedance increases the consistency of the fits. We also see from Table 1 that fitting only the impedance does give quite different fit parameter values, which do not describe the noise data well.
Finally, in Fig. 5, we show the effect of increasing the parameter limits significantly for the DE algorithm, to demonstrate its robustness. For the factor of ten deviated DE fits, the fit tends to change the phonon and internal fluctuation components the most, by changing the temperature of the extra heat capacity (from \(\sim\) 120 mK up to \(\sim\) 164 mK, which is equal to the TES temperature) and by increasing \(g_{\text {tes},2}\) by a factor of eleven. Looking at both fits individually without a prior knowledge of the model, they both look like reasonable physical solutions. Thus, one should help the algorithm with all the intuition available. In this case, we could have limited the TES temperature to a smaller deviation from a calculated value, or in general, one could limit the fit parameters individually based on prior knowledge.
5 Conclusions and Outlook
We have implemented a robust method for simultaneous fitting of complex impedance and noise data of TES detectors by a differential evolution (DE) algorithm. A three-block thermal model could be fitted to the data manually, but with DE, the problem of choosing the initial parameters and the tediousness and unreliability of the fitting process is removed. When the number of fitting parameters is small and the limits are close to the actual physical values, the Levenberg–Marquardt algorithm will be faster, finding the solution in a matter of seconds, whereas DE takes roughly a minute. However, a few extra minutes, in the case of less accurate initial estimates, is a small price to pay for the robustness and reliability that DE offers.
It was also found that the fits for the tested dataset were more consistent, if impedance data were weighted more heavily. However, only taking into account the impedance leads to much worse noise fits and large parameter deviations from the cases where both impedance and noise are simultaneously fitted.
In addition, when running the calculations with larger deviations, multiple different solutions may arise. This may require user intervention, in some cases, to drive the system toward a more physical solution. Nevertheless, DE-based fitting algorithms can help avoid some of the caveats commonly encountered in multivariable nonlinear fitting problems, and in particular, it is a reasonable tool for the data analysis of TES detectors.
References
K.D. Irwin, G.C. Hilton, Cryogenic Particle detection, edited by Ch. Enss (Springer, New York, 2005)
J.N. Ullom, D.A. Bennett, Supercond. Sci. Technol. 28, 084003 (2015). https://doi.org/10.1088/0953-2048/28/8/084003
M.R.J. Palosaari et al., J. Low Temp. Phys. 176, 285 (2014). https://doi.org/10.1007/s10909-013-1004-5
M.R.J. Palosaari et al., Phys. Rev. Appl. 6, 024002 (2016). https://doi.org/10.1103/PhysRevApplied.6.024002
Y. Inoue et al., Proc. SPIE 9914, 99141I (2016). https://doi.org/10.1117/12.2231961
W.B. Doriese et al., IEEE Trans. Appl. Supercond. 29, 5 (2019). https://doi.org/10.1109/TASC.2019.2905577
K.M. Kinnunen, M.R.J. Palosaari, I.J. Maasilta, J. Appl. Phys. 112, 034515 (2012). https://doi.org/10.1063/1.4745908
M.R.J. Palosaari et al., J. Low Temp. Phys. 167, 129 (2012). https://doi.org/10.1007/s10909-012-0471-4
M.A. Lindeman et al., Rev. Sci. instrum. 78, 043105 (2007). https://doi.org/10.1063/1.2723066
D.J. Goldie et al., J. Appl. Phys. 105, 074512 (2009). https://doi.org/10.1063/1.3097396
E. Taralli et al., Supercond. Sci. Technol. 23, 105012 (2010). https://doi.org/10.1088/0953-2048/23/10/105012
N.A. Wakeham et al., J. Appl. Phys. 125, 164503 (2019). https://doi.org/10.1063/1.5086045
I.J. Maasilta, AIP Adv. 2, 042110 (2012). https://doi.org/10.1063/1.4759111
R. Storn, K. Price, J. Glob. Optim. 11, 314–359 (1997). https://doi.org/10.1023/A:1008202821328
W.H. Press, B.P. Flannery, S.A. Teukolsky, W.T. Vetterling, Numerical Recipes the Art of Scientific Computing, 3rd edn. (Cambridge University Press, Cambridge, 2007)
Acknowledgements
Open access funding provided by University of Jyväskylä (JYU).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Helenius, A.P., Puurtinen, T.A., Kinnunen, K.M. et al. Simultaneous Noise and Impedance Fitting to Transition-Edge Sensor Data Using Differential Evolution. J Low Temp Phys 200, 213–219 (2020). https://doi.org/10.1007/s10909-020-02489-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10909-020-02489-0