원시데이터 수집 시스템
선정목록으로

Neural networks and particle swarm for transformer oil diagnosis by dissolved gas analysis

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. F. Guerbas — Laboratoire des Systèmes Electriques et Industriels, Université des Sciences et de la Technologie Houari Boumediene, BP 32Bab Ezzouar, 16111, Algiers, Algeria
  2. Youcef Benmahamed — Laboratoire de Recherche en Electrotechnique, Ecole Nationale Polytechnique, 10 Rue des Frères Oudek, El Harrach, 16200, Algiers, Algeria
  3. Youcef Teguar — Laboratoire des Systèmes Electriques et Industriels, Université des Sciences et de la Technologie Houari Boumediene, BP 32Bab Ezzouar, 16111, Algiers, Algeria
  4. Rayane Amine Dahmani — Laboratoire des Systèmes Electriques et Industriels, Université des Sciences et de la Technologie Houari Boumediene, BP 32Bab Ezzouar, 16111, Algiers, Algeria
  5. M. Teguar — Laboratoire de Recherche en Electrotechnique, Ecole Nationale Polytechnique, 10 Rue des Frères Oudek, El Harrach, 16200, Algiers, Algeria
  6. Enas Ali — Centre of Research Impact and Outcome, Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura, Punjab, 140401, India
  7. Mohit Bajaj — Department of Electrical Engineering, Graphic Era (Deemed to Be University), Dehradun, 248002, India
  8. Shir Ahmad Dost Mohammadi — Department of Electrical and Electronics, Faculty of Engineering, Alberoni University, Kapisa, Afghanistan
  9. Sherif S. M. Ghoneim — Department of Electrical Engineering, College of Engineering, Taif University, P.O. BOX 11099, 21944, Taif, Saudi Arabia
DOI
10.1038/s41598-024-60071-0
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-60071-0
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4395046515

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract The lifetime of power transformers is closely related to the insulating oil performance. This latter can degrade according to overheating, electric arcs, low or high energy discharges, etc. Such degradation can lead to transformer failures or breakdowns. Early detection of these problems is one of the most important steps to avoid such failures. More efficient diagnostic systems, such as artificial intelligence techniques, are recommended to overcome the limitations of the classical methods. This work deals with diagnosing the power transformer insulating oil by analysis of dissolved gases using new techniques. For this, we have proposed intelligent techniques based on Multilayer artificial neural networks (ANN). Thus, a multi-layer ANN-based model for fault detection is presented. To improve its classification rate, this one was optimized by a meta-heuristic technique as the particle swarm optimization (PSO) technique. Optimized ANNs have never been used in transformer insulating oil diagnostics so far. The robustness and effectiveness of the proposed model is demonstrated, and high accuracy is obtained.

본문 58,890자

