Introduction

Since the physical and mechanical properties of a material depend on its phase, correct knowledge of the phase transition temperature is important in multiple applications. Differential scanning calorimetry (DSC) is a powerful method for exploring the thermal properties and phase transition behaviors of materials. By monitoring the heat flow difference between the specimen and a reference, the phase transitions accompanying enthalpy changes, such as melting and solidification of metals, can be easily observed. ASTM E794 [1] and E967–18 [2] define the standard test method for determining the melting and crystallization temperatures of materials using DSC. They employ the extrapolation method to determine the onset temperature of phase transition, which is also commonly used to determine the melting (solidus) temperature [3]. However, a discrepancy exists between the temperature evaluated using the extrapolation method and the detectable onset temperature from the baseline of DSC curve during the melting of the alloy, even in invariant reactions [4]. The intersection of the baseline and a tangent to the peak also depends on peak shape. The sharpness of the transition from baseline to peak and peak linearity depend on the sensitivity of sensor. Meanwhile, homogeneity of sample affects the peak singularity. Selecting the detectable departure temperature from the baseline as the onset temperature of phase transition is further limited by the noise of the acquired signal. To address these problems, trend determination techniques and the concept of stationarity from time series analysis were adopted in this work. A stationary time series with white noise exhibits constant mean and variance [5]. The discrimination of non-stationarity of time series is by detecting departures of the statistical properties of the time series. Analogous departure from the baseline can then be assessed from the statistics of the DSC data. The temperature versus heat evolution may substitute time versus heat evolution because the heating (cooling) rate is generally constant during DSC analysis, depending on heat capacity without phase transition under a constant heating rate. This implies that the detectable departure temperature from the baseline can be determined statistically using stationarity determination techniques of time series, such as a unit root test [6]. Moreover, this method is devoid of the limitations of the extrapolation method which arise from peak linearity and singularity.

This study aims to propose a robust method of detecting the onset temperature of phase transition using signal departure from the baseline in a statistical approach. The onset temperature of phase transition is the point where the baseline loses stationarity, which is determined in a unit root test. The peak geometry does not influence the onset temperature solely determined from the baseline.

Method and materials

Unit root test

The stationarity or trend stationarity of stochastic processes can be determined using a unit root test. A schematic comparison of stationarity, trend stationarity, and non-stationarity is illustrated in Fig. 1. When the characteristic equation of an autoregressive process described in Eq. (1) has a unit root, the process is nonstationary.

$$ y_{\text t} = \rho_{1} y_{\text t - 1} + \rho_{2} y_{\text t - 2} + \cdots + \rho_{\text k} y_{\text t - \text k} + \varepsilon_{\text t} $$
(1)
Fig. 1
figure 1

Schematic comparison between stationarity, trend-stationarity, and non-stationarity

In Eq. (1), \(y_{t}\) is the observed value at time t, k is the order of process, and \(\varepsilon_{t}\) is white noise (i.e., independent and normally distributed with mean zero and variance \(\sigma^{2}\)). The characteristic equation of (1) with multiplicity one is:

$$ r^{\text k} - r^{\text k - 1} \rho_{1} - r^{\text k - 2} \rho_{2} - \cdots - \rho_{\text k} = 0 $$
(2)

When \(r = 1\) is a root of Eq. (2), the Eq. (1) has a unit root, which implies that \(y_{\text t}\) depends on \(y_{\text t - 1}\), \(y_{\text t - 2}\), and eventually \(y_{0}\). In a unit root test, the null hypothesis is that the process having a unit root is nonstationary, and the alternative hypothesis is that it is stationary. The augmented Dickey-Fuller (ADF) test [6] is one of the most popular unit root tests and is easily accessible through Python [7] modules, such as the statsmodels package [8]. In this study, the ADF test was used to determine the stationarity of the process when the first difference of the acquired signal (\(h_{\text t}\)) is set \(y_{\text t}\) in Eq. (3). In the DSC analysis, temperature is equivalent to time because the heating rate during measurement is fixed.

