<?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>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/epe.2021.1311025</article-id>
      <article-id pub-id-type="publisher-id">EPE-113496</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>
        <article-title>


          Comparative Study between the PID Regulator and the Fuzzy Regulator Applied to the Operation of a Brushless DC Motor

        </article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Mamadou</surname>
            <given-names>Sall</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Abdoulaye</surname>
            <given-names>Kebe</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Ibrahima</surname>
            <given-names>Gueye</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Moustapha</surname>
            <given-names>Diop</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <addr-line>
          Laboratoire L3EPI, Ecole Supérieure Polytechnique, Ecole Normale Supérieure d’Enseignement Technique et Professionnel,
          Université Cheikh Anta Diop, Dakar, Senegal
        </addr-line>
      </aff>
      <pub-date pub-type="epub">
        <day>30</day>
        <month>11</month>
        <year>2021</year>
      </pub-date>
      <volume>13</volume>
      <issue>11</issue>
      <fpage>365</fpage>
      <lpage>376</lpage>
      <history>
        <date date-type="received">
          <day>15,</day>
          <month>October</month>
          <year>2021</year>
        </date>
        <date date-type="rev-recd">
          <day>27,</day>
          <month>November</month>
          <year>2021</year>
        </date>
        <date date-type="accepted">
          <day>30,</day>
          <month>November</month>
          <year>2021</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>&#169; 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>
        <p>


          This paper presents the results of research on speed regulation of a brushless DC motor
          .
          This is mainly a comparative study between a PID regulator and a fuzzy regulator applied to the operation of this type of engine in order to find the best control. The BLDC engine must operate under various speed and load conditions with improved performance and robust and complex speed control. Because of this complexity, the traditional PID command encounters difficulties in controlling the speed of a BLDC. Another control technique is currently developing and is producing good results. This is the fuzzy controller that handles process control problems, that is, managing a process based on a given set point per action on the variables that describe the process. To achieve the desired results, the brushless DC machine model will be studied. With the model obtained, both types of regulator will be tested. A synthesis of the observed comparison results will enable a conclusion to be drawn on the performance of the two types of regulators driving a BLDC (Brushless DC)
          .

        </p>
      </abstract>
      <kwd-group>
        <kwd>Fuzzy Logic Controller</kwd>
        <kwd> PID Controller</kwd>
        <kwd> Brushless DC Motor</kwd>
        <kwd> DC Motor</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="s1">
      <title>1. Introduction</title>
      <p>
        Industrial processes require precise regulation of the speed of the drive motors. To achieve this objective, a control based on electronic semiconductor variators was used for the DC motors. This technique consisted of varying the speed in proportion to the voltage. Due to the complexity of maintaining DC motors, recent applications rarely use this system. Thanks to advances in electronics, the development of brushless motors is booming in many fields of application and for powers up to a few tens of kilowatts. These permanent magnet synchronous type motors eliminate the drawbacks associated with the collector of direct current motors, and their performance surpasses that of asynchronous motors [<xref ref-type="bibr" rid="scirp.113496-ref1">1</xref>].
      </p>
      <p>
        In many industrial applications of BLDCs, it is essential to know certain physical parameters (speed, torque, position, current, etc.) for proper speed regulation. For this, it is therefore necessary to have recourse to a PID type control, fuzzy, variable speed drive... Through the existing research work in the literature, the PID control is probably the most widely used in industrial control direct current motors [<xref ref-type="bibr" rid="scirp.113496-ref2">2</xref>]. At the same time, the fuzzy logic control is a non-linear control having robustness properties. It is very interesting to explore its potential for controlling the brushless DC machine [<xref ref-type="bibr" rid="scirp.113496-ref3">3</xref>]. The main objective of this work is to compare the PID control to the fuzzy control for driving the brushless DC machine and thus determine the most robust control. The work presented in this article is structured as follows: the first part presents the operating principle of the BLDC, the second part presents the modelling of the machine and the last part presents the results obtained after a simulation on MATLAB Simulink and the discussions.
      </p>
    </sec>
    <sec id="s2">
      <title>2. Principle of Operation of Brushless Motors</title>
      <p>
        The brushless motor works from three variable voltage sources, supplied by an inverter, and allowing to generate a rotating magnetic field. The rotor, generally equipped with a permanent magnet, tends to follow the rotating magnetic field. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows the architecture of the motor and its inverter.
      </p>
      <p>
        In the simple case of the BLDC motor, at each switching, two phases are respectively connected to the supply voltage and to the ground, and one phase is not connected. Let us take the example of <xref ref-type="fig" rid="fig2">Figure 2</xref>, phase A is not connected, phase B is connected to the supply voltage and phase C is connected to ground.
      </p>
      <p>A current flows through the coils from B to C and generates a stator magnetic fiel B in the next steered motor y S . The rotor supports a magnet whose magnetic moment m , oriented from south to north, tends to align with the stator magnetic field by rotating counter clockwise.</p>
      <p>
        As soon as the rotor approaches y S , the commutation will be modified to make the current flow from B to A, the stator magnetic field B rotates by π/6, so as to attract the rotor and continue the rotation in the counter clockwise direction. The angle between m and B leads to a magnetic torque C m = m     Λ     B [<xref ref-type="bibr" rid="scirp.113496-ref4">4</xref>].
      </p>
    </sec>
    <sec id="s3">
      <title>3. Modelling</title>
      <p>
        The modeling of a BLDC motor can be developed in the same way as a three-phase synchronous machine. As its rotor is mounted with a permanent magnet, these dynamic characteristics remain different. The flux due to its rotor depends on the magnet, which is why the saturation of the magnetic flux is typical for these motors. A BLDC motor is powered by a three-phase voltage source, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The source does not need to be sinusoidal. A square wave or other waveform can be applied as long as the peak voltage is less than the maximum voltage of the motor. Likewise, the armature winding scheme of the BLDC motor is represented in <xref ref-type="fig" rid="fig3">Figure 3</xref> [<xref ref-type="bibr" rid="scirp.113496-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.113496-ref6">6</xref>].
      </p>
      <sec id="s3_1">
        <title>3.1. Electrical Equations</title>
        <sec id="s3_1_1">
          <title>3.1.1. Expressions of the Voltages</title>
          <p>
            By applying the mesh law to the BLDC, we obtain the following system [<xref ref-type="bibr" rid="scirp.113496-ref7">7</xref>]
          </p>
          <p>V a ( t ) = R i a ( t ) + L a d i a ( t ) d t + e a ( t ) (1)</p>
          <p>V b ( t ) = R i b ( t ) + L b d i b ( t ) d t + e b ( t ) (2)</p>
          <p>V c ( t ) = R i c ( t ) + L c d i c ( t ) d t + e c ( t ) (3)</p>
          <p>With R, L and ( i a , i b and i c ) are respectively: the resistor, inductance and currents of stator’s phase.</p>
          <p>e a = f a ( θ ) ⋅ K e ⋅ ω r , the electromotive force of phase A (4)</p>
          <p>e b = f b ( θ − 2 π 3 ) ⋅ K e ⋅ ω r , the electromotive force of phase B (5)</p>
          <p>e c = f c ( θ − 4 π 3 ) ⋅ K e ⋅ ω r , the electromotive force of phase C (6)</p>
          <p>
            K<sub>e</sub>: is the coefficient of force electromotive; f a ( θ ) , f b ( θ − 2 π 3 ) and f c ( θ − 4 π 3 ) : are the functions whom depend only on the position of the rotor; ω r : is the rotation speed θ : is the electrical angle which is calculated as follows θ = p ω r with p the number of pole.
          </p>
          <p>The Writing voltage’s matrix is written:</p>
          <p>[ V a V b V c ] = [ R 0 0 0 R 0 0 0 R ] [ i a i b i c ] + d d t [ L a 0 0 0 L b 0 0 0 L c ] [ I a I b I c ] + [ e a e b e c ] (7)</p>
          <p>By applying the transform of Laplace we get:</p>
          <p>[ V a V b V c ] = [ R + L ⋅ p 0 0 0 R + L ⋅ p 0 0 0 R + L ⋅ p ] [ I a I b I c ] + [ E a E b E c ] (8)</p>
          <p>The Equations (1)-(3) allow determining the voltage’s expressions between phases:</p>
          <p>V a b ( t ) = V a ( t ) − V b ( t ) = R [ i a ( t ) − i b ( t ) ] + L [ d i a ( t ) d t − d i b ( t ) d t ] + e a ( t ) − e b ( t ) (9)</p>
          <p>V b c ( t ) = V b ( t ) − V c ( t ) = R [ i b ( t ) − i c ( t ) ] + L [ d i b ( t ) d t − d i c ( t ) d t ] + e b ( t ) − e c ( t ) (10)</p>
          <p>(6) and (7) give: V c a ( t ) = V b c ( t ) − V a b ( t ) (11)</p>
        </sec>
        <sec id="s3_1_2">
          <title>3.1.2. Expressions of the Currents</title>
          <p>We get the expression of the currents below from Equations (9)-(11)</p>
          <p>d i a ( t ) d t = 2 3 L V a b ( t ) + 1 3 L V b c ( t ) − R L i a ( t ) − 1 3 L e b c ( t ) − 2 3 L e a b ( t ) (12)</p>
          <p>d i b ( t ) d t = 1 3 L V b c ( t ) − 1 3 L V a b − R L i b ( t ) − 1 3 L e b c ( t ) + 1 3 L e a b ( t ) (13)</p>
          <p>d i c ( t ) d t = − ( d i a ( t ) d t + d i b ( t ) d t ) (14)</p>
        </sec>
        <sec id="s3_1_3">
          <title>3.1.3. The Electromagnetic Torque</title>
          <p>The electric torque generated by the BLDC is given like this:</p>
          <p>T e = e a i a + e b i b + e c i c ω r (15)</p>
          <p>By replacing the Equations (4)-(6) within (15) we have:</p>
          <p>T e = K e [ f a ( θ ) i a + f b ( θ − 2 π 3 ) i b + f c ( θ − 4 π 3 ) i c ] (16)</p>
        </sec>
      </sec>
      <sec id="s3_2">
        <title>3.2. Mechanical Equation</title>
        <p>The dynamics of the rotor is defined as see:</p>
        <p>d Ω d t = 1 J ( T R − T e + f Ω ) (17)</p>
      </sec>
      
      
      <sec id="s3_3">
        <title>3.3. Model of Hall Effect Sensors</title>
        <p>When the rotor poles pass next to the hall effect sensors, the latter give 1 or 0</p>
        </sec></sec>
        </body>
        <back>
          <ref-list>
            <title>References</title>
            <ref id="scirp.113496-ref1">
              <label>1</label>
              <mixed-citation publication-type="other" xlink:type="simple">Koteich, M., Onera-DCSD, A.J. and Onera–DCSD, T.L.M. (2012) Commande vectorielle sensorless des moteurs brushless de mini-drones. Mém. Master Supélec-Dép. DCSD à GIF-Sur-Yvette.</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref2">
              <label>2</label>
              <mixed-citation publication-type="other" xlink:type="simple">Cherid, B. and Belbahri, F. (2018) Etude et Conception d’un Robot Cartésien à deux degré de Liberté. Thesis, Université Akli Mouhand Oulhadj-Bouira, Bouira.</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref3">
              <label>3</label>
              <mixed-citation publication-type="other" xlink:type="simple">Laroussi, K. and Zelmat, M. (2009) Implementation of a Fuzzy Logic System to Tune a PI Controller Applied to an Induction Motor. Advances in Electrical and Computer Engineering, 9, 107-113. https://doi.org/10.4316/aece.2009.03019</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref4">
              <label>4</label>
              <mixed-citation publication-type="other" xlink:type="simple">Guepratte, K. (2011) Onduleur triphasé à structure innovante pour application aéronautique. Phdthesis, Université Grenoble Alpes, France.</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref5">
              <label>5</label>
              <mixed-citation publication-type="other" xlink:type="simple">Eltoum, M.A.M., Hussein, A. and Abido, M.A. (2021) Hybrid Fuzzy Fractional-Order PID-Based Speed Control for Brushless DC Motor. Arabian Journal for Science and Engineering, 46, 9423-9435. https://doi.org/10.1007/s13369-020-05262-3</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref6">
              <label>6</label>
              <mixed-citation publication-type="journal" xlink:type="simple">
                <name name-style="western">
                  <surname>Patel</surname>
                  <given-names> Ms.P. </given-names>
                </name>,<etal>et al</etal>. (<year>2019</year>)<article-title>Speed Control of BLDC Motor Using Fuzzy Logic Controller and Comparing It with PID Controller</article-title><source> Journal of Advances and Scholarly Researches in Allied Education</source><volume> 16</volume>,<fpage> 269</fpage>-<lpage>276</lpage>.<pub-id pub-id-type="doi"></pub-id>
              </mixed-citation>
            </ref>
            <ref id="scirp.113496-ref7">
              <label>7</label>
              <mixed-citation publication-type="other" xlink:type="simple">Cheng, G.Q. (2012) Brushless DC Motor Speed Control System Based on Fuzzy PID Controller. 2nd International Conference on Network Computing and Information Security (NCIS 2012), Shanghai, 7-9 December 2012, 287-294. https://doi.org/10.1007/978-3-642-35211-9_37</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref8">
              <label>8</label>
              <mixed-citation publication-type="other" xlink:type="simple">Obulesh, Y., Ch, S.B. and Rao, A. (2012) Mathematical Modeling of BLDC Motor with Closed Loop Speed Control Using PID Controller under Various Loading Conditions. Journal of Engineering and Applied Sciences, 7, 1321-1328.</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref9">
              <label>9</label>
              <mixed-citation publication-type="other" xlink:type="simple">Jing, J.L., Wang, Y.C. and Huang, Y.H. (2016) The Fuzzy-PID Control of Brushless DC Motor. 2016 IEEE International Conference on Mechatronics and Automation, Harbin, 1 August 2016, 1440-1444. https://doi.org/10.1109/ICMA.2016.7558775</mixed-citation>
            </ref>
            <ref id="scirp.113496-ref10">
              <label>10</label>
              <mixed-citation publication-type="other" xlink:type="simple">Huang, J.G., Jie, W. and Hui, F. (2017) An Anti-Windup Self-Tuning Fuzzy PID Controller For Speed Control of Brushless DC Motor. Automatika, 58, 321-335. https://doi.org/10.1080/00051144.2018.1423724</mixed-citation>
            </ref>
          </ref-list>
        </back>
</article>