<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>A. Malyshev)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>High-speed Fuzzy Inference Machine Learning Device Based on Single-Layer Area Ratio Defuzzifier</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Maxim B. Bobyr</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bogdan Bondarenko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexandr Malyshev</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Southwest State University of Russia (SWSU)</institution>
          ,
          <addr-line>94, 50 Let Oktyabrya St, Kursk, 305000, Russian Federation</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This article discusses a variant of a High-speed Fuzzy Inference Machine Learning Device Based on Single-Layer Area Ratio Defuzzifier. The developed mathematical model is presented, the steps by which this system operates are described. The results of modeling in Simulink are also presented and show a 1.5x increase in training speed. In an era of rapidly advancing technology, traditional binary logic systems often fall short when dealing with the complexity and uncertainty of real-world scenarios [1], [2], [3], [4]. Fuzzy logic systems, which mimic human reasoning by handling partial truths and uncertainties, have emerged as a powerful alternative. By integrating machine learning techniques, these systems are now capable of adapting and improving their performance over time, creating a dynamic approach to problem-solving. This article explores the foundations of fuzzy logic systems with learning capabilities, their advantages, and their growing applications across various fields, from robotics to data analysis [5], [6].</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;machine learning</kwd>
        <kwd>single-layer area ratio defuzzifier</kwd>
        <kwd>fuzzy logic</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. High-speed Fuzzy Inference Machine Learning Device Based on</title>
    </sec>
    <sec id="sec-3">
      <title>Single-Layer Area Ratio Defuzzifier</title>
      <p>The main purpose of the developed High-speed Fuzzy Inference Machine Learning Device is to
implement the system learning function and improve computing performance. This is achieved by adding
feedback from the training unit to the defuzzification unit, which allows for the training of the fuzzy
logic device [7], [8]. Some operations in the defuzzification unit were also excluded, which reduced the
computational performance time of the defuzzification process to 180 ns.</p>
      <p>The result of a high-speed fuzzy logic inference machine learning device based on a single-layer
defuzzifier of the area ratio method is the generation and transformation of input data into a single
specified crisp value at the output of the fuzzy logic system. This type of device can be used for image
classification or thermocouple control tasks [9], [10].</p>
      <p>Also, an ontological model of neuro-fuzzy learning based on the area ratio method was developed:
 =
⟨</p>
      <p>
        2 6 5 2 ⟩
, ,  , ,
in=1 im=1 def =1 l=1
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
where  is ontological model of input variable (in=1. . . 2, where in is number of input variables); 
is ontological model of the implication block (im=1. . . 6, where im is number of implication methods);
 is ontological defuzzification model ( def =1. . . 5, where def is number of defuzzification methods);
 is ontological model of the training block (l=1. . . 2, where l is number of training methods).
      </p>
      <p>The working principle of the high-speed fuzzy inference machine learning device (Fig. 1) based on
the single-layer area ratio defuzzifier consists of five steps [ 11], [12]. The values of two variables «A»
and «B» are generated in block 1 – Control Signal Generator Block (CSGB). Then the variable «A» goes
to block 2 – First Input Variable Fuzzification Block (FIVFB), and the variable «B» is transferred to block
3 – Second Input Variable Fuzzification Block (SIVFB). In FIVFB 2, the first three triangular functions
«A1», «A2», «A3» are generated in First, Second and Third Triangular Function Formation Blocks
(FTFFB, STFFB, TTFFB) respectively. In SIVFB 3, the second three triangular functions «B1», «B2»,
«B3» are generated in FTFFB, STFFB, TTFFB too. Each of the triangular membership functions has a
form similar to Fig. 3. The triangular functions «A1», «A2», «A3», «B1», «B2», «B3» are transferred to
block 4 – Implication Block (IB), where they are subject to implication. As a result, at the output of IB
4, five variables «M1», «M2», «M3», «M4», «M5» are transferred to block 5 – Defuzzification Block
(DefB). In DefB 5, the defuzzification process takes place, during which the resulting variable «MAR2»
is calculated. And after receiving MAR2, the calculations go to block 6 – Learning Block (LB).</p>
      <p>The calculation of the resulting variable "MAR2" (Fig.1) in the high-speed fuzzy inference machine
learning device based on the single-layer area ratio defuzzifier [ 13], [14] is carried out by the steps
described below.</p>
      <p>
        Step 1. Generation of input variables by counters (Fig.2):
 = 1 × 1 + 
 = 2 × 2 + 
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
where 1 is clock generator (block 1.2), 1 is signal booster unit (block 1.5), 2 is clock generator
(block 1.4), 2 is signal booster unit (block 1.6), a is initial value of the first membership function
(block 1.1), b is initial value of the second membership function (block 1.3).
      </p>
      <p>Step 2. The formation of the triangular membership function (Fig.3 and Fig.4) is calculated using the
