Next Article in Journal
Simultaneous Confidence Intervals for Pairwise Differences of Means in Zero-Inflated Rayleigh Distributions with an Application to Road Accident Fatalities Data
Next Article in Special Issue
Prediction of Remaining Life and Insulation Failure of High-Voltage Distribution Cable Using Statistical Methods
Previous Article in Journal
FDEA-Net: Enhancing X-Ray Fracture Detection via Detail-Boosted and Rotation-Aware Feature Encoding
Previous Article in Special Issue
Two-Dimensional Steady-State Thermal Analytical Model of Dual-PM Consequent-Pole Magnetically Geared Machine Based on Harmonic Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Current Transformer Error Compensation Under Core Saturation Conditions Based on Machine Learning Algorithms

1
Department of Automated Electrical Systems, Ural Federal University, 620002 Yekaterinburg, Russia
2
College of Engineering and Technology, American University of the Middle East, Egaila 54200, Kuwait
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(3), 568; https://doi.org/10.3390/math14030568
Submission received: 18 December 2025 / Revised: 12 January 2026 / Accepted: 27 January 2026 / Published: 5 February 2026
(This article belongs to the Special Issue Mathematical Applications in Electrical Engineering, 2nd Edition)

Abstract

To provide information support for relay protection and emergency automation algorithms, electromagnetic measuring voltage and current transformers are most often used. As practice shows, the magnetic core of the current transformers can be saturated under transient processes. This negatively impacts the proper functioning of protection systems. This paper proposes a methodology for restoration of the current transformers’ secondary current based on machine learning algorithms. The task of current restoration is reduced to clustering and regression problems. The groups’ current data are clustered depending on the depth of core saturation and the shape of current distortion. Then, solving the regression problem, current restoration is performed. Considering the requirements for the performance of the protection system, the following machine learning algorithms were selected for current recovery: Decision Tree, Random Forest, XGBoost, and Support Vector Machine for regression problems. The results of computational experiments show that the optimal number of clusters is four. Among the current restoration algorithms, XGBoost proved to be the most suitable. On average, for 17,240 test saturation modes, its error was 4%. The time delay for restoration one saturation mode was 0.0067 ms.

1. Introduction

Timely elimination of emergency modes in power network operation provides durability of its elements. Based on the analysis of current and voltage values, relay protection and automation systems (RP and AS) are used to solve this problem. Current data are obtained primarily by using closed-loop electromagnetic current transformers (CTs) [1]. CT core, as operating experience shows, can become saturated during the transient process caused by fault [2]. As a result, the error of a measured current increases sharply and affects RP and AS efficiency negatively. This necessitates the development of a set of procedures to eliminate the impact of CT core saturation on the correct operation of the RP and AS algorithms.
Today, one way to solve the problem is to introduce an air gap into the CT core [3,4]. This reduces the magnetic permeability of the core, which supports normal operation of the CT under transient processes of emergency mode. Replacing a large number of existing CTs with a closed magnetic core can result in significant time and financial costs. Consequently, solving the problem in this way may be ineffective in terms of its implementation. The second method to solve the saturation problem is to increase the requirements for the selection of CT. Generally, with the development of energy facilities, the power flow through network elements begins to increase, and this leads to an increase in fault currents. As a result, the magnetic cores of previously selected CTs may become saturated. The third way to solve the problem of restoration of the saturated CT distorted current is based on deterministic mathematical methods [5]. As a result, the calculated current is more accurate and closer to the reference one. A characteristic feature of this way is the difficulty of adapting deterministic methods to real conditions. The next way is to restore the distorted current waveform by using methods based on artificial neutron networks (ANNs) [6,7,8]. In this case, the problem of CT current restoration is reduced to regression tasks, and the measured current values are used as input features of ANNs. After training, the output of the network provides calculated current values close to the reference ones. One of the features of this way is the necessity of the data preprocessing stage. It can lead to additional time delay. Another feature is the use of a large number of neurons with complex mathematical functions in them. This leads to an additional computational burden on the algorithms of RP and AS.
One possible way to solve saturation problems is to use machine learning (ML) methods which are based on a set of decision rules consisting of conditional operators. One of the advantages of this class of ML methods is that there is no need to use mathematical functions. The trained algorithm processes data based on a set of conditional operators without using complex mathematical functions. As a result, data processing time can be reduced to a level acceptable for the operation of RP and AS algorithms.
The contributions of this work are as follows. A comparative analysis of methods for restoration of the CT measured current is carried out and their advantages and disadvantages are shown. A method for dividing current data into clusters depending on the depth of the CT core saturation and the shape of the distorted current curve is proposed based on the ML algorithms. Then, the current restoration problem is reduced to regression tasks and a current restoration method is proposed.
Section 2 of the paper provides analysis of both deterministic and ML methods for current restoration. Section 3 describes a methodology for generating a data sample and clustering the distorted shape of current curves with their subsequent restoration. Section 4 presents experiments, selection of hyperparameters of ML methods, and evaluation of their performance. Section 5 describes the discussion and limitation of the proposed methodology. The conclusion of this paper provides the findings of the study and plans for future research.

2. Evaluation of the Current State of the Problem