$$ y_{\text t} = h_{\text t} - h_{\text t - 1} $$
(3)

Materials and analyses

A potential reference metal and three binary alloys were used to analyze the calorimetric behavior near the four invariant melting temperatures (eutectic and congruent melting). The materials used in this study and the relevant reactions are listed in Table 1. Binary alloy ingots near eutectic compositions were prepared via vacuum arc melting with reagent-grade materials where the purities of starting elements are equal or better than 99.9%. The specimens were cut from the as-cast ingots and tested using a Netzsch DSC404F1Footnote 1 with an alumina pan and lid under 6N argon atmosphere. DSC measurements were conducted for cyclic heating and cooling between 100 °C above and 300 °C below the melting temperature five times for different heating rates, except for the Ag-40Cu alloys that cycled twice or five times (Supplementary material). The data with the heating rate of 10 °C min−1 and the cooling rate of 40 °C min−1 are used to determine the onset temperature with the unit root test. The post-DSC microstructures were analyzed by scanning electron microscopy (SEM) using a JEOL JSM-7900F instruments. The specimens were ground and polished with diamond and colloidal silica suspensions without chemical etching to minimize topological interference in backscattered electron (BSE) observations.

Table 1 List of alloys and reactions

Results and discussion

ADF test

Figure 2 shows the autocorrelation analysis of the baseline and the first difference of it in the DSC curve of Co–13Nb. The baseline in Fig. 2b, which depends on the heat capacity of the specimen and the measuring temperature, exhibits a positive slope with temperature. The stationarity of the process can be analyzed using the autocorrelation function (ACF) and partial-autocorrelation function (PACF) with lag time (k) and are defined in Eqs. (4) and (5), respectively:

$$ {\text{ACF}}\left( {\text{k}} \right) = \frac{{\mathop \sum \nolimits_{\text{t} = 1}^{N - k} \left( {y_{\text t} - \overline{y}} \right)\left( {y_{\text t + \text k} - \overline{y}} \right)}}{{\mathop \sum \nolimits_{\text t = 1}^{N} \left( {y_{\text t} - \overline{y}} \right)^{2} }} $$
(4)
$$ {\text{PACF}}\left( {\text{k}} \right) = {\text{Corr}}\left( {y_{\text t} - \rho_{t} y_{\text t - 1} ,y_{\text {t - k}} - \rho_{\text {t - k}} y_{\text t - \text k - 1} } \right) = {\text{ Corr}}\left( {\varepsilon_{\text t} ,\varepsilon_{\text t - \text k} } \right) $$
(5)
Fig. 2
figure 2

Autocorrelation analysis of the baseline near melting temperature. a DSC curves of Co–13Nb. b Enlarged view of the baseline highlighted in (a). c First difference of the baseline shown in (b). d ACF of (b). e PACF of (b). f ACF of (c). g PACF of (c). The shaded regions in (dg) represent the confidence intervals

ACF(k) represents the correlation of y at times t and t-k, and it rapidly decreases when the process is stationary. PACF(k) provides the correlation between \(y_{\text t}\) and \(y_{\text t - \text k}\) without the effects of \(y_{\text t - 1}\), \(y_{\text t - 2}\), …, \(y_{\text t - \text k + 1}\). The values of PACF decrease after k = 2 when the process is stationary. The ACF and PACF of the baseline shown in Fig. 2d and e, respectively, exhibit slow convergence with the lag time. In contrast, the ACF (Fig. 2f) and PACF (Fig. 2g) of the first difference of the baseline sharply decreased immediately after k > 1, indicating that the first differentiation of the DSC signal effectively removes the trend (positive slope) of the process. The identical analysis was performed for time versus heat flow curve to confirm the validity of method in Fig. 3. Similarly, the analyses on Ni–41Nb and Ni–45Pd curves are shown in Fig. 4 and Fig. 5, respectively.

Fig. 3
figure 3

