<?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">
    epe
   </journal-id>
   <journal-title-group>
    <journal-title>
     Energy and Power Engineering
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    1949-243X
   </issn>
   <issn publication-format="print">
    1947-3818
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/epe.2025.173003
   </article-id>
   <article-id pub-id-type="publisher-id">
    epe-141845
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Engineering
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Speed Regulation of a Mill Driven by an Asynchronous Machine Powered by Photovoltaic Solar Energy: Modeling, Control and Optimization
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Abdoulaye
      </surname>
      <given-names>
       Kebe
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Papa Demba
      </surname>
      <given-names>
       Ba
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Ibrahima
      </surname>
      <given-names>
       Gueye
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Abdoulaye
      </surname>
      <given-names>
       Sall
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Cheikh
      </surname>
      <given-names>
       Sene
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aEcole Normale Superieure D’Enseignement Technique Professionnel (ENSETP), Cheikh Anta DIOP University, Dakar, Senegal
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     31
    </day> 
    <month>
     03
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    17
   </volume> 
   <issue>
    03
   </issue>
   <fpage>
    35
   </fpage>
   <lpage>
    54
   </lpage>
   <history>
    <date date-type="received">
     <day>
      2,
     </day>
     <month>
      February
     </month>
     <year>
      2025
     </year>
    </date>
    <date date-type="published">
     <day>
      28,
     </day>
     <month>
      February
     </month>
     <year>
      2025
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      28,
     </day>
     <month>
      March
     </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 focuses on the speed control of a mill driven by an Asynchronous Motor (AM) powered by a solar photovoltaic energy source. As solar energy gains importance in the energy transition, artisanal mills are showing promise in improving rural life. However, speed variations caused by solar irradiance can affect their efficiency. The study proposes a comprehensive modeling of the system and explores advanced control strategies and optimization methods to optimize the performance. Traditional control approaches based on Foc and scalar strategies are examined, and the optimization considers the control and design parameters of the photovoltaic system. The results obtained by simulations in Simulink confirmed the performance of the strategies with good speed control regardless of the variation of load and irradiation.
   </abstract>
   <kwd-group> 
    <kwd>
     Photovoltaic Generator
    </kwd> 
    <kwd>
      Boost Converter
    </kwd> 
    <kwd>
      MPPT
    </kwd> 
    <kwd>
      Inverter
    </kwd> 
    <kwd>
      Asynchronous Motor
    </kwd> 
    <kwd>
      Artisanal Mill
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>This paper focuses on the speed control of a mill driven by an Induction Motor (IM) powered by a solar photovoltaic energy source. With the increasing focus on energy transition and the need to develop sustainable energy sources, the use of solar photovoltaic energy to power autonomous and decentralized systems is gaining popularity <xref ref-type="bibr" rid="scirp.141845-1">
     [1]
    </xref>. Among these emerging applications, small-scale mills driven by Induction Motors (IM) represent a promising solution for cereal processing in remote rural areas, thus offering several opportunities for improving living conditions and socio-economic development <xref ref-type="bibr" rid="scirp.141845-1">
     [1]
    </xref> <xref ref-type="bibr" rid="scirp.141845-2">
     [2]
    </xref>. However, variations in solar irradiance throughout the day and weather conditions can lead to fluctuations in the speed of the motor mechanically coupled to the mill. This can affect the overall efficiency of the system and compromise the reliability of the power supply. Thus, precise motor speed control becomes a crucial challenge to ensure stable and efficient operation. In our paper, we focus on the in-depth study of speed control of a mill driven by a Three-Phase Induction Motor (SAM), powered by solar photovoltaic energy <xref ref-type="bibr" rid="scirp.141845-3">
     [3]
    </xref>. The main objective of this paper is to present a detailed modeling of the system, design an advanced control strategy and explore optimization techniques to improve the overall system performance <xref ref-type="bibr" rid="scirp.141845-4">
     [4]
    </xref> <xref ref-type="bibr" rid="scirp.141845-5">
     [5]
    </xref>. In the following sections, we will discuss the mathematical modeling of the entire system, including the mill, the Three-Phase Induction Motor (SAM) and the photovoltaic system composed of panels, a chopper and an inverter. This will provide a solid theoretical basis for the development of the control <xref ref-type="bibr" rid="scirp.141845-6">
     [6]
    </xref>. Then, we will examine the different control approaches, namely scalar control and vector control. Subsequently, we will focus on the optimization of the system performance, taking into account the control parameters and the design of the photovoltaic system. The obtained results will be validated through simulations on Matlab-Simulink software. Finally, we will conclude by highlighting the contributions and limitations of this study, while proposing future research avenues to optimize the performance of MAS-driven mills further. Through this work, we hope to make a significant contribution to the understanding and improvement of speed regulation in solar mill systems, thus paving the way for wider applications of this clean and renewable technology in remote regions of the world.</p>
  </sec><sec id="s2">
   <title>2. System Diagram</title>
   <p>
    <xref ref-type="fig" rid="fig1">
     Figure 1
    </xref> below shows the system in its entirety. It consists of a photovoltaic generator, a chopper, a three-phase inverter and a grinding device consisting of a homemade grinder and an induction motor. To simulate the system, it is necessary to model the different parts that compose it.</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>Figure 1. System diagram.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId15.jpeg?20250409024925" />
   </fig>
  </sec><sec id="s3">
   <title>3. Modeling of System Elements</title>
   <sec id="s3_1">
    <title>3.1. Modeling of the Photovoltaic Generator</title>
    <p>There are different types of solar (photovoltaic) cells, and each type of cell has its own efficiency and cost <xref ref-type="bibr" rid="scirp.141845-6">
      [6]
     </xref> <xref ref-type="bibr" rid="scirp.141845-7">
      [7]
     </xref>. In this article, we study the single-diode model where the cell is presented as an electric current generator whose behavior is equivalent to a current source shunted by a single diode. To take into account physical phenomena at the cell level, the model is completed by a series resistor Rs shunt or parallel resistor Rp. The equivalent electrical diagram of the photovoltaic cell is given in (<xref ref-type="fig" rid="fig2">
      Figure 2
     </xref>) below <xref ref-type="bibr" rid="scirp.141845-7">
      [7]
     </xref>.</p>
    <fig id="fig2" position="float">
     <label>Figure 2</label>
     <caption>
      <title>Figure 2. Equivalent model of a photovoltaic cell.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId16.jpeg?20250409024927" />
    </fig>
    <p>The expression of the current characteristic of the photovoltaic panel (Ipv) is expressed as <xref ref-type="bibr" rid="scirp.141845-7">
      [7]
     </xref> follows:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         I 
       </mi> 
       <mi>
         p 
       </mi> 
       <mi>
         v 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         I 
       </mi> 
       <mi>
         p 
       </mi> 
       <mi>
         h 
       </mi> 
       <mo>
         − 
       </mo> 
       <mtext>
         Is 
       </mtext> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           exp 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <mi>
               q 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mi>
                 V 
               </mi> 
               <mo>
                 + 
               </mo> 
               <mi>
                 I 
               </mi> 
               <mo>
                 . 
               </mo> 
               <mi>
                 R 
               </mi> 
               <mi>
                 s 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mrow> 
             <mi>
               K 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               T 
             </mi> 
             <mi>
               c 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               A 
             </mi> 
            </mrow> 
           </mfrac> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           V 
         </mi> 
         <mo>
           + 
         </mo> 
         <mi>
           I 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           R 
         </mi> 
         <mi>
           s 
         </mi> 
        </mrow> 
        <mrow> 
         <mi>
           R 
         </mi> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math> (1)</p>
    <p>The equation giving the current characteristic of a GPV can be written as follows:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         I 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         N 
       </mi> 
       <mi>
         p 
       </mi> 
       <mo>
         . 
       </mo> 
       <mi>
         I 
       </mi> 
       <mi>
         p 
       </mi> 
       <mi>
         h 
       </mi> 
       <mo>
         − 
       </mo> 
       <mi>
         N 
       </mi> 
       <mi>
         p 
       </mi> 
       <mo>
         . 
       </mo> 
       <mi>
         I 
       </mi> 
       <mi>
         s 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           exp 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <mi>
               q 
             </mi> 
             <mi>
               V 
             </mi> 
             <mi>
               o 
             </mi> 
             <mi>
               c 
             </mi> 
            </mrow> 
            <mrow> 
             <mi>
               N 
             </mi> 
             <mi>
               s 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               A 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               K 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               T 
             </mi> 
             <mi>
               c 
             </mi> 
            </mrow> 
           </mfrac> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <mi>
               N 
             </mi> 
             <mi>
               p 
             </mi> 
             <mo>
               . 
             </mo> 
             <mi>
               V 
             </mi> 
            </mrow> 
            <mrow> 
             <mi>
               N 
             </mi> 
             <mi>
               p 
             </mi> 
            </mrow> 
           </mfrac> 
           <mo>
             + 
           </mo> 
           <mi>
             I 
           </mi> 
           <mo>
             . 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             s 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           R 
         </mi> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math> (2)</p>
    <p>In this article, the work was done with the solar panel of type:</p>
    <fig id="fig3" position="float">
     <label>Figure 3</label>
     <caption>
      <title>Figure 3. Simulation result of the model under the variation of solar irradiance and the variation of temperature.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId21.jpeg?20250409024929" />
    </fig>
    <p>SOLTON Power SPI-215P whose electrical characteristics are shown in <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref> above.</p>
    <p>The following figures represent respectively the current-voltage, power-voltage characteristics for a temperature T = 298 K˚ and a variable illumination (E) of [1,0.8, 0.6, 0.4, 0.2] * 1000 W/m<sup>2</sup> and also a variable temperature of [40 30 20]˚C.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. Boost Chopper Modeling</title>
    <p>The use of DC-DC converters allows the control of electrical power in circuits operating in direct current with great flexibility and high efficiency which in our case will allow us to pursue the optimum operating point <xref ref-type="bibr" rid="scirp.141845-7">
      [7]
     </xref> <xref ref-type="bibr" rid="scirp.141845-8">
      [8]
     </xref>. In our article, we have a Boost type converter whose electrical diagram is given in <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref> below.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. Electrical circuit of a boost chopper.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId22.jpeg?20250409024930" />
    </fig>
    <p>The application of Kirchhoff's laws (Knot and Mesh) on the two equivalent circuits of the two operating phases gives <xref ref-type="bibr" rid="scirp.141845-8">
      [8]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mn>
         0 
       </mn> 
       <mo>
         &lt; 
       </mo> 
       <mtext>
         t 
       </mtext> 
       <mo>
         &lt; 
       </mo> 
       <mtext>
         DTs 
       </mtext> 
      </mrow> 
     </math></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         DTs 
       </mtext> 
       <mo>
         &lt; 
       </mo> 
       <mtext>
         t 
       </mtext> 
       <mo>
         &lt; 
       </mo> 
       <mtext>
         Ts 
       </mtext> 
      </mrow> 
     </math></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 C 
               </mi> 
               <mn>
                 1 
               </mn> 
              </mrow> 
             </msub> 
             <mo> 
             </mo> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                C 
              </mi> 
              <mn>
                1 
              </mn> 
             </msub> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo> 
             </mo> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mtext> 
             </mtext> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 C 
               </mi> 
               <mn>
                 2 
               </mn> 
              </mrow> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               C 
             </mi> 
             <mn>
               2 
             </mn> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mn>
                  0 
                </mn> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mn>
                 0 
               </mn> 
               <mtext> 
               </mtext> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  i 
                </mi> 
                <mi>
                  l 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                R 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (3)</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 C 
               </mi> 
               <mn>
                 1 
               </mn> 
              </mrow> 
             </msub> 
             <mo> 
             </mo> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                C 
              </mi> 
              <mn>
                1 
              </mn> 
             </msub> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo> 
             </mo> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mtext> 
             </mtext> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 C 
               </mi> 
               <mn>
                 2 
               </mn> 
              </mrow> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               C 
             </mi> 
             <mn>
               2 
             </mn> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mn>
                  0 
                </mn> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mn>
                 0 
               </mn> 
               <mtext> 
               </mtext> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  i 
                </mi> 
                <mi>
                  L 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                R 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (4)</p>
    <p>D: The duty cycle of the pulses that control the switch.</p>
    <p>Ts: Being the period of impulses</p>
    <p>By applying to the systems of equations (3) and (4) we can obtain the following relations <xref ref-type="bibr" rid="scirp.141845-9">
      [9]
     </xref> <xref ref-type="bibr" rid="scirp.141845-10">
      [10]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                C 
              </mi> 
              <mn>
                1 
              </mn> 
             </msub> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo> 
             </mo> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mn>
                 1 
               </mn> 
               <mo>
                 − 
               </mo> 
               <mi>
                 D 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <mi>
               C 
             </mi> 
             <mn>
               2 
             </mn> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  v 
                </mi> 
                <mn>
                  0 
                </mn> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mn>
                 1 
               </mn> 
               <mo>
                 − 
               </mo> 
               <mi>
                 D 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
             <mo>
               + 
             </mo> 
             <msub> 
              <mi>
                R 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                L 
              </mi> 
             </msub> 
             <mo>
               + 
             </mo> 
             <mi>
               L 
             </mi> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mi>
                  i 
                </mi> 
                <mi>
                  L 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (5)</p>
    <p>Output current: 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         I 
       </mi> 
       <mi>
         o 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          P 
        </mi> 
        <mrow> 
         <mi>
           V 
         </mi> 
         <mi>
           o 
         </mi> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math></p>
    <p>Percentage of voltage variation: 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         Δ 
       </mi> 
       <mi>
         V 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mi>
         % 
       </mi> 
      </mrow> 
     </math></p>
    <p>Percentage of current variation: 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         Δ 
       </mi> 
       <mi>
         I 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         5 
       </mn> 
       <mi>
         % 
       </mi> 
      </mrow> 
     </math></p>
    <p>Inductance: 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         L 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           V 
         </mi> 
         <mi>
           i 
         </mi> 
         <mi>
           n 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             V 
           </mi> 
           <mi>
             o 
           </mi> 
           <mo>
             − 
           </mo> 
           <mi>
             V 
           </mi> 
           <mi>
             i 
           </mi> 
           <mi>
             n 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           Δ 
         </mi> 
         <mi>
           I 
         </mi> 
         <mo>
           * 
         </mo> 
         <mi>
           f 
         </mi> 
         <mi>
           s 
         </mi> 
         <mo>
           * 
         </mo> 
         <mi>
           V 
         </mi> 
         <mi>
           o 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo> 
       </mo> 
       <mo>
         = 
       </mo> 
       <mn>
         1.45 
       </mn> 
       <mi>
         m 
       </mi> 
       <mi>
         H 
       </mi> 
      </mrow> 
     </math></p>
    <p>Ability: 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         C 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           I 
         </mi> 
         <mi>
           o 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             V 
           </mi> 
           <mi>
             o 
           </mi> 
           <mo>
             − 
           </mo> 
           <mi>
             V 
           </mi> 
           <mi>
             i 
           </mi> 
           <mi>
             n 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           ƒ 
         </mi> 
         <mi>
           s 
         </mi> 
         <mo>
           * 
         </mo> 
         <mi>
           Δ 
         </mi> 
         <mi>
           V 
         </mi> 
         <mi>
           o 
         </mi> 
         <mo>
           * 
         </mo> 
         <mi>
           V 
         </mi> 
         <mi>
           o 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         3227 
       </mn> 
       <mi>
         u 
       </mi> 
       <mi>
         F 
       </mi> 
      </mrow> 
     </math></p>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>Figure 5. Flowchart of the P&amp;O algorithm.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId43.jpeg?20250409024935" />
    </fig>
    <p>In this part, we present a P&amp;O control algorithm for tracking the maximum power delivered by the photovoltaic generator <xref ref-type="bibr" rid="scirp.141845-11">
      [11]
     </xref> <xref ref-type="bibr" rid="scirp.141845-12">
      [12]
     </xref>. The principle of this algorithm is to perform a disturbance on the voltage of the panel Vpv while acting on the duty cycle α. Indeed, following this disturbance, we calculate the power supplied by the PV panel at time k, then we compare it to the previous one at time (k − 1). If the power increases, we approach the maximum power point, “PMP” and the variation of the duty cycle is maintained in the same direction <xref ref-type="bibr" rid="scirp.141845-13">
      [13]
     </xref>. On the contrary, if the power decreases, we move away from the maximum power point, “PMP”. Then, we must reverse the direction of the variation of the duty cycle <xref ref-type="bibr" rid="scirp.141845-14">
      [14]
     </xref>. The general algorithm of this control is given by (<xref ref-type="fig" rid="fig5">
      Figure 5
     </xref>) below.</p>
    <p>The program corresponding to this algorithm has been implemented in the Matlab/Simulink environment.</p>
   </sec>
   <sec id="s3_3">
    <title>3.3. Inverter Modeling</title>
    <p>The operation of the inverter is based on the switching state of the switches. Switching is provided by three logic functions (Sa, Sb, Sc) <xref ref-type="bibr" rid="scirp.141845-14">
      [14]
     </xref> <xref ref-type="bibr" rid="scirp.141845-15">
      [15]
     </xref>. These functions made it possible to establish the relationship (10) between the voltages in three phases (Va Vb Vc) of the millet mill actuator and the voltage of the direct current source (Vdc).</p>
    <p>We can then model the inverter by a matrix 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mi>
          T 
        </mi> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math>ensuring the continuous-alternating transition 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           V 
         </mi> 
         <mi>
           a 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mi>
          T 
        </mi> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           V 
         </mi> 
         <mi>
           d 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math>with <xref ref-type="bibr" rid="scirp.141845-15">
      [15]
     </xref> <xref ref-type="bibr" rid="scirp.141845-16">
      [16]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               V 
             </mi> 
             <mi>
               a 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               V 
             </mi> 
             <mi>
               b 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               V 
             </mi> 
             <mi>
               c 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mstyle mathvariant="bold" mathsize="normal"> 
            <mi>
              V 
            </mi> 
            <mi>
              d 
            </mi> 
            <mi>
              c 
            </mi> 
           </mstyle> 
          </mrow> 
          <mn>
            3 
          </mn> 
         </mfrac> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mn>
              2 
            </mn> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mn>
              2 
            </mn> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mn>
              2 
            </mn> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               S 
             </mi> 
             <mi>
               a 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               S 
             </mi> 
             <mi>
               b 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               S 
             </mi> 
             <mi>
               c 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (6)</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Modeling of the Grinding Device</title>
    <p>The cage asynchronous machine is the most used actuator in most motorized applications due to its simplicity, robustness and cost <xref ref-type="bibr" rid="scirp.141845-17">
      [17]
     </xref>. To simulate the mill with the machine it is necessary to proceed with its modeling.</p>
    <p>The stator of the Asynchronous Machine (MAS) receives its power supply from a balanced three-phase voltage system. This power supply generates the formation of a rotating magnetic field (in accordance with the FERRARIS theorem) inside the space between the stator and the rotor of the machine called the air gap (as illustrated in <xref ref-type="fig" rid="fig6">
      Figure 6
     </xref>) <xref ref-type="bibr" rid="scirp.141845-18">
      [18]
     </xref> <xref ref-type="bibr" rid="scirp.141845-19">
      [19]
     </xref>.</p>
    <p>The voltage equations for the three stator phases and the three rotor phases are as follows <xref ref-type="bibr" rid="scirp.141845-19">
      [19]
     </xref>-<xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   a 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   m 
                 </mi> 
                 <mi>
                   a 
                 </mi> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   S 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   n 
                 </mi> 
                 <mrow> 
                  <mo>
                    ( 
                  </mo> 
                  <mtext>
                    θ 
                  </mtext> 
                  <mo>
                    ) 
                  </mo> 
                 </mrow> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                 <mo> 
                 </mo> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   b 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   m 
                 </mi> 
                 <mi>
                   a 
                 </mi> 
                 <mi>
                   x 
                 </mi> 
                 <mi>
                   S 
                 </mi> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   n 
                 </mi> 
                 <mrow> 
                  <mo>
                    ( 
                  </mo> 
                  <mrow> 
                   <mtext>
                     θ 
                   </mtext> 
                   <mo>
                     − 
                   </mo> 
                   <mfrac> 
                    <mrow> 
                     <mn>
                       2 
                     </mn> 
                     <mtext>
                       π 
                     </mtext> 
                    </mrow> 
                    <mn>
                      3 
                    </mn> 
                   </mfrac> 
                  </mrow> 
                  <mo>
                    ) 
                  </mo> 
                 </mrow> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mi>
               V 
             </mi> 
             <mi>
               c 
             </mi> 
             <mo>
               = 
             </mo> 
             <mi>
               V 
             </mi> 
             <mi>
               m 
             </mi> 
             <mi>
               a 
             </mi> 
             <mi>
               x 
             </mi> 
             <mi>
               S 
             </mi> 
             <mi>
               i 
             </mi> 
             <mi>
               n 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   4 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (7)</p>
    <p>Equation statoriques:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo> 
       </mo> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mtable columnalign="left"> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             a 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             s 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             a 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             a 
           </mi> 
          </mtd> 
         </mtr> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             b 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             s 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             b 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             b 
           </mi> 
          </mtd> 
         </mtr> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             c 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             s 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             c 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             s 
           </mi> 
           <mi>
             c 
           </mi> 
          </mtd> 
         </mtr> 
        </mtable> 
       </mrow> 
      </mrow> 
     </math> (8)</p>
    <p>Equations Rotoriques:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo> 
       </mo> 
       <mo> 
       </mo> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mtable columnalign="left"> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             a 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             r 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             a 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             a 
           </mi> 
          </mtd> 
         </mtr> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             b 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             r 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             b 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             b 
           </mi> 
          </mtd> 
         </mtr> 
         <mtr> 
          <mtd> 
           <mi>
             V 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             c 
           </mi> 
           <mo>
             = 
           </mo> 
           <mi>
             R 
           </mi> 
           <mi>
             r 
           </mi> 
           <mo>
             * 
           </mo> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             c 
           </mi> 
           <mo>
             + 
           </mo> 
           <mi>
             L 
           </mi> 
           <mfrac> 
            <mi>
              d 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               t 
             </mi> 
            </mrow> 
           </mfrac> 
           <mi>
             i 
           </mi> 
           <mi>
             r 
           </mi> 
           <mi>
             c 
           </mi> 
          </mtd> 
         </mtr> 
        </mtable> 
       </mrow> 
      </mrow> 
     </math> (9)</p>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>Figure 6. Schematic representation of the MAS.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId56.jpeg?20250409024939" />
    </fig>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>Figure 7. Park model of the MAS (three-phase to two-phase).</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId57.jpeg?20250409024941" />
    </fig>
    <p>The transformation of the three-phase system into a two-phase system for the modeling of the synchronous machine (MAS) involves a change of reference that alters the physical quantities such as voltages, fluxes and currents <xref ref-type="bibr" rid="scirp.141845-20">
      [20]
     </xref>. This transformation results in equations independent of the angle θ and reduces the order of the machine equations. The Park transformation highlights the direct axis (d) in the Park frame, as well as the quadrature axis (q). <xref ref-type="fig" rid="fig7">
      Figure 7
     </xref> below shows the principle of the Park transformation <xref ref-type="bibr" rid="scirp.141845-20">
      [20]
     </xref> <xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref>.</p>
    <p>1) Tension equations</p>
    <p>In a frame of reference linked to the rotating stator field, i.e. a frame of reference rotating at the stator pulsation speed ω = p. Ω = dș/dt, the voltage equations in the Park frame are written <xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtable> 
        <mtr> 
         <mtd> 
          <mrow> 
           <mrow> 
            <mo>
              { 
            </mo> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   R 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mo>
                   * 
                 </mo> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   + 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <mtext>
                     d 
                   </mtext> 
                   <mo>
                     ∅ 
                   </mo> 
                   <mtext>
                     sd 
                   </mtext> 
                  </mrow> 
                  <mrow> 
                   <mtext>
                     dt 
                   </mtext> 
                  </mrow> 
                 </mfrac> 
                 <mo>
                   − 
                 </mo> 
                 <mi>
                   ω 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mo>
                   ∅ 
                 </mo> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   R 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mo>
                   * 
                 </mo> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                 <mo>
                   + 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <mtext>
                     d 
                   </mtext> 
                   <mo>
                     ∅ 
                   </mo> 
                   <mtext>
                     sq 
                   </mtext> 
                  </mrow> 
                  <mrow> 
                   <mtext>
                     dt 
                   </mtext> 
                  </mrow> 
                 </mfrac> 
                 <mo>
                   + 
                 </mo> 
                 <mi>
                   ω 
                 </mi> 
                 <mi>
                   s 
                 </mi> 
                 <mo>
                   ∅ 
                 </mo> 
                 <mi>
                   s 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mrow> 
          </mrow> 
         </mtd> 
        </mtr> 
        <mtr> 
         <mtd> 
          <mrow> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
           <mrow> 
            <mo>
              { 
            </mo> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   R 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mo>
                   * 
                 </mo> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   + 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <mtext>
                     d 
                   </mtext> 
                   <mo>
                     ∅ 
                   </mo> 
                   <mtext>
                     rd 
                   </mtext> 
                  </mrow> 
                  <mrow> 
                   <mtext>
                     dt 
                   </mtext> 
                  </mrow> 
                 </mfrac> 
                 <mo>
                   − 
                 </mo> 
                 <mi>
                   ω 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mo>
                   ∅ 
                 </mo> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mn>
                   0 
                 </mn> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mi>
                   V 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mi>
                   R 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mo>
                   * 
                 </mo> 
                 <mi>
                   i 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   q 
                 </mi> 
                 <mo>
                   + 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <mtext>
                     d 
                   </mtext> 
                   <mo>
                     ∅ 
                   </mo> 
                   <mtext>
                     rq 
                   </mtext> 
                  </mrow> 
                  <mrow> 
                   <mtext>
                     dt 
                   </mtext> 
                  </mrow> 
                 </mfrac> 
                 <mo>
                   + 
                 </mo> 
                 <mi>
                   ω 
                 </mi> 
                 <mi>
                   r 
                 </mi> 
                 <mo>
                   ∅ 
                 </mo> 
                 <mi>
                   r 
                 </mi> 
                 <mi>
                   d 
                 </mi> 
                 <mo>
                   = 
                 </mo> 
                 <mn>
                   0 
                 </mn> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mrow> 
           <mo> 
           </mo> 
           <mo> 
           </mo> 
          </mrow> 
         </mtd> 
        </mtr> 
       </mtable> 
      </mrow> 
     </math> (10)</p>
    <p>2) Flow equations</p>
    <p>By performing the Park transformation on the equations relating to fluxes and currents, we can derive the electromagnetic relations of the machine <xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               ∅ 
             </mo> 
             <mi>
               s 
             </mi> 
             <mi>
               d 
             </mi> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               s 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               s 
             </mi> 
             <mi>
               d 
             </mi> 
             <mo>
               + 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               m 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               r 
             </mi> 
             <mi>
               d 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               ∅ 
             </mo> 
             <mi>
               s 
             </mi> 
             <mi>
               q 
             </mi> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               s 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               s 
             </mi> 
             <mi>
               q 
             </mi> 
             <mo>
               + 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               m 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               r 
             </mi> 
             <mi>
               q 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (11)</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               ∅ 
             </mo> 
             <mi>
               r 
             </mi> 
             <mi>
               d 
             </mi> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               r 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               r 
             </mi> 
             <mi>
               d 
             </mi> 
             <mo>
               + 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               m 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               s 
             </mi> 
             <mi>
               d 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               ∅ 
             </mo> 
             <mi>
               r 
             </mi> 
             <mi>
               q 
             </mi> 
             <mo>
               = 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               r 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               r 
             </mi> 
             <mi>
               q 
             </mi> 
             <mo>
               + 
             </mo> 
             <mi>
               L 
             </mi> 
             <mi>
               m 
             </mi> 
             <mo>
               * 
             </mo> 
             <mi>
               i 
             </mi> 
             <mi>
               s 
             </mi> 
             <mi>
               q 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>3) Electromagnetic torque equations</p>
    <p>It is necessary to enrich the electrical model by including the formulations of the electromagnetic torque as well as the speed, which allows to describe the mechanical behavior. The expression of the electromagnetic torque obtained is formulated as follows: <xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         C 
       </mi> 
       <mi>
         e 
       </mi> 
       <mi>
         m 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         p 
       </mi> 
       <mo>
         * 
       </mo> 
       <mi>
         M 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           i 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           q 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           i 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           d 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           i 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           d 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           i 
         </mi> 
         <mi>
           r 
         </mi> 
         <mi>
           q 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           p 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           M 
         </mi> 
        </mrow> 
        <mrow> 
         <mi>
           L 
         </mi> 
         <mi>
           r 
         </mi> 
        </mrow> 
       </mfrac> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mo>
           ∅ 
         </mo> 
         <mi>
           r 
         </mi> 
         <mi>
           d 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           i 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           q 
         </mi> 
         <mo>
           − 
         </mo> 
         <mo>
           ∅ 
         </mo> 
         <mi>
           r 
         </mi> 
         <mi>
           q 
         </mi> 
         <mo>
           . 
         </mo> 
         <mi>
           i 
         </mi> 
         <mi>
           s 
         </mi> 
         <mi>
           d 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (12)</p>
    <p>4) Mechanical equations</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         j 
       </mi> 
       <mo>
         . 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           Ω 
         </mi> 
        </mrow> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           t 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo>
         + 
       </mo> 
       <mi>
         f 
       </mi> 
       <mo>
         . 
       </mo> 
       <mi>
         Ω 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         C 
       </mi> 
       <mi>
         e 
       </mi> 
       <mi>
         m 
       </mi> 
       <mo>
         − 
       </mo> 
       <mi>
         C 
       </mi> 
       <mi>
         r 
       </mi> 
      </mrow> 
     </math> (13)</p>
    <p>So we can define the Park matrix as follows <xref ref-type="bibr" rid="scirp.141845-6">
      [6]
     </xref> <xref ref-type="bibr" rid="scirp.141845-21">
      [21]
     </xref>:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtext>
           P 
         </mtext> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mtext>
            θ 
          </mtext> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mn>
            2 
          </mn> 
          <mn>
            3 
          </mn> 
         </mfrac> 
        </mrow> 
       </msqrt> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtext> 
         </mtext> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtext>
               Cosθ 
             </mtext> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtext>
               Cos 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   2 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtext>
               Cos 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   4 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sinθ 
             </mtext> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sin 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   2 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sin 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   4 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (14)</p>
    <p>The inverse transformation of the Park Matrix exclaims:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtext>
           P 
         </mtext> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mtext>
            θ 
          </mtext> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <msup> 
        <mtext> 
        </mtext> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mn>
            2 
          </mn> 
          <mn>
            3 
          </mn> 
         </mfrac> 
        </mrow> 
       </msqrt> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtext> 
         </mtext> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtext>
               Cosθ 
             </mtext> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sinθ 
             </mtext> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtext>
               Cos 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   2 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sin 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   2 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtext>
               Cos 
             </mtext> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mtext>
                 θ 
               </mtext> 
               <mo>
                 − 
               </mo> 
               <mfrac> 
                <mrow> 
                 <mn>
                   4 
                 </mn> 
                 <mtext>
                   π 
                 </mtext> 
                </mrow> 
                <mn>
                  3 
                </mn> 
               </mfrac> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mtext>
               Sin 
             </mtext> 
             <mo stretchy="false">
               ( 
             </mo> 
             <mtext>
               θ 
             </mtext> 
             <mo>
               − 
             </mo> 
             <mfrac> 
              <mrow> 
               <mn>
                 4 
               </mn> 
               <mtext>
                 π 
               </mtext> 
              </mrow> 
              <mn>
                3 
              </mn> 
             </mfrac> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msqrt> 
                <mn>
                  2 
                </mn> 
               </msqrt> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (15)</p>
    <p>The millet mill can be considered as a mechanical load for the engine. The model of the artisanal mill is defined by the load torque profile. The characteristic observed in the operation is that the grinding is done in steady state. The mechanical parameters (speed and torque) of the mill are a function of the flow and the grain (D). According to their operating principle, the speed varies with the flow rate, so there is a relationship between speed and flow rate <xref ref-type="bibr" rid="scirp.141845-6">
      [6]
     </xref> <xref ref-type="bibr" rid="scirp.141845-22">
      [22]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ω 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         ω 
       </mi> 
       <mi>
         s 
       </mi> 
       <mo>
         − 
       </mo> 
       <mi>
         k 
       </mi> 
       <mo>
         * 
       </mo> 
       <mi>
         D 
       </mi> 
      </mrow> 
     </math> (16)</p>
    <p>With</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        ω 
      </mi> 
     </math>: the rotation speed under load (rd/s);</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ω 
       </mi> 
       <mi>
         s 
       </mi> 
      </mrow> 
     </math>: the no-load rotation speed (rd/s);</p>
    <p>K: the characteristic constant of the mill (rd/kg);</p>
    <p>D: grain flow rate (Kg/s).</p>
    <p>Using the fundamental operating concept of the artisanal mill as well as the interaction of the hammers (propellers) that reduce the grain size, it is possible to express the torque configuration as a fusion of the four pre-existing load couples. Equation (17) represents the formula of the mechanical characteristic as a function of the parameters (K, k1, k2, K3, K4) that define the specific properties of the mill <xref ref-type="bibr" rid="scirp.141845-22">
      [22]
     </xref></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         C 
       </mi> 
       <mi>
         r 
       </mi> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <mi>
         ω 
       </mi> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          3 
        </mn> 
       </msub> 
       <msup> 
        <mi>
          ω 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          4 
        </mn> 
       </msub> 
       <msup> 
        <mi>
          ω 
        </mi> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
      </mrow> 
     </math> (17)</p>
    <p>With: Cr mill load torque (Nm);</p>
    <p>K<sub>1, </sub>K<sub>2, </sub>K<sub>3 </sub>K<sub>4</sub> and K: The characteristic constants of the Moulin.</p>
    <p>The parameters of the mill used in this work are established by means of experimental tests. The corresponding values are presented in <xref ref-type="table" rid="table1">
      Table 1
     </xref> below <xref ref-type="bibr" rid="scirp.141845-22">
      [22]
     </xref>.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.141845-"></xref>Table 1. Mill parameter values.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td custom-top-td acenter" width="58.29%"><p style="text-align:center">Settings</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="41.71%"><p style="text-align:center">Values</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="58.29%"><p style="text-align:center">K<sub>1</sub> (Nm)</p></td> 
       <td class="custom-top-td acenter" width="41.71%"><p style="text-align:center">2091.5</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="58.29%"><p style="text-align:center">K<sub>2</sub> (Nms/rd)</p></td> 
       <td class="acenter" width="41.71%"><p style="text-align:center">−12.031</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="58.29%"><p style="text-align:center">K<sub>3</sub> (Nms<sup>2</sup>/rd)</p></td> 
       <td class="acenter" width="41.71%"><p style="text-align:center">0.0171</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="58.29%"><p style="text-align:center">K<sub>4</sub> (Nm Rd/s)</p></td> 
       <td class="acenter" width="41.71%"><p style="text-align:center">0</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="58.29%"><p style="text-align:center">k (rd.kg)</p></td> 
       <td class="acenter" width="41.71%"><p style="text-align:center">5.8161</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td acenter" width="58.29%"><p style="text-align:center">ωo (rd/s)</p></td> 
       <td class="custom-bottom-td acenter" width="41.71%"><p style="text-align:center">313.47</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Then the resisting torque (Cr) becomes:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         C 
       </mi> 
       <mi>
         r 
       </mi> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          3 
        </mn> 
       </msub> 
       <mo> 
       </mo> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              ω 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mi>
             k 
           </mi> 
           <mo> 
           </mo> 
           <mi>
             x 
           </mi> 
           <mo> 
           </mo> 
           <mi>
             D 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo> 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            ω 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
         <mo>
           − 
         </mo> 
         <mi>
           k 
         </mi> 
         <mo> 
         </mo> 
         <mi>
           x 
         </mi> 
         <mo> 
         </mo> 
         <mi>
           D 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          k 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
      </mrow> 
     </math> (18)</p>
   </sec>
   <sec id="s3_5">
    <title>3.5. System Control</title>
    <p>V/f scalar control with SVM (support vector machines) strategy is used for the control of the grinding device.</p>
    <p>The principle of scalar control is to keep the V/f ratio constant. Equation (19) gives the expression for the maximum torque <xref ref-type="bibr" rid="scirp.141845-22">
      [22]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          C 
        </mi> 
        <mrow> 
         <mi>
           e 
         </mi> 
         <mi>
           max 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mn>
           3 
         </mn> 
         <mi>
           p 
         </mi> 
         <msub> 
          <mi>
            L 
          </mi> 
          <mi>
            m 
          </mi> 
         </msub> 
         <msup> 
          <mrow></mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <msub> 
          <mi>
            L 
          </mi> 
          <mi>
            s 
          </mi> 
         </msub> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              L 
            </mi> 
            <mi>
              s 
            </mi> 
           </msub> 
           <msub> 
            <mi>
              L 
            </mi> 
            <mi>
              r 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              L 
            </mi> 
            <mi>
              m 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
       </mfrac> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <msub> 
              <mi>
                V 
              </mi> 
              <mi>
                S 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                R 
              </mi> 
              <mi>
                S 
              </mi> 
             </msub> 
             <msub> 
              <mi>
                I 
              </mi> 
              <mi>
                S 
              </mi> 
             </msub> 
            </mrow> 
            <mrow> 
             <msub> 
              <mi>
                ω 
              </mi> 
              <mi>
                s 
              </mi> 
             </msub> 
            </mrow> 
           </mfrac> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math> (19)</p>
    <p>The simplified expression, or the voltage drop across the stator resistance is neglected. However, at low speeds the voltage drop cannot be neglected. We propose to compensate the voltage drop by a threshold voltage (Vo) and to operate the motor at a standstill at a limit frequency (fo). <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref> shows the profile of the voltage amplitude as a function of frequency <xref ref-type="bibr" rid="scirp.141845-22">
      [22]
     </xref> <xref ref-type="bibr" rid="scirp.141845-23">
      [23]
     </xref>.</p>
    <fig id="fig8" position="float">
     <label>Figure 8</label>
     <caption>
      <title>Figure 8. Modified V/f control profile.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId84.jpeg?20250409024944" />
    </fig>
    <p>The profile made it possible to establish the relation (20) giving the amplitude of the voltage (Vs) and the frequency (fo) from the nominal values of the voltage (Vn) and the frequency (fn) <xref ref-type="bibr" rid="scirp.141845-23">
      [23]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          V 
        </mi> 
        <mi>
          s 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              V 
            </mi> 
            <mi>
              n 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              V 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              ƒ 
            </mi> 
            <mi>
              n 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              ƒ 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
       </mfrac> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            f 
          </mi> 
          <mi>
            n 
          </mi> 
         </msub> 
         <mo>
           − 
         </mo> 
         <mi>
           ƒ 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          V 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
      </mrow> 
     </math> (20)</p>
    <p>The closed-loop strategy is used to control the system. This strategy uses a loop that, from the mill speed error (ω), increases the frequency of the stator voltages to correct the speed error due to slip (ω<sub>g</sub>). Equation (21) gives the generated stator pulsation (ω<sub>s</sub>) <xref ref-type="bibr" rid="scirp.141845-23">
      [23]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mtext>
          ω 
        </mtext> 
        <mtext>
          s 
        </mtext> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mtext>
          ω 
        </mtext> 
        <mtext>
          g 
        </mtext> 
       </msub> 
       <mo>
         − 
       </mo> 
       <mtext>
         ω 
       </mtext> 
      </mrow> 
     </math> (21)</p>
    <p>The three voltages (i = 1, 2, 3), generated from the frequency, are given by equation (22).</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          V 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                V 
              </mi> 
              <mi>
                n 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                V 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                ƒ 
              </mi> 
              <mi>
                n 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                ƒ 
              </mi> 
              <mn>
                0 
              </mn> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
         </mfrac> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              ƒ 
            </mi> 
            <mi>
              n 
            </mi> 
           </msub> 
           <mo>
             − 
           </mo> 
           <mi>
             ƒ 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           + 
         </mo> 
         <msub> 
          <mi>
            V 
          </mi> 
          <mn>
            0 
          </mn> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mi>
         sin 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
         <mi>
           f 
         </mi> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
         <mfrac> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               i 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            3 
          </mn> 
         </mfrac> 
         <mi>
           π 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (22)</p>
    <p>The generated voltages (Vi) and pulsations (ωs) are the input variables of the SVM (support vector machines) command.</p>
    <p>The vector control technique is based on the orientation of the flux in the machine, at the stator, rotor or in the air gap, along one of the two axes (d) or (q) <xref ref-type="bibr" rid="scirp.141845-24">
      [24]
     </xref>. Therefore, the control of the currents along the d axis determines the magnetic state of the machine, while the control of the currents along the q axis provides us with the necessary torque <xref ref-type="bibr" rid="scirp.141845-23">
      [23]
     </xref> <xref ref-type="bibr" rid="scirp.141845-24">
      [24]
     </xref>.</p>
    <p>The equation that shows the relationship between the flux 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mo>
          ∅ 
        </mo> 
        <mi>
          r 
        </mi> 
       </msub> 
      </mrow> 
     </math> and the current 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          i 
        </mi> 
        <mrow> 
         <mi>
           s 
         </mi> 
         <mi>
           d 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> is:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                C 
              </mi> 
              <mrow> 
               <mi>
                 e 
               </mi> 
               <mi>
                 m 
               </mi> 
              </mrow> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               k 
             </mi> 
             <mo>
               * 
             </mo> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 s 
               </mi> 
               <mi>
                 q 
               </mi> 
              </mrow> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mi>
                M 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  T 
                </mi> 
                <mi>
                  r 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mrow> 
               <mi>
                 s 
               </mi> 
               <mi>
                 d 
               </mi> 
              </mrow> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mfrac> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <msub> 
                <mo>
                  ∅ 
                </mo> 
                <mi>
                  r 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mi>
                 d 
               </mi> 
               <mi>
                 t 
               </mi> 
              </mrow> 
             </mfrac> 
             <mo>
               + 
             </mo> 
             <mo> 
             </mo> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msub> 
                <mi>
                  T 
                </mi> 
                <mi>
                  r 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
             <msub> 
              <mo>
                ∅ 
              </mo> 
              <mi>
                r 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (23)</p>
    <p>It is observed that the direct stator current component 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          i 
        </mi> 
        <mrow> 
         <mi>
           s 
         </mi> 
         <mi>
           d 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math>determines the rotor flux amplitude, while the quadratic stator current component 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          i 
        </mi> 
        <mrow> 
         <mi>
           s 
         </mi> 
         <mi>
           q 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> determines the torque.</p>
    <p>1) Cruise control settings</p>
    <p>The speed control chain can be schematically represented in (<xref ref-type="fig" rid="fig9">
      Figure 9
     </xref>) below <xref ref-type="bibr" rid="scirp.141845-25">
      [25]
     </xref>:</p>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>Figure 9. Speed control with a PI corrector.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId101.jpeg?20250409024945" />
    </fig>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msub> 
                <mi>
                  ω 
                </mi> 
                <mi>
                  n 
                </mi> 
               </msub> 
               <msup> 
                <mrow></mrow> 
                <mn>
                  2 
                </mn> 
               </msup> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <mfrac> 
              <mi>
                J 
              </mi> 
              <mrow> 
               <msub> 
                <mi>
                  K 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <msub> 
              <mi>
                K 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mi>
               J 
             </mi> 
             <mo>
               . 
             </mo> 
             <msub> 
              <mi>
                ω 
              </mi> 
              <mi>
                n 
              </mi> 
             </msub> 
             <msup> 
              <mrow></mrow> 
              <mn>
                2 
              </mn> 
             </msup> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mrow> 
               <mn>
                 2 
               </mn> 
               <mi>
                 ε 
               </mi> 
              </mrow> 
              <mrow> 
               <msub> 
                <mi>
                  ω 
                </mi> 
                <mi>
                  n 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <mfrac> 
              <mrow> 
               <mi>
                 f 
               </mi> 
               <mo>
                 + 
               </mo> 
               <msub> 
                <mi>
                  K 
                </mi> 
                <mi>
                  p 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <msub> 
                <mi>
                  K 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <mo> 
             </mo> 
             <msub> 
              <mi>
                K 
              </mi> 
              <mi>
                p 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mn>
               2 
             </mn> 
             <mi>
               ε 
             </mi> 
             <mi>
               J 
             </mi> 
             <msub> 
              <mi>
                ω 
              </mi> 
              <mi>
                n 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <mi>
               f 
             </mi> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
       <mo> 
       </mo> 
      </mrow> 
     </math> (24)</p>
    <p>T<sub>r</sub>_w = 0.1; % Response time at 5% of speed</p>
    <p>w<sub>n</sub>_T<sub>r</sub>_w = 3% The settings for speed</p>
    <p>K<sub>i</sub>_w = wn<sup>2</sup> * J</p>
    <p>K<sub>p</sub>_w = ((2*x<sub>i</sub> * K<sub>i</sub>_w)/wn) − f<sub>r</sub></p>
    <p>2) Flow Regulator Settings</p>
    <p>To ensure the proper operation of the machine, the total flux must be kept constant at its nominal value during speed variations or application of charge additives <xref ref-type="bibr" rid="scirp.141845-24">
      [24]
     </xref> <xref ref-type="bibr" rid="scirp.141845-25">
      [25]
     </xref>.</p>
    <p>The block diagram is given by (<xref ref-type="fig" rid="fig10">
      Figure 10
     </xref>):</p>
    <fig id="fig10" position="float">
     <label>Figure 10</label>
     <caption>
      <title>Figure 10. Flow control loop.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId104.jpeg?20250409024945" />
    </fig>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         A 
       </mi> 
       <mi>
         G 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          s 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mfrac> 
          <mrow> 
           <mi>
             S 
           </mi> 
           <msub> 
            <mi>
              K 
            </mi> 
            <mrow> 
             <mi>
               p 
             </mi> 
             <mo>
               + 
             </mo> 
             <mo> 
             </mo> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              K 
            </mi> 
            <mi>
              i 
            </mi> 
           </msub> 
          </mrow> 
          <mrow> 
           <msub> 
            <mi>
              τ 
            </mi> 
            <mi>
              r 
            </mi> 
           </msub> 
          </mrow> 
         </mfrac> 
        </mrow> 
        <mrow> 
         <msup> 
          <mi>
            S 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
         <mo>
           . 
         </mo> 
         <mo>
           + 
         </mo> 
         <mi>
           S 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <msub> 
              <mi>
                L 
              </mi> 
              <mi>
                m 
              </mi> 
             </msub> 
             <msub> 
              <mi>
                K 
              </mi> 
              <mi>
                p 
              </mi> 
             </msub> 
             <mo>
               + 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
            <mrow> 
             <msub> 
              <mi>
                τ 
              </mi> 
              <mi>
                r 
              </mi> 
             </msub> 
            </mrow> 
           </mfrac> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           + 
         </mo> 
         <mfrac> 
          <mrow> 
           <msub> 
            <mi>
              L 
            </mi> 
            <mi>
              m 
            </mi> 
           </msub> 
           <msub> 
            <mi>
              K 
            </mi> 
            <mi>
              i 
            </mi> 
           </msub> 
          </mrow> 
          <mrow> 
           <msub> 
            <mi>
              τ 
            </mi> 
            <mi>
              r 
            </mi> 
           </msub> 
          </mrow> 
         </mfrac> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math> (25)</p>
    <p>For the control of the closed-loop system, it is necessary to carefully choose the coefficients 
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo> 
       </mo> 
       <msub> 
        <mi>
          K 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <mo> 
       </mo> 
       <mi>
         e 
       </mi> 
       <mi>
         t 
       </mi> 
       <mo> 
       </mo> 
       <msub> 
        <mi>
          K 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
      </mrow> 
     </math>. The transfer function of a closed-loop system of order 2 is given by <xref ref-type="bibr" rid="scirp.141845-16">
      [16]
     </xref> <xref ref-type="bibr" rid="scirp.141845-25">
      [25]
     </xref>.</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          { 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mrow> 
               <msub> 
                <mtext>
                  L 
                </mtext> 
                <mtext>
                  m 
                </mtext> 
               </msub> 
               <msub> 
                <mi>
                  K 
                </mi> 
                <mi>
                  p 
                </mi> 
               </msub> 
               <mo>
                 + 
               </mo> 
               <mn>
                 1 
               </mn> 
              </mrow> 
              <mrow> 
               <msub> 
                <mtext>
                  τ 
                </mtext> 
                <mtext>
                  r 
                </mtext> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <mn>
               2 
             </mn> 
             <mi>
               ρ 
             </mi> 
             <mtext> 
             </mtext> 
             <msub> 
              <mi>
                K 
              </mi> 
              <mi>
                p 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mfrac> 
              <mn>
                1 
              </mn> 
              <mrow> 
               <msub> 
                <mtext>
                  L 
                </mtext> 
                <mtext>
                  m 
                </mtext> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mfrac> 
                <mrow> 
                 <mn>
                   2 
                 </mn> 
                 <msub> 
                  <mi>
                    L 
                  </mi> 
                  <mi>
                    r 
                  </mi> 
                 </msub> 
                 <mi>
                   ρ 
                 </mi> 
                </mrow> 
                <mrow> 
                 <msub> 
                  <mi>
                    R 
                  </mi> 
                  <mi>
                    r 
                  </mi> 
                 </msub> 
                </mrow> 
               </mfrac> 
               <mo>
                 − 
               </mo> 
               <mn>
                 1 
               </mn> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mfrac> 
              <mrow> 
               <msub> 
                <mtext>
                  L 
                </mtext> 
                <mtext>
                  m 
                </mtext> 
               </msub> 
               <msub> 
                <mi>
                  K 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <msub> 
                <mtext>
                  τ 
                </mtext> 
                <mtext>
                  r 
                </mtext> 
               </msub> 
              </mrow> 
             </mfrac> 
             <mo>
               = 
             </mo> 
             <mn>
               2 
             </mn> 
             <msup> 
              <mi>
                ρ 
              </mi> 
              <mn>
                2 
              </mn> 
             </msup> 
             <mtext> 
             </mtext> 
             <msub> 
              <mi>
                K 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               = 
             </mo> 
             <mfrac> 
              <mrow> 
               <mn>
                 2 
               </mn> 
               <msub> 
                <mi>
                  L 
                </mi> 
                <mi>
                  r 
                </mi> 
               </msub> 
               <msup> 
                <mi>
                  ρ 
                </mi> 
                <mn>
                  2 
                </mn> 
               </msup> 
              </mrow> 
              <mrow> 
               <msub> 
                <mi>
                  R 
                </mi> 
                <mi>
                  r 
                </mi> 
               </msub> 
              </mrow> 
             </mfrac> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
       </mrow> 
      </mrow> 
     </math> (26)</p>
    <p>T<sub>r</sub>_flux = 0.01; % Response time for the flow</p>
    <p>% Parameters for the stream</p>
    <p>K<sub>i</sub>_phi = 1/(L<sub>m</sub> * T<sub>r</sub>_flux)</p>
    <p>K<sub>p</sub>_phi = (Lr/Rr) * K<sub>i</sub>_phi</p>
   </sec>
   <sec id="s3_6">
    <title>3.6. Simulation Results and Discussion</title>
    <fig id="fig11" position="float">
     <label>Figure 11</label>
     <caption>
      <title>Figure 11. System model with scalar control on Matlab Simulink.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId111.jpeg?20250409024948" />
    </fig>
    <p>
     <xref ref-type="fig" rid="fig11">
      Figure 11
     </xref> illustrates the configuration of the system integrating a solar panel (PV), a chopper, an inverter, a Solar Powered Motor (SPM) with its load (mill). This system is driven by a scalar control strategy <xref ref-type="bibr" rid="scirp.141845-16">
      [16]
     </xref>.</p>
    <p>The modeling and implementation of the scalar control strategy was carried out using Matlab/Simulink. This approach allowed to simulate the system, and the results were obtained by running the simulation of the model with the parameters that will be provided in the Appendix.</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Discussion 1</title>
   <p>During start-up, oscillations of the electromagnetic torque are observed due to the modulation (Transient) and harmonics carried by the inverter output signal during the start-up phase, then it decreases to an almost zero value from 0 to 3 s which corresponds to the no-load operation of the MAS, the electromagnetic torque therefore reaches a value and then follows its setpoint. It continues with less significant oscillations due to modulation around an average value corresponding to friction losses and ventilation. These oscillations then stabilize according to the value of the resistive torque Cr with a progressive and regressive application of the load (as illustrated in <xref ref-type="fig" rid="fig12">
     Figure 12
    </xref>).</p>
   <fig id="fig12" position="float">
    <label>Figure 12</label>
    <caption>
     <title>Figure 12. Mill speed characteristic.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId112.jpeg?20250409024949" />
   </fig>
   <fig id="fig13" position="float">
    <label>Figure 13</label>
    <caption>
     <title>Figure 13. Characteristic of the variation of the resistive torque and the electromagnetic torque.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId113.jpeg?20250409024949" />
   </fig>
   <p>The simulation undertaken involves the application of a variable load profile that is representative of the resistive torque of the machine. For 
    <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> 
      <mo>
        = 
      </mo> 
      <mn>
        314 
      </mn> 
      <mi>
        r 
      </mi> 
      <mi>
        d 
      </mi> 
      <mo>
        / 
      </mo> 
      <mi>
        s 
      </mi> 
     </mrow> 
    </math>and a 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         C 
       </mi> 
       <mi>
         r 
       </mi> 
      </msub> 
     </mrow> 
    </math>variable applied at times t = 3 s, t = 5 s and t = 9 s we see that the electromechanical torque and the speed follow their reference value regardless of the value of the resistive torque applied (as illustrated in <xref ref-type="fig" rid="fig13">
     Figure 13
    </xref>).</p>
   <p>The application of the variable load torque slightly reduces the rotation speed, which returns to its set value after a short time by the effect of the scalar control, hence a regulation perfectly ensured by the PI correctors</p>
   <sec id="s4_1">
    <title>DFOC Vector Control</title>
    <p>
     <xref ref-type="fig" rid="fig14">
      Figure 14
     </xref> illustrates the configuration of the system integrating a solar panel (PV), a chopper, an inverter, a Solar Powered Motor (SPM) with its load (mill). This system is driven by a FOC (field oriented control) control strategy.</p>
    <fig id="fig14" position="float">
     <label>Figure 14</label>
     <caption>
      <title>Figure 14. System model with vectorial control on Matlab Simulink.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId118.jpeg?20250409024950" />
    </fig>
    <fig id="fig15" position="float">
     <label>Figure 15</label>
     <caption>
      <title>Figure 15. Mill speed characteristic.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId118.jpeg?20250409024950" />
    </fig>
    <p>The model creation and implementation of the FOC (Field Oriented Control) control strategy were performed using Matlab/Simulink. This method was used to simulate the system and the results were obtained by running the model simulation.</p>
    <fig id="fig16" position="float">
     <label>Figure 16</label>
     <caption>
      <title>Figure 16. Characteristic of the variation of the resistive torque and the electromagnetic torque.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/6202976-rId119.jpeg?20250409024950" />
    </fig>
   </sec>
  </sec><sec id="s5">
   <title>5. Discussion 2</title>
   <p>During startup, electromagnetic torque oscillations are observed due to modulation (Transient) and harmonics carried by the inverter output signal during the startup phase. It continues with less significant oscillations due to modulation around an average value corresponding to friction losses. These oscillations then stabilize from 0 to 3 s which corresponds to the no-load operation of the MAS and depending on the value of the resistive torque Cr with a progressive application of the load at time t = 5 s and at time t = 9 S corresponds to disturbances of variable load torque 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         C 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          v 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math>= 9.5 Nm and 6 Nm the torque undergoes a transaction peak when switching from one mode to another, then regains its value without error. This results in a gradual variation of the electromagnetic torque, in relation to the resistive torque.</p>
   <p>The results obtained also demonstrate that, despite any variation in the load, the speed remains constant at 3000 rpm, which is equivalent to 325 rad/s as shown in (<xref ref-type="fig" rid="fig15">
     Figure 15
    </xref>). We also note that the system responds positively to this variation in the load, the speed perfectly follows its new reference with a small overshoot due to the PI regulator and it quickly reaches its setpoint during the start-up phase without the application of a load and during the progressive application at time t = 3 s and at time t = 5 s corresponds to disturbances of variable load torque 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         C 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          v 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math>= 0.4 Nm and 9.5 Nm and regressive load at time t = 9 s of 
    <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         C 
       </mi> 
       <mrow> 
        <mi>
          r 
        </mi> 
        <mi>
          v 
        </mi> 
       </mrow> 
      </msub> 
     </mrow> 
    </math> 6 N, it undergoes a small attenuation which disappears thereafter to regain its imposed value with good dynamics . This means that the regulation is robust from the speed control point of view. Consequently, a regulation and a pursuit of the speed is set up in a completely effective manner.</p>
   <p>The simulation undertaken involves the application of a variable load profile that is representative of the machine’s resistive torque (as illustrated in <xref ref-type="fig" rid="fig16">
     Figure 16
    </xref>).</p>
   <sec id="s5_1">
    <title>Comparison of the Two Types of Orders</title>
    <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
     <tr> 
      <td class="custom-bottom-td custom-top-td acenter" width="38.05%"><p style="text-align:center"></p></td> 
      <td class="custom-bottom-td custom-top-td acenter" width="36.31%"><p style="text-align:center">Scalar</p></td> 
      <td class="custom-bottom-td custom-top-td acenter" width="25.64%"><p style="text-align:center">Vector</p></td> 
     </tr> 
     <tr> 
      <td class="custom-top-td aleft" width="38.05%"><p style="text-align:left">Rise time</p></td> 
      <td class="custom-top-td acenter" width="36.31%"><p style="text-align:center">248.673 ms = 0.248 s</p></td> 
      <td class="custom-top-td acenter" width="25.64%"><p style="text-align:center">19.254 ms = 0.019 s</p></td> 
     </tr> 
     <tr> 
      <td class="aleft" width="38.05%"><p style="text-align:left">Response time (Step Response)</p></td> 
      <td class="acenter" width="36.31%"><p style="text-align:center">829.8 ms = 0.8298 s</p></td> 
      <td class="acenter" width="25.64%"><p style="text-align:center">348 ms = 0.348 s</p></td> 
     </tr> 
     <tr> 
      <td class="aleft" width="38.05%"><p style="text-align:left">Overshoot</p></td> 
      <td class="acenter" width="36.31%"><p style="text-align:center">9.341%</p></td> 
      <td class="acenter" width="25.64%"><p style="text-align:center">11,798%</p></td> 
     </tr> 
     <tr> 
      <td class="custom-bottom-td aleft" width="38.05%"><p style="text-align:left">Peak to Peak</p></td> 
      <td class="custom-bottom-td acenter" width="36.31%"><p style="text-align:center">342</p></td> 
      <td class="custom-bottom-td acenter" width="25.64%"><p style="text-align:center">352</p></td> 
     </tr> 
    </table>
    <p>The rotation speed of the scalar control follows the reference in regulation and in pursuit with a rise time of 0.248 s and a response time of 0.8298 s after a transient regime observed at the time of start-up. The speed undergoes an overshoot of 9.341% for a time of 1.7 s then it returns to its setpoint and keeps this value in steady state until the load couples are applied, which it then regulates to return to the setpoint again.</p>
    <p>The response of the vector control presents good results in pursuit (precision) of the setpoint and rejection of disturbances (Robustness) of load with an overshoot of 11.798%, a voltage peak of 352 V is observed then it quickly regains its setpoint with a rise time of 0.0119 s showing the speed of the system and a response time of 0.348 s.</p>
    <p>To regulate the mill speed, we used both control methods: scalar control and vector control, which provide precise control and improve energy efficiency. A comparative study between the two methods shows that scalar control (Discussion 1), simpler and less expensive, is advantageous for a small-scale mill powered by an asynchronous motor and a photovoltaic system. Although vector control offers better performance (Discussion 2), its complexity and higher cost are not justified for rural applications where scalar control effectively meets the needs. After analysis, we chose scalar control as the optimal solution.</p>
   </sec>
  </sec><sec id="s6">
   <title>6. Conclusion</title>
   <p>This paper explores scalar and vector control approaches to maintain a constant mill speed, despite variations in solar irradiance and load. Matlab-Simulink simulations confirm these results. The choice of scalar control, based on economic and feasibility analysis, allows us to adjust the mill speed precisely, thus optimizing the quality of the final product (4800 rpm for flour, 3000 rpm for broken cereals). Despite the progress made, future research could explore adaptive control methods and the integration of machine learning to improve speed regulation and system efficiency.</p>
  </sec><sec id="s7">
   <title>Appendix</title>
   <p>clear all</p>
   <p>clc</p>
   <p>%% Mini-grid settings</p>
   <p>f = 50; % network frequency</p>
   <p>Ve = 230; % Network voltage</p>
   <p>Rrr = 0. 808; % The internal resistance of the mini-grid</p>
   <p>Lrr = 3e−3; % The internal inductance of the network</p>
   <p>%% Output and command parameters %%</p>
   <p>Vsref = 565;</p>
   <p>reference voltage</p>
   <p>Ps = 4000; % Output power</p>
   <p>Rch = Vsref^2/Ps; % Output resistance</p>
   <p>Is = Ps/Vsref; % Output current</p>
   <p>Vp = 1;</p>
   <p>Go = Vsref/Vp;</p>
   <p>Fc = 10e 3; % Switching Frequency</p>
   <p>Di = 1; %The current ripple</p>
   <p>Dv = 1.5; % Voltage ripple</p>
   <p>Lsr = Vsref/(2*Di*Fc ); % leakage inductance</p>
   <p>C = (Ps/Vsref)/(2*3.14*Dv*f); %Capacity</p>
   <p>wc_i = 2500;</p>
   <p>wc_v = 10;</p>
   <p>Tau_i =(Lsr + Lrr)/Rrr</p>
   <p>Goi = Go/Rrr</p>
   <p>Gov = (Rch*Ve* sqrt (2))/(4*Vsref)</p>
   <p>Tau_v = (Rch*C)/2</p>
   <p>% kpv = (1.14*Tau_v*wc_v − 1)/(Gov)</p>
   <p>% kiv = (Tau_v*wc_v^2)/(Gov)</p>
   <p>% kpi = (1.14*Tau_i*wc_i−1)/(Goi)</p>
   <p>% kii = (Tau_i*wc_i^2)/(Goi)</p>
   <p>TrepI = 0.001</p>
   <p>TrepV = 0.07</p>
   <p>kpv = (Tau_v/Gov)*(1/TrepV)</p>
   <p>kiv = (1/Gov)*(1/TrepV)</p>
   <p>kpi = (1/Goi)*(Tau_i/TrepI)</p>
   <p>kii = (1/Goi)*(1/TrepI)</p>
   <p>% MACHINE PARAMETERS</p>
   <p>Rs = 2.475; % Stator resistance</p>
   <p>Rr = 4.446; % Rotor resistance</p>
   <p>Ls = 270.315e−3; % Stator inductance</p>
   <p>Lr = 270.315e−3; % Rotor inductance</p>
   <p>Lm = 259.836e−3; % Mutual inductance</p>
   <p>= 1; % Number of Pole Pairs</p>
   <p>J = 0.023; % Moment of inertia</p>
   <p>fr = 26e−4; % Coefficient of friction</p>
   <p>% THE CONSTANTS</p>
   <p>Sigma = 1 − ((Lm*Lm)/(Lr*Ls));</p>
   <p>Lss = Ls*sigma;</p>
   <p>Tr = Lr/Rr;</p>
   <p>%REFERENCES</p>
   <p>Ts = 10e−4; % SVM switching period</p>
   <p>Phi_n = 1; % Nominal flow</p>
   <p>wref = 314; % Reference Speed</p>
   <p>Vdc = 565; % DC bus voltage</p>
   <p>% SYNTHESIS OF CORRECTORS FOR THE FOC</p>
   <p>%The coefficients</p>
   <p>wn = wn_Tr_w/Tr_w; % Clean pulsation</p>
   <p>Tr_i = 0.00001; % Current response time</p>
   <p>wnTrep = 3;</p>
   <p>%Parameters for currents</p>
   <p>Ki_i = Rs/Tr_i;</p>
   <p>Kp_i = Lss/Tr_i;</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.141845-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Aouchiche, N., Aït Cheikh, M.S. and Malek, A. (2021) Tracking the Maximum Power Point of a Photovoltaic System by the Methods of Conductance Incrementation and Perturbation&amp;Observation. Renewable Energy Review, 16, 485-498.
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Doumbia, M.L. and Traoré, A. (2000) Modelling and Simulation of an Asynchronous Cage Machine Using Matlab/Simulink Software. &gt;https://ro.scribd.com/document/502417279/01-9 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Robyns, B., Francois, B., Degobert, P. and Hautier J.P. (2018) Vector Control of Induction Machines. Springer. &gt;https://doi.org/10.1007/978-0-85729-901-7 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Fatima, M. and Assia, H. (2024) Performances of an Asynchronous Motor Powered by a Photovoltaic Generator. Journal of Electrical Systems, 20, 2899-2908. &gt;https://journal.esrgroups.org/jes/article/view/7971 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yahya, A.O.M., Ould Mahmoud, A. and Youm, I. (2020) Study and Modeling of a Photovoltaic Generator. Renewable Energy Review, 11, 473-483.
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Diop, M., Thiaw, L., Thiam, M., Mbodji, M. and Diaw, N. (2016) Efficient Control of a Three Induction Motor Driving a Craft Mill of Millet. International Journal of Scientific&amp;Technology Research, 5, 88-91.
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ouali, A. and Tahri, M. (2018) Scalar Control of an Asynchronous Motor. &gt;https://dspace.ummto.dz/items/49a2d1ca-f111-4abe-803b-6771d287abff 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Essakhi, H. and Farhat, S. (2019) Modeling and Simulation of a Photovoltaic Module. 5th International Materials and Environment Days (JIME 2019). &gt;https://www.researchgate.net/publication/332846895 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Diop, M., Ba, O., Niang, B., Ngom, I. and Thiaw, L. (2020) A Methodology for Modeling Cereal Milling System. 2020 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), Istanbul, 12-13 June 2020, 1-5. &gt;https://doi.org/10.1109/icecce49384.2020.9179182
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Xu, D., Wang, B., Zhang, G., Wang, G. and Yu, Y. (2018) A Review of Sensorless Control Methods for AC Motor Drives. CES Transactions on Electrical Machines and Systems, 2, 104-115. &gt;https://doi.org/10.23919/tems.2018.8326456
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kurani, A., Doshi, P., Vakharia, A. and Shah, M. (2021) A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting. Annals of Data Science, 10, 183-208. &gt;https://doi.org/10.1007/s40745-021-00344-x
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sathishkumar, H. (2019) Performance Analysis of Speed Controller for 3hp and 150hp Three Phase Induction Motors Being Used in Cable Industry Applications. Asian Journal of Electrical Sciences, 8, 7-14. &gt;https://doi.org/10.51983/ajes-2019.8.1.2339
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Akkouchi, K., Rahmani, L. and Lebied, R. (2021) New Application of Artificial Neural Network-Based Direct Power Control for Permanent Magnet Synchronous Generator. Electrical Engineering&amp;Electromechanics, 6, 18-24. &gt;https://doi.org/10.20998/2074-272x.2021.6.03
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ali, A.J., Farej, Z. and Sultan, N. (2019) Performance Evaluation of a Hybrid Fuzzy Logic Controller Based on Genetic Algorithm for Three Phase Induction Motor Drive. International Journal of Power Electronics and Drive Systems (IJPEDS), 10, 117-127. &gt;https://doi.org/10.11591/ijpeds.v10.i1.pp117-127
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Latif, S., Zou, Z., Idrees, Z. and Ahmad, J. (2020) A Novel Attack Detection Scheme for the Industrial Internet of Things Using a Lightweight Random Neural Network. IEEE Access, 8, 89337-89350. &gt;https://doi.org/10.1109/access.2020.2994079
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Dybkowski, M. and Klimkowski, K. (2019) Artificial Neural Network Application for Current Sensors Fault Detection in the Vector Controlled Induction Motor Drive. Sensors, 19, Article 571. &gt;https://doi.org/10.3390/s19030571
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Alhajeri, M.S., Luo, J., Wu, Z., Albalawi, F. and Christofides, P.D. (2022) Process Structure-Based Recurrent Neural Network Modeling for Predictive Control: A Comparative Study. Chemical Engineering Research and Design, 179, 77-89. &gt;https://doi.org/10.1016/j.cherd.2021.12.046
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mesai-Ahmed, H., Bentaallah, A., Cardoso, A.J.M., Djeriri, Y. and Jlassi, I. (2021) Robust Neural Control of the Dual Star Induction Generator Used in a Grid-Connected Wind Energy Conversion System. Mathematical Modelling of Engineering Problems, 8, 323-332. &gt;https://doi.org/10.18280/mmep.080301
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zeb, K., Uddin, W., Haider, A., Belal, S., Mehmood, C.A., Khan, M.A., et al. (2017) Robust Speed Regulation of Indirect Vector Control Induction Motor Using Fuzzy Logic Controllers Based on Optimization Algorithms. Electrical Engineering, 100, 787-802. &gt;https://doi.org/10.1007/s00202-017-0553-z
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref20">
    <label>20</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bana, P.R. and Amin, M. (2021) Adaptive Vector Control of Grid-Tied VSC Using Multilayer Perceptron-Recurrent Neural Network. IECON 2021—47th Annual Conference of the IEEE Industrial Electronics Society, Toronto, 13-16 October 2021, 1-6. &gt;https://doi.org/10.1109/iecon48115.2021.9589975
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref21">
    <label>21</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Benayad, N. and Tria, T.E. (2020) Application of Advanced Techniques for the Control of an Asynchronous Machine. University Echahid Cheikh Larbi Tebessi. &gt;http://oldspace.univ-tebessa.dz:8080/xmlui/handle/123456789/7266 
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref22">
    <label>22</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Venu Gopal, B.T. and Shivakumar, E.G. (2018) Design and Simulation of Neuro-Fuzzy Controller for Indirect Vector-Controlled Induction Motor Drive. In: Nagabhushan, P., Guru, D., Shekar, B. and Kumar, Y., Eds., Data Analytics and Learning, Springer, 155-167. &gt;https://doi.org/10.1007/978-981-13-2514-4_14
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref23">
    <label>23</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gupta, H., Varshney, H., Sharma, T.K., Pachauri, N. and Verma, O.P. (2021) Comparative Performance Analysis of Quantum Machine Learning with Deep Learning for Diabetes Prediction. Complex &amp; Intelligent Systems, 8, 3073-3087. &gt;https://doi.org/10.1007/s40747-021-00398-7
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref24">
    <label>24</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hannan, M.A., Ali, J.A., Ker, P.J., Mohamed, A., Lipu, M.S.H. and Hussain, A. (2018) Switching Techniques and Intelligent Controllers for Induction Motor Drive: Issues and Recommendations. IEEE Access, 6, 47489-47510. &gt;https://doi.org/10.1109/access.2018.2867214
    </mixed-citation>
   </ref>
   <ref id="scirp.141845-ref25">
    <label>25</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Khoei, H.R. and Zolfaghari, M. (2016) New Model Reference Adaptive System Speed Observer for Field-Oriented Control Induction Motor Drives Using Neural Networks. Bulletin of Electrical Engineering and Informatics, 5, 25-36. &gt;https://doi.org/10.11591/eei.v5i1.520
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>