In Reference [9], to solve the problem of current restoration, a method based on a fault current model is proposed. In this model, amplitude Im and phase φ are unknown parameters of AC component, and initial value I0 and decay rate γ are unknown parameters of the DC component, as follows:
i 2 c a l c = f i 2 m e a s , I m , φ , I 0 , γ ,
where i 2 c a l c and i 2 m e a s are calculated and measured current, respectively.
Based on the Taylor series and the transformation of trigonometric functions, the model is reduced to a form in which its unknown quantities are expressed in linear form. Afterwards, unknown values of the above-mentioned parameters are calculated using the measured current values corresponding to unsaturated section. Then, the distorted section of the measured current is replaced by a calculated current close to the ideal one.
One of the advantages of this method is that it is independent from CT parameters and helps to find unknown parameters of the fault current model relatively fast. Another advantage of this method is the “smoothing” white noise of the measured current. The feature of this method is its high sensitivity to random components with a distribution different from normal and to harmonic, interharmonic, and subharmonic components in the measured current. The method also assumes that when fault current occurs, the homogeneity of the emergency mode is maintained until it is eliminated. These features limit its practical development. However, the method has found theoretical development in [10,11].
A method for restoring the CT current using its parameters is proposed in [12]. The method simulates the magnetization curve of the CT without considering the hysteresis loop. After that, when the CT’s core saturation occurs, the secondary current values are calculated based on this curve. This can be represented as follows:
i 2 c a l c = f i 2 m e a s , λ 0 , R 2 , L 2 , i μ ,
where i 2 m e a s and λ 0 —measured current and residual induction at the moment of the CT saturation occurrence, respectively; R 2 , L 2 and i μ —resistive load, inductive load, and CT magnetizing current, respectively.
The advantage of this method is robustness to the presence of random and harmonic components in the measured current. Another advantage of the method is independence from data homogeneity in the transition process of emergency modes. However, the use of the method assumes that the trajectory change in magnetic induction λ in the magnetization curve contains no hysteresis loop. This affects method accuracy negatively. Also, the method is strongly tied to the CT parameters, and in case of a small deviation, the phenomenon of ill-conditioning may occur. The main disadvantage of the method is its high sensitivity to residual induction at the moment of CT saturation occurrence. Despite the existing disadvantages, the method has found wide theoretical development in [13,14,15].
In Reference [16], a new method is presented that resulted from the combination of [9,12]. It was designed to eliminate the shortcomings of the previously considered methods. Based on method [9] under CT core saturation, the initial region of the distorted section of the measured current is predicted. After that, using this predicted value, the estimation of the residual induction λ 0 corresponding to the moment of the CT saturation occurrence is performed. Then, on the basis of the method [12], the remaining part of the distorted section of the measured current is reconstructed using the already known λ 0 . Thus, the sensitivity of the method [9] to the homogeneity of the transient process and random components as well as the sensitivity of the method [12] to residual induction λ 0 are reduced to a minimum.
The advantage of the combined method is the increase in its robustness to the homogeneity of the fault mode and residual λ 0 . However, a small deviation in predicting the initial region of the distorted section of the measured current can lead to poor conditioning. Despite this, the method was developed in [17,18]. A more detailed analysis and numerical evaluation of methods [9,10,11,12,13,14,15,16,17,18] is given in [5].
To restore the current, a method based on artificial neural network model with a feedforward architecture (FNN) is proposed in [19]. The model consists of an input layer, two hidden and an output layer. The input layer contains 32 nodes, which corresponds to a full period of the measured current at a frequency of 50 Hz. The first and second hidden layers contain 15 and 8 neurons, respectively. The number of neurons in the output layer corresponds to the number of nodes in the input layer. In all neurons of all layers, a modified sigmoid function is used as the activation function. The input of the model accepts distorted measured current values corresponding to one period, and the output returns clarified calculated current values.
The solution of the problem of restoration of the CT secondary current and compensation of its error using FNN methods has found theoretical development [20,21,22,23]. Some of the earliest methods of CT current restoration using FNN are proposed in the works [24,25,26,27].
The advantage of the FNN-based method is its high adaptability to all CT saturation scenarios and harmonic components in the measured current. The necessity to use additional data preprocessing methods before supplying them to the model input is one of its disadvantages. This leads to additional delay. Another disadvantage of this method is the use of complex mathematical functions in the trained model. The final disadvantage of this method is the inability of the model to consider time characteristics of the fault current transient process.
To eliminate the negative impact of CT core saturation on the correct operation of RP and AS algorithms, a method is proposed in [28]. The essence of the method is the use of a deep neural network (DNN) model based on a denoising autoencoder (DEA). The problem of eliminating the negative impact on CT saturation is reduced to classification tasks. The use of the DEA-based DNN model is intended to reduce the influence of noise on the measured current values and identify the most informative input features. The model used consists of 4 autoencoders. The first and second layers use 15 and 12 neurons, respectively. And in the third and fourth layers, 9 and 5 neurons are used, respectively. The model receives measured current values at the input and produces a signal at the output that determines the saturation of the CT.
The advantage of the method proposed in [28] is its high adaptability to various forms of distortion and robustness to noise in measurements. The disadvantage of this method is the failed combination of the data preprocessing method and the Leaky ReLu activation function in neurons. After preprocessing, the data are distributed in the range between [−1, 1]. The Leaky ReLu activation function strongly cuts off negative values of the measured current. As a result, there is a loss of informative features for the values of the reverse half-period of the measured current. The necessity of the data preprocessing stage is another disadvantage of this method. This leads to unnecessary delays in the RP and AS algorithms. As a result, this method returns a signal about CT core saturation, after which it is necessary to block the operation of the RP and AS algorithms.
To restore distorted CT current, a method using a DEA-based DNN model was proposed in [29]. The problem of current restoration is reduced to regression tasks. The proposed DNN model contains 3 DEA layers, each of which uses 60, 57, and 55 neurons, respectively. The activation function used in the encoder layer is Leaky ReLu, and the activation function used in the decoder layer is linear. The advantage of this method is its robustness to noise in measured values and adaptability to various forms of current distortion. The disadvantage of this method is the lack of possibility to restore the current of the reverse half-period. This is caused by the failed use of activation functions with the range of values narrowed to the I and II quadrants of the coordinate system. As a result, the function suppresses negative current values. Another disadvantage of the method is the large number of neurons in the hidden layers. This leads to additional time delay in RP and AS algorithms.
Table 1 provides a comparative analysis of the methods considered. To indicate the purpose of these methods, the following abbreviations are used in the table: 1—restoration of the CT current; 2—detection of the CT core saturation.
As the analysis shows, despite the research topic elaboration level, from a practical point of view the problem of the negative impact of CT saturation remains unresolved. Considering the properties of the above-mentioned methods, a ML algorithm current restoration technique is proposed, which divides distorted measured currents into groups depending on their distortion form and the depth of the CT core saturation. Then, for each of these groups the most appropriate model for current restoration is determined. A detailed description of the methodology is given below.

