Research Article

IoT Communication for Grid-Tie Matrix Converter with Power Factor Control Using the Adaptive Fuzzy Sliding (AFS) Method

Algorithm 2

AFS algorithm for cloud server side.
Input: indirect matrix converter’s values
Output: load M
Input voltage = Vin
Begin
Load 9val hi, h20
If h2 = null
return h1
else
  return xmeld (h1, h2);
end
Procedure return xmeld (val h1, h2);
IF h1 = null
return h2;
If item(h1) > item (h2)
H1 ↔ h2
(1child (h1), rchild (h1) ← (xmeld(rchild(h1), h2), 1child(h1));
return h1;
Stop.