본문 펼치기
## OPEN # Neural networks and particle swarm for transformer oil diagnosis by dissolved gas analysis Fettouma Guerbas <sup>1</sup> , Youcef Benmahamed <sup>2</sup> , Youcef Teguar <sup>1</sup> , Rayane Amine Dahmani <sup>1</sup> , Madjid Teguar <sup>2</sup> , Enas Ali <sup>3</sup> , Mohit Bajaj <sup>4,5,6</sup> <sup>*</sup> , Shir Ahmad Dost Mohammadi <sup>7</sup> <sup>*</sup> & Sherif S. M. Ghoneim <sup>8</sup> The lifetime of power transformers is closely related to the insulating oil performance. This latter can degrade according to overheating, electric arcs, low or high energy discharges, etc. Such degradation can lead to transformer failures or breakdowns. Early detection of these problems is one of the most important steps to avoid such failures. More efficient diagnostic systems, such as artificial intelligence techniques, are recommended to overcome the limitations of the classical methods. This work deals with diagnosing the power transformer insulating oil by analysis of dissolved gases using new techniques. For this, we have proposed intelligent techniques based on Multilayer artificial neural networks (ANN). Thus, a multi-layer ANN-based model for fault detection is presented. To improve its classification rate, this one was optimized by a meta-heuristic technique as the particle swarm optimization (PSO) technique. Optimized ANNs have never been used in transformer insulating oil diagnostics so far. The robustness and effectiveness of the proposed model is demonstrated, and high accuracy is obtained. Keywords Power transformer, Insulating oil, Diagnosis, Dissolved gas analysis, Electrical and thermal faults, Artificial neural networks, Particle swarm algorithm, Optimization Power transformers are crucial and essential components in the electrical power transmission and distribution networks. Such expensive electrical devices should work properly for ­years <sup>1</sup> . The lifetime of a power transformer closely depends on its insulation system, generally consisting of a traditional solid component (paper, etc.) and a dielectric ­fluid <sup>2</sup> . Most power transformers use insulating oil as dielectric fluid, due to its low price and good physico-chemical properties. Besides insulation, this oil dissipates the heat generated by the magnetic circuit and the windings. Following its movement in a transformer in service, the insulating oil conducts this heat to the internal cooling systems (radiators, etc.), before releasing it into the ­environment <sup>2,3</sup> . Insulating oil is subjected to several electrical, thermal and chemical constraints in service. These latter lead to the gradual degradation of the insulating oil and eventually cause the transformer to de-energize when not analyzed in ­time <sup>4,5</sup> . Indeed, various oil analyses are proposed to diagnose the power transformer’s internal state. The most popular are physico-chemical ­analyzes <sup>2–4</sup> and dissolved gas analysis (DGA) <sup>5–10</sup> . DGA is a widely used as diagnostic technique. It is based on interpreting the concentrations of gases dissolved in the insulating oil. Indeed, the oil decomposes under electrical and thermal stresses, releasing gases in small ­quantities <sup>5–10</sup> . In fact, DGA can be performed by introducing sensors into the transformers in service (online mode), or in the laboratory on samples (offline mode) <sup>8</sup> . 1Laboratoire des Systèmes Electriques et Industriels, Université des Sciences et de la Technologie Houari Boumediene, BP 32Bab Ezzouar, 16111 Algiers, Algeria. <sup>2</sup> Laboratoire de Recherche en Electrotechnique, Ecole Nationale Polytechnique, 10 Rue des Frères Oudek, El Harrach, 16200 Algiers, Algeria. <sup>3</sup> Centre of Research Impact and Outcome, Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura, Punjab 140401, India. <sup>4</sup> Department of Electrical Engineering, Graphic Era (Deemed to Be University), Dehradun 248002, India. <sup>5</sup> Hourani Center for Applied Scientific Research, Al-Ahliyya Amman University, Amman, Jordan. <sup>6</sup> Graphic Era Hill University, Dehradun 248002, India. <sup>7</sup> Department of Electrical and Electronics, Faculty of Engineering, Alberoni University, Kapisa, Afghanistan. <sup>8</sup> Department of Electrical Engineering, College of Engineering, Taif University, P.O. BOX 11099, 21944 Taif, Saudi Arabia. <sup>*</sup> email: mb.czechia@gmail.com; sh_ ahmad.dm@au.edu.af The five main gases resulting from the oil decomposition are hydrogen ­(H2), methane ­(CH4), acetylene ­(C2H2), ethylene ­(C2H4) and ethane ­(C2H6). The proportions of the concentrations of these gases in a sample allow determining the defect ­type <sup>5–10</sup> . According to IEC 60599 (2007) <sup>11</sup> and IEEE Standard C57.104 <sup>12</sup>, six electrical and thermal faults exist. They consist of partial discharges (PD), low energy discharges (D1), high energy discharges (D2), thermal faults for T < 300 °C (T1), thermal faults for T from 300 °C to 700 °C (T2) and, finally, thermal faults for T > 700 °C (T3). Various traditional techniques have been developed to interpret the results of DGA of transformer ­oil <sup>13,14</sup> . The most popular use gas concentration ratios of ­Dornenburg <sup>15</sup>, ­Rogers <sup>16</sup>, and IEC 60599 (1978) <sup>17</sup>, or graphical methods of Duval employing percentages of concentration ratios such as the ­triangle <sup>18</sup> and the ­pentagon <sup>19</sup> . Although these techniques are simple and easy to implement, they have some drawbacks. First, they use only specific gas ratios. Their accuracy remains limited and are very sensitive to DGA data uncertainties. For instance, Duval’s triangle method showed certain PD detection failures and some interferences between thermal and electrical faults. IEC 60,599 technique presented some interferences between D1 and D2 faults. Except T1, the effectiveness of Rogers’ methods has not been demonstrated for the other ­faults <sup>6</sup> . Finally, Dornenburg’s method considers only three faults: thermal decomposition, partial discharges or low energy corona, and high energy electric ­arcs <sup>15</sup> . Recent artificial intelligence and meta-heuristic approaches have been integrated with traditional methods to overcome such difficulties and improve the transformer oil diagnostic by DGA. Benmahamed et al. have developed two algorithms to improve the classification rate of the Duval pentagon (initially at 80%). The first (Duval pentagon-SVM-PSO) combines the Duval pentagon and support vector machines (SVM), whose parameters have been optimized by the particle swarm optimization technique, PSO. The second (Duval pentagon-KNN) combines Duval pentagon and the K-nearest neighbors (kNN) algorithm. The accuracy rate of the first algorithm is 88% compared to 82% for the ­second <sup>20</sup> . In another research work, Benmahamed et al. established two classifiers KNN and Naïve Bayes (NB) to diagnose transformer oil by DGA. The KNN algorithm provided the highest accuracy rate of 92% <sup>21</sup> . Furthermore, Benmahamed et al. developed two classifiers. The first is Gaussian and the second (SVM-Bat) uses Support Vector Machines (SVM), whose parameters have been optimized by the Bat algorithm. The SVM-Bat accuracy rate is 93.75% against 69.37% for the ­Gaussian <sup>5</sup> . Kherif et al. developed an algorithm combining KNN with the decision tree principle. An accuracy rate exceeding 93% was obtained, demonstrating the effectiveness of the proposed ­algorithm <sup>7</sup> . Taha and al proposed an approach using the particle swarm optimization and the fuzzy-logic (PSO-FS) to enhance the of Rogers’ four-ratio diagnostic accuracy from 47.19 to 85.65% and IEC 60,599 one from 55.09 to 85.03% <sup>22</sup> . Ghoneim et al. established an efficient teaching–learning based optimization (TLBO) a model to optimize both gas concentration percentages and ratios. The proposed algorithm allowed obtaining higher diagnostic accuracy (of 82.02%) than the best (78.65%) offered by other DGA techniques presented in the same ­paper <sup>23</sup> . Ghoneim et al. developed a smart fault diagnostic approach (SFDA) integrating Dornenburg, Rogers three and four-ratio, IEC three-ratio and Duval triangle techniques. Using gas concentrations, the SFDA algorithm has been improved by ANN. The SFDA algorithm allowed obtaining 79.6%. This accuracy rate has been improved to 87.8% with the integration of ­ANN <sup>24</sup> . It is worth noting that optimized ANNs have never been used in transformer insulating oil diagnostic so far. In order to improve the accuracy rate of faults detection in power transformers oil by DGA, multilayer artificial neural networks (ANN) are developed, in this investigation. We opt for a multilayer neural network (MLP) comprising an input layer, two hidden layers and an output. Several input vectors are tested, namely the five gases in ppm and in percentage, Dornenberg ratio, Rogers four-ratio and IEC 60,599 three-ratio as well as the combination between the ratios of Rogers and those of Dornenberg, the centers of mass of the triangle and pentagon of Duval, as well as their combination. Various learning algorithms and activation functions are also considered. To further improve diagnostic rates, neural networks are optimized using the particle swarm technique (PSO). Indeed, different population sizes have been adopted. The performances of these neural networks have been studied in terms of accuracy rate. A total of 481 sample datasets are ­considered <sup>5</sup> . Two-thirds are used for the training process (so 321 samples), and the rest (160 samples) for the test. The six fault classes (PD, D1, D2, T1, T2, and T3) recommended by IEC 60599 (2007) <sup>11</sup> and IEEE Standard C57.104 <sup>12</sup> are adopted. A comparative study is carried out between the different neural networks developed. In this paper, we have demonstrated that the combination of the artificial neural network and the particle swarm optimization leads to global model. This one takes into account classification problem by learning and also optimization by the PSO. It gives significant results versus to the classical methods and we obtain a high level of accuracy. ANN models for insulating oil diagnostic by DGA The state of the power insulation system is responsible for determining the lifetime of the transformers. This insulation system is generally exposed to some constraints resulting from overheating, carbonization of the paper, electric arcs and low or high energy discharges. Such faults can accelerate insulation degradation, affecting the transformer’s reliability and lifetime. Indeed, early detection of these faults can prevent undesirable abnormal operating conditions or failures of power transformers. The dissolved gas analysis (DGA) technique is considered to be one of the fastest and most economical techniques widely used to diagnose power transformer fault ­types <sup>13</sup> . As mentioned above, traditional fault diagnostic techniques in power transformers have generally shown their limitations and inconsistencies. Despite their simplicity, these techniques are not really adopted by the scientific community, due to their low accuracy rate in faults detection, except Duval pentagon method giving acceptable rate faults ­classification <sup>6,20</sup> . That is why artificial intelligence (AI) and/or meta-heuristic approaches can be combined with conventional ones to improve the diagnostic accuracy of power transformer insulating oil further. This section proposes several artificial neural networks to detect faults in an oil-immersed power transformer. These networks have the same architecture (structure) consisting of a multilayer perceptron (MLP). However, their training algorithms and activation functions are different. The artificial neural network connection is multilayer and consists of an input, output, and two hidden internal layers. In this structure, neurons belonging to the same layer are not connected. Each layer receives signals from the previous layer and transmits its processing result to the next layer. Thus, the information flows in a one direction, from the input to the output through the hidden layers. Such connection type is called feed-forward artificial neural networks (FFANNs) <sup>25</sup> . The number of neurons in the input layer is equal to the number of elements of the input vector denoted B. Nine models with input vectors have been considered, namely: - 1st Model: The database comprises the concentrations of the five gases in ppm. In such conditions, the input vector of this model is given by: B = ­[H2 ­CH4 ­C2H2 ­C2H4 ­C2H6] <sup>T</sup> - 2nd Model: For the same database, the input vector of this model for each sample can be written in terms in gas concentrations in percentages as follows: B = [%H2%CH4%C2H2%C2H4%C2H6] <sup>T</sup>, with: %H2 = H2/(H2 + CH4 + C2H2 + C2H4 + C2H6) × 100 (1) %CH4 = CH4/(H2 + CH4 + C2H2 + C2H4 + C2H6) × 100 (2) %C2H2 = C2H2/(H2 + CH4 + C2H2 + C2H4 + C2H6) × 100 (3) %C2H4 = C2H4/(H2 + CH4 + C2H2 + C2H4 + C2H6) × 100 (4) %C2H6 = C2H6/(H2 + CH4 + C2H2 + C2H4 + C2H6) × 100 (5) - 3rd Model: Dornenburg ratios is one of the first techniques introduced for the power transformer oil diagnostic to interpret the results of dissolved gas ­analyzes <sup>15</sup> . In this model, we use four ratios of gas, in ppm, consisting of B = ­[CH4/H2 ­C2H2/C2H4 ­C2H4/C2H6 ­C2H2/CH4] <sup>T</sup> - 4th Model: The four ratios of Rogers are also considered. For this model, the input vector can be expressed, for each sample (gas in ppm), by Ref. <sup>16</sup> A = ­[CH4/H2 ­C2H2/C2H4 ­C2H4/C2H6 ­C2H6/CH4] - 5th Model: IEC 60,599 model uses three ratios of gas in ppm as ­follows <sup>17</sup> : B = [CH4/H2C2H2/C2H4C2H4/C2H6] <sup>T</sup> - 6th Model: Duval triangle model is a graphic representation using the percentage ratios of three dissolved gases: ­CH4, ­C2H2 and ­C2H4. These percentages are employed as coordinates ­(Tx, ­Ty) to draw the mass center point in the triangle and identify, for each sample, the defect zone in which it is ­located <sup>18</sup> . The input vector for this model is therefore written by: B = ­[Tx ­Ty] <sup>T</sup> - 7th Model: Duval pentagon model is a graphic representation similar to triangle one. Pentagon uses the five dissolved gas in percentages (%H2%CH4%C2H2%C2H4%C2H6) to draw the mass center point coordinates ­(Px, ­Py) <sup>19</sup> . The input vector of this model is given by: B = ­[Px ­Py] <sup>T</sup> - 8th Model: A combination between the triangle and the pentagon of Duval was proposed for this model. In such conditions, the two mass centers coordinate of both triangle and pentagon of Duval will constitute the input vector, given by: B = ­[Cx ­Cy ­Px ­Py] <sup>T</sup> - 9th Model: We suggest here another model consisting of combination between Rogers and Dornenburg ratios. The input vector of this model can be written as: B = ­[CH4/H2 ­C2H2/C2H4 ­C2H4/C2H6 ­C2H2/CH4 ­C2H6/ CH4] <sup>T</sup> The coordinates ­Tx and ­Ty in vector 6 are calculated, for each gas sample, as ­follows <sup>18</sup> : �xiyi+1 − xi+1yi Tx = <sup><u>1</u></sup> - (xi + xi+1)�xiyi+1 − xi+1yi� (6) 3A n−1 �i=0 (xi + xi+1) �yi + yi+1 Ty = <sup><u>1</u></sup> - �yi + yi+1��yixi+1 − yi+1xi� (7) ��yixi+1 − yi+1xi 3A n−1 �i=0 A is the irregular triangle area given by: A = <sup><u>1</u></sup> - �xiyi+1 − xi+1yi� (8) 2 n−1 �i=0 i=0 �xiyi+1 − xi+1yi The coordinates ­xi and ­yi(i = 0 to n − 1 with n = 3 is the number of gas in percentages) are computed as follows: x0 = %CH4cos(π/2) (9) x1 = %C2H4cos(π/2 + α) (10) x2 = %C2H2cos(π/2 + 2α) (11) y0 = %CH4sin(π/2) (12) y1 = %C2H4sin(π/2 + α) (13) y2 = %C2H2sin(π/2 + 2α) (14) where α = 2π/3. For the 7th Model, each sample, the coordinates ­Px and ­Py are computed by: Px = <sup><u>1</u></sup> - (xi + xi+1)�xiyi+1 − xi+1yi� (15) �xiyi+1 − xi+1yi 6A n−1 �i=0 (xi + xi+1) �yi + yi+1 Py = <sup><u>1</u></sup> - �yi + yi+1��yixi+1 − yi+1xi� (16) ��yixi+1 − yi+1xi 3A n−1 �i=0 The pentagon surface Air given by: �xiyi+1 − xi+1yi A = <sup><u>1</u></sup> - �xiyi+1 − xi+1yi� (17) 2 n−1 �i=0 The parameters ­xi and ­yi (i = 0 to n − 1 with n = 5 is the gas number) are expressed by: x0 = %H2cos(π/2) (18) x1 = %C2H6cos(π/2 + α) (19) x2 = %CH4cos(π/2 + 2α) (20) x3 = %C2H4cos(π/2 + 3α) (21) x2 = %C2H2cos(π/2 + 4α) (22) y0 = %H2sin(π/2) (23) y1 = %C2H6sin(π/2 + α) (24) y2 = %CH4sin(π/2 + 2α) (25) y3 = %C2H4sin(π/2 + 3α) (26) y2 = %C2H2cos(π/2 + 4α) (27) where α = 2π/5. Other possible combinations of the above technique have also been proposed to give strong credibility to the obtained results. Two combinations are given below. Using a large number of hidden layers is not recommended. Most classification standards problems use only one or at most two hidden ­layers <sup>26</sup> . Such ascertainments have been confirmed during our modeling. After several attempts, the best results have been achieved for two hidden layers of ten neurons of each. In addition, we have considered one output delivering, for each gas sample, a single fault (PD, D1, D2, T1, T2 or T3). Indeed, we introduce only the number of input neurons varying from 2 to 5 according to the elements number of the input vector. Thus, the topology of the multilayer neural networks we adopted in this work is shown in Fig. 1. The weighing parameters of the layers are calculated using learning algorithms. Many algorithms are proposed in the ­literature <sup>25,27</sup> . We can find the supervised and unsupervised ones. In this paper, we are interested by the supervised ones. Supervised learning is done by introducing pairs of inputs and their desired outputs. This learning uses an optimization criterion allowing it to find optimal synaptic weights giving the desired behavior using random samples. Several learning techniques are adopted to readjust ­weights <sup>27</sup> . One of the most widespread algorithms is the “Back propagation”. Unfortunately, this algorithm suffers from the local minimum problem. A variant of the previous method consists of choosing an appropriate displacement to accelerate the convergence of the algorithm, which then leads to fast back propagation with momentum. There is another version called Robust Figure 1. Topology of the MLP networks adopted in this study. Back propagation applicable in the stochastic case. In order to improve the choice of the direction to take in the weight space, we use to second-order optimization methods of the objective function specified by the Hessian. Many learning algorithms, existing in the Matlab toolbox, have been tested. We have chosen three algorithms using the back-propagation of the quadratic error and only one using back-propagation of the gradient of the quadratic ­error <sup>27</sup> . This latter is between the response calculated by the network and the desired one. In fact, back-propagation or gradient back-propagation algorithms are the most widely used models in supervised training. For this, several models are presented in the Matlab toolbox. These models are used to adjust the weights and biases satisfying the quadratic error or its gradient between the output value and the desired one reaches minimum value for every gas sample. The selected training algorithms are as follows: - Levenberg–Marquardt back-propagation algorithm (trainlm). - One-step secant back-propagation algorithm ( trainoss). - Resilient backpropagation algorithm (trainrp). - Scaled conjugate gradient back-propagation algorithm ( trainscg). The choice of a specific algorithm depends on the input vector and the cost function. There is no theoretical method to select one algorithm versus another. In our case, we have used four training algorithms for different DGA techniques. The activation function transforms the unbounded signal into a bounded one. This function is chosen nondecreasing monotonic. Increasing the input can only increase the output or keep it constant. Choosing a linear activation function makes calculation easier, but the neuron loses its robustness. A nonlinear activation function increases the network’s ability to approximate complex functions. There are three categories of activation functions. The first one allows to distinguish between differentiable functions (sigmoid, tangent, hyperbolic) and non-differentiable ones (threshold function, thresholding). The second category concerns the functions that have significant values around zero, and significant values far from this one. The third ones deal with difference between positive functions and functions with zero mean (0 and 1 or – 1 and 1). Five activation (transfer) functions are selected from the Matlab toolbox: softmax, radbas, purelin, logsig and poslin. Several attempts have been made to obtain the best diagnostic rates. The best combinations have been found when using softmax in the second hidden layer and purelin in the output layer. Indeed, the five aforementioned activation functions are applied only in the first hidden layer, maintaining, softmax and purelin for the second hidden layer and the output one ­respectively <sup>30</sup> . The definitions of the selected activation functions ­are <sup>30</sup> : - Normalized Exponential (softmax): It is a normalized function, which takes as input vector B of m elements and gives a vector of K strictly positive numbers whose sum equals 1. This function is defined by: <u>e</u> <sup>xj</sup> f (xj) = i=1 <sup>exi</sup> <sup>with</sup> <sup>j = 1,</sup> <sup>2,</sup> <sup>. . ., m</sup> (28) <u>�m</u> - Radial Basic (radbas): it consists of the radial basic transfer function of Gaussian type, given by: f (r) = e <sup>−r2</sup> (29) r being a real replacing the Euclidean distance neuron-center <sup>30</sup> . - Linear (purelin): this activation function is linear. - Hyperbolic Tangent Sigmoid (tansig): It consists of the hyperbolic tangent sigmoid activation function defined by: <u>2</u> f (x) = 1 + e <sup>−2x</sup> <sup>−</sup> <sup>1</sup> (30) - Rectified Linear Unit Layer (poslin). It is a rectified linear unit layer activation function. For an input value x, this function can be expressed by: x, x ≥ 0 f (x) = - 0, x < 0 (31) The choice of the activation functions depends on the input data. These functions modify the data values from the input through the output. The combination of them leads to avoid the elimination of the information. So, it is necessary to proceed by some beginning choice of these functions. According to our experience, it is more convenient to make a combination of these functions from the input layer to the output one. In the hidden layer, a smoothie function is recommended to keep the information of the signal without truncation. This is very important for decision process and exploration of all the range of the input data. ANN‑PSO models for insulating oil diagnostic by DGA Our optimization problem aims to find the best solution, consisting of the global optimum, among a set of solutions belonging to the search space, by minimizing the MSE as function objective. In fact, meta-heuristic optimization methods have the advantage of being adapted for a wide range of problems without major modification of their ­algorithms <sup>28</sup> . These methods are based on populations of ­solutions <sup>29</sup> . They are often inspired by natural processes, in particular by the theory of evolution in animal and insect societies which relate to evolutionary biology such as Genetic Algorithms (GA) <sup>30</sup>, or to the ethological theory such as Particle Swarm Optimization (PSO) <sup>31</sup>, Ant Colony Optimization (ACO) <sup>32</sup>, Social Spiders Optimization (SSO) <sup>33,34</sup> . In our investigation, we opted for the PSO technique. To this end, we first present its principle, elements and parameters. We subsequently present the approach undertaken for optimizing the training of the ANN using PSO. Particle swarm optimization is based on a homogeneous set of particles, initially arranged randomly. These particles move in the search space and each constitutes a potential solution. Each particle memorizes its best visited solution and communicates with the nearby particles. Thus, the particle will follow a trend based, on one hand, on its desire to return to its solution optimal, and, on other hand, on its mimicry with respect to the solutions found in its neighborhood on other hand. Indeed, from the local optima, the set of particles converges towards the optimal global solution of the treated ­problem <sup>35</sup> . To be able to apply the PSO algorithm, one must define a search space of the particles and an objective function to be optimized. The principle is to move these particles to find the optimum. Each particle ­contains <sup>36</sup> : - A position characterized by its coordinates in the definition space of the objective function: Xi = (Xi1, . . ., Xij, . . ., Xik) - A velocity allowing the particle to change position during the iterations according to its best neighborhood, its best position, and its previous position: Vi = (V i1, . . ., Vij, . . ., Vik) - A neighbourhood constituted by the set of particles directly interacting on the particle, in particular the one having the best value of the objective function. At any moment, each particle knows: - Its best visited position _Pi(t)_ through its coordinates and the value of the objective function; - The position of the best neighbour of the swarm _gi(t)_ which corresponds to the optimal scheduling; - The value assigned to the objective function f ( _Pi(t)_ ) at each iteration following the comparison between the value of this function given by the current particle and the optimal one. The particle swarm algorithm is based on: - Population size: According to Van den Bergh and ­Engelbrecht <sup>35</sup>, increasing swarm size slightly improves the optimal value. Eberhart and ­Shi <sup>36</sup> illustrated that population size has a minimal effect on the performance of the EP method. The same observation was made by Nezhad and his ­colleagues <sup>37</sup> . In our investigation, various population sizes _N_ _p_, namely _N_ _p_ = 40, 80, 100 and 120. - Initialization of position and velocity: Before generating the population of particles, it is necessary to define the search space for them and place them randomly according to a uniform distribution. In a d-dimensional search space, the particle i of the swarm is modelled by its position vector ­Xi according to Eq. (33), and by its velocity vector _Vi_ according to Eq. (32) <sup>38</sup> . - Position and velocity update: The quality of the particle position is determined by the value of the objective function. Along its path, this particle memorizes its best position, which we note _pbest_ = ( _pi1,…, pi2,…, pid_ ). Furthermore, the best position found for its neighbouring particles is _gbest_ = ( _gi1,…, gi2,…, gid_ ). At each itera tion, the particles update their positions and velocities taking into account their best positions and those of its ­neighbourhood <sup>39</sup> . The new velocity is calculated by Ref. <sup>41</sup> : Vi(k + 1) = wV i(k) + c1r1(k)�pbest (k) − Xi(k)� + c2r2(k)�gbest (k) − Xi(k)� (32) �pbest (k) − Xi(k) - + c2r2(k) �gbest (k) − Xi(k) Therefore, the new position velocity is calculated as ­follows <sup>40</sup> : Xi(k + 1) = Xi(k) + Vi(k + 1) (33) _Xi(k), Xi(k_ + _1)_ : the positions of the _Pi_ particle at iteration k and k + 1 respectively ; _Vi(k), Vi(k_ + _1)_ : the velocities the _Pi_ particle at iteration k and k + 1 respectively; _pbest(k_ + _1)_ : the best position obtained by the _Pi_ particle at iteration _k_ + _1_ ; _gbest(k_ + _1)_ : the best position obtained by the swarm at iteration _k_ + _1_ ; _c1 et c2_ : constants representing the acceleration coefficients; _r1 et r2_ : random numbers; _w(k)_ : inertial weight. Methods In the previous ANN presentation, each neural network delivers the best classification rate by minimizing the root mean quadratic error, MSE, estimated from the computed outputs and the desired ones, as a function of synaptic weights and biases. The biases consist of ­bh1, ­bh2 and ­bo. ­bh1 and ­bh2 are vectors of 10 elements each. The first is presented to the first hidden layer, and the second to the second hidden layer. ­bo is an additional scalar added to the output layer. The synaptic weights consist of ­wi between the input layer and the first hidden layer, ­wh inter-hidden layers, and finally ­wo between the second hidden layer and the output one. wi is a matrix having a number of rows equal to that of input vector elements (m varying from 2 to 5). Moreover, the number of columns of ­wi is equal to the number of neurons of the first hidden layer, i.e. q = 10. In this hidden layer, we applied an activation function, ­f1. The five previous functions (softmax, radbas, purelin, tansig and poslin) have been tested for this latter. wh linking the first hidden layer to the second, is also a square matrix of dimension qxq (i.e. 10 × 10). The activation function, denoted ­f2, applied in the second hidden layer, is sotfmax. As previously indicated, this activation function has been kept unchanged throughout the diagnostic process. Likewise, ­wo connecting the second hidden layer and the output layer, is also a matrix of dimension 1 × 10 (i.e. a vector of 10 elements). The activation function, denoted ­f3, which has been adopted in the output layer is purelin. This latter has also kept unchangeable. In such conditions, the output value is given by: - wo ∗ f2( - wh ∗ f1( - wi ∗ B) + bh1) + bh2) + bo Y = f3(� wo ∗ f2(� wh ∗ f1(� wi ∗ B) + bh1) + bh2) + bo (34) f1, ­f2 and ­f3 are the activation functions, ­bh1, ­bh2 and ­bs the biases and B the input vector. The mean value of the mean squared error has been used as the objective function giving by the following expression: MSE = <sup><u>1</u></sup> (Y d - Y )2 (35) TS 2 TS �PT (Y d - Y ) where TS is the total number of training samples (equal to 321), Y is the computed network output, and ­Yd is the desired output. Our contribution in this paper that we have proposed the new model for DGA by combining the artificial neural network and particle swarm optimization algorithm which gives significant results with very high accuracy. This hybridization has never been developed until now. Taking into consideration the mathematical calculation of the PSO model in the previous section, the convergence of the PSO towards the global optimum depends on the following parameters: - Inertia factor: The inertia factor w allows controlling the impact of previous velocities on the actual ­one <sup>41</sup> . - If w < < 1, rapid changes of direction are possible; little of the previous velocity is preserved; - If w = 0, the particle moves in each step without knowledge of the previous velocity; the concept of velocity is completely lost; - If w > 1, the particles barely change their direction, which results a great area of exploration and a hesita tion against convergence towards the optimum. - Acceleration coefficients _c1_ et _c2:_ The constant ­c1 affects the acceleration of the particle towards its best performance (cognitive behaviour of the particle). Otherwise, ­c2 allows the particle to accelerate towards the Global Best (social ability of the particle) <sup>42</sup> . These constants belong to the interval [0; ­2] <sup>39</sup> . In our investigation, _c1_ equals 2 and _c2_ equals 1. - Random numbers _r1 et r2:_ At each iteration, the two parameters _r1(k)_ and _r2(k)_ are generated randomly in the interval [0; 1] by a uniform ­distribution <sup>41</sup> . - Stopping criterion: In order to converge towards the global optimal solution, different stopping criteria can be selected. The most commonly used consist ­of <sup>42</sup> : - Static criterion: it is generally based on the maximum number of iterations; - Dynamic criterion: it refers to the stagnation of velocity. The static criterion has been adopted in our study. The number of iterations has been fixed to 10,000. A high value of the inertia factor facilitates exploration (the search for new sectors). A low value facilitates exploitation (favoring the current sector of research) <sup>42</sup> . Better convergence, providing the balance between exploration and exploitation. Furthermore, it is possible to vary this factor during the iterations according to Eq. (36). Good results were obtained for an increase value from 0.4 to 0.9. - maxk iter w(k) = wmin + (wmax - wmin) (36) - _wmax: the_ maximum value of w (= 0.9); _wmin_ : the minimum value of w (= 0.4); _iter: the_ current iteration; _maxiter_ : the maximum number of iterations. Before applying the PSO to optimize the ANN training, first, it is necessary to choose the architecture (topology) of the ANN (of two hidden layers with 10 neurons for each layer), the training algorithms, the activation functions, PSO parameters (population sizes, maximum number of iterations, variables to optimize, etc.), the database as well as the number of samples reserved for training and testing. Next, it is necessary to determine the objective function to be optimized. This function consists of the mean square error given by Eq. (35). The PSO algorithm is employed in training the ANN to determine the set of parameters _w_ and _b_ . The total number (corresponding to search space dimension) of these parameters can be determined by the following equation: N = - si ∗ q + bh 1� + - q ∗ q + bh 2� + q + bo (37) - + - q ∗ q + bh 2 - + q + bo _si_ : input vector dimension. - si ∗ q + bh 1 The execution of the ANN-PSO algorithm is carried out in accordance with the following steps: - Step 1: Upload the data training set and the data test one. - Step 2: Define the architecture of ANN: number of hidden layers, neurons number, train algorithm and activation function. - Step 3: Determine the PSO algorithm parameters and randomly generate _p_ particles.Each one contains _N_ values of weights and biases, and generate, then after, _Np_ ANN models. - Step 4: Train the _Np_ ANN and calculate objective functionMSE( _p_ values) using weighs and biases generated by PSO. - Step 5: Select the best solution and update it if it is different from the previous iteration. - Step6: Check the criterium iteration. - Step 7: If the condition of step 6 is not verified, return to step 4 with updating the particles velocities and positions. Else, if the condition of step 6 is verified, the optimal parameters are used to test the ANN. We have compared in the same conditions, the performance of the two algorithms. Indeed, the same multilayer topology used has been kept for this part. Also, we have adopted the input vector 9 (of the coordinates of the two centers of mass of triangle 1 and pentagon I of Duval) offering the best classification performance of 90% for neural network. This result was obtained using trainlm as training algorithm, and poslin, softmax and purelin as activation functions respectively in the first hidden layer, the second hidden one and in the output one. This training algorithm-activation functions combination has been kept in the second algorithm, in order to further improve the fault classification rate. Also, we have considered the same database of 481 samples including 321 samples (set of 66%) for training and 160 (set of 33%) for testing, the same gases ­(H2, ­CH4, ­C2H2, ­C2H4 and ­C2H6), and the same defects (PD, D1, D2, T, T2, and T3). In order to ensure the convergence of the objective function (the mean square error) towards an optimum, four population sizes of the particle swarm have been adopted, namely 40, 80, 100 and 120. The search space dimension, corresponding to the number of parameters _w_ and _b_,has been fond equal to _N_ = 171. The parameters of the PSO algorithm have been set as described in the Table 1. Results For ANN results, 180 programs of neural networks have been developed from the nine input vectors, four training algorithms and five activation functions. The database contains 481 samples. For each network (model), 66% (i.e. 321 gas samples) have been selected for training and the rest (160 samples) for the test. <u>Parmeter</u> <u>Descriotion</u> <u>Value</u> _<u>c1</u>_ <u>Particle coefficient</u> <u>2</u> _<u>c2</u>_ <u>Swarm coefficient</u> <u>1</u> _<u>iter_max</u>_ <u>Maximum iteration</u> <u>10,000</u> _<u>N</u>_ <u>Search space dimension</u> <u>171</u> Table 1. PSO algorithm parameters values. The performance of each neural network has been evaluated in terms of classification or diagnosis rate. For this, the number of iterations adopted is 1000. Each neural network has been executed 50 times, and the best diagnosis rate has been recorded. The obtained results are presented as histograms of Figs. 2, 3, 4 and 5. These figures illustrate the different diagnostic rates as a function of the activation function of the first hidden layer, for different training algorithms 100 80 60 40 20 0 Gas in % Gas in ppm Rogers Dornenburg IEC 60599 Triangle Pentagone Triangle-Pentagone Rogers-Dornenburg purelin radbas softmax tansig poslin Levenberg-Marquardt back-propagation : trainlm Figure 2. Accuracy rate-activation function of the first hidden layer, for trainlm training algorithm. Figure 3. Accuracy rate-activation function of the first hidden layer, for trainoss training algorithm . Figure 4. Accuracy rate-activation function of the first hidden layer, for trainrp training algorithm. Figure 5. Accuracy rate-activation function of the first hidden layer, for trainscg training algorithm. trainlm, trainrp, trainoss and trainscg, respectively. Note that the softmax and purelin have been used as activation functions in the second hidden layer and the output one, respectively. In fact, the four figures were drawn using twenty tables (five tables per figure). To avoid burdening the manuscript, we prefer to present only one Table 2 employing purlin algorithm for the input layer (for the first algorithm Purlin of Fig. 2). Such tables provide more details of the results in terms of activation functions for different input layers, accuracies and input vectors. This allows a better comparison between the considered models. We are interested, through the results of Figs. 2, 3, 4 and 5, to determine the highest classification rate for each model. The input vectors can be classified in decreasing order of the classification rate (i.e. from best to bad) as follows: - 8th Model gives a maximum rate of 90%, i.e. 144 faults well classified on 160 (reserved for the test). - 2nd Model gives a maximum rate of 89.375% corresponding to 143 well-classified faults. - 1rt Model gives a maximum rate of 77.5%, i.e. 124 well-classified faults. - 6th Model gives a maximum rate of 60.625% is 97 well-classified faults. - 3rd Model and 5th model of IEC 60,599 ratios have given a maximum rate of 59.375%, so 95 are well-classified faults. - 9th Model has given a maximum rate of 58.125%, i.e., 93 well-classified faults. - 4th Model gives a maximum rate of 54.375%, corresponding to 87 well-classified faults. In order to provide all information of such classification, we present in the Table 3 the accuracy rate in descending order (from best to bad) for all input vectors with the activation functions of the first hidden layer as well as the training algorithms. Note that the activation functions in the second hidden layer and the output one are softmax and purelin respectively. For PSO results, the variation of the objective function, consisting of the mean squared error (MSE), as a function of the number of iterations, for different population sizes is presented in Fig. 6. Depending on the population size, the minimum mean square error, the precision rate and the number of well-classified faults, are summarized in Table 4. <u>Activation functions</u> <u>Input layer</u> <u>Hiden layer</u> <u>Output layer</u> <u>Accuracy Levenberg–Marquardt (%)</u> <u>Inpit vectors</u> <u>89.38</u> <u>Five gazes in pourcentage</u> <u>77.50</u> <u>Five gazes in ppm</u> <u>54.38</u> <u>Rogers’s Four ratio</u> <u>59.38</u> <u>Dornenburg"s Four ratio</u> Purelin linear transfer Softmax normalized exponnetial Purelin linear transfer Table 2. Details for Purelin algorithm by ANN in Fig. 2. <u>59.38</u> <u>LCEI 60,599 Three Ration</u> <u>55.00</u> <u>Duval’s Triangle</u> <u>86.25</u> <u>Duval’s Penatgone</u> Duval’s Triangle & Pen89.38 <u>tagone</u> Rogers &Dornenburg’s 55.63 <u>ratio</u> <u>Vector</u> <u>Accuracy rate (%)</u> <u>Classified faults/160</u> <u>Training algorithm</u> <u>Activation function of the 1st hidden layer</u> <u>8</u> <u>90</u> <u>144</u> <u>Trainlm</u> <u>Poslin</u> <u>2</u> <u>89.375</u> <u>143</u> <u>Trainlm</u> <u>Purelinor poslin</u> <u>7</u> <u>89.375</u> <u>143</u> <u>Trainoss</u> <u>Poslin</u> <u>1</u> <u>77.500</u> <u>124</u> <u>Trainlm</u> <u>Purelin</u> <u>6</u> <u>60.625</u> <u>97</u> <u>Trainrp</u> <u>Tansig</u> <u>3</u> <u>59.375</u> <u>95</u> <u>Trainlm</u> <u>Purelin</u> <u>5</u> <u>59.375</u> <u>95</u> <u>Trainlm</u> <u>Purelin</u> <u>9</u> <u>58.125</u> <u>93</u> <u>Trainlm</u> <u>Poslin</u> <u>4</u> <u>54.375</u> <u>87</u> <u>Trainlm</u> <u>Purelinor radbas</u> Table 3. Accuracy rates in descending order with activation functions of the first hidden layer and training algorithms. 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 _Np_ _=_ _120_ _<u>N</u>_ _~~p~~_ _<u>=</u>_ _<u>100</u>_ _Np_ _=_ _80_ _~~N~~_ _<u>p</u>_ _~~=~~_ _~~40~~_ 0 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Iterations Figure 6. Variation of MSE as a function of the number of iterations, for different population sizes. <u>Population size</u> <u>40</u> <u>80</u> <u>100</u> <u>120</u> <u>Global MSE</u> <u>0.0216</u> <u>0.0197</u> <u>0.0173</u> <u>0.0066</u> <u>Accuracy rate (%)</u> <u>96.25</u> <u>98.125</u> <u>98.750</u> <u>99.375</u> <u>Number of well-classified samples/160</u> <u>154</u> <u>157</u> <u>158</u> <u>159</u> Table 4. Diagnosis accuracy with several population sizes. Discussion The training algorithm trainlm contributed in the elaboration of these results by approximately 78%, since it has been used 7 times on 9. Otherwise, the activation functions purelin and poslin have participated in these results of about 56% (5 on 9) and 44% (4 on 9) respectively. Indeed, for such classification type, it is recommended to use trainlm as training algorithm, purelin or poslinas as activation function in the first hidden layer, softmax for the second hidden one and purelin in the output one. The best classification rate of 90%, i.e. 144 well-classified faults on 160), has been obtained by presenting the input vector consisting of the coordinates of the two centers of mass of the triangle and the pentagon Duval, using trainlm as training algorithm and poslin, softmax and purelin as activation functions in the first hidden, the second hidden and the output layers respectively. This accuracy rate will be improved, in the same conditions, using particle swarm optimization (PSO) technique. For a given population size, and over the iterations, Fig. 6 shows that the MSE (objective function) decreases abruptly from 0 to 120 iterations, and slowly elsewhere, tending practically towards a constant level. This latter is called minimum MSE which could represent the global MSE. It changes from one population to another, as illustrated in Table 3. In fact, with the progressive increase in the population size from 40 to 120, the global MSE slightly decreases from 0.0216 to 0.0066, while the classification rate and therefore the number of well-classified faults slightly increases from 154 to 159 reserved for the test. Indeed, the 120-population size allows obtaining 159 well-classified faults out of 160 (reserved for the test) with an accuracy rate of 99.375% against 90% when using ANN alone. Conclusion In this investigation, we have developed intelligent techniques using multilayer feed-forward ANN-based models for fault detection in an oil-immersed power transformer, by analysis dissolved gases. Nine input vectors have been used. Otherwise, each hidden layer contains ten neurons. Finally, the output having only one neuron delivers a single fault for each gas sample. Using back-propagation, four training algorithms have been chosen, namely trainlm, trainoss, trainrp and trainscg. In addition, five activation functions, consisting in softmax, radbas, purelin, tansig and poslin, have been selected. These functions have been applied for the first hidden layer, while softmax was maintained for the second hidden layer, and purelin for the output layer. The used database contains 481 samples of which 321 have been selected for training and the rest (160 samples) for testing. Inspired by IEC and IEEE standards, six faults, consisting in PD, D1, D2, T1, T2, and T3, have been adopted. The best classification rate of 90% (i.e. 144 wellclassified faults out of 160) has been obtained when using the eighth input vector (formed from the coordinates of the two centers of mass of triangle 1 and pentagon I of Duval) and applying trainlm as learning algorithm. In order to further improve the best classification rate, the corresponding multilayer network has been optimized using particle swarm technique for various population sizes, namely 40, 80, 100 and 120. The mean square error (MSE) represents the objective function to be minimized for 10,000 iterations. Obviously, the same database with the same number of samples for training and testing, and the same faults has been kept. For a given population size, the mean square error (the objective function) decreases abruptly for iterations ranging from 0 to 120, and slowly elsewhere, tending towards a constant level representing the minimum mean square error (MMSE). Furthermore, the gradual increase in the population size from 40 to 120 results in a slight decrease in the minimum squared error from 0.0216 to 0.0066, and a slight increase in the classification rate of 96.250 (corresponding to 154 faults well classified out of 160) at 99.375% (with 159 well classified faults). In other words, the best fault classification rate of 99.375% has been obtained for 120 population size. In these conditions, the ANN-PSO algorithm was able to detect 159 faults out of 160 reserved for the test. Finally, our contribution in the paper is to present a new approach by combining learning and particle swarm optimization in dissolved gas analysis field. We have demonstrated that this technique is leading to significant results comparing them to the existing ones in the previous research. We have obtained high level of decision about the quality of the transformer oil by using different methods according to IEC and IEEE standards. In high voltage distribution, this new model facilitates the maintenance process and avoids transformer failure. It gives us the instantaneous decision about the characteristics of the failure and time life of the transformer. This latter may include smart sensors linked to digital process unit with supervisory and data acquisition system. The advantage to use this model is to control in real time the process by minimum time calculation of the decision. It leads time saving and minimum cost. It is worth noting that the best results are obtained with the ANN-PSO model. This hybridization is the key to reach this objective. The choice of the architecture of the neural network was the crucial phase in our study. Also, the combination of different training algorithms and activation functions allows obtaining the best model with several tests. The ANN-PSO model needs many calculations to have the convergence of the algorithm. However, it is necessary to match the obtained models to the corresponding oil analysis technique. As input vector, the graphical methods of Duval give decision with best score. In order to use our technique in other field, it is necessary to adapt the architecture of the neural network to the problem. It means that we can choose the input layer and the output layer according to the proposed problem. After that, the number of the hidden layer can be fixed according to the accuracy of the result. Finally, it is important to have a deep knowledge of the application that we want to use the model developed in this paper. Data availability The datasets used and/or analysed during the current study available from the corresponding author on reasonable request. Received: 14 January 2024; Accepted: 18 April 2024 References 1. Sun, L. _et al._ An Integrated decision-making model for transformer condition assessment using game theory and modified evidence combination extended by D numbers. _Energies_ 9 (9), 697 (2016). 2. Abdi, S., Boubakeur, A., Haddad, A. & Harid, N. Influence of artificial thermal aging on transformer oil properties, electric power components and systems. _Electr. Power Compon. Syst._ 39, 1701–1711 (2011). 3. N’cho, J. S., Fofana, I., Hadjadj, Y. & Beroual, A. Review of physicochemical-based diagnostic techniques for assessing insulation condition in aged transformers. _Energies_ 9 (5), 697 (2016). 4. Guerbas, F., Zitouni, M., Boubakeur, A. & Beroul, A. Barrier effect on breakdown of point-plane oil gaps under alternating current voltage. _IET Gener. Transm. Distrib._ 4 (11), 1245–1250 (2010). 5. Benmahamed, Y., Kherif, O., Teguar, M., Boubakeur, A. & Ghoneim, S. S. M. Accuracy improvement of transformer faults diag nostic based on DGA data using SVM-BA classifier. _Energies_ 14, 2970 (2021). 6. Ghoneim, S. S. M. & Taha, I. B. M. A new approach of DGA interpretation technique for transformer fault diagnosis. _Int. J. Electr._ _Power Energy Syst._ 81, 265–274 (2016). 7. Kherif, O., Benmahamed, Y., Teguar, M., Boubakeur, A. & Ghoneim, S. S. M. Accuracy improvement of power transformer faults diagnostic using KNN classifier with decision tree principle. _IEEE Access_ 9, 81693–81701 (2021). 8. Liang, Y., Wang, Z., Liu, Y. Power transformer DGA data processing and alarming tool for on-line monitors. 2009 IEEE/PES Power Systems Conference and Exposition, Seattle, WA, pp. 1–8, (2009). 9. Duval, M. Dissolved gas analysis: It can save your transformer. _IEEE Electr. Insul. Mag._ 5 (6), 22–27 (1989). 10. Duval, M. A review of faults detectable by gas in oil analysis transformer. _IEEE Elec. Insul. Mag._ 18 (3), 8–17 (2002). 11. IEC 60599, Mineral oil-impregnated electrical equipment in service-guide to the interpretation of dissolved and free gases analysis. International Electrotechnical Commission, (2007). 12. IEEE Standard C57.104, IEEE guide for the interpretation of gases generated in oil-immersed transformers. (2009). 13. Abu Bakar, N., Abu-Saida, A. & Islam, S. A review of dissolved gas analysis measurement and interpretation techniques. _IEEE Elec._ _Insul. Maga._ 30 (3), 39–49 (2014). 14. CIGRE Technical Brochure #296, Recent Developments in DGA Interpretation. (2006). 15. Dornenburg, E. & Strittmatter, W. Monitoring oil-cooled transformers by gas analysis. _Brown Boveri Rev._ 61, 238–247 (1974). 16. Rogers, R. R. IEEE and IEC codes to interpret incipient faults in transformers using gas in oil analysis. _IEEE Trans. Electr. Insul._ 13 (5), 348–354 (1978). 17. IEC 60599, Interpretation of the analysis of gases in transformers and other oil-filled electrical equipment in service. International Electrotechnical Commission, (1978). 18. Duval, M. The Duval triangle for load tap changers, non-mineral oils and low temperature faults in transformers. _IEEE Electr._ _Insul. Mag._ 24 (6), 22–29 (2008). 19. Duval, M. & Lamarre, L. The duval pentagon—A new complementary tool for the interpretation of dissolved gas analysis in transformers. _IEEE Electr. Insul. Mag._ 30 (6), 9–12 (2014). 20. Benmahamed, Y., Teguar, M. & Boubakeur, A. Application of SVM and KNN to Duval pentagon 1 for transformer oil diagnosis. _IEEE Trans. Dielectr. Electr. Insul._ 24 (6), 3443–3451 (2017). 21. Benmahamed, Y., Kemari, Y., Teguar, M., Boubakeur, A. Diagnosis of power transformer oil using KNN and Naïve Bayes classi fiers,” Second International Conference on Dielectrics (ICD 2018 Conference), fully sponsored by IEEE Dielectrics and Electrical Insulation Society, Budapest, Hungary, pp. 1–4 (2018). 22. Taha, I. B. M., Hoballah, A. & Ghoneim, S. S. M. Optimal ratio limits of rogers’ four-ratios and IEC 60599 code methods using particle swarm optimization fuzzy-logic approach. _IEEE Trans. Dielectr. Electr. Insul._ 27 (1), 222–230 (2020). 23. Ghoneim, S. S. M., Mahmoud, K., Lehtonen, M. & Darwish, M. M. F. Enhancing diagnostic accuracy of transformer faults using teaching-learning-based optimization. _IEEE Access_ 9, 30817–30832 (2021). 24. Ghoneim, S. S. M., Taha, I. B. M. & Elkalashy, N. I. Integrated ANN-based proactive fault diagnostic scheme for power transformers using dissolved gas analysis. _IEEE Trans. Dielectr. Electr. Insul._ 23 (3), 1838–1845 (2016). 25. Aldakheel, F., Satari, R. & Wriggers, P. Feed-forward neural networks for failure mechanics problems. _Appl. Sci._ 11, 6483 (2021). 26. Ibnu Choldun, M., Santoso, J. & Surendro, K. Determining the number of hidden layers in neural network by using principal component analysis. In _Intelligent Systems and Applications. IntelliSys 2019. Advances in Intelligent Systems and Computing_ Vol. 1038 (eds Bi, Y. _et al._ ) (Springer, 2020). 27. Das, G., Pattnaik, P. K. & Padhy, S. K. Artificial neural network trained by particle swarm optimization for non-linear channel equalization. _Expert Syst. Appl._ 41 (7), 3491–3496 (2014). 28. X. S. Yang, "Engineering optimization: An introduction with metaheuristic applications", Department of Engineering, University of Cambridge, U.K, p. 173–179, Wiley & Sons, Inc., New Jersey, (2010). 29. Alik, B., Teguar, M. & Mekhaldi, A. Minimization of grounding system cost using PSO, GAO, and HPSGAO techniques. _IEEE_ _Trans. Power Deliv._ 30 (6), 2561–2569 (2015). 30. Vallée, T., Yıldızoğlu, M. Présentation des algorithmes génétiques et de leurs applications en Economie. J. Articles, Vol. 1.2, (2003). 31. Eberhart, R., Kennedy, J. A new optimizer using particle swarm theory. In: Proc. Sixth International Symposium on Micro Machine and Human Science (MHS’95), Nagoya, Japan, pp. 39–43, 1995. 32. Dorigo, M. & Gambardella, L. M. Ant colony system: A cooperative learning approach to the traveling salesman problem. _IEEE_ _Trans. Evol. Comput._ 1 (1), 53–66 (1997). 33. Gyanesh, D., Prasant, K. P. & Sasmita, K. P. Artificial neural network trained by particle swarm optimization for non-linear channel equalization. _Expert Syst. Appl. Int. J._ 41 (7), 3491–3496 (2014). 34. Khan, K. & Sahai, A. A comparison of BA, GA, PSO, BP and LM for training feed forward neural networks in E-learning context. _Int. J. Intell. Syst. Appl._ 4 (7), 23–29 (2012). 35. Van den Bergh, F. & Engelbrecht, A. P. A Cooperative approach to particle swarm optimization. _IEEE Trans. Evol. Comput._ 8 (3), 225–239 (2004). 36. Shi, Y., Eberhart, R. A modified particle swarm optimizer, Evolutionary Computation Proceedings, IEEE International Conference on Evolutionary Computation Proceedings, IEEE World Congress on Computational Intelligence, Anchorage, AK, USA, pp. 69–73 4–9, (1998). 37. Nezhad, N. K., Fallahi, M. H. & Dozein, M. G. An optimal design of substation grounding grid considering economic aspects using particle swarm optimization. _Res. J. Appl. Sci. Eng. Technol._ 6 (12), 2159–2165 (2013). 38. Kennedy, J., Eberhart R. Particle swarm optimization. In: IEEE International Conference on Neural Networks (ICNN’95), Perth, WA, Australia, pp. 1942–1948, (1995). 39. Del Valle, Y., Venayagamoorthy, G. K., Mohagheghi, S., Hernandez, J.-C. & Harley, R. G. Particle swarm optimization: Basic concepts, variants and applications in power systems. _IEEE Trans. Evol. Comput._ 12 (2), 171–195 (2008). 40. Eberhart, R. & Shi, Y. Particle swarm optimisation: Developments, applications and resources. _Congress Evol. Computat._ 1, 81–86 (2001). 41. Clerc, M. & Siarry, P. Une nouvelle métaheuristique pour l’optimisation difficile : la méthode des essaims particulaires. _EDP Sci._ 3 (7), 13 (2004). 42. Parsopoulos, K. E., Vrahatis, M. N. Particle Swarm Optimization and Intelligence: Advances and Applications. Inf. Sci. Ref. New York, USA, (2010). Acknowledgements The authors extend their appreciation to Taif University, Saudi Arabia, for supporting this work through the project number (TU-DSPP-2024-14). Author contributions FettoumaGuerbas, Youcef Benmahamed, Youcef Teguar, Rayane Amine Dahmani: Conceptualization, Methodology, Software, Visualization, Investigation, Writing- Original draft preparation. Madjid Teguar, Enas Ali: Data curation, Validation, Supervision, Resources, Writing—Review & Editing. Mohit Bajaj, Shir Ahmad Dost Mohammadi and Sherif S. M. Ghoneim: Project administration, Supervision, Resources, Writing—Review & Editing. Funding This research was funded by Taif University, Taif, Saudi Arabia (TU-DSPP-2024-14). Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to M.B. or S.A.D.M. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 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://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2024