3. CT Current Restoration Methodology

It is known that training ML models requires previously accumulated data samples describing the behavior of the object under study. The collection of current data samples was carried out on the basis of the mathematical model of CT described in [30]. Data generation was carried out by varying both the CT parameters, including residual induction, the magnitude and nature of the secondary load, and the fault current angle and magnitude. As a result, a sample with different fault current modes and CT saturation depths was formed. The generated sample size was 5400 pairs of measured and reference currents.
Each of the current modes’ duration in the obtained sample was three periods with a frequency of 50 Hz. It is important to note that the location of the fault current occurrence moment with regard to the data window affects the accuracy of the ML models. For this purpose, 16 scenarios were generated from one fault mode using a window function with a width of 1 cycle and a sliding step of 5 ms. For clarification, Figure 1 shows an example of window function over the fault current. As a result, 5 scenarios are formed for one case of fault consisting of 2 cycles.
Thus, the duration of each pair of measured and reference currents was 1 period with a frequency of 50 Hz. The total volume of the resulting sample was 86,400 fault modes.
It has been established that the following factors contribute to CT core saturation: residual induction; the angle of the fault current occurrence; the magnitude and nature of the secondary load of the CT secondary winding. Each of the listed factors affects the depth of saturation in a different way. As a result, for each of the saturation cases in the previously formed samples, the distorted shape of the secondary current curve may differ greatly. This may result in reduced efficiency of the ML models during current restoration. To eliminate the negative impact of this phenomenon, it is proposed to divide the initial data sample into clusters. As a result, currents that are similar in curve shape are grouped in each cluster. Considering the distribution density of the descriptive statistics of each measured current data in the initial sample, K-means is the most suitable clustering algorithm [31]. The essence of this algorithm is to determine the smallest distance between each of the sample points to randomly selected reference points, called centroids, as follows:
i = 0 n min μ j C x i μ j 2 ,
where xi and nith point and number of points in the data sample; μjjth centroid; C—number of clusters.
Thus, the relation of each point to a cluster is determined. As a result, currents are grouped according to the identity of distortions. This allows one to reduce the degree of data dispersion relative to their average of distribution, which has a positive effect on the accuracy of current restoration methods based on ML algorithms.
After clustering, it is necessary to restore the distorted measured current values, considering RP and AS algorithm performance requirements. For this purpose, it is proposed to develop a model for the CT current restoration by using ML algorithms that operate based on a set of logical rules without high computational load. The following algorithms are used to construct such models: Decision Tree (DTree) [32], Random Forest (RForest) [33], and eXtreme Gradient Boosting (XGBoost 3.0.2) [34]. The Support Vector Machine for Regression Problems (SVR) method is also used for comparative analysis [35].
The DTree algorithm partitions the original set into disjoint subsets. In the case of current restoration, the initial set is the values of the distorted measured and reference currents of the CT, as follows:
X l = x i , y i i = 1 l ,
where X—original set; xi and yi—measured and reference current values in ith subset, respectively; l—quantity of all subsets.
To assess the quality of the original set division in (4), the split criterion:
H R = y R y y ¯ 2 m i n ,
and information gain are used:
Q R m , j , t m = H R m R l R m H R l R r R m H R r m a x j ,   t m ,
where H R —measure of information content when dividing a set with R objects; y and y ¯ —reference and average current values, respectively; R m —original set; R r and R l —right and left subsets after division of the R m , respectively; j and tm—feature and threshold value for dividing a set, respectively.
It should be noted that with each division of the original set in the DTree algorithm, leaves, containing an information measure, information gain and the number of objects, are formed. The last leaves are called terminal leaves. In the context of CT current restoration, they contain current value close to the reference ones. Formulas (5) and (6) are used only in the process of training the algorithm. After training, the algorithm forms a set of conditional operators and saves feature index of the original sample.
The RForest algorithm is a class of ensemble methods in ML. It is based on a set of DTree algorithms that operate independently from each other. The output of the RForest algorithm is an averaged result of the DTree operation as follows:
b x = 1 N i = 1 N c i x ,
where c i x result of ith DTree.
Thus, each calculated value of the CT current obtained at the output of the RForest algorithm is the result of averaging the forecasts at the output of a number of DTree algorithms.
The XGBoost algorithm is a class of ensemble ML models that contains a set of weak patterns. Unlike RForest, in this algorithm the models are assembled into a sequential chain. In this chain, each subsequent model learns from the errors of the previous one. The algorithm’s training task is formulated as follows:
Q a ,   c = i = 1 l L t = 1 T 1 a t c t x i + a c x i , y i m i n a , c ,
where L, a and c—loss function, weighting coefficient, and ith algorithm.
The next ML algorithm for solving the current restoration problem is the SVR method. The essence of the method is to search for the optimal hyperplane, and this is reduced to optimization tasks as follows:
1 2 w 2 + K i = 1 n ζ i + ζ i * m i n w ,   b ,   ζ i ,   ζ i * y i w , x i d ε + ζ i w , x i + d y i ε + ζ i * ζ i ,   ζ i * 0 ,
where— ζ i and ζ i * —slack variables; K—regularization parameter; d—bias; ε —band width; w—model parameters vector.
Thus, based on the listed the ML algorithms the problem of current restoration, under CT core saturation conditions, is solved. The structural diagram of the proposed method is presented in Figure 2. As shown in the figure, at the first stage, pairs of current data samples (measured and reference) are formed based on the mathematical model of the CT. On the next stage, obtained samples are divided into clusters depending on the depth of CT saturation and the distorted shape of the current curves. Finally, for each obtained current data cluster the most suitable ML algorithm for CT current restoration is determined. From Figure 2 it can be seen that the number of clusters M is not initially known. The optimal M is determined by combining operations of the clustering algorithm and models for current restoration. To do this, M should vary as follows. When M = 1, models for CT current restoration are trained. Then, the performance quality of each trained model is determined using the total error of the CT as follows:
e r r o r = I μ I 100 = 100 I k = 1 N i 1 ( k ) ξ i 2 ( k ) 2 ,
where I and Iµ—the RMS values of the primary and magnetizing currents of the CT reduced to the secondary side, respectively; i1 and i2—instantaneous values of the reference and measured currents; ξ —CT transformation ratio; N—signal sampling frequency, samples/cycle.
Thus, when M = 1, the error of each DTree, RForest, XGBoost, and SVR regression model is calculated. On the next step, the original sample is divided into 2 clusters, M = 2. For each of these clusters, their own current restoration models are developed based on DTree, RForest, XGBoost, and SVR. The total number of models is 8. Therefore, after applying Formula (10), 8 errors are obtained—4 for each cluster. Then, the intercluster error of similar models is averaged as follows:
ϑ k = 1 M m = 1 M e r r o r m , k ,
where M—number of clusters; k—type of model within a cluster, k { D T r e e ; R F o r e s t ; X G B o o s t ; S V R } ; ϑ —intercluster mean error of identical models.