formula:
⎧⎨ −−  , if x &lt; s &lt; y</p>
      <p>
        −−  , if y &lt; s &lt; z
⎩ 0, else
where s is input value A or B coming from the block 1 (Fig.3 and Fig.4), x, y, z are membership function
labels. Their value stored in blocks 2.1÷2.5 and 3.1÷3.5. The variables for «x», «y», and «z» are selected
depending on the required type of membership function. In our case, a triangular membership function
is used, which is shown in Fig.3. An example of their calculation is presented above Eq.(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ). This stage
of calculation is called composition and occurs in FTFFB, STFFB, TTFFB (blocks 2.6-2.8, 3.6-3.8). As
a result of this operation, three output values «A1», «A2» and «A3» are formed at the output of the
FIVFB block, and at the output of the SIVFB block «B1», «B2», and «B3» values (Fig.4).
      </p>
      <p>
        The implementation of Eq.(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) is presented in the form of logical blocks in Fig.4.
      </p>
      <p>Step 3. Functions «A1», «A2», «A3», «B1», «B2», «B3» come from the outputs of the FIVFB, SIVFB
blocks to the inputs of the IB block. The implication process [15], [16] (Fig.6) of the input variables is
calculated according to the established fuzzy rules:
1 = min(1, 1)
2 = max(min(1, 2), min(2, 1))
a)
b)
3 = max(min(1, 3), min(2, 2), min(3, 1))
4 = max(min(2, 3), min(3, 2))
5 = min(3, 3)
(7)
(8)
(9)</p>
      <p>The output values of the block are M1, M2, M3, M4, M5 (Fig.7), and the variable M1 is calculated in
block 4.1, M2 is calculated in block 4.10, M3 is calculated in block 4.11, M4 is calculated in block 4.12,
M5 is calculated in block 4.9.</p>
      <p>Step 4. The defuzzification process (Fig.8). Determining the output value after defuzzification based
on the area ratio method according to Eq.10:
× (max − min) + min
︂]
(10)
where  is value transmitted from the IB block 4, n is number of output fuzzy membership functions
(n = 5) (Fig.7), +1 is weighting factor (default 1),  is maximum value of the output function
(block 5.4),  is minimun value of the output function (block 5.5) (Fig.7 and Fig.8:  = 250, 
= 210).</p>
      <p>To find the diference between</p>
      <p>and , input values  and  are fed to the inputs of
subtraction block SUB 5.7. To calculate Eq.10 ten-digit values  and  are fed to the input of
the subtractor SUB 5.7. The output value of the subtractor SUB 5.7, which determines the value of the
domain of definition of the output membership function, is fed to the input of the multiplier MUL 5.6,
and D, obtained at the output of the divider DIV 5.3, is fed to the second input of the multiplier MUL
5.6. The output of the multiplier MUL 5.6 is connected to the input of the adder ADD2 5.8. The value
 is fed to the second input of the adder ADD2 5.8. At the output of the adder ADD2 5.8, the output
ten-bit value is calculated after defuzzification based on the area ratio method "MAR2" [17].</p>
      <p>Step 5. The training process (Fig.9). The output value after learning is determined according to the
formula:</p>
      <p>Learn+1 = Learn + ([MAR2 − target] ×</p>
      <p>Mult), until MAR2 − target| ≤ 
(11)
where Mult is learning rate (default 0.04), T is threshold coeficient (default 0.01) (Fig.9, block 6.2),
 is expected output value after defuzzification.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Simulation Results</title>
      <p>The above mathematical model was simulated in the Simulink software for modeling, simulation and
analysis of multidomain dynamic systems. The results of the training process simulation are shown in</p>
    </sec>
    <sec id="sec-5">
      <title>4. Conclusion</title>
      <p>The developed method is described, the ontological and mathematical model of High-speed Fuzzy
Inference Machine Learning Device Based on Single-Layer Area Ratio Defuzzifier is presented. In
addition, the proposed system was simulated in Simulink and compared with the performance of the
center-of-gravity defuzzifier and the multilayer modification of the area ratio method.</p>
      <p>Thus, the high-speed fuzzy inference machine learning device based on the single-layer area ratio
defuzzifier allows determining a single value after defuzzification, provides increased performance by
simplifying the defuzzifier structure, and allows training the fuzzy inference system to the target value.</p>
    </sec>
    <sec id="sec-6">
      <title>5. Acknowledgments</title>
      <p>The work was prepared as part of the implementation of the RSF project No. 24-21-00055. The authors
are grateful to the Foundation for their support.</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>The author(s) have not employed any Generative AI tools.
information integration, Journal of Industrial Information Integration 42 (2024). doi:10.1016/j.
jii.2024.100734.
[6] H. N. Do, H. T. Phan, N. T. Nguyen, Multimodal sentiment analysis using deep learning and fuzzy
logic: A comprehensive survey, Applied Soft Computing 167 (2024). doi:10.1016/j.asoc.2024.
112279.
[7] M. Alateeq, W. Pedrycz, Logic-oriented fuzzy neural networks: A survey, Expert Systems with</p>
      <p>Applications 257 (2024). doi:10.1016/j.eswa.2024.125120.