섹션 본문 111문단 · 39,214자

(제목 없음)

1The lifetime of power transformers is closely related to the insulating oil performance.This latter can degrade according to overheating, electric arcs, low or high energy discharges, etc.Such degradation can lead to transformer failures or breakdowns.Early detection of these problems is one of the most important steps to avoid such failures.More efficient diagnostic systems, such as artificial intelligence techniques, are recommended to overcome the limitations of the classical methods.This work deals with diagnosing the power transformer insulating oil by analysis of dissolved gases using new techniques.For this, we have proposed intelligent techniques based on Multilayer artificial neural networks (ANN).Thus, a multi-layer ANN-based model for fault detection is presented.To improve its classification rate, this one was optimized by a meta-heuristic technique as the particle swarm optimization (PSO) technique.Optimized ANNs have never been used in transformer insulating oil diagnostics so far.The robustness and effectiveness of the proposed model is demonstrated, and high accuracy is obtained.

2The five main gases resulting from the oil decomposition are hydrogen (H 2 ), methane (CH 4 ), acetylene (C 2 H 2 ), ethylene (C 2 H 4 ) and ethane (C 2 H 6 ).The proportions of the concentrations of these gases in a sample allow determining the defect type [5][6][7][8][9][10] .According to IEC 60599 (2007) 11 and IEEE Standard C57.104 12 , six electrical and thermal faults exist.They consist of partial discharges (PD), low energy discharges (D1), high energy discharges (D2), thermal faults for T < 300 °C (T1), thermal faults for T from 300 °C to 700 °C (T2) and, finally, thermal faults for T > 700 °C (T3).