4. Case Study

One of the most important components in ML algorithms is their hyperparameters. The correct choice of parameter values directly affects the efficiency of algorithm work. Table 2 shows the default values of these hyperparameters in the Python 3.13.5 libraries Sklearn and Xgboost. Another important component is the data sample size. The total data sample volume contained 86,400 fault modes with different CT saturation depths and distorted shapes of the measured current curves. Before, the clustering procedure samples were divided into training and testing parts in a ratio of 80:20%.
To determine the optimal clusters of current data, M was varied in the range from 1 to 7. For each of the clusters, a current restoration model was developed, and its error was calculated in accordance with Formulas (10) and (11). The result of this procedure is shown in Figure 3. This figure shows that the current restoration model based on the SVR algorithm is the most effective in terms of accuracy. The accuracy of its operation remains virtually unchanged regardless of the number of clusters. For other models, increasing the number of clusters leads to an increase in their accuracy. However, the number of clusters M > 4 does not provide a significant increase in accuracy. Therefore, M = 4 is accepted.
The result of clustering for M = 4 is shown in Figure 4. This figure presents the minimum and maximum current values along the O-y axis and O-x axis, respectively. In Figure 4, the center of each cluster is marked with a diamond.
Since the error distribution at the CT output for clusters 1, 2, and 4 current data is approximately the same, the graphical representation of the first two is not provided. The first graph in Figure 5 shows the error distribution after current restoration procedure using models based on DTree, RForest, XGBoost, and SVR algorithms for cluster 3. The total number of fault modes is M3 = 2283. The O-x axis shows the error calculated using Formula (10), and the O-y axis shows the number of fault modes. As can be seen from the red bars in Figure 5, the error at the CT output varies in the range from 60 to 95%. This corresponds to deep CT core saturation. Despite this, as shown by the purple bars, the error was significantly reduced by the XGBoost algorithm. The average error value at the output of this algorithm is 4%. The average error at the output of models based on the RForest (dark green bars) and DTree (light green bars) algorithms is 25 and 27%, respectively. It should be noted that the error distribution at the output of these models has a large spread and reaches up to 80%. This negatively affects the efficiency of RP and AS algorithms. As for the SVR-based model, its average error value is 3%.
The second graph in Figure 5 shows the distribution of errors in measured and restored currents for cluster 4. The total number of fault modes is M4 = 7264. Unlike the previous graph, the error variance at the CT output has a large spread and the expected mean is approximately 70%. This may correspond to the average degree of the CT core saturation. Despite this, it was possible to reduce the average error value at the output of the XGBoost-based current restoration model to 7%. For models based on RForest and DTree, these numbers are 32 and 29%, respectively. The output of these models has the same error trend as in the previous cluster. The model based on the SVR algorithm reduces the initial error with an average value of 4%. Unlike XGBoost, the variance of the error distribution of the SVR-based model is greatly reduced. This increases the robustness of the model with respect to various forms of saturation.
From Figure 5 it can be seen that the SVR-based current restoration model is dominant in terms of accuracy. It is followed by a model based on XGBoost. After that comes the RForest and DTree models. Despite the presence of a series of parallel trees in RForest, this model failed to reduce the initial error at the CT output below 15–20%. This demonstrates the inability of the model to solve the current restoration problem under CT core saturation conditions. As for the XGBoost and SVR based models, they show high performance.
For information purposes, Figure 6 shows the reference, measured, and restored current values for one of the test modes of cluster 4. From this figure can be seen that under deep saturation, the current restoration models based on RForest and DTree are not able to recover the current either in amplitude or in phase. Moreover, these models distort the non-saturated areas of the measured current. As a result, the phase error increases. As for the XGBoost- and SVR-based models, they restore current maintaining both phase and amplitude.
Since the elimination of emergency modes by RP and AS algorithms must occur within a few ms, the response time of current restoration models is one of the important indicators. For this purpose, Table 3 shows the performance and error of the models for all 4 clusters. From the table it can be seen that changing the number of clusters affects both the model’s error and its time efficiency. For example, to restore data from cluster 1 with a volume of M1 = 4047 fault modes, the XGBoot error was 5%, and its performance for restoring one saturation mode was 0.0074 ms. In the case of cluster 4 with a volume of M4 = 7264 fault modes, these model indicators were 7% and 0.0064 ms, respectively.
The SVR-based current restoration model, despite its dominance in accuracy, is significantly inferior to other models in terms of time efficiency. Its time delay for restoring the current of one mode from cluster 1 is 2.8 ms. This adds additional delay to RP and AS algorithms. This delay is caused by a complex mathematical function and the operation of the algorithm itself.
Among all the models considered in terms of performance, the current recovery model based on the DTree algorithm became dominant. Its maximum time delay did not exceed 0.00008 ms. However, it is inferior to all other models in terms of current restoration error. Its average error for all clusters ranges from 27 to 32%. This is unacceptable for the correct functioning of RP and AS algorithms. For the RForest algorithm, this number ranges from 24 to 32%.
Thus, among considered models, XGBoost is the most suitable for solving the current restoration problem. For all four clusters, its average time delay for restoring a single mode is 0.0067 ms. This is acceptable delay for RP and AS algorithms operations. As for its average error, for all clusters it is 4%. This has a positive effect on the correct functioning of RP and AS algorithms.

