Skip to main content
. 2023 Feb 16;23(4):2230. doi: 10.3390/s23042230
Algorithm 3:A21 Find rule
Require: The voltage of the device X1, The voltage of the device X2, , The voltage of the device Xn.
if CX1ϕtol<C<CX1+ϕtol then
  ΨA1=1, ΨA21=0  ▹ Normal standard
else if then
  ΨA1=1, ΨA21=0   ▹ Normal standard
else if CXnϕtol<C<CXn+ϕtol then
  ΨA1=1, ΨA21=0 ▹ Normal standard
else
  ΨA1=0, ΨA21=0 ▹ Normal standard
  if ΨA1=0, ΨA21=0 Conform to the rules then
    Abnormal but does not affect the status. For exceptions, use data to determine the category, and find exception rules among the exceptions. If it does not match, look for a classification method.
    ΨA1=1, ΨA21=Ø
  else
    Classify new anomalies. Use supervised or unsupervised learning, enhanced learning, use deep learning, new abnormal state, and at the same time conform to the abnormal state of historical data. To use classification methods, record them for later use or detection, and record the results.
    Set up ΨA22=1, Judgment belongs to A22 There are no rules for exceptions, and unsupervised learning is used to detect whether there are new classifications.
  end if
end if