3Various traditional techniques have been developed to interpret the results of DGA of transformer oil 13,14 .The most popular use gas concentration ratios of Dornenburg 15 , Rogers 16 , and IEC 60599 (1978) 17 , or graphical methods of Duval employing percentages of concentration ratios such as the triangle 18 and the pentagon 19 .Although these techniques are simple and easy to implement, they have some drawbacks.First, they use only specific gas ratios.Their accuracy remains limited and are very sensitive to DGA data uncertainties.For instance, Duval's triangle method showed certain PD detection failures and some interferences between thermal and electrical faults.IEC 60,599 technique presented some interferences between D1 and D2 faults.Except T1, the effectiveness of Rogers' methods has not been demonstrated for the other faults 6 .Finally, Dornenburg's method considers only three faults: thermal decomposition, partial discharges or low energy corona, and high energy electric arcs 15 .

4Recent artificial intelligence and meta-heuristic approaches have been integrated with traditional methods to overcome such difficulties and improve the transformer oil diagnostic by DGA.Benmahamed et al. have developed two algorithms to improve the classification rate of the Duval pentagon (initially at 80%).The first (Duval pentagon-SVM-PSO) combines the Duval pentagon and support vector machines (SVM), whose parameters have been optimized by the particle swarm optimization technique, PSO.The second (Duval pentagon-KNN) combines Duval pentagon and the K-nearest neighbors (kNN) algorithm.

5The accuracy rate of the first algorithm is 88% compared to 82% for the second 20 .In another research work, Benmahamed et al. established two classifiers KNN and Naïve Bayes (NB) to diagnose transformer oil by DGA.The KNN algorithm provided the highest accuracy rate of 92% 21 .Furthermore, Benmahamed et al. developed two classifiers.The first is Gaussian and the second (SVM-Bat) uses Support Vector Machines (SVM), whose parameters have been optimized by the Bat algorithm.The SVM-Bat accuracy rate is 93.75% against 69.37% for the Gaussian 5 .Kherif et al. developed an algorithm combining KNN with the decision tree principle.An accuracy rate exceeding 93% was obtained, demonstrating the effectiveness of the proposed algorithm 7 .Taha and al proposed an approach using the particle swarm optimization and the fuzzy-logic (PSO-FS) to enhance the of Rogers' four-ratio diagnostic accuracy from 47.19 to 85.65% and IEC 60,599 one from 55.09 to 85.03% 22 .Ghoneim et al. established an efficient teaching-learning based optimization (TLBO) a model to optimize both gas concentration percentages and ratios.The proposed algorithm allowed obtaining higher diagnostic accuracy (of 82.02%) than the best (78.65%) offered by other DGA techniques presented in the same paper 23 .Ghoneim et al. developed a smart fault diagnostic approach (SFDA) integrating Dornenburg, Rogers three and four-ratio, IEC three-ratio and Duval triangle techniques.Using gas concentrations, the SFDA algorithm has been improved by ANN.The SFDA algorithm allowed obtaining 79.6%.This accuracy rate has been improved to 87.8% with the integration of ANN 24 .It is worth noting that optimized ANNs have never been used in transformer insulating oil diagnostic so far.

6In order to improve the accuracy rate of faults detection in power transformers oil by DGA, multilayer artificial neural networks (ANN) are developed, in this investigation.We opt for a multilayer neural network (MLP) comprising an input layer, two hidden layers and an output.Several input vectors are tested, namely the five gases in ppm and in percentage, Dornenberg ratio, Rogers four-ratio and IEC 60,599 three-ratio as well as the combination between the ratios of Rogers and those of Dornenberg, the centers of mass of the triangle and pentagon of Duval, as well as their combination.Various learning algorithms and activation functions are also considered.

7To further improve diagnostic rates, neural networks are optimized using the particle swarm technique (PSO).Indeed, different population sizes have been adopted.The performances of these neural networks have been studied in terms of accuracy rate.A total of 481 sample datasets are considered 5 .Two-thirds are used for the training process (so 321 samples), and the rest (160 samples) for the test.The six fault classes (PD, D1, D2, T1, T2, and T3) recommended by IEC 60599 (2007) 11 and IEEE Standard C57.104 12 are adopted.A comparative study is carried out between the different neural networks developed.

8In this paper, we have demonstrated that the combination of the artificial neural network and the particle swarm optimization leads to global model.This one takes into account classification problem by learning and also optimization by the PSO.It gives significant results versus to the classical methods and we obtain a high level of accuracy.

ANN models for insulating oil diagnostic by DGA

9The state of the power insulation system is responsible for determining the lifetime of the transformers.This insulation system is generally exposed to some constraints resulting from overheating, carbonization of the paper, electric arcs and low or high energy discharges.Such faults can accelerate insulation degradation, affecting the transformer's reliability and lifetime.Indeed, early detection of these faults can prevent undesirable abnormal operating conditions or failures of power transformers.The dissolved gas analysis (DGA) technique is considered to be one of the fastest and most economical techniques widely used to diagnose power transformer fault types 13 .

10As mentioned above, traditional fault diagnostic techniques in power transformers have generally shown their limitations and inconsistencies.Despite their simplicity, these techniques are not really adopted by the scientific community, due to their low accuracy rate in faults detection, except Duval pentagon method giving acceptable rate faults classification 6,20 .That is why artificial intelligence (AI) and/or meta-heuristic approaches can be combined with conventional ones to improve the diagnostic accuracy of power transformer insulating oil further.This section proposes several artificial neural networks to detect faults in an oil-immersed power transformer.These networks have the same architecture (structure) consisting of a multilayer perceptron (MLP).However, their training algorithms and activation functions are different.

11The artificial neural network connection is multilayer and consists of an input, output, and two hidden internal layers.In this structure, neurons belonging to the same layer are not connected.Each layer receives signals from the previous layer and transmits its processing result to the next layer.Thus, the information flows in a one direction, from the input to the output through the hidden layers.Such connection type is called feed-forward artificial neural networks (FFANNs) 25 .

12The number of neurons in the input layer is equal to the number of elements of the input vector denoted B. Nine models with input vectors have been considered, namely:

13• 1st Model: The database comprises the concentrations of the five gases in ppm.In such conditions, the input vector of this model is given by: B = [H • 6th Model: Duval triangle model is a graphic representation using the percentage ratios of three dissolved gases: CH 4 , C 2 H 2 and C 2 H 4 .These percentages are employed as coordinates (T x , T y ) to draw the mass center point in the triangle and identify, for each sample, the defect zone in which it is located 18 .The input vector for this model is therefore written by: B = [T x T y ] T • 7th Model: Duval pentagon model is a graphic representation similar to triangle one.Pentagon uses the five dissolved gas in percentages (%H 2 %CH 4 %C 2 H 2 %C 2 H 4 %C 2 H 6 ) to draw the mass center point coordinates (P x , P y ) 19 .The input vector of this model is given by: B = [P x P y ] T • 8th Model: A combination between the triangle and the pentagon of Duval was proposed for this model.In such conditions, the two mass centers coordinate of both triangle and pentagon of Duval will constitute the input vector, given by: B = [C x C y P x P y ] The coordinates T x and T y in vector 6 are calculated, for each gas sample, as follows 18 :

14A is the irregular triangle area given by:

15The coordinates x i and y i (i = 0 to n − 1 with n = 3 is the number of gas in percentages) are computed as follows:

16(1)

17where α = 2π/3.

18For the 7th Model, each sample, the coordinates P x and P y are computed by:

19The pentagon surface Air given by:

20The parameters x i and y i (i = 0 to n − 1 with n = 5 is the gas number) are expressed by: where α = 2π/5.Other possible combinations of the above technique have also been proposed to give strong credibility to the obtained results.Two combinations are given below.

21Using a large number of hidden layers is not recommended.Most classification standards problems use only one or at most two hidden layers 26 .Such ascertainments have been confirmed during our modeling.After several attempts, the best results have been achieved for two hidden layers of ten neurons of each.In addition, we have considered one output delivering, for each gas sample, a single fault (PD, D1, D2, T1, T2 or T3).Indeed, we introduce only the number of input neurons varying from 2 to 5 according to the elements number of the input vector.Thus, the topology of the multilayer neural networks we adopted in this work is shown in Fig. 1.

22The weighing parameters of the layers are calculated using learning algorithms.Many algorithms are proposed in the literature 25,27 .We can find the supervised and unsupervised ones.In this paper, we are interested by the supervised ones.Supervised learning is done by introducing pairs of inputs and their desired outputs.This learning uses an optimization criterion allowing it to find optimal synaptic weights giving the desired behavior using random samples.Several learning techniques are adopted to readjust weights 27 .One of the most widespread algorithms is the "Back propagation".Unfortunately, this algorithm suffers from the local minimum problem.A variant of the previous method consists of choosing an appropriate displacement to accelerate the convergence of the algorithm, which then leads to fast back propagation with momentum.There is another version called Robust (10) www.nature.com/scientificreports/Back propagation applicable in the stochastic case.In order to improve the choice of the direction to take in the weight space, we use to second-order optimization methods of the objective function specified by the Hessian.Many learning algorithms, existing in the Matlab toolbox, have been tested.We have chosen three algorithms using the back-propagation of the quadratic error and only one using back-propagation of the gradient of the quadratic error 27 .This latter is between the response calculated by the network and the desired one.

23In fact, back-propagation or gradient back-propagation algorithms are the most widely used models in supervised training.For this, several models are presented in the Matlab toolbox.These models are used to adjust the weights and biases satisfying the quadratic error or its gradient between the output value and the desired one reaches minimum value for every gas sample.The selected training algorithms are as follows:

24• Levenberg-Marquardt back-propagation algorithm (trainlm).

25• One-step secant back-propagation algorithm ( trainoss).

26• Resilient backpropagation algorithm (trainrp).

27• Scaled conjugate gradient back-propagation algorithm ( trainscg).

28The choice of a specific algorithm depends on the input vector and the cost function.There is no theoretical method to select one algorithm versus another.In our case, we have used four training algorithms for different DGA techniques.

29The activation function transforms the unbounded signal into a bounded one.This function is chosen nondecreasing monotonic.Increasing the input can only increase the output or keep it constant.Choosing a linear activation function makes calculation easier, but the neuron loses its robustness.A nonlinear activation function increases the network's ability to approximate complex functions.There are three categories of activation functions.The first one allows to distinguish between differentiable functions (sigmoid, tangent, hyperbolic) and non-differentiable ones (threshold function, thresholding).The second category concerns the functions that have significant values around zero, and significant values far from this one.The third ones deal with difference between positive functions and functions with zero mean (0 and 1 or -1 and 1).

30Five activation (transfer) functions are selected from the Matlab toolbox: softmax, radbas, purelin, logsig and poslin.Several attempts have been made to obtain the best diagnostic rates.The best combinations have been found when using softmax in the second hidden layer and purelin in the output layer.Indeed, the five aforementioned activation functions are applied only in the first hidden layer, maintaining, softmax and purelin for the second hidden layer and the output one respectively 30 .

31The definitions of the selected activation functions are 30 :

32• Normalized Exponential (softmax): It is a normalized function, which takes as input vector B of m elements and gives a vector of K strictly positive numbers whose sum equals 1.This function is defined by:

33• Radial Basic (radbas): it consists of the radial basic transfer function of Gaussian type, given by: r being a real replacing the Euclidean distance neuron-center 30 .• Linear (purelin): this activation function is linear.• Hyperbolic Tangent Sigmoid (tansig): It consists of the hyperbolic tangent sigmoid activation function defined by:

34• Rectified Linear Unit Layer (poslin).It is a rectified linear unit layer activation function.For an input value x, this function can be expressed by:

35The choice of the activation functions depends on the input data.These functions modify the data values from the input through the output.The combination of them leads to avoid the elimination of the information.So, it is necessary to proceed by some beginning choice of these functions.According to our experience, it is more convenient to make a combination of these functions from the input layer to the output one.In the hidden layer, a smoothie function is recommended to keep the information of the signal without truncation.This is very important for decision process and exploration of all the range of the input data.

ANN-PSO models for insulating oil diagnostic by DGA

36Our optimization problem aims to find the best solution, consisting of the global optimum, among a set of solutions belonging to the search space, by minimizing the MSE as function objective.

37In fact, meta-heuristic optimization methods have the advantage of being adapted for a wide range of problems without major modification of their algorithms 28 .These methods are based on populations of solutions 29 .They are often inspired by natural processes, in particular by the theory of evolution in animal and insect societies which relate to evolutionary biology such as Genetic Algorithms (GA) 30 , or to the ethological theory such as Particle Swarm Optimization (PSO) 31 , Ant Colony Optimization (ACO) 32 , Social Spiders Optimization (SSO) 33,34 .

38In our investigation, we opted for the PSO technique.To this end, we first present its principle, elements and parameters.We subsequently present the approach undertaken for optimizing the training of the ANN using PSO.

39Particle swarm optimization is based on a homogeneous set of particles, initially arranged randomly.These particles move in the search space and each constitutes a potential solution.Each particle memorizes its best visited solution and communicates with the nearby particles.Thus, the particle will follow a trend based, on one hand, on its desire to return to its solution optimal, and, on other hand, on its mimicry with respect to the solutions found in its neighborhood on other hand.Indeed, from the local optima, the set of particles converges towards the optimal global solution of the treated problem 35 .

40To be able to apply the PSO algorithm, one must define a search space of the particles and an objective function to be optimized.The principle is to move these particles to find the optimum.Each particle contains 36 :

41• A position characterized by its coordinates in the definition space of the objective function:

42X i = (X i1 , . . ., X ij , . . ., X ik ) • A velocity allowing the particle to change position during the iterations according to its best neighborhood, its best position, and its previous position: V i = (V i1 , . . ., V ij , . . ., V ik ) • A neighbourhood constituted by the set of particles directly interacting on the particle, in particular the one having the best value of the objective function.

43At any moment, each particle knows:

44• Its best visited position P i (t) through its coordinates and the value of the objective function;

45• The position of the best neighbour of the swarm g i (t) which corresponds to the optimal scheduling;

46• The value assigned to the objective function f (P i (t)) at each iteration following the comparison between the value of this function given by the current particle and the optimal one.

47The particle swarm algorithm is based on:

48• Population size: According to Van den Bergh and Engelbrecht 35 , increasing swarm size slightly improves the optimal value.Eberhart and Shi 36 illustrated that population size has a minimal effect on the performance of the EP method.The same observation was made by Nezhad and his colleagues 37 .In our investigation, various population sizes N p , namely N p = 40, 80, 100 and 120.• Initialization of position and velocity: Before generating the population of particles, it is necessary to define the search space for them and place them randomly according to a uniform distribution.In a d-dimensional search space, the particle i of the swarm is modelled by its position vector X i according to Eq. ( 33), and by its velocity vector V i according to Eq. ( 32) 38 .• Position and velocity update: The quality of the particle position is determined by the value of the objective function.Along its path, this particle memorizes its best position, which we note p best = (p i1 ,…, p i2 ,…, p id ).Furthermore, the best position found for its neighbouring particles is g best = (g i1 ,…, g i2 ,…, g id ).At each itera-

49x, x ≥ 0 0, x < 0 tion, the particles update their positions and velocities taking into account their best positions and those of its neighbourhood 39 .

50The new velocity is calculated by Ref. 41 :

51Therefore, the new position velocity is calculated as follows 40 :

52X i (k), X i (k + 1): the positions of the P i particle at iteration k and k + 1 respectively ; V i (k), V i (k + 1): the velocities the P i particle at iteration k and k + 1 respectively; p best (k + 1): the best position obtained by the P i particle at iteration k + 1; g best (k + 1): the best position obtained by the swarm at iteration k + 1; c 1 et c 2 : constants representing the acceleration coefficients; r 1 et r 2 : random numbers; w(k): inertial weight.

Methods

53In the previous ANN presentation, each neural network delivers the best classification rate by minimizing the root mean quadratic error, MSE, estimated from the computed outputs and the desired ones, as a function of synaptic weights and biases.

54The biases consist of b h1 , b h2 and b o .b h1 and b h2 are vectors of 10 elements each.The first is presented to the first hidden layer, and the second to the second hidden layer.b o is an additional scalar added to the output layer.

55The synaptic weights consist of w i between the input layer and the first hidden layer, w h inter-hidden layers, and finally w o between the second hidden layer and the output one.

56w i is a matrix having a number of rows equal to that of input vector elements (m varying from 2 to 5).Moreover, the number of columns of w i is equal to the number of neurons of the first hidden layer, i.e. q = 10.In this hidden layer, we applied an activation function, f 1 .The five previous functions (softmax, radbas, purelin, tansig and poslin) have been tested for this latter.

57w h linking the first hidden layer to the second, is also a square matrix of dimension qxq (i.e. 10 × 10).The activation function, denoted f 2 , applied in the second hidden layer, is sotfmax.As previously indicated, this activation function has been kept unchanged throughout the diagnostic process.

58Likewise, w o connecting the second hidden layer and the output layer, is also a matrix of dimension 1 × 10 (i.e. a vector of 10 elements).The activation function, denoted f 3 , which has been adopted in the output layer is purelin.This latter has also kept unchangeable.In such conditions, the output value is given by: f 1 , f 2 and f 3 are the activation functions, b h1 , b h2 and b s the biases and B the input vector.

59The mean value of the mean squared error has been used as the objective function giving by the following expression:

60where TS is the total number of training samples (equal to 321), Y is the computed network output, and Y d is the desired output.

61Our contribution in this paper that we have proposed the new model for DGA by combining the artificial neural network and particle swarm optimization algorithm which gives significant results with very high accuracy.This hybridization has never been developed until now.

62Taking into consideration the mathematical calculation of the PSO model in the previous section, the convergence of the PSO towards the global optimum depends on the following parameters:

63• Inertia factor: The inertia factor w allows controlling the impact of previous velocities on the actual one 41 .

64-If w < < 1, rapid changes of direction are possible; little of the previous velocity is preserved; -If w = 0, the particle moves in each step without knowledge of the previous velocity; the concept of velocity is completely lost; -If w > 1, the particles barely change their direction, which results a great area of exploration and a hesitation against convergence towards the optimum.

65• Acceleration coefficients c 1 et c 2 : The constant c 1 affects the acceleration of the particle towards its best perfor- mance (cognitive behaviour of the particle).Otherwise, c 2 allows the particle to accelerate towards the Global Best (social ability of the particle) 42 .These constants belong to the interval [0; 2] 39 .In our investigation, c 1 equals 2 and c 2 equals 1. • Random numbers r 1 et r 2 : At each iteration, the two parameters r 1 (k) and r 2 (k) are generated randomly in the interval [0; 1] by a uniform distribution 41 .• Stopping criterion: In order to converge towards the global optimal solution, different stopping criteria can be selected.The most commonly used consist of 42 :

66-Static criterion: it is generally based on the maximum number of iterations;

67(32) The static criterion has been adopted in our study.The number of iterations has been fixed to 10,000.

68A high value of the inertia factor facilitates exploration (the search for new sectors).A low value facilitates exploitation (favoring the current sector of research) 42 .Better convergence, providing the balance between exploration and exploitation.Furthermore, it is possible to vary this factor during the iterations according to Eq. (36).Good results were obtained for an increase value from 0.4 to 0.9.

69w max : the maximum value of w (= 0.9); w min : the minimum value of w (= 0.4); iter: the current iteration; max iter : the maximum number of iterations.

70Before applying the PSO to optimize the ANN training, first, it is necessary to choose the architecture (topology) of the ANN (of two hidden layers with 10 neurons for each layer), the training algorithms, the activation functions, PSO parameters (population sizes, maximum number of iterations, variables to optimize, etc.), the database as well as the number of samples reserved for training and testing.Next, it is necessary to determine the objective function to be optimized.This function consists of the mean square error given by Eq. (35).

71The PSO algorithm is employed in training the ANN to determine the set of parameters w and b.The total number (corresponding to search space dimension) of these parameters can be determined by the following equation:

72The execution of the ANN-PSO algorithm is carried out in accordance with the following steps:

73• We have compared in the same conditions, the performance of the two algorithms.Indeed, the same multilayer topology used has been kept for this part.Also, we have adopted the input vector 9 (of the coordinates of the two centers of mass of triangle 1 and pentagon I of Duval) offering the best classification performance of 90% for neural network.This result was obtained using trainlm as training algorithm, and poslin, softmax and purelin as activation functions respectively in the first hidden layer, the second hidden one and in the output one.This training algorithm-activation functions combination has been kept in the second algorithm, in order to further improve the fault classification rate.Also, we have considered the same database of 481 samples including 321 samples (set of 66%) for training and 160 (set of 33%) for testing, the same gases (H 2 , CH 4 , C 2 H 2 , C 2 H 4 and C 2 H 6 ), and the same defects (PD, D1, D2, T, T2, and T3).

74In order to ensure the convergence of the objective function (the mean square error) towards an optimum, four population sizes of the particle swarm have been adopted, namely 40, 80, 100 and 120.

75The search space dimension, corresponding to the number of parameters w and b,has been fond equal to N = 171.The parameters of the PSO algorithm have been set as described in the Table 1.

Results

76For ANN results, 180 programs of neural networks have been developed from the nine input vectors, four training algorithms and five activation functions.The database contains 481 samples.For each network (model), 66% (i.e.321 gas samples) have been selected for training and the rest (160 samples) for the test.( 36) The performance of each neural network has been evaluated in terms of classification or diagnosis rate.For this, the number of iterations adopted is 1000.Each neural network has been executed 50 times, and the best diagnosis rate has been recorded.

77The obtained results are presented as histograms of Figs. 2, 3, 4 and 5.These figures illustrate the different diagnostic rates as a function of the activation function of the first hidden layer, for different training algorithms www.nature.com/scientificreports/trainlm, trainrp, trainoss and trainscg, respectively.Note that the softmax and purelin have been used as activation functions in the second hidden layer and the output one, respectively.In fact, the four figures were drawn using twenty tables (five tables per figure).To avoid burdening the manuscript, we prefer to present only one Table 2 employing purlin algorithm for the input layer (for the first algorithm Purlin of Fig. 2).Such tables provide more details of the results in terms of activation functions for different input layers, accuracies and input vectors.This allows a better comparison between the considered models.

78We are interested, through the results of Figs. 2, 3, 4 and 5, to determine the highest classification rate for each model.The input vectors can be classified in decreasing order of the classification rate (i.e. from best to bad) as follows:

79• 8th Model gives a maximum rate of 90%, i.e. 144 faults well classified on 160 (reserved for the test).

80• 2nd Model gives a maximum rate of 89.375% corresponding to 143 well-classified faults.

81• 1rt Model gives a maximum rate of 77.5%, i.e. 124 well-classified faults.

82• 6th Model gives a maximum rate of 60.625% is 97 well-classified faults.

83• 3rd Model and 5th model of IEC 60,599 ratios have given a maximum rate of 59.375%, so 95 are well-classified faults.

84• 9th Model has given a maximum rate of 58.125%, i.e., 93 well-classified faults.

85• 4th Model gives a maximum rate of 54.375%, corresponding to 87 well-classified faults.

86In order to provide all information of such classification, we present in the Table 3 the accuracy rate in descending order (from best to bad) for all input vectors with the activation functions of the first hidden layer as well as the training algorithms.Note that the activation functions in the second hidden layer and the output one are softmax and purelin respectively.

87For PSO results, the variation of the objective function, consisting of the mean squared error (MSE), as a function of the number of iterations, for different population sizes is presented in Fig. 6.

88Depending on the population size, the minimum mean square error, the precision rate and the number of well-classified faults, are summarized in Table 4.

Discussion

89The training algorithm trainlm contributed in the elaboration of these results by approximately 78%, since it has been used 7 times on 9. Otherwise, the activation functions purelin and poslin have participated in these results of about 56% (5 on 9) and 44% (4 on 9) respectively.Indeed, for such classification type, it is recommended to use trainlm as training algorithm, purelin or poslinas as activation function in the first hidden layer, softmax for the second hidden one and purelin in the output one.

90The best classification rate of 90%, i.e. 144 well-classified faults on 160), has been obtained by presenting the input vector consisting of the coordinates of the two centers of mass of the triangle and the pentagon Duval, using trainlm as training algorithm and poslin, softmax and purelin as activation functions in the first hidden, the second hidden and the output layers respectively.This accuracy rate will be improved, in the same conditions, using particle swarm optimization (PSO) technique.