5. Discussion and Limitations

In the proposed method, the SVR-based model proved to be the most effective in terms of accuracy, while the DTree-based model performed best in terms of time efficiency. However, when considering these characteristics simultaneously, both the first and second current restoration models are inferior to the XGBoost-based model. Despite the presence of several parallel trees, the RForest-based model is also inferior to XGBoost in accuracy. As the study results showed, RForest may restore current signals with large spikes. This negatively impacts RForest’s accuracy and functioning of RP and AS algorithms.
The limitations of the methodology proposed in this study include the following. The proposed method for current restoration requires the accumulation of historical data equal to one current period after the fault occurrence in the device buffer. This will lead to additional delays in the RP and AS algorithms. When a fault occurs, the current data may contain random, harmonic, and interharmonic components [36,37,38]. This may impact the accuracy of both the clustering method and the current data restoration models. Also, under fault occurrence the network frequency may drift from the nominal value [39,40]. This may also impact both the accuracy and the time delay of the method.
To consider the above-mentioned, the future research plan is to test the models in the presence of noise, harmonic, interharmonic, and subharmonic components in the measured current values. Testing current restoration models considering network frequency variations in the range of +/− 5 Hz is identified as a future research direction as well. It is also planned to solve the problem of the CT secondary current restoration under core saturation conditions, presenting it in the form of binary and multi-class classification tasks. Next, it is planned to determine the moment when the CT core saturation occurs. Then, it is planned to apply regression algorithms to the distorted current values to restore the current.

6. Conclusions

Concerning the topic of CT magnetic core saturation, an analysis of compensation methods for the restoration of the distorted measured current curve shape was carried out. The level of elaboration of the topic has been determined. It is shown that both deterministic methods and methods based on artificial neural networks and deep learning are used to restore the current. The limitations of applicability of these methods are shown in the context of their practical application. It was found that deterministic methods are sensitive to CT parameters and measured current values, while methods based on artificial neural networks and deep learning, despite their high adaptability, are computationally complex.
A current restoration methodology has been proposed. Within this methodology, the problem of CT core saturation is reduced to clustering and regression tasks. The clustering task involves grouping the measured current data depending on their distortion form. As part of the regression task, the measured current values are replaced with calculated ones close to the reference value. The proposed methodology considers the features of other methods related to computational complexity, sensitivity to the shape of the saturated current curve, and adaptability, since this is important for the purposes of RP and AS algorithms.
The results of the experiments have proved that for the considered sample size of distorted current data, the optimal number of clusters is four. It was found that among the current restoration models considered, the model based on the SVR algorithm is the most effective in terms of accuracy. On average, its error for cluster 3 is 1.3 times lower than XGBoost. For cluster 4, this model was on average 1.75 times more efficient than XGBoost. It was found out that, from the point of view of time efficiency, the SVR model provides an additional time delay during CT current restoration. The SVR model requires about 2.4 ms on average to restore the current of one saturation mode. The average time delay of the XGBoost algorithm for one saturation mode is 0.0067 ms. In terms of current recovery accuracy, the DTree and RForest-based models showed unacceptable performance. Considering the time delay and accuracy, the XGBoost-based model is the most suitable tool to overcome the saturation of the CT core.

Author Contributions

