<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    wjet
   </journal-id>
   <journal-title-group>
    <journal-title>
     World Journal of Engineering and Technology
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2331-4222
   </issn>
   <issn publication-format="print">
    2331-4249
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/wjet.2025.133028
   </article-id>
   <article-id pub-id-type="publisher-id">
    wjet-143833
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Chemistry 
     </subject>
     <subject>
       Materials Science, Engineering
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Adaptive Artificial Neural Network (ADALINE) Dynamic Phase Error Estimation Based on the Average Correlation Coefficient
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Gabriel
      </surname>
      <given-names>
       Musonda
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Charles
      </surname>
      <given-names>
       Lubobya
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Ackim
      </surname>
      <given-names>
       Zulu
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aDepartment of Electrical Engineering, School of Engineering, University of Zambia, Lusaka, Zambia
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     20
    </day> 
    <month>
     06
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    13
   </volume> 
   <issue>
    03
   </issue>
   <fpage>
    440
   </fpage>
   <lpage>
    461
   </lpage>
   <history>
    <date date-type="received">
     <day>
      30,
     </day>
     <month>
      April
     </month>
     <year>
      2025
     </year>
    </date>
    <date date-type="published">
     <day>
      30,
     </day>
     <month>
      April
     </month>
     <year>
      2025
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      30,
     </day>
     <month>
      June
     </month>
     <year>
      2025
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    This paper presents a new anomaly detection scheme based on modified DFT Adaptive Neural Network (ADALINE) for the determination of time skew error and frequency drift in the Phasor Measurement Unit (PMU). The modified DFT/ADALINE algorithm is used to determine time stamp errors and frequency drift errors through the determination of the change in the phase angle in terms of the correlation coefficient. The correlation coefficient, δ
    <sub>(</sub>
    <sub>φ</sub>
    <sub>0,</sub> 
    <sub>t</sub>
    <sub>)</sub> is used to determine the relationship in the change of the phase angle, ∆φ
    <sub>0</sub> with respect to the change in the reporting time, ∆t. Further, the correlation coefficient, δ
    <sub>(</sub>
    <sub>φ</sub>
    <sub>0,</sub> 
    <sub>f</sub>
    <sub>)</sub> is used to determine the relationship between the change of the phase angle, ∆φ
    <sub>0</sub> with respect to drift in the grid frequency, ∆f. The parallel ADALINE algorithms compute the correlation coefficient in the range −1 to 1 from which values of δ ≥ 0.8 represent normal correlation and δ ≤ 0.799 represents data anomaly in the grid frequency or the reporting time. ADALINE flags the values for δ ≤ 0799 only thereby reducing the memory requirements of the PMU. The results of PMU/ADALINE simulation in MATLAB/Simulink, show a smooth system response around the optimal operating point of 49.85 Hz at the maximum correlation coefficient value of 0.9974. It further shows that the correlation coefficient is above 0.8 for grid frequencies in the 49.55 Hz to 50.45 Hz range, signifying normal control area operating frequencies in accordance with South African Grid System Operation Code. It can also be seen that a drift in frequency produces a corresponding time error signifying the relationship between the time skew error and frequency drift with the phase angle error in the PMU. Correlation coefficient values below 0.8 signify data Anomalies for the grid frequency outliers i.e. corresponding to grid frequencies below 49.5 Hz and above 50.5 Hz. In conclusion, our proposed PMU/ADALINE model guarantees enhanced accuracy and precision of measurement devoid of doing a massive process of iteration as it employees deep learning AI to compute the correlation coefficient signifying the presence of time skew and grid frequency error.
   </abstract>
   <kwd-group> 
    <kwd>
     DFT
    </kwd> 
    <kwd>
      Adaptive Neural Network (ADALINE)
    </kwd> 
    <kwd>
      Correlation Coefficient
    </kwd> 
    <kwd>
      Time Skew Error
    </kwd> 
    <kwd>
      Frequency Drift
    </kwd> 
    <kwd>
      Phase Angle Error
    </kwd> 
    <kwd>
      Phasor Measurement Unit (PMU)
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Phasor Measurement Technology has established itself among the best Intelligent Electronic Devices (IEDs) for monitoring, protection and control in the power system. In power systems where Phasor Measurement Technology is deployed, it has been established that the external clock signal from the Global Positioning System (GPS) controls timing synchronization of sampled values (SV) and maintains the Total Vector Error (TVE) below the 1% threshold <xref ref-type="bibr" rid="scirp.143833-1">
     [1]
    </xref>. The internal clock of the Phasor Measurement Unit (PMU) is disciplined by the GPS signal to ensure accuracy in the sampled values and phase angle estimation. As such, issues relating to the accuracy of reported time stamps are among the most difficult to detect and address in Phasor Measurement Technology <xref ref-type="bibr" rid="scirp.143833-2">
     [2]
    </xref>. In modern power systems, a data processing algorithm, known as the state estimator, is used to convert redundant measurement data into an accurate estimate of the power grid system. The state estimator works perfectly in the Supervisory Control and Data Acquisition (SCADA); a system that is both asynchronous and has a low update rate. In Wide Area Monitoring, Protection and Control (WAMPAC) systems that are synchronous and have high update rates, the state estimator falls short of providing accurate SVs. Even small phase shifts can downgrade the performance of the state estimator, which is an indication of its inability to effectively improve the performance of the PMU <xref ref-type="bibr" rid="scirp.143833-3">
     [3]
    </xref>. GPS is the most popular choice for the time synchronization problem as it provides sub 100 nanosecond accuracies, and is often used where precision time and frequency synchronization is critical <xref ref-type="bibr" rid="scirp.143833-4">
     [4]
    </xref>. In PMUs where GPS is used, the Universal Time Reference (UTC) is applied to time stamp the signal. The phase difference between the UTC reference unit and the sinusoid is used as the mark of the stamp. A positive phase angle is obtained if the UTC reference is after the peak sinusoid and a negative phase angle is obtained if the UTC reference mark is before the peak sinusoid <xref ref-type="bibr" rid="scirp.143833-5">
     [5]
    </xref>. Synchronization issues between different PMU devices result from discrepancies in their internal clocks and their disciplining, that are responsible for generating time stamps for the data <xref ref-type="bibr" rid="scirp.143833-6">
     [6]
    </xref>. Therefore, alternative sources of time synchronization to the PMU must conform to the standard set by the GPS.</p>
   <p>The Total Vector Error (TVE) provides a measurement standard for the SVs that can be used to determine the suitability of the time synchronization source. It is a measure of steady-state amplitude and phase angle errors. The total vector error (TVE) combines both magnitude and phase errors since the synchrophasor measurement errors could be originated from inaccuracy of either the magnitude, phase, or both <xref ref-type="bibr" rid="scirp.143833-7">
     [7]
    </xref>. One-cycle Discrete Fourier Transform (DFT) is usually applied in algorithms that are used to determine the TVE. The DFT algorithm usually has issues when it is used to estimate TVE of signals with dynamic amplitude and phase variations <xref ref-type="bibr" rid="scirp.143833-8">
     [8]
    </xref>. DFT is not robust enough when it encounters certain disturbances such as decaying DC offset. These disturbances can cause undesirable oscillations and time delay in the DFT results <xref ref-type="bibr" rid="scirp.143833-9">
     [9]
    </xref>. In cases where the frequency of the power grid deviates from its nominal value, the raw application of the DFT approach can lead to large errors during phasor estimation <xref ref-type="bibr" rid="scirp.143833-10">
     [10]
    </xref>. Numerous improvements of the DFT algorithm have been developed to correct the problem of frequency spectrum deviation over the years. They include Recursive Discrete Fourier Transform (RDFT), and Non-Recursive Discrete Fourier Transform (NRDFT) <xref ref-type="bibr" rid="scirp.143833-11">
     [11]
    </xref>. Non-DFT algorithms have equally been presented in research involving PMUs; they include the full Weighted Least Square (WLS) technique <xref ref-type="bibr" rid="scirp.143833-12">
     [12]
    </xref>, the Precision Time Protocol (PTP) <xref ref-type="bibr" rid="scirp.143833-13">
     [13]
    </xref>, and the Three-Phase Enhanced Phase-Locked Loop (EPLL) <xref ref-type="bibr" rid="scirp.143833-10">
     [10]
    </xref>. Anomaly Detection techniques such as the Long Short-Term Memory (LSTM) <xref ref-type="bibr" rid="scirp.143833-14">
     [14]
    </xref>, Convolution Neural Networks (CNN) <xref ref-type="bibr" rid="scirp.143833-15">
     [15]
    </xref>, and the Generative Adversarial Networks (GANs) <xref ref-type="bibr" rid="scirp.143833-16">
     [16]
    </xref> have equally been presented in literature to correct errors in dynamic phasor estimation. The Non-DFT algorithms were designed to enhance accuracy and precision of measurement devoid of doing a massive process of iteration. In this paper, section 1 carries the introduction of the work presented. In section 2, basic phasor equations are presented to explain the time skew error concept. In section 3, a hybrid AI based anomaly detection and Phase-locked loop architecture for the PMU is presented. In section 4, performance evaluation of the PMU prototype using real time measurement data is presented. The conclusion of the work is presented in section 5.</p>
  </sec><sec id="s2">
   <title>2. Related Work</title>
   <p>Anomaly detection techniques using artificial intelligence (AI) have been deployed in a number of electrical engineering related works. Mohammed Q. Mohammed et al. <xref ref-type="bibr" rid="scirp.143833-17">
     [17]
    </xref>, used single-class Support Vector Machine (SVM) to detect data anomalies in wireless networks. The results show that SVM properly detected and mitigated cybersecurity risks in wireless networks with a precision value of 0.0922.</p>
   <p>Shiyuan Wang et al., <xref ref-type="bibr" rid="scirp.143833-18">
     [18]
    </xref> used Artificial Neural Network (ANN) to investigate detection and classification, and adaptive condition-awareness high-fidelity measurements in real-time transient stability analysis (TSA). The results show the scheme produced classification accuracy on multiple classes of prevailing conditions in the power grid which accordingly improves the measurement quality and attains promising performance when employed in power system applications using synchrophasor measurements.</p>
   <p>Yuval Abraham Regev et al. <xref ref-type="bibr" rid="scirp.143833-19">
     [19]
    </xref> deployed Long Short Term Memory (LSTM) and Convolutional Neural Network (CNN) to investigate data anomalies in the PMU caused by physical faults on the power grid, as well as disturbances, errors, and cyber-attacks in the cyber area. The investigation was conducted by training the PMU model using Mean Squared Error (MSE) that heavily punishes the outliers in the data set. The results of this investigation show satisfactory results in the range of 78.79% to 96.89%.</p>
   <p>Watit Benjapolakul et al. <xref ref-type="bibr" rid="scirp.143833-20">
     [20]
    </xref> proposed the development of a PMU prototype based on the Bagged Averaging of Multiple Linear Regression model, which handles and fulfills the missing values in synchronized frequency data measurement fast and efficiently. The results show that the model was able to recover missing PMUs data that is acceptable for many real-time applications and to interpret the effects of different grid regions to an event using PMUs data.</p>
   <p>This research proposes the application of Adaptive Artificial Neural Network (ADALINE) in the PMU to determine the numerical relationship between time skew error and vector frequency drift, and phase angle error using the correlation coefficient. A ADALINE Time and Frequency Algorithm is applied to determine; the relationship between time skew error and the phase angle error, and also the relationship between the input vector frequency drift and the phase angle error. The results show that the model is able to punish frequency outliers, input vector phase errors above 50˚, all through maintaining a correlation coefficient of 0.8 and above.</p>
  </sec><sec id="s3">
   <title>3. Literature Review</title>
   <p>The time skew error is caused by error in the GPS signal or drift in the input vector frequency and results in phase angle error in the vector output of the PMU. The output of the PMU is called a synchrophasor. The synchrophasor is defined as “a phasor calculated from data samples using a standard time signal as the reference for the measurement” <xref ref-type="bibr" rid="scirp.143833-21">
     [21]
    </xref>. The GPS provides the reference time signal required in the creation of a synchrophasor by the PMU.</p>
   <p>The phasor can be represented as either a sine or a cosine function as shown below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        sin 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (1)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
     </mrow> 
    </math> is the amplitude of the signal 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math>, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       ω 
     </mi> 
    </math> is the angular velocity ( 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mo>
        = 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math>, where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       f 
     </mi> 
    </math> is the frequency), and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> is the phase angle compared with 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        sin 
      </mi> 
      <mi>
        ω 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math>.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (2)</p>
   <p>It is quite complicated to analyze quantities in the time domain form of Equation (1) and Equation (2). Therefore, an alternative method of representing the function is presented below. This method of synchrophasor presentation is called the Euler’s formula.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          cos 
        </mi> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mi>
        j 
      </mi> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          sin 
        </mi> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         X 
       </mi> 
       <mi>
         r 
       </mi> 
      </msub> 
      <mo>
        + 
      </mo> 
      <mi>
        j 
      </mi> 
      <msub> 
       <mi>
         X 
       </mi> 
       <mi>
         i 
       </mi> 
      </msub> 
     </mrow> 
    </math> (3)</p>
   <p>Equation (3) presents the phasor signal in terms of the real and imaginary parts denoted as 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         X 
       </mi> 
       <mi>
         r 
       </mi> 
      </msub> 
      <mo>
        + 
      </mo> 
      <mi>
        j 
      </mi> 
      <msub> 
       <mi>
         X 
       </mi> 
       <mi>
         i 
       </mi> 
      </msub> 
     </mrow> 
    </math>. Thus a sinusoidal varying signal such as in Equation (1) or Equation (2) can be considered to be either the real or the imaginary part of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math>, depending on whether the cosine or sine function is being considered.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
       </mrow> 
      </msup> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </msup> 
      <mo>
        = 
      </mo> 
      <mi>
        p 
      </mi> 
      <mi>
        h 
      </mi> 
      <mi>
        a 
      </mi> 
      <mi>
        s 
      </mi> 
      <mi>
        o 
      </mi> 
      <mi>
        r 
      </mi> 
     </mrow> 
    </math> (4)</p>
   <p>Since, the angular velocity is the same for all the elements in a circuit, thus a synchropasor can be described by the equation below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mo>
        ∠ 
      </mo> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> (5)</p>
   <p>The exponential form of the cosine function. i.e. 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          ω 
        </mi> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math>, can then be described by the equation below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         [ 
       </mo> 
       <mrow> 
        <mfrac> 
         <mn>
           1 
         </mn> 
         <mn>
           2 
         </mn> 
        </mfrac> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msup> 
           <mtext>
             e 
           </mtext> 
           <mrow> 
            <mi>
              j 
            </mi> 
            <mrow> 
             <mo>
               ( 
             </mo> 
             <mrow> 
              <mi>
                ω 
              </mi> 
              <mi>
                t 
              </mi> 
              <mo>
                + 
              </mo> 
              <msub> 
               <mi>
                 φ 
               </mi> 
               <mn>
                 0 
               </mn> 
              </msub> 
             </mrow> 
             <mo>
               ) 
             </mo> 
            </mrow> 
           </mrow> 
          </msup> 
          <mo>
            + 
          </mo> 
          <msup> 
           <mtext>
             e 
           </mtext> 
           <mrow> 
            <mo>
              − 
            </mo> 
            <mi>
              j 
            </mi> 
            <mo stretchy="false">
              ( 
            </mo> 
            <mi>
              ω 
            </mi> 
            <mi>
              t 
            </mi> 
            <mo>
              + 
            </mo> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
           </mrow> 
          </msup> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
       <mo>
         ] 
       </mo> 
      </mrow> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mn>
         1 
       </mn> 
       <mn>
         2 
       </mn> 
      </mfrac> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
      <mo>
        + 
      </mo> 
      <mfrac> 
       <mn>
         1 
       </mn> 
       <mn>
         2 
       </mn> 
      </mfrac> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mo>
          − 
        </mo> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math> (6)</p>
   <p>Thus 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is the sum of two phasors, each with half the amplitude, with one having a positive value of angular velocity (i.e. rotating anticlockwise) and a positive value of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math>, and the other having a negative value of angular velocity and a negative value of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> <xref ref-type="bibr" rid="scirp.143833-22">
     [22]
    </xref>. It is safe to conclude from this result that 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math></p>
   <p>is the fundamental signal while 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mfrac> 
       <mn>
         1 
       </mn> 
       <mn>
         2 
       </mn> 
      </mfrac> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mfrac> 
       <mn>
         1 
       </mn> 
       <mn>
         2 
       </mn> 
      </mfrac> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <msup> 
       <mtext>
         e 
       </mtext> 
       <mrow> 
        <mo>
          − 
        </mo> 
        <mi>
          j 
        </mi> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            ω 
          </mi> 
          <mi>
            t 
          </mi> 
          <mo>
            + 
          </mo> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msup> 
     </mrow> 
    </math> are the harmonics. This result shows that if the phase shift is associated only to a lack of</p>
   <p>time synchronization, it is possible to convert a negative phase angle measurement to a positive phase angle measurement by analyzing the signal harmonics. The value of phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> depends on the time scale, at the time instant of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        t 
      </mi> 
      <mo>
        = 
      </mo> 
      <mn>
        0 
      </mn> 
     </mrow> 
    </math>. Provided that the definition of the above phasor is based on the angular frequency ω, the elaboration with other phasors must be realized with the same frequency and time instant <xref ref-type="bibr" rid="scirp.143833-23">
     [23]
    </xref>.</p>
   <p>The phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> is the difference between the instantaneous phase angle of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> and a reference cosine signal running at the nominal frequency of the grid aligned to Coordinated Universal Time (UTC) <xref ref-type="bibr" rid="scirp.143833-24">
     [24]
    </xref>. This phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> can assume a positive value if the UTC reference is after the pick sinusoid of the signal. Negative value is obtained when the UTC reference is before the pick sinusoid of the signal.</p>
   <p>For analysis of signals with dynamic amplitude and phase variations, the signal in Equation (2) can be written as</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          2 
        </mn> 
        <mi>
          π 
        </mi> 
        <msub> 
         <mi>
           f 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          2 
        </mn> 
        <mi>
          π 
        </mi> 
        <mstyle displaystyle="true"> 
         <mrow> 
          <mo>
            ∫ 
          </mo> 
          <mrow> 
           <mi>
             a 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mi>
              t 
            </mi> 
            <mo>
              ) 
            </mo> 
           </mrow> 
           <mtext>
             d 
           </mtext> 
           <mi>
             t 
           </mi> 
          </mrow> 
         </mrow> 
        </mstyle> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (7)</p>
   <p>Where;</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        a 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        − 
      </mo> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math></p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        f 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> are the nominal and the actual frequency, respectively, and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        a 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is the function of time that indicates the deviation of the actual from the nominal frequency. For a fixed frequency deviation, the input signal of Equation (7) can be represented by Equation (8) below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mi>
            π 
          </mi> 
          <msub> 
           <mi>
             f 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
          <mi>
            π 
          </mi> 
          <mi>
            Δ 
          </mi> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (8)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math> is the off-nominal frequency and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math> represents the fixed frequency deviation.</p>
   <p>In a balanced three-phase system operating at a nominal frequency, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> the signal waveforms can be represented by the equations below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          2 
        </mn> 
        <mi>
          π 
        </mi> 
        <msub> 
         <mi>
           f 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (9)</p>
   <p>The time domain sample of the signal in Equation (9) can be represented by;</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         z 
       </mi> 
       <mi>
         n 
       </mi> 
      </msub> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mfrac> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mi>
            π 
          </mi> 
          <mi>
            n 
          </mi> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </mfrac> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (10)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       N 
     </mi> 
    </math> is the number of samples and is an integer multiple of fundamental frequency 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       n 
     </mi> 
    </math> represents the sample index in the array which ranges from 0 to 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        N 
      </mi> 
      <mo>
        − 
      </mo> 
      <mn>
        1 
      </mn> 
     </mrow> 
    </math> <xref ref-type="bibr" rid="scirp.143833-25">
     [25]
    </xref>.</p>
   <p>For 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       N 
     </mi> 
    </math> number of samples, the expression below applies</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Z 
      </mi> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mn>
         1 
       </mn> 
       <mi>
         N 
       </mi> 
      </mfrac> 
      <mstyle displaystyle="true"> 
       <msubsup> 
        <mo>
          ∑ 
        </mo> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msubsup> 
       <mrow> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            cos 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
          <mo>
            − 
          </mo> 
          <mi>
            j 
          </mi> 
          <mi>
            sin 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (11)</p>
   <p>The Discrete Fourier Transform (DFT) of the signal can be determined by the equation</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mi>
          o 
        </mi> 
        <mi>
          m 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          n 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <msqrt> 
         <mn>
           2 
         </mn> 
        </msqrt> 
       </mrow> 
       <mi>
         N 
       </mi> 
      </mfrac> 
      <mstyle displaystyle="true"> 
       <msubsup> 
        <mo>
          ∑ 
        </mo> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msubsup> 
       <mrow> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            cos 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
          <mo>
            − 
          </mo> 
          <mi>
            j 
          </mi> 
          <mi>
            sin 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (13)</p>
   <p>In this case, the real and imaginary part of the expression can be given by the expressions below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <msqrt> 
         <mn>
           2 
         </mn> 
        </msqrt> 
       </mrow> 
       <mi>
         N 
       </mi> 
      </mfrac> 
      <mstyle displaystyle="true"> 
       <msubsup> 
        <mo>
          ∑ 
        </mo> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msubsup> 
       <mrow> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            cos 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (14)</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mrow> 
        <mi>
          i 
        </mi> 
        <mi>
          m 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          g 
        </mi> 
        <mi>
          i 
        </mi> 
        <mi>
          n 
        </mi> 
        <mi>
          a 
        </mi> 
        <mi>
          r 
        </mi> 
        <mi>
          y 
        </mi> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <msqrt> 
         <mn>
           2 
         </mn> 
        </msqrt> 
       </mrow> 
       <mi>
         N 
       </mi> 
      </mfrac> 
      <mstyle displaystyle="true"> 
       <msubsup> 
        <mo>
          ∑ 
        </mo> 
        <mrow> 
         <mi>
           n 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           0 
         </mn> 
        </mrow> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msubsup> 
       <mrow> 
        <msub> 
         <mi>
           z 
         </mi> 
         <mi>
           n 
         </mi> 
        </msub> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mi>
            sin 
          </mi> 
          <mfrac> 
           <mrow> 
            <mn>
              2 
            </mn> 
            <mi>
              π 
            </mi> 
            <mi>
              n 
            </mi> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </mfrac> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (15)</p>
   <p>For the off-nominal frequency signal of Equation (8) above, the time domain sample can be represented by</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         z 
       </mi> 
       <mi>
         n 
       </mi> 
      </msub> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          2 
        </mn> 
        <mi>
          π 
        </mi> 
        <msub> 
         <mi>
           f 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
        <msub> 
         <mi>
           T 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
        <mo>
          + 
        </mo> 
        <mn>
          2 
        </mn> 
        <mi>
          π 
        </mi> 
        <mi>
          Δ 
        </mi> 
        <mi>
          f 
        </mi> 
        <msub> 
         <mi>
           T 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (16)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         z 
       </mi> 
       <mi>
         n 
       </mi> 
      </msub> 
     </mrow> 
    </math> are the samples taken in one window with length of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        N 
      </mi> 
      <msub> 
       <mi>
         T 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
     </mrow> 
    </math>, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          = 
        </mo> 
        <mn>
          0 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          1 
        </mn> 
        <mo>
          , 
        </mo> 
        <mn>
          2 
        </mn> 
        <mo>
          , 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
        <mo>
          , 
        </mo> 
        <mi>
          N 
        </mi> 
        <mo>
          − 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> <xref ref-type="bibr" rid="scirp.143833-26">
     [26]
    </xref>.</p>
   <p>The discrete Fourier transform (DFT) estimation technique is the basic, simplest, and most popular algorithm for phasor computation <xref ref-type="bibr" rid="scirp.143833-27">
     [27]
    </xref>. In DFT-PMUs Time-skew error is normally determined in terms of phase-angle error. In modern power systems where abnormal conditions arise from the injection of renewal energy into the grid, off-nominal frequency conditions circumstances lead to serious positive-phase sequence measurement errors. In <xref ref-type="bibr" rid="scirp.143833-28">
     [28]
    </xref>, the Phase-locked loop (PLL) is used to determine the performance analysis of the PMU under grid fault conditions. The PLL configuration shown in <xref ref-type="fig" rid="fig1">
     Figure 1
    </xref> below treats the phase angle error as a data anomaly. The phase detector calculates the time-phase angle difference between the input signal and the output signal. The error signal becomes the input to the LPF to determine the stability and the overall response of the system.</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>Figure 1. Single-phase Phase-Locked Loop (PLL) block diagram.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId119.jpeg?20250703034243" />
   </fig>
   <p>This technique, however, suffers from inaccuracies under grid voltage harmonics, inter-harmonics and DC-offset <xref ref-type="bibr" rid="scirp.143833-29">
     [29]
    </xref>. To mitigate this problem, Koteswara Rao et al. <xref ref-type="bibr" rid="scirp.143833-30">
     [30]
    </xref> proposed the use of a combined amplitude and phase modulated signal model to approximate frequency ramp, sudden change in amplitude and phase in terms of amplitude and phase modulation signal for a small interval of time using feed forward Artificial Neural Network (ANN). ANN process inputs via linear combinations of weights and biases while biological neurons (dynamic) exhibit more dynamic and nonlinear behaviors <xref ref-type="bibr" rid="scirp.143833-31">
     [31]
    </xref>. ANN suffers from high computational complexity and hardware implementation. A modified Gauss-Newton ADALINE (MGNA) that uses recursive formulation and reduces the computational burden is proposed in <xref ref-type="bibr" rid="scirp.143833-32">
     [32]
    </xref>. It comes with the promise of determining the fundamental and harmonic phasors while maintaining simple hardware implementation and computation complexity. ADALINE is a linear AI algorithm that can be implemented in multiple arrays, called MADALINE to deal with non-linear grid conditions. The MADALINE concept is adopted in this research.</p>
  </sec><sec id="s4">
   <title>4. Hypothesis and Algorithms</title>
   <p>Our hypothesis is that if a GPS signal error or frequency error occurs in the electric grid, the PMU will detect the change in the dynamic conditions to ascertain the correlation of these grid conditions with the phase angle change in the measured vector signal. There are correlations in a single change of a grid parameter or multiple changes in different grid parameters to the phase angle error that can be investigated using ADALINE AI. To investigate these correlations, the linear product correlation coefficient formula is used:</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        r 
      </mi> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
            <mo>
              − 
            </mo> 
            <mover accent="true"> 
             <mi>
               x 
             </mi> 
             <mo>
               ¯ 
             </mo> 
            </mover> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               y 
             </mi> 
             <mi>
               i 
             </mi> 
            </msub> 
            <mo>
              − 
            </mo> 
            <mover accent="true"> 
             <mi>
               y 
             </mi> 
             <mo>
               ¯ 
             </mo> 
            </mover> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mrow> 
        <msqrt> 
         <mrow> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <mover accent="true"> 
                 <mi>
                   x 
                 </mi> 
                 <mo>
                   ¯ 
                 </mo> 
                </mover> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   y 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <mover accent="true"> 
                 <mi>
                   y 
                 </mi> 
                 <mo>
                   ¯ 
                 </mo> 
                </mover> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math></p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       r 
     </mi> 
    </math> is an indicator of how well the points 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           x 
         </mi> 
         <mi>
           i 
         </mi> 
        </msub> 
        <mo>
          , 
        </mo> 
        <msub> 
         <mi>
           y 
         </mi> 
         <mi>
           i 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> fit a straight line <xref ref-type="bibr" rid="scirp.143833-33">
     [33]
    </xref>. 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       r 
     </mi> 
    </math> is a number between −1 and 1. In this work, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       r 
     </mi> 
    </math> is used a measure the correlation between the change in the input vector frequency and the change in the measured vector phase angle on one hand; and the error in the time stamp to the change in the measured vector phase angle by the PMU on the other hand. The computation complexity is reduced by the application of the ADALINE.</p>
   <p>For a fixed frequency deviation, the phasor signal can be represented by the equation below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        z 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         Z 
       </mi> 
       <mi>
         m 
       </mi> 
      </msub> 
      <mi>
        cos 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <mn>
            2 
          </mn> 
          <mi>
            π 
          </mi> 
          <msub> 
           <mi>
             f 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            + 
          </mo> 
          <mn>
            2 
          </mn> 
          <mi>
            π 
          </mi> 
          <mi>
            Δ 
          </mi> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
        <mi>
          t 
        </mi> 
        <mo>
          + 
        </mo> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> (17)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        + 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math> is the off-nominal frequency and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math> represents the fixed frequency deviation. The phase angle deviation 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> from a time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
     </mrow> 
    </math> to 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
     </mrow> 
    </math> can be derived from Equation (18) below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mstyle displaystyle="true"> 
       <mrow> 
        <msubsup> 
         <mo>
           ∫ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             1 
           </mn> 
          </msub> 
         </mrow> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             2 
           </mn> 
          </msub> 
         </mrow> 
        </msubsup> 
        <mrow> 
         <mrow> 
          <mo>
            [ 
          </mo> 
          <mrow> 
           <mi>
             Δ 
           </mi> 
           <mi>
             f 
           </mi> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              f 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            ] 
          </mo> 
         </mrow> 
         <mtext>
           d 
         </mtext> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (18)</p>
   <p>And the relative phase angle can be measured from Equation (19) below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        − 
      </mo> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          f 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> (19)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> is the measured phase angle and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          f 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> is the phase angle of the reference PMU. The PMU reporting time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math> can be represented by the equation</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
      <mo>
        − 
      </mo> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
     </mrow> 
    </math> (20)</p>
   <p>Therefore, the variation of the relative phase angle will be given by Equation (21) below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        − 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          f 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> (21)</p>
   <p>Further, the change in relative phase angle can represented by Equation (22) below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mstyle displaystyle="true"> 
       <mrow> 
        <msubsup> 
         <mo>
           ∫ 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             2 
           </mn> 
          </msub> 
          <mo>
            − 
          </mo> 
          <mi>
            Δ 
          </mi> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mrow> 
          <msub> 
           <mi>
             t 
           </mi> 
           <mn>
             2 
           </mn> 
          </msub> 
         </mrow> 
        </msubsup> 
        <mrow> 
         <mrow> 
          <mo>
            [ 
          </mo> 
          <mrow> 
           <mi>
             Δ 
           </mi> 
           <mi>
             f 
           </mi> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              f 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            ] 
          </mo> 
         </mrow> 
         <mtext>
           d 
         </mtext> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </mrow> 
      </mstyle> 
     </mrow> 
    </math> (22)</p>
   <p>In the event of time skew error in the PMU, the inaccurate time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
     </mrow> 
    </math> is defined by the expression below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math> (23)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
     </mrow> 
    </math> is the shift in UTC time, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       t 
     </mi> 
    </math> is the UTC reference time, and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       τ 
     </mi> 
    </math> is the deviation from the UTC time.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mo>
        ⋅ 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math> (24)</p>
   <p>
    <xref ref-type="bibr" rid="scirp.143833-"></xref>Equation (24) is used to detect anomalies in the timestamps of the synchrophasor. Where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is the variation of relative phase angle with timestamp shifting, 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        f 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> denotes the instant frequency of measured signal at the time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       t 
     </mi> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is frequency variation between time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       t 
     </mi> 
    </math> <xref ref-type="bibr" rid="scirp.143833-34">
     [34]
    </xref>. The outputs of the PMU are fed to the ADALINE to compute the correlation coefficient to be used for determination of normal and abnormal grid conditions as illustrated in <xref ref-type="fig" rid="fig2">
     Figure 2
    </xref> below.</p>
   <fig id="fig2" position="float">
    <label>Figure 2</label>
    <caption>
     <title>Figure 2. AI Based PMU Block diagram.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId181.jpeg?20250703034244" />
   </fig>
   <p>For single input ADALINE, one variable one output scenario, Equation (25) will be used to determine the phase angle error with respect to the shift in the time stamp i.e. time stamp shifting condition.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mi>
        f 
      </mi> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math> (25)</p>
   <p>The time skew error is simulated by inducing a shift in time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       τ 
     </mi> 
    </math> as a function of the drift in the input vector frequency. The adaptive linear neuron (ADALINE) computes the correlation coefficient for this condition.</p>
   <p>It can be observed that 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
     </mrow> 
    </math> can be updated iteratively. The formulations for updating the time shift by substituting the relative change in UTC time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math> in (25) is as shown below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        3 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          4 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        4 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         t 
       </mi> 
       <mi>
         s 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        t 
      </mi> 
      <mo>
        + 
      </mo> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math> (26)</p>
   <p>To determine the correlation between the change in the phase angle and the shift in the time, the equation below is used <xref ref-type="bibr" rid="scirp.143833-34">
     [34]
    </xref>.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              , 
            </mo> 
            <mi>
              t 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </msub> 
       </mrow> 
       <mrow> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
        </msub> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mi>
           t 
         </mi> 
        </msub> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math> (27)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       r 
     </mi> 
    </math> is the correlation factor, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> is the covariance, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mrow> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
     </mrow> 
    </math> are</p>
   <p>the phase angle and time respective standard deviations. These parameters are defined in the equations below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mrow> 
              <mi>
                r 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                f 
              </mi> 
             </mrow> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               t 
             </mi> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               t 
             </mi> 
             <mn>
               1 
             </mn> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mrow> 
        <msqrt> 
         <mrow> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mn>
                   0 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mrow> 
                  <mi>
                    r 
                  </mi> 
                  <mi>
                    e 
                  </mi> 
                  <mi>
                    f 
                  </mi> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   t 
                 </mi> 
                 <mn>
                   2 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   t 
                 </mi> 
                 <mn>
                   1 
                 </mn> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math> (28)</p>
   <p>The correlation coefficient will be used to ascertain how the phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math></p>
   <p>correlates with the time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       t 
     </mi> 
    </math>. 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≥ 
      </mo> 
      <mn>
        0.8 
      </mn> 
     </mrow> 
    </math>, represents normal grid conditions i.e.</p>
   <p>phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> and the time 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       t 
     </mi> 
    </math>. Since the equation for the determination of the</p>
   <p>change in the phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is linear, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math> represents the lack of correlation between the variables. In this work, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math> is treated as a</p>
   <p>data anomaly.</p>
   <p>For single input ADALINE, one variable one output scenario, Equation (29) will be used to determine the phase angle change with variable frequency i.e. frequency shifting condition.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           f 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mo>
        ⋅ 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math> (29)</p>
   <p>The frequency drift error is simulated by inducing a shift in frequency. 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math>ranging from −0.55 to 0.55 off the nominal 50 hz frequency. The adaptive linear neuron (ADALINE) computes the correlation coefficient for this condition.</p>
   <p>It can be observed that the frequency, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       f 
     </mi> 
    </math> can be updated iteratively. The formulations for updating the shift in the frequency 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       f 
     </mi> 
    </math> by substituting the relative change in frequency 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        f 
      </mi> 
     </mrow> 
    </math> in (30) is as shown below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          1 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          2 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          3 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        3 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mn>
          4 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mn>
        4 
      </mn> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         t 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        f 
      </mi> 
      <mo>
        + 
      </mo> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mi>
          n 
        </mi> 
        <mo>
          + 
        </mo> 
        <mo>
          ⋯ 
        </mo> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math> (30)</p>
   <p>To determine the correlation between the change in the phase angle and the shift in the frequency, the equation below is used <xref ref-type="bibr" rid="scirp.143833-34">
     [34]
    </xref></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              , 
            </mo> 
            <mi>
              f 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </msub> 
       </mrow> 
       <mrow> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
         </mrow> 
        </msub> 
        <msub> 
         <mi>
           σ 
         </mi> 
         <mi>
           f 
         </mi> 
        </msub> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math> (31)</p>
   <p>where 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       r 
     </mi> 
    </math> is the correlation factor, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> is the covariance, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mrow> 
        <msub> 
         <mi>
           φ 
         </mi> 
         <mn>
           0 
         </mn> 
        </msub> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> and 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         σ 
       </mi> 
       <mi>
         f 
       </mi> 
      </msub> 
     </mrow> 
    </math> are</p>
   <p>the phase angle and time respective standard deviations. These parameters are defined in the equations below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mrow> 
              <mi>
                r 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                f 
              </mi> 
             </mrow> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               f 
             </mi> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <mi>
              f 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mrow> 
        <msqrt> 
         <mrow> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mn>
                   0 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mrow> 
                  <mi>
                    r 
                  </mi> 
                  <mi>
                    e 
                  </mi> 
                  <mi>
                    f 
                  </mi> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   f 
                 </mi> 
                 <mn>
                   2 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <mi>
                  f 
                </mi> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math> (32)</p>
   <p>The correlation coefficient will be used to ascertain how the phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math></p>
   <p>correlates with the frequency, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       f 
     </mi> 
    </math>. If 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≥ 
      </mo> 
      <mn>
        0.8 
      </mn> 
     </mrow> 
    </math> shows normal correlation</p>
   <p>between the phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
     </mrow> 
    </math> and the frequency, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       f 
     </mi> 
    </math>. Since the equation for the</p>
   <p>determination of the change in the phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math> is linear, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math></p>
   <p>represents the lack of correlation between the variables. In this work, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math></p>
   <p>is treated as a data anomaly.</p>
  </sec><sec id="s5">
   <title>5. Methodology</title>
   <p>The test signal can be calculated and implemented to distinguish between a real fault situation and a normal operating condition through the computation of the correlation factor for the change in the frequency and the phase angle. The use of ADALINE AI in the configuration utilizes deep learning of the grid operating conditions thereby increasing measurement accuracy and efficiency significantly. This can be implemented in MATLAB/Simulink. In order to calculate the phase-shift, the input signal has to be compared with a reference signal <xref ref-type="bibr" rid="scirp.143833-35">
     [35]
    </xref>. The computation of the phase-shift will be done by the ADALINE algorithm in the PMU.</p>
   <p>To validate the application of the ADALINE in the determination of the correlation coefficient of the frequency drift and time-skew error to the change in the phase angle error, the PMU prototype is simulated in MATLAB/Simulink as shown in <xref ref-type="fig" rid="fig3">
     Figure 3
    </xref> below.</p>
   <fig id="fig3" position="float">
    <label>Figure 3</label>
    <caption>
     <title>Figure 3. PMU/ADALINE Prototype.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId276.jpeg?20250703034244" />
   </fig>
   <p>
    <xref ref-type="fig" rid="fig4">
     Figure 4
    </xref> shows the ADALINE configuration in MATLAB/Simulink.</p>
   <fig id="fig4" position="float">
    <label>Figure 4</label>
    <caption>
     <title>Figure 4. ADALINE Module in simulink.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId278.jpeg?20250703034244" />
   </fig>
   <p>The PMU/ADALINE prototype is simulated in MATLAB/Simulink for proof of concept. <xref ref-type="fig" rid="fig5">
     Figure 5
    </xref> below shows the algorithm flow chart and frequency error equation.</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           f 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mo>
        ⋅ 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math></p>
   <fig id="fig5" position="float">
    <label>Figure 5</label>
    <caption>
     <title>Figure 5. PMU/ADALINE frequency subsystem flow chart.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId281.jpeg?20250703034245" />
   </fig>
   <p>Step 1. Initialize ADALINE with reference phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          f 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math>, shift in the frequency, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math> with values ranging from −1 to 1hz to estimate the change in phase angle using equation (29).</p>
   <p>Step 2. Calculate the correlation factor 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> using equation (32).</p>
   <p>Step 3. Check if correlation factor 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> exceeds 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math>.</p>
   <p>Step 4. Update 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         f 
       </mi> 
       <mi>
         τ 
       </mi> 
      </msub> 
     </mrow> 
    </math> using (30) until error is achieved.</p>
   <p>Step 5. Continue till the maximum number of iterations are reached.</p>
   <p>Step 6. End.</p>
   <p>
    <xref ref-type="fig" rid="fig6">
     Figure 6
    </xref> below shows the MATLAB/Simulink implementation of the algorithm.</p>
   <fig id="fig6" position="float">
    <label>Figure 6</label>
    <caption>
     <title>Figure 6. Simulink frequency estimation module.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId294.jpeg?20250703034245" />
   </fig>
   <p>The PMU/ADALINE prototype is simulated in MATLAB/Simulink for proof of concept. <xref ref-type="fig" rid="fig7">
     Figure 7
    </xref> below shows the algorithm flow chart and time error equation are provided below;</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <msub> 
         <mi>
           t 
         </mi> 
         <mi>
           s 
         </mi> 
        </msub> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        = 
      </mo> 
      <mi>
        Δ 
      </mi> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          l 
        </mi> 
       </mrow> 
      </msub> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mi>
         t 
       </mi> 
       <mo>
         ) 
       </mo> 
      </mrow> 
      <mo>
        + 
      </mo> 
      <mn>
        2 
      </mn> 
      <mi>
        π 
      </mi> 
      <mi>
        f 
      </mi> 
      <mi>
        Δ 
      </mi> 
      <mi>
        t 
      </mi> 
     </mrow> 
    </math></p>
   <fig id="fig7" position="float">
    <label>Figure 7</label>
    <caption>
     <title>Figure 7. PMU/ADALINE time subsystem flow chart.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId297.jpeg?20250703034245" />
   </fig>
   <p>Step 1. Initialize ADALINE with reference phase angle 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         φ 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          e 
        </mi> 
        <mi>
          f 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math>, shift in the UTC, 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
       τ 
     </mi> 
    </math> with values ranging from 0.1 to 0.2 seconds to estimate the change in phase angle using Equation (26).</p>
   <p>Step 2. Calculate the correlation factor 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> using Equation (28).</p>
   <p>Step 3. Check if correlation factor 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> exceeds 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math>.</p>
   <p>Step 4. Update 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        Δ 
      </mi> 
      <mi>
        τ 
      </mi> 
     </mrow> 
    </math> using (24) until error is achieved.</p>
   <p>Step 5. Continue till the maximum number of iterations are reached.</p>
   <p>Step 6. End.</p>
   <p>
    <xref ref-type="fig" rid="fig8">
     Figure 8
    </xref> below shows the MATLAB/Simulink implementation of the algorithm</p>
   <fig id="fig8" position="float">
    <label>Figure 8</label>
    <caption>
     <title>Figure 8. Simulink time error estimation module.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId310.jpeg?20250703034245" />
   </fig>
   <p>The correlation coefficient is calculated using the equations below</p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mrow> 
              <mi>
                r 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                f 
              </mi> 
             </mrow> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               f 
             </mi> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <mi>
              f 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mrow> 
        <msqrt> 
         <mrow> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mn>
                   0 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mrow> 
                  <mi>
                    r 
                  </mi> 
                  <mi>
                    e 
                  </mi> 
                  <mi>
                    f 
                  </mi> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   f 
                 </mi> 
                 <mn>
                   2 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <mi>
                  f 
                </mi> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math></p>
   <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            t 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mfrac> 
       <mrow> 
        <mstyle displaystyle="true"> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mn>
               0 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               φ 
             </mi> 
             <mrow> 
              <mi>
                r 
              </mi> 
              <mi>
                e 
              </mi> 
              <mi>
                f 
              </mi> 
             </mrow> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <msub> 
             <mi>
               t 
             </mi> 
             <mn>
               2 
             </mn> 
            </msub> 
            <mo>
              − 
            </mo> 
            <msub> 
             <mi>
               t 
             </mi> 
             <mn>
               1 
             </mn> 
            </msub> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
         </mrow> 
        </mstyle> 
       </mrow> 
       <mrow> 
        <msqrt> 
         <mrow> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mn>
                   0 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   φ 
                 </mi> 
                 <mrow> 
                  <mi>
                    r 
                  </mi> 
                  <mi>
                    e 
                  </mi> 
                  <mi>
                    f 
                  </mi> 
                 </mrow> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
          <mstyle displaystyle="true"> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <msup> 
             <mrow> 
              <mrow> 
               <mo>
                 ( 
               </mo> 
               <mrow> 
                <msub> 
                 <mi>
                   t 
                 </mi> 
                 <mn>
                   2 
                 </mn> 
                </msub> 
                <mo>
                  − 
                </mo> 
                <msub> 
                 <mi>
                   t 
                 </mi> 
                 <mn>
                   1 
                 </mn> 
                </msub> 
               </mrow> 
               <mo>
                 ) 
               </mo> 
              </mrow> 
             </mrow> 
             <mn>
               2 
             </mn> 
            </msup> 
           </mrow> 
          </mstyle> 
         </mrow> 
        </msqrt> 
       </mrow> 
      </mfrac> 
     </mrow> 
    </math></p>
   <p>
    <xref ref-type="fig" rid="fig9">
     Figure 9
    </xref> below shows the MATLAB/Simulink implementation of the correlation coefficient computations.</p>
   <fig id="fig9" position="float">
    <label>Figure 9</label>
    <caption>
     <title>Figure 9. Simulink correlation coefficient estimation module.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId315.jpeg?20250703034245" />
   </fig>
  </sec><sec id="s6">
   <title>6. Results and Discussion</title>
   <p>The completeness of the hypothesis of using the correlation coefficient to determine data anomalies in the form grid frequency drift and Time Skew Error was confirmed by the simulation of the model in MATLAB/Simulink. The PMU/ADALINE error computation rate is 0.006 seconds was used in the simulations. The simulation results are presented in <xref ref-type="table" rid="table1">
     Table 1
    </xref>.</p>
   <p>The graph shows a semi-parabolic curve. Average correlation at 49.45 Hz is low at approximately 0.75, increases steadily reaching its peak values in the range 49.80 - 49.85 Hz at the maximum correlation coefficient value of 0.9974. Beyond the 0.9974 peak value, the correlation coefficient steadily declines to 0.7535 at 50.55 Hz. The graph is symmetric around the 0.9974 peak value; signifying a smooth system response around the optimal operating point. The highest correlation zone lies Approximately between 0.996 and 0.997, and covers a narrow band centered just below the 50 Hz threshold; representing the most reliable region for the system. Outside the 50.30 to 49.60 Hz zone, the correlation reduces more rapidly, indicating a fall-off in system performance.</p>
   <table-wrap id="table1">
    <label>
     <xref ref-type="table" rid="table1">
      Table 1
     </xref></label>
    <caption>
     <title>
      <xref ref-type="bibr" rid="scirp.143833-"></xref>Table 1. Correlation coefficient analysis of the input vector frequency error.</title>
    </caption>
    <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
     <tr> 
      <td class="custom-bottom-td acenter" width="18.62%"><p style="text-align:center">Input Vector Freq.</p></td> 
      <td class="custom-bottom-td acenter" width="19.61%"><p style="text-align:center">Mea. Ref. Time (UTC)</p></td> 
      <td class="custom-bottom-td acenter" width="24.50%"><p style="text-align:center">Time Err. Avg.</p></td> 
      <td class="custom-bottom-td acenter" width="20.59%"><p style="text-align:center">Freq. Error Avg.</p></td> 
      <td class="custom-bottom-td acenter" width="16.67%"><p style="text-align:center">Avg. Corr.</p></td> 
     </tr> 
     <tr> 
      <td class="custom-top-td acenter" width="18.62%"><p style="text-align:center">49.45</p></td> 
      <td class="custom-top-td acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="custom-top-td acenter" width="24.50%"><p style="text-align:center">4.485e−4</p></td> 
      <td class="custom-top-td acenter" width="20.59%"><p style="text-align:center">3.584e−1</p></td> 
      <td class="custom-top-td acenter" width="16.67%"><p style="text-align:center">7.522e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.50</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">6.416e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">4.101e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">7.899e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.55</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">7.735e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">4.442e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">8.608e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.60</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">8.520e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">4.588e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.535e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.65</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">8.833e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">4.528e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.892e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.70</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">8.719e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">4.268e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.956e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.75</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">8.200e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">3.824e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.972e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.80</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">7.290e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">3.222e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.974e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.85</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">5.991e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">2.500e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.972e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.90</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">4.315e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">1.703e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.971e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">49.95</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">2.290e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">8.797e−2</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.969e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.00</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.965e−6</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">8.060e−3</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.964e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.05</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−2.512e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−6.452e−2</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.954e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.10</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−5.408e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.253e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.935e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.15</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−7.478e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.708e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.905e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.20</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−9.657e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.976e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.850e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.25</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.146e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−2.047e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.733e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.30</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.279e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.915e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.461e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.35</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.354e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.588e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">9.014e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.40</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.358e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−1.086e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">8.542e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.45</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.267e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">−4.413e−2</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">8.128e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.50</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−1.045e−3</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">3.075e−2</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">7.790e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="18.62%"><p style="text-align:center">50.55</p></td> 
      <td class="acenter" width="19.61%"><p style="text-align:center">0.795</p></td> 
      <td class="acenter" width="24.50%"><p style="text-align:center">−6.783e−4</p></td> 
      <td class="acenter" width="20.59%"><p style="text-align:center">1.114e−1</p></td> 
      <td class="acenter" width="16.67%"><p style="text-align:center">7.535e−1</p></td> 
     </tr> 
    </table>
   </table-wrap>
   <fig id="fig10" position="float">
    <label>Figure 10</label>
    <caption>
     <title>Figure 10. Input vector frequency vs. average correlation coefficient.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId316.jpeg?20250703034246" />
   </fig>
   <fig id="fig11" position="float">
    <label>Figure 11</label>
    <caption>
     <title>Figure 11. Input vector frequency vs. frequency error average.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId317.jpeg?20250703034246" />
   </fig>
   <p>The graph shows a clear nonlinear diminishing trend. At 49.45 Hz, the frequency error at approx. 0.3584 Hz is large and positive depicting weak correlation with the input frequency. The frequency error gradually decreases, as the input frequency increases, crossing zero mark at 50.00 Hz. Beyond the 50.00 Hz mark, the error becomes negative, reaching a minimum slightly 50.20 Hz mark, crossing the zero mark again after the 50.45 Hz point.</p>
   <fig id="fig12" position="float">
    <label>Figure 12</label>
    <caption>
     <title>Figure 12. Input vector frequency vs. time error average.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId318.jpeg?20250703034246" />
   </fig>
   <p>The graph shows a non-linear decreasing movement from 49.45 Hz to about 49.70 Hz. The time error increases steadily, peaking around 8.833e−4 seconds. Beyond the 49.70 Hz point, the time error progressively decreases, crossing zero at approx. 50.00 Hz. At the 50.00 Hz point and beyond, the time error is increasingly negative, reaching a minimum between 50.35 Hz and 50.40 Hz. The curve levels slightly after the minimum point, indicating the error is approaching a steady lower limit (<xref ref-type="table" rid="table2">
     Table 2
    </xref>).</p>
   <table-wrap id="table2">
    <label>
     <xref ref-type="table" rid="table2">
      Table 2
     </xref></label>
    <caption>
     <title>
      <xref ref-type="bibr" rid="scirp.143833-"></xref>Table 2. Correlation coefficient analysis of the input vector phase angle.</title>
    </caption>
    <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
     <tr> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Input Vector Freq.</p></td> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Mea. Ref. Time (UTC)</p></td> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Input Vector Phase Angle θ˚</p></td> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Time Err. Avg. θ˚</p></td> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Freq. Error Avg. θ˚</p></td> 
      <td class="custom-bottom-td acenter"><p style="text-align:center">Avg. Corr. θ˚</p></td> 
     </tr> 
     <tr> 
      <td class="custom-top-td acenter"><p style="text-align:center">50.00</p></td> 
      <td class="custom-top-td acenter"><p style="text-align:center">0.795</p></td> 
      <td class="custom-top-td acenter"><p style="text-align:center">5</p></td> 
      <td class="custom-top-td acenter"><p style="text-align:center">−1.268e−2</p></td> 
      <td class="custom-top-td acenter"><p style="text-align:center">−1.259e−2</p></td> 
      <td class="custom-top-td acenter"><p style="text-align:center">9.978e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">10</p></td> 
      <td class="acenter"><p style="text-align:center">−2.573e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−2.224e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.964e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">15</p></td> 
      <td class="acenter"><p style="text-align:center">−3.881e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−2.997e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.908e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">20</p></td> 
      <td class="acenter"><p style="text-align:center">−5.188e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−3.569e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.800e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">25</p></td> 
      <td class="acenter"><p style="text-align:center">−6.484e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−3.938e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.630e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">30</p></td> 
      <td class="acenter"><p style="text-align:center">−7.764e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−4.101e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.396e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">35</p></td> 
      <td class="acenter"><p style="text-align:center">−9.020e−4</p></td> 
      <td class="acenter"><p style="text-align:center">−4.056e−2</p></td> 
      <td class="acenter"><p style="text-align:center">9.103e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">40</p></td> 
      <td class="acenter"><p style="text-align:center">−1.025e−3</p></td> 
      <td class="acenter"><p style="text-align:center">−3.803e−2</p></td> 
      <td class="acenter"><p style="text-align:center">8.762e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">45</p></td> 
      <td class="acenter"><p style="text-align:center">−1.143e−3</p></td> 
      <td class="acenter"><p style="text-align:center">−3.385e−2</p></td> 
      <td class="acenter"><p style="text-align:center">8.387e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">50</p></td> 
      <td class="acenter"><p style="text-align:center">−1.258e−3</p></td> 
      <td class="acenter"><p style="text-align:center">−2.685e−2</p></td> 
      <td class="acenter"><p style="text-align:center">7.994e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">55</p></td> 
      <td class="acenter"><p style="text-align:center">−1.368e−3</p></td> 
      <td class="acenter"><p style="text-align:center">−1.828e−2</p></td> 
      <td class="acenter"><p style="text-align:center">7.597e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">60</p></td> 
      <td class="acenter"><p style="text-align:center">−1.472e−3</p></td> 
      <td class="acenter"><p style="text-align:center">7.807e−3</p></td> 
      <td class="acenter"><p style="text-align:center">7.206e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">65</p></td> 
      <td class="acenter"><p style="text-align:center">−1.570e−3</p></td> 
      <td class="acenter"><p style="text-align:center">4.492e−3</p></td> 
      <td class="acenter"><p style="text-align:center">6.828e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">70</p></td> 
      <td class="acenter"><p style="text-align:center">−1.662e−3</p></td> 
      <td class="acenter"><p style="text-align:center">1.852e−2</p></td> 
      <td class="acenter"><p style="text-align:center">6.468e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">75</p></td> 
      <td class="acenter"><p style="text-align:center">−1.746e−3</p></td> 
      <td class="acenter"><p style="text-align:center">3.418e−2</p></td> 
      <td class="acenter"><p style="text-align:center">6.128e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">80</p></td> 
      <td class="acenter"><p style="text-align:center">−1.824e−3</p></td> 
      <td class="acenter"><p style="text-align:center">5.134e−2</p></td> 
      <td class="acenter"><p style="text-align:center">5.808e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">85</p></td> 
      <td class="acenter"><p style="text-align:center">−1.853e−3</p></td> 
      <td class="acenter"><p style="text-align:center">6.987e−2</p></td> 
      <td class="acenter"><p style="text-align:center">5.509e−1</p></td> 
     </tr> 
     <tr> 
      <td class="acenter"><p style="text-align:center">50.00</p></td> 
      <td class="acenter"><p style="text-align:center">0.795</p></td> 
      <td class="acenter"><p style="text-align:center">90</p></td> 
      <td class="acenter"><p style="text-align:center">−1.954e−3</p></td> 
      <td class="acenter"><p style="text-align:center">8.964e−2</p></td> 
      <td class="acenter"><p style="text-align:center">5.320e−1</p></td> 
     </tr> 
    </table>
   </table-wrap>
   <fig id="fig13" position="float">
    <label>Figure 13</label>
    <caption>
     <title>Figure 13. Phase angle error vs average correlation coefficient.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId319.jpeg?20250703034246" />
   </fig>
   <p>The curve shows a strong decreasing trend in the Average Correlation Coefficient as the phase angle error increases from 5˚ to 90˚. The average correlation value is above 0.9 with the peak at 0.9978. The region between the 45˚ and 50˚ range indicates the point at which the curves cross the 0.8 threshold. The average correlation value rapidly drops below 0.7 at 65˚ and finally to 0.532 at 90˚. The curve depicts a very strong negative correlation between the phase angle error and the average correlation.</p>
   <fig id="fig14" position="float">
    <label>Figure 14</label>
    <caption>
     <title>Figure 14. Input phase angle error vs. average correlation/frequency error average.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1561710-rId320.jpeg?20250703034246" />
   </fig>
   <p>Frequency Error Average largely decreases as the input phase angle rises up to the 50˚ point; it then sharply begins to rise. The graph shows a consistent and uninterrupted decrease in the Average Correlation with increasing phase angle error. Low phase errors (0˚ to 50˚) correspond with correlation values of 0.8 and above which is consistent with the hypothesis of this research. The PMU/ADALINE algorithm demonstrates that it is highly phase-sensitive, maintains frequency tracking and correlation beyond a certain error margin.</p>
  </sec><sec id="s7">
   <title>7. Conclusions</title>
   <p>The input vector frequency versus frequency error average graph represents a correction curve, where the frequency error is high when the input deviates from a nominal frequency value of 50 Hz. The shape of the curve suggests a slightly asymmetric parabolic profile which indicates non-linear behavior in the system.</p>
   <p>The input vector frequency versus time error average curve suggests that the system’s timing error is frequency-dependent, with optimal performance at 50.00 Hz. The peak in time error occurs at approximately 49.65 Hz and valley at approximately 50.35 Hz indicating system lag or phase shift on either side of the nominal frequency.</p>
   <p>The input vector frequency versus average correlation curve reflects the quality of signal matching, orientation, and model precision at different input frequencies. The peak in correlation implies that the system is optimized for a specific frequency range, centered around 49.80 to 49.90 Hz. As frequency drifts away from this peak range, phase angle error is likely to increase, lowering the correlation. Best system performance for the PMU/ADALINE is dependent on keeping the input vector frequency in the range of 49.65 Hz to 50.05 Hz where the correlation coefficient is greater than 0.99. The region between 49.55 Hz to 49.65 Hz, and 50.05 Hz to 50.45 Hz represents the region where system calibration of correction is considered to be normal. Finally, the correlation coefficient values below 0.799 corresponding to frequencies outside 49.55 Hz and 50.45 Hz are scientifically called data anomalies as they fall outside the acceptable correlation. Outliers, missing data, and event data in the synchrophasor are considered to be data anomalies <xref ref-type="bibr" rid="scirp.143833-36">
     [36]
    </xref>.</p>
   <p>In this paper, we have investigated the PMU/ADALINE that works on the principle of computing the correlation coefficient using AI to determine data anomalies of the normal grid operating conditions in a given control area. The control area is considered to be under normal frequency conditions when the frequency is within the range 49.5 to 50.5 Hz <xref ref-type="bibr" rid="scirp.143833-37">
     [37]
    </xref>. The graph in <xref ref-type="fig" rid="fig10">
     Figure 10
    </xref> shows how the average correlation coefficient changes with the input vector frequency. You can see a clear transition around 49.55 - 50.45 Hz, where the correlation coefficient</p>
   <p>shifts from 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≤ 
      </mo> 
      <mn>
        0.799 
      </mn> 
     </mrow> 
    </math> to 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         δ 
       </mi> 
       <mrow> 
        <mrow> 
         <mo>
           ( 
         </mo> 
         <mrow> 
          <msub> 
           <mi>
             φ 
           </mi> 
           <mn>
             0 
           </mn> 
          </msub> 
          <mo>
            , 
          </mo> 
          <mi>
            f 
          </mi> 
         </mrow> 
         <mo>
           ) 
         </mo> 
        </mrow> 
       </mrow> 
      </msub> 
      <mo>
        ≥ 
      </mo> 
      <mn>
        0.8 
      </mn> 
     </mrow> 
    </math> and then back down again, suggesting</p>
   <p>a peak correlation around 49.75Hz to 49.85Hz. Further, the graph in <xref ref-type="fig" rid="fig13">
     Figure 13
    </xref> suggests that phase angle error significantly affects the average correlation in a manner similar to the graph in <xref ref-type="fig" rid="fig10">
     Figure 10
    </xref>. The characteristics depicted in both <xref ref-type="fig" rid="figFigures 10-13">
     Figures 10-13
    </xref> confirm that there is a very strong relationship between the input vector frequency, time error average, the phase angle error and the correlation coefficient.</p>
   <p>For optimal performance, analysis of the graph in <xref ref-type="fig" rid="fig14">
     Figure 14
    </xref> suggests that ideally the input vector phase angle error should be less than 50˚. The correlation coefficient is unstable and the frequency error average is high for input vector phase angles above 50˚, which is an indication of loss of coherence. The system behavior indicates that phase error correction beyond the 50˚ threshold is necessary. The results of the MATLAB/Simulink prototype confirm the hypothesis of this research.</p>
   <p>Performance analysis of average correlation as a performance parameter can be benefited from further investigation of the systems response to transient conditions, such as thunderstorms and other sources of noise. An inclusion of mathematical analysis of the computation load in DFT PMUs compared to the ADALINE PMU would enrich the hypothesis of this research.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.143833-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Musonda, G., Zulu, A. and Lubobya, C.S. (2024) Determination of Total Vector Error of the Phasor Measurement Unit (PMU) Using the Phase Angle Error of a Constant Amplitude Voltage Signal. Journal of Power and Energy Engineering, 12, 34-47. &gt;https://doi.org/10.4236/jpee.2024.1211002
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mishra, C., Vanfretti, L., De La Ree, J., Jones, K.D. and Gardner, M.R. (2024) Estimating Clock Synchronization Correction Factor from Synchrophasor Phase Angle Drift. 2024 International Conference on Smart Grid Synchronized Measurements and Analytics (SGSMA), Washington, 21-23 May 2024, 1-5. &gt;https://doi.org/10.1109/sgsma58694.2024.10571449
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Almutairy, F., Scekic, L., Matar, M., Elmoudi, R. and Wshah, S. (2023) Detection and Mitigation of GPS Spoofing Attacks on Phasor Measurement Units Using Deep Learning. International Journal of Electrical Power &amp; Energy Systems, 151, Article ID: 109160. &gt;https://doi.org/10.1016/j.ijepes.2023.109160
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Parvez, I., Sarwat, A.I., Pinto, J., Parvez, Z. and Khandaker, M.A. (2017) A Gossip Algorithm Based Clock Synchronization Scheme for Smart Grid Applications. 2017 North American Power Symposium (NAPS), Morgantown, 17-19 September 2017, 1-6. &gt;https://doi.org/10.1109/naps.2017.8107405
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ravi, A., Saranathan, M., Achuthan, P.H.K., Lavanya, M.C. and Rajini, V. (2022) A Comprehensive Review on the Current Trends in Micro-Phasor Measurement Units. IOP Conference Series: Materials Science and Engineering, 1258, Article ID: 012045. &gt;https://doi.org/10.1088/1757-899x/1258/1/012045
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mishra, C., Vanfretti, L., Delaree, J. and Jones, K.D. (2024) Internal Clock Errors in Synchrophasor Ambient Data: Effects, Detection, and a Posteriori Estimation-Based Correction. International Journal of Electrical Power &amp; Energy Systems, 161, Article ID: 110208. &gt;https://doi.org/10.1016/j.ijepes.2024.110208
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Agustoni, M., Castello, P. and Frigo, G. (2022) Phasor Measurement Unit with Digital Inputs: Synchronization and Interoperability Issues. IEEE Transactions on Instrumentation and Measurement, 71, 1-10. &gt;https://doi.org/10.1109/tim.2022.3175052
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     de la O Serna, J.A., Paternina, M.A. and Zamora-Mendez, A. (2021) Assessing Synchrophasor Estimates of an Event Captured by a Phasor Measurement Unit. IEEE Transactions on Power Delivery, 36, 3109-3117. &gt;https://doi.org/10.1109/tpwrd.2020.3033755
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rahmati, A. (2016) Accurate Real-Time Measurements of the Smart Grid Phasor Measurement Unit Parameters. Electric Power Components and Systems, 44, 1815-1824. &gt;https://doi.org/10.1080/15325008.2015.1114049
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Giotopoulos, V. and Korres, G. (2023) Implementation of Phasor Measurement Unit Based on Phase-Locked Loop Techniques: A Comprehensive Review. Energies, 16, Article 5465. &gt;https://doi.org/10.3390/en16145465
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ponnala, R., Vijay Babu, P., Leelakrishna, C. and Reddy, R. (2024) Development and Implementation of Synchronized Phasor Measurements for Dynamic State Power System Monitoring and Fault Identification. &gt;https://doi.org/10.21203/rs.3.rs-4186838/v1 
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kumar, J., Singh, A.K. and Kumar, U. (2023) Effect of WLS Method with Phasor Measurement Unit in State Estimation of Power System. Journal for Basic Sciences, 23, No. 5.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     de la O Serna, J.A. (2018) Analyzing Power Oscillating Signals with the O-Splines of the Discrete Taylor-Fourier Transform. IEEE Transactions on Power Systems, 33, 7087-7095. &gt;https://doi.org/10.1109/tpwrs.2018.2832615
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Phadke, A.G. and Bi, T.S. (2018) Phasor Measurement Units, WAMS, and Their Applications in Protection and Control of Power Systems. Journal of Modern Power Systems and Clean Energy, 6, 619-629.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Almas, M.S., Vanfretti, L., Singh, R.S. and Margret Jonsdottir, G. (2018) Vulnerability of Synchrophasor-Based WAMPAC Applications’ to Time Synchronization Spoofing. 2018 IEEE Power &amp; Energy Society General Meeting (PESGM), Portland, 5-10 August 2018, 1. &gt;https://doi.org/10.1109/pesgm.2018.8586667
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zenati, H., Romain, M., Foo, C., Lecouat, B. and Chandrasekhar, V. (2018) Adversarially Learned Anomaly Detection. 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17-20 November 2018, 727-736. &gt;https://doi.org/10.1109/icdm.2018.00088
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mohammed, M.Q., Al-Safi, M.G.S. and Faris, A.M. (2024) Statistical Anomaly Detection for Enhanced Cybersecurity Using Ai-Based Wireless Networks. Ingénierie des systèmes d information, 29, 1743-1754. &gt;https://doi.org/10.18280/isi.290508
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Wang, S.Y., Hijazi, M. and Dehghanian, P. (2023) Smart Measurement Units in Smart Grids: An AI-in-the-Loop Solution for Distributed Intelligence and High-Fidelity Measurements. Association for the Advancement of Artificial Intelligence. &gt;https://www.aaai.org 
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Regev, Y.A., Vassdal, H., Halden, U., Catak, F.O. and Cali, U. (2022) Hybrid AI-Based Anomaly Detection Model using Phasor Measurement Unit Data. arXiv: 2209.12665.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref20">
    <label>20</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Le, N.T. and Benjapolakul, W. (2018) A Data Imputation Model in Phasor Measurement Units Based on Bagged Averaging of Multiple Linear Regression. IEEE Access, 6, 39324-39333.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref21">
    <label>21</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lixia, M., Benigni, A., Flammini, A., Muscas, C., Ponci, F. and Monti, A. (2012) A Software-Only PTP Synchronization for Power System State Estimation with PMUs. IEEE Transactions on Instrumentation and Measurement, 61, 1476-1485. &gt;https://doi.org/10.1109/tim.2011.2180973
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref22">
    <label>22</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bird, J. (2006) Higher Engineering Mathematics. 5th Edition, Khanna Publishers, 699-701.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref23">
    <label>23</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ponnala, R., Chakravarthy, M. and Lalitha, S.V.N.L. (2022) Effective Monitoring of Power System with Phasor Measurement Unit and Effective Data Storage System. Bulletin of Electrical Engineering and Informatics, 11, 2471-2478.&gt;https://doi.org/10.11591/eei.v11i5.4085
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref24">
    <label>24</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     IEEE (2011) IEEE Std C37.118.1-2011; IEEE Standard for Synchrophasor Measurements for Power Systems.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref25">
    <label>25</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mohapatra, D. (2015) Development and Hardware Implementation of a Phasor Measurement Unit using Microcontroller. National Institute of Technology, Rourkela, 9-10.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref26">
    <label>26</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Li, H. (2019) Frequency Estimation and Tracking by Two-Layered Iterative DFT with Re-Sampling in Non-Steady States of Power System. EURASIP Journal on Wireless Communications and Networking, 2019, Article No. 28. &gt;https://doi.org/10.1186/s13638-018-1320-1
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref27">
    <label>27</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chukkaluru, S.L. and Affijulla, S. (2023) Review of Discrete Fourier Transform during Dynamic Phasor Estimation and the Design of Synchrophasor Units. ECTI Transactions on Electrical Engineering, Electronics, and Communications, 21, Article ID: 248548. &gt;https://doi.org/10.37936/ecti-eec.2023211.248548
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref28">
    <label>28</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ali, Z., Saleem, K., Brown, R., Christofides, N. and Dudley, S. (2022) Performance Analysis and Benchmarking of PLL-Driven Phasor Measurement Units for Renewable Energy Systems. Energies, 15, Article 1867. &gt;https://doi.org/10.3390/en15051867
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref29">
    <label>29</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Saleem, K., Ali, Z. and Mehran, K. (2021) A Single-Phase Synchronization Technique for Grid-Connected Energy Storage System under Faulty Grid Conditions. IEEE Transactions on Power Electronics, 36, 12019-12032. &gt;https://doi.org/10.1109/tpel.2021.3071418
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref30">
    <label>30</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rao, A.V.K., Soni, K.M., Sinha, S.K. and Nasiruddin, I. (2021) Dynamic Phasor Estimation Using Adaptive Artificial Neural Network. International Journal of System Assurance Engineering and Management, 12, 310-317. &gt;https://doi.org/10.1007/s13198-021-01082-2
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref31">
    <label>31</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Islam, A., Bouzerdoum, A. and Belhaouari, S.B. (2024) Bio-Inspired Adaptive Neurons for Dynamic Weighting in Artificial Neural Networks. arXiv: 2412.01454.&gt;https://www.researchgate.net/publication/386375425 
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref32">
    <label>32</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Nanda, S. and Dash, P.K. (2016) A Gauss-Newton ADALINE for Dynamic Phasor Estimation of Power Signals and Its FPGA Implementation. IEEE Transactions on Instrumentation and Measurement, 67, 45-56.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref33">
    <label>33</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     John, T. (1997) An Introduction to Error Analysis: The Study of Uncertainties in Physical Measurements. University Science Books, 215-217.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref34">
    <label>34</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yu, W.P., Yao, W.X., Deng, X.D., Zhao, Y.F. and Liu, Y.L. (2020) Timestamp Shift Detection for Synchrophasor Data Based on Similarity Analysis between Relative Phase Angle and Frequency. IEEE Transactions on Power Delivery, 35, 1588-1591.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref35">
    <label>35</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Björkhem, F., Myrland, J.B., Jolhammar, T. and Nour, O.M. (2024) Implementation of a Phasor Measurement Unit in Matlab. Department of Electrical Engineering, Uppsala University, 13-17.
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref36">
    <label>36</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Khaledian, E., Pandey, S., Kundu, P. and Srivastava, A.K. (2021) Real-Time Synchrophasor Data Anomaly Detection and Classification Using isolation Forest, Kmeans, and Loop. IEEE Transactions on Smart Grid, 12, 2378-2388. &gt;https://doi.org/10.1109/tsg.2020.3046602
    </mixed-citation>
   </ref>
   <ref id="scirp.143833-ref37">
    <label>37</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     (2022) Description of Normal Frequency, The South African Grid Code System Operation Code, Version 10.1. Eskom Transmission Division.
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>