91For a given population size, and over the iterations, Fig. 6 shows that the MSE (objective function) decreases abruptly from 0 to 120 iterations, and slowly elsewhere, tending practically towards a constant level.This latter is called minimum MSE which could represent the global MSE.It changes from one population to another, as illustrated in Table 3.In fact, with the progressive increase in the population size from 40 to 120, the global MSE slightly decreases from 0.0216 to 0.0066, while the classification rate and therefore the number of well-classified faults slightly increases from 154 to 159 reserved for the test.Indeed, the 120-population size allows obtaining 159 well-classified faults out of 160 (reserved for the test) with an accuracy rate of 99.375% against 90% when using ANN alone.

Conclusion

92In this investigation, we have developed intelligent techniques using multilayer feed-forward ANN-based models for fault detection in an oil-immersed power transformer, by analysis dissolved gases.Nine input vectors have been used.Otherwise, each hidden layer contains ten neurons.Finally, the output having only one neuron delivers a single fault for each gas sample.Using back-propagation, four training algorithms have been chosen, namely trainlm, trainoss, trainrp and trainscg.In addition, five activation functions, consisting in softmax, radbas, purelin, tansig and poslin, have been selected.These functions have been applied for the first hidden layer, while softmax was maintained for the second hidden layer, and purelin for the output layer.The used database contains 481 samples of which 321 have been selected for training and the rest (160 samples) for testing.Inspired by IEC and IEEE standards, six faults, consisting in PD, D1, D2, T1, T2, and T3, have been adopted.The best classification rate of 90% (i.e.144 wellclassified faults out of 160) has been obtained when using the eighth input vector (formed from the coordinates of the two centers of mass of triangle 1 and pentagon I of Duval) and applying trainlm as learning algorithm.

93In order to further improve the best classification rate, the corresponding multilayer network has been optimized using particle swarm technique for various population sizes, namely 40, 80, 100 and 120.The mean square error (MSE) represents the objective function to be minimized for 10,000 iterations.Obviously, the same database with the same number of samples for training and testing, and the same faults has been kept.For a given population size, the mean square error (the objective function) decreases abruptly for iterations ranging from 0 to 120, and slowly elsewhere, tending towards a constant level representing the minimum mean square error (MMSE).Furthermore, the gradual increase in the population size from 40 to 120 results in a slight decrease in the minimum squared error from 0.0216 to 0.0066, and a slight increase in the classification rate of 96.250 (corresponding to 154 faults well classified out of 160) at 99.375% (with 159 well classified faults).In other words, the best fault classification rate of 99.375% has been obtained for 120 population size.In these conditions, the ANN-PSO algorithm was able to detect 159 faults out of 160 reserved for the test.

94Finally, our contribution in the paper is to present a new approach by combining learning and particle swarm optimization in dissolved gas analysis field.We have demonstrated that this technique is leading to significant results comparing them to the existing ones in the previous research.We have obtained high level of decision about the quality of the transformer oil by using different methods according to IEC and IEEE standards.

95In high voltage distribution, this new model facilitates the maintenance process and avoids transformer failure.It gives us the instantaneous decision about the characteristics of the failure and time life of the transformer.This latter may include smart sensors linked to digital process unit with supervisory and data acquisition system.The advantage to use this model is to control in real time the process by minimum time calculation of the decision.It leads time saving and minimum cost.

96It is worth noting that the best results are obtained with the ANN-PSO model.This hybridization is the key to reach this objective.The choice of the architecture of the neural network was the crucial phase in our study.Also, the combination of different training algorithms and activation functions allows obtaining the best model with several tests.The ANN-PSO model needs many calculations to have the convergence of the algorithm.However, it is necessary to match the obtained models to the corresponding oil analysis technique.As input vector, the graphical methods of Duval give decision with best score.

97In order to use our technique in other field, it is necessary to adapt the architecture of the neural network to the problem.It means that we can choose the input layer and the output layer according to the proposed problem.After that, the number of the hidden layer can be fixed according to the accuracy of the result.Finally, it is important to have a deep knowledge of the application that we want to use the model developed in this paper.

98(28) f (x j ) = e x j m i=1 e x i with j = 1, 2, . . ., m

Figure 1 .

99Figure 1.Topology of the MLP networks adopted in this study.

2 Vol

100https://doi.org/10.1038/s41598-024-60071-0www.nature.com/scientificreports/-Dynamic criterion: it refers to the stagnation of velocity.

Step 1 : 2 : 3 : 4 : 5 : 7 :

101Upload the data training set and the data test one.• Step Define the architecture of ANN: number of hidden layers, neurons number, train algorithm and activation function.• Step Determine the PSO algorithm parameters and randomly generate p particles.Each one containsN values of weights and biases, and generate, then after, N p ANN models.• Step Train the N p ANN and calculate objective functionMSE(p values) using weighs and biases generated by PSO.• Step Select the best solution and update it if it is different from the previous iteration.• Step6: Check the criterium iteration.•Step If the condition of step 6 is not verified, return to step 4 with updating the particles velocities and positions.Else, if the condition of step 6 is verified, the optimal parameters are used to test the ANN.

Figure 2 .

102Figure 2. Accuracy rate-activation function of the first hidden layer, for trainlm training algorithm.

Figure 3 .

103Figure 3. Accuracy rate-activation function of the first hidden layer, for trainoss training algorithm.

Figure 4 .

104Figure 4. Accuracy rate-activation function of the first hidden layer, for trainrp training algorithm.

Figure 5 .

105Figure 5. Accuracy rate-activation function of the first hidden layer, for trainscg training algorithm.

Figure 6 .

106Figure 6.Variation of MSE as a function of the number of iterations, for different population sizes.

10716rnenburg ratios is one of the first techniques introduced for the power transformer oil diag- nostic to interpret the results of dissolved gas analyzes15.In this model, we use four ratios of gas, in ppm,consisting of B = [CH 4 /H 2 C 2 H 2 /C 2 H 4 C 2 H 4 /C 2 H 6 C 2 H 2 /CH 4 ] T• 4th Model: The four ratios of Rogers are also considered.For this model, the input vector can be expressed, for each sample (gas in ppm), by Ref.16A = [CH 4 /H 2 C 2 H 2 /C 2 H 4 C 2 H 4 /C 2 H 6 C 2 H 6 /CH 4 ] • 5th Model: IEC 60,599 model uses three ratios of gas in ppm as follows 17 :

Table 1 .

108PSO algorithm parameters values.

Table 2 .

109Details for Purelin algorithm by ANN in Fig.2.

Table 3 .

110Accuracy rates in descending order with activation functions of the first hidden layer and training algorithms.

Table 4 .

111Diagnosis accuracy with several population sizes.

참고문헌 28건

  1. Barrier effect on breakdown of point–plane oil gaps under alternating current voltage IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2010 10.1049/iet-gtd.2010.0231
  2. A review of dissolved gas analysis measurement and interpretation techniques IEEE Electrical Insulation Magazine · Institute of Electrical and Electronics Engineers · 2014 10.1109/mei.2014.6804740
  3. Artificial Neural Network trained by Particle Swarm Optimization for non-linear channel equalization Expert Systems with Applications · Elsevier BV · 2013 10.1016/j.eswa.2013.10.053
  4. The duval triangle for load tap changers, non-mineral oils and low temperature faults in transformers IEEE Electrical Insulation Magazine · Institute of Electrical and Electronics Engineers · 2008 10.1109/mei.2008.4665347
  5. Dissolved gas analysis: It can save your transformer IEEE Electrical Insulation Magazine · Institute of Electrical and Electronics Engineers · 1989 10.1109/57.44605
  6. A new optimizer using particle swarm theory 2002 10.1109/mhs.1995.494215
  7. Power transformer DGA data processing and alarming tool for on-line monitors IEEE PES Power Systems Conference and Exposition · 2009 10.1109/psce.2009.4840217
  8. A Cooperative Approach to Particle Swarm Optimization IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 2004 10.1109/tevc.2004.826069
  9. Minimization of Grounding System Cost Using PSO, GAO, and HPSGAO Techniques IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2015 10.1109/tpwrd.2015.2445979
  10. Influence of Artificial Thermal Aging on Transformer Oil Properties Electric Power Components and Systems · Taylor & Francis · 2011 10.1080/15325008.2011.608772
  11. A review of faults detectable by gas-in-oil analysis in transformers IEEE Electrical Insulation Magazine · Institute of Electrical and Electronics Engineers · 2002 10.1109/mei.2002.1014963
  12. Ant colony system: a cooperative learning approach to the traveling salesman problem IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 1997 10.1109/4235.585892
  13. Particle Swarm Optimization: Basic Concepts, Variants and Applications in Power Systems IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 2008 10.1109/tevc.2007.896686
  14. An Optimal Design of Substation Grounding Grid Considering Economic Aspects Using Particle Swarm Optimization Research Journal of Applied Sciences Engineering and Technology · Maxwell Scientific Publications · 2013 10.19026/rjaset.6.3840
  15. A new approach of DGA interpretation technique for transformer fault diagnosis International Journal of Electrical Power & Energy Systems · Elsevier BV · 2016 10.1016/j.ijepes.2016.02.018
  16. Review of Physicochemical-Based Diagnostic Techniques for Assessing Insulation Condition in Aged Transformers Energies · Multidisciplinary Digital Publishing Institute · 2016 10.3390/en9050367
  17. An Integrated Decision-Making Model for Transformer Condition Assessment Using Game Theory and Modified Evidence Combination Extended by D Numbers Energies · Multidisciplinary Digital Publishing Institute · 2016 10.3390/en9090697
  18. Integrated ANN-based proactive fault diagnostic scheme for power transformers using dissolved gas analysis IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2016 10.1109/tdei.2016.005301
  19. The duval pentagon-a new complementary tool for the interpretation of dissolved gas analysis in transformers IEEE Electrical Insulation Magazine · Institute of Electrical and Electronics Engineers · 2014 10.1109/mei.2014.6943428
  20. Application of SVM and KNN to Duval Pentagon 1 for transformer oil diagnosis IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2017 10.1109/tdei.2017.006841
  21. Diagnosis of Power Transformer Oil Using KNN and Nave Bayes Classifiers 2018 IEEE 2nd International Conference on Dielectrics (ICD) · 2018 10.1109/icd.2018.8468532
  22. Optimal ratio limits of rogers' four-ratios and IEC 60599 code methods using particle swarm optimization fuzzy-logic approach IEEE Transactions on Dielectrics and Electrical Insulation · Institute of Electrical and Electronics Engineers · 2020 10.1109/tdei.2019.008395
  23. Enhancing Diagnostic Accuracy of Transformer Faults Using Teaching-Learning-Based Optimization IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3060288
  24. Accuracy Improvement of Transformer Faults Diagnostic Based on DGA Data Using SVM-BA Classifier Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14102970
  25. Accuracy Improvement of Power Transformer Faults Diagnostic Using KNN Classifier With Decision Tree Principle IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3086135
  26. Feed-Forward Neural Networks for Failure Mechanics Problems Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11146483
  27. Particle Swarm Optimization and Intelligence Advances in computational intelligence and robotics book series · IGI Global · 2010 10.4018/978-1-61520-666-7
  28. Engineering Optimization 2010 10.1002/9780470640425