Conceptualization, I.O., S.B., A.P., M.S. (Murodbek Safaraliev) and P.D.; Methodology, I.O., S.B., A.P., M.S. (Mihail Senyuk), M.S. (Murodbek Safaraliev) and P.D.; Software, I.O., M.S. (Mihail Senyuk) and P.D.; Validation, I.O., S.B., A.P. and P.D.; Formal analysis, I.O., S.B., A.P., M.S. (Mihail Senyuk) and P.D.; Investigation, M.S. (Mihail Senyuk), M.S. (Murodbek Safaraliev) and P.D.; Resources, A.P.; Data curation, A.P., M.S. (Murodbek Safaraliev), A.P. and P.D.; Writing—review & editing, S.B., A.P., M.S. (Murodbek Safaraliev) and I.O.; Visualization, I.O. and P.D.; Supervision, I.O., S.B., A.P., M.S. (Murodbek Safaraliev) and P.D.; Project administration, A.P., M.S. (Murodbek Safaraliev) and I.O.; Funding acquisition, M.S. (Murodbek Safaraliev). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data used in our study were provided by an energy company exclusively for research purposes. According to the company’s policy, they cannot be made publicly available. However, upon a justified request, the data may be provided by the authors individually for academic research.

Acknowledgments

The research funding from the Ministry of Science and Higher Education of the Russian Federation (Ural Federal University Program of Development within the Priority-2030 Program) is gratefully acknowledged.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial neutron network
CTCurrent transformer
DEADenoising autoencoder
DNNDeep neural network
DTDecision Tree
FNNFeed-forward neural network
MLMachine learning
RFRandom Forest
RP and ASRelay protection and automation systems
SVRSupport Vector Regressor
XGBoosteXtreme Gradient Boosting