Autocorrelation analysis of time vs. heat flow curve. a DSC curves of Co–13Nb with time. b Enlarged view of the baseline highlighted in (a). c First difference of the baseline shown in (b). d ACF of (b). e PACF of (b). f ACF of (c). g PACF of (c). The shaded regions in (dg) represent the confidence intervals

Fig. 4
figure 4

Autocorrelation analysis of time vs. heat flow curve. a DSC curves of Ni–41Nb with temperature. b Enlarged view of the baseline highlighted in (a). c First difference of the baseline shown in (b). d ACF of (b). e PACF of (b). f ACF of (c). g PACF of (c). h DSC curves of Ni–41Nb with time. i Enlarged view of the baseline highlighted in (i). j First difference of the baseline shown in (i). k ACF of (i). l PACF of (i). m ACF of (j). n PACF of (j). The shaded regions in (dg) and (kn) represent the confidence intervals

Fig. 5
figure 5

Autocorrelation analysis of time vs. heat flow curve. a DSC curves of Ni–45Pd with temperature. b Enlarged view of the baseline highlighted in (a). c First difference of the baseline shown in (b). d ACF of (b). e PACF of (b). f ACF of (c). g PACF of (c). h DSC curves of Ni–45Pd with time. i Enlarged view of the baseline highlighted in (i). j First difference of the baseline shown in (i). k ACF of (i). l PACF of (i). m ACF of (j). n PACF of (j). The shaded regions in (dg) and (kn) represent the confidence intervals

The ADF test rejects the null hypothesis when the test statistic is less than the critical value [5], i.e., the process is stationary and set at the 95% significance level (p–value = 0.05). The onset temperature of the phase transition can be obtained by monitoring the stationarity of the process using the ADF test in the moving–window approach with constant number of measured points, as shown in Fig. 6. Once the acquired DSC signal departs from the baseline in a specific window, its first difference loses stationarity; therefore, the computed p-value becomes greater than 0.05. The onset temperature was determined from the highest temperature of the window during heating. The example in Fig. 6b shows that the ADF test result on the DSC curve gives only two values that are close to either zero or one. The abrupt jump in the p-value at the onset temperature indicates that the ADF test is robust.

Fig. 6
figure 6

a Flowchart of computing ADF statistics in moving window approach b schematic representation of moving window and p–value change in eutectic melting of Co–13Nb

Validation: eutectic melting of Ag-40Cu alloy

The above approach was validated using Ag–40Cu. Although eutectic melting of Ag–40Cu at 779 °C [9] is a commonly used invariant reaction for temperature calibration, it is often affected by reaction kinetics and instrumental error. Figure 7 shows the shift in the onset temperature (Tonset) with different heating/cooling cycles acquired from independent specimens with identical measuring conditions (except for the number of cycles). Note that the specimens were cut from adjacent portion of the same ingot. The DSC curves show noticeable shift and disagreement between Tonset and the phase transition temperature determined by the extrapolation method (Textrap). As shown in Figs. 7b and c, the representability of Textrap determined by the extrapolation method strongly depends on the sharpness of the reaction signal at the position marked in Fig. 7a.

Fig. 7
figure 7

a DSC plots of Ag–40Cu alloy with different numbers of heating/cooling cycles. DSC signals, p-values in each temperature, and the extrapolated temperatures in b 2–cycles and c 5–cycles specimens

In order to compute p-values, an initial window between 760 and 775 °C, covering 150 measured points was set. The window was then progressively moved toward a higher temperature, and changes in the p-value was monitored. The p-values of the points marked with triangles in Figs. 7b and c were greater than 0.05. This suggests that, at those points, the first differences of the signal lost stationarity, and the signals departed from the baselines. This implies that it can also be used to determine the onset temperature of phase transition and, additionally, is independent of the shape of DSC curve.

Applications in eutectic / congruent melting and solidification

Co–13Nb alloy melted from a regular eutectic lamellar structure consisting of FCC and Laves phases near 1240 °C. As shown in Fig. 8, Tonset determined by the ADF test was 1238.1 °C, and Textrap determined by the extrapolation method was 1239.7 °C. The observed microstructure is uniform lamellae eutectic. In contrast, the microstructure of the Ni–41Nb alloy near the eutectic composition exhibited a complex mixture of phases consisting of a facetted µ-phase, small dendritic Ni3Nb, and an irregular eutectic structure (Fig. 9). Tonset and Textrap measured from this alloy were, 1176.2 and 1178.2 °C, respectively, implying inhomogeneous melting. Congruent melting of Ni–45Pd alloy in Fig. 10 shows the most significant difference between Tonset and Textrap, which are 1234.5 and 1237.1 °C, respectively.

Fig. 8
figure 8

a DSC curves of Co–13Nb alloy during melting and solidification b computed p–values, Tonset (1238.1 °C), and Textrap (1239.7 °C) c solidification microstructure showing regular eutectic lamellae

Fig. 9
figure 9

a DSC curves of Ni–41Nb alloy during melting and solidification b computed p–values, Tonset (1176.2 °C), and Textrap (1178.2 °C) c solidification microstructure showing a mixture of facetted µ–phase, small dendritic Ni3Nb and irregular eutectic structure

Fig. 10
figure 10

a DSC curves of Ni–45Pd alloy during melting and solidification b computed p–values, Tonset (1234.5 °C), and Textrap (1237.1 °C) c solidification microstructure showing homogeneous FCC phase

The determination of Textrap requires two linear fits from the baseline and the heat absorption peak [2, 3]. Therefore, the peak singularity significantly influences the value of Textrap: when the peak exhibits inflection points, Textrap varies with the choice of the linear portion for the fitting. The heat absorption peaks and their slope changes are shown in Fig. 11. Two inflection points (marked with dashed lines) were observed in the heat absorption curve of Co–13Nb alloy, which lead to an inaccurate extrapolation. The Tonset determined by the ADF test is devoid of this problem because it solely depends on the baseline statistics without any interference from the peak shape.

Fig. 11
figure 11

Slope change of the heat absorption peaks. Co–13Nb alloy encounters two inflections of the slope during melting marked with dashed lines

Solidification of the alloys with invariant reactions exhibits a significant supercooling associated with the nucleation of solid from the melt, as shown in Fig. 8a, Fig. 9a, and Fig. 10a. Unlike the melting, the solidification temperature in each cycle substantially differs (Supplementary material). For that reason, the fifth cooling curves of the alloys associated with the observed microstructures are used for the analyses in Fig. 12. The departure of the solidification signal from the baseline is very sharp in eutectic (Co–13Nb) and congruent solidification (Ni–45Pd). Tonset and Textrap of Co–13Nb alloy are 1165.1 and 1165.2 °C, respectively, and of Ni–45Pd alloy are 1145.5 and 1145.5 °C, respectively. In the case of Ni–41Nb, which is slightly off-eutectic, the formation of solid µ–phase before the eutectic solidification gives a similar departure signal to the melting. For the solidification of µ–phase, Tonset and Textrap are 1176.2 and 1173.4 °C, respectively.

Fig. 12
figure 12

Computed p–values during solidification of a Co–13Nb b Ni–41Nb c N–45Pd alloys

Conclusion

In this study, the ADF test is proposed as a method for determining the onset temperature of melting in binary alloys from DSC. The ADF test, which is a unit root test, distinguishes the stationarity of the DSC data at a specified significance level. The temperature at which the first differences of the baseline of the DSC curve loses stationarity with a 95% significance level (p–value = 0.05) can be assumed to be the value of Tonset. Although the determination of Textrap by the extrapolation method is a function of the sharpness of the reaction kinetics in DSC signal and the choice of the linear portion of the heat absorption peak, the stationarity test depends only on the baseline. The proposed method is validated with a standard reference alloy (Ag–40Cu), wherein the result showed a definite change in p–values at Tonset from 0 to 1. The method was also applied to determine the departure temperature of melting and solidification in three binary alloys, Co–13Nb, Ni–41Nb, and Ni–45Pd. The influences from the bluntness of the transition from the baseline to the heat absorption peak and from the inflections in the peak were successfully eliminated.