[8] H. Yin, C. Liu, W. Wu, K. Song, Y. Dan, G. Cheng, An integrated framework for criticality evaluation
of oil and gas pipelines based on fuzzy logic inference and machine learning, Journal of Natural
Gas Science and Engineering 96 (2021). doi:10.1016/j.jngse.2021.104264.
[9] A. M. T. Marimuthu, J. Rakkiyannan, L. Jakkamputi, S. Vaithiyanathan, S. Gnanasekaran,
Vibrationbased fault diagnosis study on a hydraulic brake system using fuzzy logic with histogram features,
SDHM Structural Durability and Health Monitoring 16 (2022) 383–396. doi:10.32604/sdhm.
2022.011396.
[10] D. Rengasamy, J. M. Mase, A. Kumar, B. Rothwell, M. Torres, M. R. Alexander, D. A. Winkler, G. P.</p>
      <p>Figueredo, Feature importance in machine learning models: A fuzzy information fusion approach,
Neurocomputing 511 (2022) 163–174. doi:10.1016/j.neucom.2022.09.053.
[11] D.-N. Truong, J.-S. Chou, Fuzzy adaptive jellyfish search-optimized stacking machine learning
for engineering planning and design, Automation in Construction 143 (2022). doi:10.1016/j.
autcon.2022.104579.
[12] M. M. Kamruzzaman, S. Alanazi, M. Alruwaili, I. Alrashdi, Y. Alhwaiti, N. Alshammari,
Fuzzyassisted machine learning framework for the fog-computing system in remote healthcare
monitoring, Measurement 195 (2022). doi:10.1016/j.measurement.2022.111085.
[13] M. V. Bobyr, N. A. Milostnaya, S. A. Kulabuhov, A method of defuzzification based on the approach
of areas’ ratio, Applied Soft Computing 59 (2017) 19–32. doi:10.1016/j.asoc.2017.05.040.
[14] M. Bobyr, N. Milostnaya, V. Bulatnikov, The fuzzy filter based on the method of areas’ ratio,</p>
      <p>Applied Soft Computing 117 (2022). doi:10.1016/j.asoc.2022.108449.
[15] E. V. Krieken, E. Acar, F. V. Harmelen, Analyzing diferentiable fuzzy logic operators, Artificial</p>
      <p>Intelligence 302 (2022). doi:10.1016/j.artint.2021.103602.
[16] M. Bobyr, A. Arkhipov, S. Emelyanov, N. Milostnaya, A method for creating a depth map based
on a three-level fuzzy model, Engineering Applications of Artificial Intelligence 117 (2023).
doi:10.1016/j.engappai.2022.105629.
[17] M. Bobyr, S. Emelyanov, A nonlinear method of learning neuro-fuzzy models for dynamic control
systems, Applied Soft Computing Journal 88 (2020). doi:10.1016/j.asoc.2019.106030.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <article-title>Brand digital marketing under intranet security control based on the machine learning classification algorithm, Security and Communication Networks (</article-title>
          <year>2021</year>
          ). doi:
          <volume>10</volume>
          .1155/
          <year>2021</year>
          /9977221.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>W. V.</given-names>
            <surname>Leekwijck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. E.</given-names>
            <surname>Kerre</surname>
          </string-name>
          , Defuzzification: Criteria and classification,
          <source>Fuzzy Sets and Systems</source>
          <volume>108</volume>
          (
          <year>1999</year>
          )
          <fpage>159</fpage>
          -
          <lpage>178</lpage>
          . doi:
          <volume>10</volume>
          .1016/s0165-
          <volume>0114</volume>
          (
          <issue>97</issue>
          )
          <fpage>00337</fpage>
          -
          <lpage>0</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Romanov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Filippov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. G.</given-names>
            <surname>Yarushkina</surname>
          </string-name>
          ,
          <article-title>Adaptive fuzzy predictive approach in control</article-title>
          ,
          <source>Mathematics</source>
          <volume>11</volume>
          (
          <year>2023</year>
          ). doi:
          <volume>10</volume>
          .3390/math11040875.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Piegat</surname>
          </string-name>
          ,
          <source>Fuzzy Modeling and Control</source>
          , 1 ed., Physica Heidelberg,
          <year>2001</year>
          . doi:
          <volume>10</volume>
          .1007/ 978-3-
          <fpage>7908</fpage>
          -1824-6.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Eti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Yuksel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Dincer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pamucar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Deveci</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. O. Olaru,</surname>
          </string-name>
          <article-title>A machine learning and fuzzy logic model for optimizing digital transformation in renewable energy: Insights into industrial</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>