References

  1. Hunt, R. Impact of CT errors on protective relays—Case studies and analyses. IEEE Trans. Ind. Appl. 2012, 48, 52–61. [Google Scholar] [CrossRef]
  2. Ren, Z.; Yu, K.; Chen, G.; Yang, Y.; Cheng, Y.; Zhang, L. CNN-Based Inversion Method for Saturation Current in Current Transformers Under DC Bias. Processes 2025, 13, 3358. [Google Scholar] [CrossRef]
  3. Oliver, L.F.C.; Wang, Q.; Zeze, D. Air-Gapped Current Transformer simulation and accuracy assessment. In Proceedings of the 2022 IEEE 21st Mediterranean Electrotechnical Conference (MELECON), Palermo, Italy, 14–16 June 2022; pp. 183–188. [Google Scholar] [CrossRef]
  4. Fauzan, N.H.; Hung, W.-J.; Kuo, C.-C. A Novel Air Gap Structure to Enhance Sensitivity for High-Frequency Current Transformer Cores. Electronics 2025, 14, 2570. [Google Scholar] [CrossRef]
  5. Odinaev, I.; Gulakhmadov, A.; Murzin, P.; Tavlintsev, A.; Semenenko, S.; Kokorin, E.; Safaraliev, M.; Chen, X. Comparison of Mathematical Methods for Compensating a Current Signal under Current Transformers Saturation Conditions. Sensors 2021, 21, 7273. [Google Scholar] [CrossRef]
  6. Key, S.; Sok, V.; Lee, S.W.; Ko, C.S.; Nam, S.R.; Lee, N.H. Current Transformer Saturation Compensation Based on Deep Learning Approach. In Proceedings of the 2019 IEEE 8th International Conference on Advanced Power System Automation and Protection (APAP), Xi’an, China, 21–24 October 2019; pp. 1273–1277. [Google Scholar]
  7. Ballal, M.; Wath, M.; Suryawanshi, H. A novel approach for the error correction of CT in the presence of harmonic distortion. IEEE Trans. Instrum. Meas. 2019, 68, 4015–4027. [Google Scholar] [CrossRef]
  8. James, O.D.; Srihari, M. Machine learning-based current transformer saturation detection for medium voltage in power grids system. Measurement 2025, 253, 117636. [Google Scholar] [CrossRef]
  9. Pan, J.; Vu, K.; Hu, Y. An efficient compensation algorithm for current transformer saturation effects. IEEE Trans. Power Deliv. 2004, 19, 1623–1628. [Google Scholar] [CrossRef]
  10. Macieira, G.; Coelho, A. Evaluation of numerical time overcurrent relay performance for current transformer saturationcompensation methods. Electr. Power Syst. Res. 2017, 149, 55–64. [Google Scholar] [CrossRef]
  11. Haghjoo, F.; Pak, M.H. Compensation of CT Distorted Secondary Current Waveform in Online Conditions. IEEE Trans. Power Deliv. 2016, 31, 711–720. [Google Scholar] [CrossRef]
  12. Kang, Y.C.; Kang, S.H.; Park, J.K.; Johns, A.T.; Aggarwal, R.K. Development and hardware implementation of a compensating algorithmfor the secondary current of current transformers. IEEE Proc. Electr. Power Appl. 1996, 143, 41–49. [Google Scholar] [CrossRef]
  13. Kang, Y.; Park, J.; Kang, S.; Johns, A.; Aggarwal, R. An algorithm for compensating secondary currents of current transformers. IEEE Trans. Power Deliv. 1997, 12, 116–124. [Google Scholar] [CrossRef]
  14. Locci, N.; Muscas, C. A digital compensation method for improving current transformer accuracy. IEEE Trans. Power Deliv. 2000, 15, 1104–1109. [Google Scholar] [CrossRef]
  15. Locci, N.; Muscas, C. Hysteresis and eddy currents compensation in current transformers. IEEE Trans. Power Deliv. 2001, 16, 154–159. [Google Scholar] [CrossRef]
  16. Shi, D.Y.; Buse, J.; Wu, Q.H.; Jiang, L. Fast compensation of current transformer saturation. In Proceedings of the 2010 IEEEPES Innovative Smart Grid Technologies Conference Europe (ISGT Europe), Gothenburg, Sweden, 11–13 October 2010; pp. 1–7. [Google Scholar]
  17. Shi, D.; Buse, J.; Wu, Q.; Guo, C. Current transformer saturation compensation based on a partial nonlinear model. Electr. Power Syst. Res. 2013, 97, 34–40. [Google Scholar] [CrossRef]
  18. Hajipour, E.; Vakilian, M.; Sanaye-Pasand, M. Current-Transformer Saturation Compensation for Transformer Differential Relays. IEEE Trans. Power Deliv. 2015, 30, 2293–2302. [Google Scholar] [CrossRef]
  19. Odinaev, I.; Abdel-Aty, A.-H.; Pazderin, A.; Safaraliev, M.; Matrenin, P.; Senyuk, M.; Menaem, A.A.; Kanan, M. Restoration of the Current Transformer Secondary Current under Core Saturation Conditions Based on ANN. Heliyon 2024, 10, e37960. [Google Scholar] [CrossRef]
  20. Monaro, R.M.; Silva, R.C.S.; de Melo Vieira, J.C.; Coury, D.V. Improving Synchronous Generator’s differential protection with the use of Artificial Neural Networks. In Proceedings of the 2012 IEEE Power and Energy Society General Meeting, San Diego, CA, USA, 22–26 July 2012; pp. 1–8. [Google Scholar] [CrossRef]
  21. Odinaev, I.; Pazderin, A.; Safaraliev, M.; Kamalov, F.; Senyuk, M.; Gubin, P.Y. Detection of Current Transformer Saturation Based on Machine Learning. Mathematics 2024, 12, 389. [Google Scholar] [CrossRef]
  22. Musyoka, E.M.; Chang, C.K. ANN Based Model for Current Transformers’ Saturation Error Compensation in Medium Voltage Switchgears. J. Electr. Eng. Technol. 2022, 17, 2171–2179. [Google Scholar] [CrossRef]
  23. Khorashadi-Zadeh, H.; Sanaye-Pasand, M. Correction of saturated current transformers secondary current using ANNs. IEEE Trans. Power Deliv. 2006, 21, 73–79. [Google Scholar] [CrossRef]
  24. Cummins, J.C.; Yu, D.C.; Kojovic, L.A. Simplified artificial neural network structure with the current transformer saturation detector provides a good estimate of primary currents. In Proceedings of the 2000 Power Engineering Society Summer Meeting (Cat. No.00CH37134), Seattle, WA, USA, 16–20 July 2000; Volume 3, pp. 1373–1378. [Google Scholar] [CrossRef]
  25. Yu, D.C.; Cummins, J.C.; Wang, Z.; Yoon, H.-J.; Kojovic, L.A.; Stone, D. Neural network for current transformer saturation correction. In Proceedings of the 1999 IEEE Transmission and Distribution Conference (Cat. No. 99CH36333), New Orleans, LA, USA, 11–16 April 1999; Volume 1, pp. 441–446. [Google Scholar] [CrossRef]
  26. Yu, D.C.; Cummins, J.C.; Wang, Z.; Yoon, H.-J.; Kojovic, L.A. Correction of current transformer distorted secondary currents due to saturation using artificial neural networks. IEEE Trans. Power Deliv. 2001, 16, 189–194. [Google Scholar] [CrossRef]
  27. Khorashadi-Zadeh, H.; Sanaye-Pasand, M. An ANN based algorithm for correction of saturated CT secondary current. In Proceedings of the 39th International Universities Power Engineering Conference, UPEC 2004—Conference Proceedings, Bristol, UK, 6–8 September 2004; Volume 1, pp. 468–472. [Google Scholar] [CrossRef]
  28. Key, S.; Ko, C.-S.; Song, K.-J.; Nam, S.-R. Fast Detection of Current Transformer Saturation Using Stacked Denoising Autoencoders. Energies 2023, 16, 1528. [Google Scholar] [CrossRef]
  29. Key, S.; Kang, S.-H.; Lee, N.-H.; Nam, S.-R. Bayesian Deep Neural Network to Compensate for Current Transformer Saturation. IEEE Access 2021, 9, 154731–154739. [Google Scholar] [CrossRef]
  30. Romanyuk, F.; Novash, I.; Rumiantsev, Y.; We, P. Wye-connected current transformers simplified model validation in MATLAB-Simulink. Prz. Elektrotech. 2015, 1, 292–295. [Google Scholar] [CrossRef][Green Version]
  31. MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the 5th Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Statistics; University of California Press: Berkeley, CA, USA, 1967; pp. 281–297. [Google Scholar]
  32. Breiman, L.; Friedman, J.; Olshen, R.; Stone, C. Classification and Regression Trees; Chapman and Hall: Wadsworth, OH, USA; Belmont, CA, USA, 1984. [Google Scholar]
  33. Breiman, L. Arcing Classifiers. Ann. Stat. 1998, 26, 801–849. [Google Scholar] [CrossRef]
  34. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Statist. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
  35. Alex, J.S.; Schölkopf, B. A Tutorial on Support Vector Regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef]
  36. Rodríguez-Herrejón, J.; Reyes-Archundia, E.; Gutiérrez-Gnecchi, J.A.; Gutiérrez-López, M.; Olivares-Rojas, J.C. Noise Effects on Detection and Localization of Faults for Unified Power Flow Controller-Compensated Transmission Lines Using Traveling Waves. Electricity 2025, 6, 25. [Google Scholar] [CrossRef]
  37. Ehya, H.; Skreien, T.N.; Nysveen, A.; Nilssen, R. The Noise Effects on Signal Processors Used for Fault Detection Purpose. In Proceedings of the 2020 23rd International Conference on Electrical Machines and Systems (ICEMS), Hamamatsu, Japan, 24–27 November 2020; pp. 183–188. [Google Scholar] [CrossRef]
  38. Yanjin, A.; Wolfram, H. Noise Signal Analysis for Fault Detection. Energy Res. 2017, 1, 47–59. [Google Scholar] [CrossRef]
  39. Yan, K.; Hu, Y.; Xu, H.; Huang, T.; Long, Y.; Wang, T. An Online Prediction Method for Transient Frequency Response in New Energy Grids Based on Deep Integration of WAMS Data and Physical Model. Entropy 2025, 27, 1145. [Google Scholar] [CrossRef]
  40. Ye, K.; Yang, R.; Li, W.; Mo, W. Frequency Stability Analysis and Control Parameter Optimization in High-Voltage Direct Current-Asynchronous Power Systems with Automatic Generation Control. Energies 2025, 18, 864. [Google Scholar] [CrossRef]
Figure 1. Application of the sliding gap method to the fault current.
Figure 1. Application of the sliding gap method to the fault current.
Mathematics 14 00568 g001
Figure 2. CT current restoration procedure.
Figure 2. CT current restoration procedure.
Mathematics 14 00568 g002
Figure 3. Model error depending on data clustering.
Figure 3. Model error depending on data clustering.
Mathematics 14 00568 g003
Figure 4. Dividing data into clusters.
Figure 4. Dividing data into clusters.
Mathematics 14 00568 g004
Figure 5. Distribution of current data errors of the 3rd and 4th clusters.
Figure 5. Distribution of current data errors of the 3rd and 4th clusters.
Mathematics 14 00568 g005
Figure 6. Current recovery of a single mode of the 4th data cluster.
Figure 6. Current recovery of a single mode of the 4th data cluster.
Mathematics 14 00568 g006
Table 1. Analysis of CT error compensation methods under core saturation conditions.
Table 1. Analysis of CT error compensation methods under core saturation conditions.
Ref.BasePurposeProperty
[9,10,11]Current values1✓ robustness to CT parameters and residual induction;
✗ sensitivity to noise and harmonics in measurements;
[12,13,14,15]CT parameters1✓ robustness to noise and harmonics in measurements;
✗ high sensitivity to residual induction;
[16,17,18]Combination of [9,12]1✓ robustness to both measurement noise and residual induction;
✗ sensitivity to the predicted current value for the initial region of the distorted section;
[19,20,21,22,23,24,25,26,27]FNN *1✓ high adaptability and robustness to noise, harmonics and residual induction;
✗ failure to consider the temporal characteristics of the transient process;
[28]DAE based DNN **2✓ adaptability and robustness to measurement noise;
✗ not intended for current restoration;
[29]DAE based DNN1✓ adaptability and robustness to measurement noise;
✗ failed use of the activation function in neurons;
* FNN—feed-forward neural network; ** DNN/DAE—deep neural network/denoising autoencoder.
Table 2. Model hyperparameters.
Table 2. Model hyperparameters.
ParameterDTreeRForestXGBoostSVR
max_depth333---
n_estimators1200200---
Learning_rate------0.1---
kernel---------RBF
Regularization parameter, C 1 × 102
Table 3. Comparison of model performance based on ML algorithms.
Table 3. Comparison of model performance based on ML algorithms.
Number of Modes in ClustersModelAverage Error, %Time Delay for 1 Mode, ms
M1 = 4047XGBoot50.0074
RForest250.0086
DTree290.00007
SVR42.8
M2 = 3686XGBoot50.0065
RForest240.0081
DTree290.00008
SVR43.027
M3 = 2283XGBoot40.007
RForest250.008
DTree270.00004
SVR31.257
M4 = 7264XGBoot70.0064
RForest320.108
DTree330.00007
SVR42.478
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Odinaev, I.; Beryozkina, S.; Pazderin, A.; Senyuk, M.; Safaraliev, M.; Dubrovin, P. Current Transformer Error Compensation Under Core Saturation Conditions Based on Machine Learning Algorithms. Mathematics 2026, 14, 568. https://doi.org/10.3390/math14030568

AMA Style

Odinaev I, Beryozkina S, Pazderin A, Senyuk M, Safaraliev M, Dubrovin P. Current Transformer Error Compensation Under Core Saturation Conditions Based on Machine Learning Algorithms. Mathematics. 2026; 14(3):568. https://doi.org/10.3390/math14030568

Chicago/Turabian Style

Odinaev, Ismoil, Svetlana Beryozkina, Andrey Pazderin, Mihail Senyuk, Murodbek Safaraliev, and Pavel Dubrovin. 2026. "Current Transformer Error Compensation Under Core Saturation Conditions Based on Machine Learning Algorithms" Mathematics 14, no. 3: 568. https://doi.org/10.3390/math14030568

APA Style

Odinaev, I., Beryozkina, S., Pazderin, A., Senyuk, M., Safaraliev, M., & Dubrovin, P. (2026). Current Transformer Error Compensation Under Core Saturation Conditions Based on Machine Learning Algorithms. Mathematics, 14(3), 568. https://doi.org/10.3390/math14030568

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop