<?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">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1105758</article-id><article-id pub-id-type="publisher-id">OALibJ-95193</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Direct Torque Control of Permanent Magnet Synchronous Motor Based on Sliding Mode Variable Structure
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yufeng</surname><given-names>Luo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Gongquan</surname><given-names>Tan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chang</surname><given-names>Su</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Automation and Information Engineering, Sichuan University of Science &amp;amp; Engineering, Yibin, China</addr-line></aff><pub-date pub-type="epub"><day>03</day><month>09</month><year>2019</year></pub-date><volume>06</volume><issue>09</issue><fpage>1</fpage><lpage>10</lpage><history><date date-type="received"><day>4,</day>	<month>September</month>	<year>2019</year></date><date date-type="rev-recd"><day>17,</day>	<month>September</month>	<year>2019</year>	</date><date date-type="accepted"><day>20,</day>	<month>September</month>	<year>2019</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>
 
 
  In order to solve the problem of large torque and flux ripple in the traditional direct torque control of permanent magnet synchronous motor, Super-Twisting sliding mode variable structure control strategy is adopted. Under the dl coor-dinate system, the torque and flux controller is designed. In the direct torque control, the problem of speed overshoot and considerable fluctuation during PI control is adopted. The synovial speed controller is designed, and the space vector pulse width modulation technology (SVPWM) is adopted to stabilize the inverter switching frequency. The simulation results demonstrate that the method can effectively reduce the torque and flux linkage and accelerate the system response.
 
</p></abstract><kwd-group><kwd>Permanent Magnet Synchronous Motor</kwd><kwd> Direct Torque Control</kwd><kwd> Sliding Mode Variable Structure</kwd><kwd> Space Vector Pulse Width Modulation Technology</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Permanent magnet synchronous motor has the characteristics of small size, lightweight, high power factor and high efficiency, and is widely used in the field of robots and electric vehicles [<xref ref-type="bibr" rid="scirp.95193-ref1">1</xref>] . Direct torque control of permanent magnet synchronous motor is widely used in high performance servo applications due to its high working efficiency, small parameter dependence on the motor, strong robustness, good dynamic performance and simple structure control [<xref ref-type="bibr" rid="scirp.95193-ref2">2</xref>] . In the traditional direct torque control, the hysteresis controller is used to control the torque and flux linkage. The torque and flux linkage are large, the switching frequency is unstable, and the PI control is mainly used in the speed control. When the system has speed changes and load disturbances, it is impossible to achieve fast and no overshoot tracking target speed.</p><p>A lot of research has been conducted by domestic and foreign scholars on the problems existing in traditional direct torque control. Literature [<xref ref-type="bibr" rid="scirp.95193-ref3">3</xref>] introduces zero voltage vector and vector subdivision to improve the voltage vector switch table, which reduces the flux linkage and torque ripple to a certain extent. The literature [<xref ref-type="bibr" rid="scirp.95193-ref4">4</xref>] uses space vector pulse width modulation technologies to reduce the inverter. On the basis of switching frequency, many scholars combine intelligent control with traditional direct torque control. The literature [<xref ref-type="bibr" rid="scirp.95193-ref5">5</xref>] utilizes fuzzy control to optimize the selection of voltage space vector, but the fuzzy rules are complex and rely on experience, sliding mode variable structure. Control is applicable to the direct torque control of permanent magnet synchronous motor due to its robustness, rapid response, and insensitivity to external disturbances [<xref ref-type="bibr" rid="scirp.95193-ref6">6</xref>] .</p><p>In this paper, the super-spiral sliding mode variable structure control is used to design the flux linkage and torque controller. The velocity controller is designed by using the sliding film control method based on the approach law. The system designed in this paper is compared with the traditional direct torque control system. It shows that the method adopted in this paper can effectively reduce the ripple of flux linkage and torque, and accelerate the speed response and anti-disturbance capability.</p></sec><sec id="s2"><title>2. Mathematical Model of PMSM</title><p>In order to simplify the analysis, the following assumptions are often made in the mathematical modeling of permanent magnet synchronous motors:</p><p>1) Ignore the saturation of the iron core inside the motor;</p><p>2) Excluding the eddy current and hysteresis loss when the motor is running;</p><p>3) The stator winding current is a three-phase sinusoidal current, and the induced electromotive force of the stator armature winding is also a sine wave [<xref ref-type="bibr" rid="scirp.95193-ref7">7</xref>] .</p><sec id="s2_1"><title>2.1. Mathematical Model of Two-Phase Stationary Coordinate System αβ</title><p>The stator voltage equation is:</p><p>{ u α = L s d i α d t + R s i α − ω r ψ f sin θ r u β = L s d i β d t + R s i β + ω r ψ f cos θ r (1)</p><p>where: u α , u β , i α , i β are components of the stator voltage vector and the current vector on the α and β axes;</p><p>R s , L s are stator resistance and stator inductance;</p><p>ω r is the motor angular velocity;</p><p>ψ f is a permanent magnet flux linkage;</p><p>θ r is the rotor position angle.</p><p>The stator flux linkage equation is [<xref ref-type="bibr" rid="scirp.95193-ref8">8</xref>] :</p><p>{ ψ α = ∫ ( u α − R s i α ) d t ψ β = ∫ ( u β − R s i β ) d t (2)</p><p>The electromagnetic torque equation is:</p><p>T e = 3 2 p ( ψ α i β − ψ β i α ) (3)</p><p>The motor motion equation is:</p><p>d ω m d t = p J ( T e − T L ) (4)</p><p>where: p is the pole number of the motor;</p><p>J is the moment of inertia;</p><p>T<sub>L</sub> is the load torque.</p></sec><sec id="s2_2"><title>2.2. Mathematical Model under Rotating Coordinate System dq</title><p>The stator voltage equation is:</p><p>{ u d = d ψ d d t + R s i d − ω r ψ q u q = d ψ q d t + R s i q + ω r ψ d (5)</p><p>The stator flux linkage equation is:</p><p>{ ψ d = L d i d + ψ f ψ q = L q i q (6)</p><p>The electromagnetic torque equation is [<xref ref-type="bibr" rid="scirp.95193-ref9">9</xref>] :</p><p>T e = 3 2 p i q [ i d ( L d − L q ) + ψ f ] (7)</p><p>where: u d , u q are the components of the stator voltage on the dq axis;</p><p>i d , i q are the components of the stator current on the dq axis;</p><p>ψ d , ψ q are the components of the stator flux linkage on the dq axis;</p><p>L d , L q are the inductances on the dq axis;</p><p>ψ f is the stator flux linkage.</p></sec></sec><sec id="s3"><title>3. PMSM Direct Torque Control Based on Sliding Mode Control</title><sec id="s3_1"><title>3.1. Super-Slip Sliding Mode Variable Structure Control Strategy</title><p>Sliding mode variable structure control has discontinuity, the system structure follows the switching characteristics of the time change, the system parameters are independent of the outside world, the response speed is fast, and it has good robustness. The super-spiral algorithm-based synovial controller can effectively eliminate the pulsation. The formula of the super-helical control algorithm is as follows:</p><p>{ u = K P | s | r sgn ( s ) + u 1 d u 1 d t = K I sgn ( s ) (8)</p><p>K P and K I are gains.</p><p>The sufficient conditions for the stability of the control system are:</p><p>{ K P ≥ A M B m K I ≥ 4 A M B m 2 ⋅ B M ( K P + A M ) B m ( K P − A M ) 0 ≤ r ≤ 0.5 (9)</p><p>Among them: B m ≤ B ≤ B M , A M ≥ | A | .</p><p>And A, B meets:</p><p>d 2 y d t 2 = A ( x , t ) + B ( x , t ) d u d x (10)</p><p>Sliding mode variable structure control has discontinuity, the system structure follows the switching characteristics of the time change, the system parameters are independent of the outside world, the response speed is fast, and it has good robustness. The super-spiral algorithm-based synovial controller can effectively eliminate the pulsation. The formula of the super-helical control algorithm is as follows [<xref ref-type="bibr" rid="scirp.95193-ref10">10</xref>] :</p><p>Magnetic chain controller:</p><p>{ u d = K P 1 | S ψ | r sgn ( S ψ ) + u d 1 d u d 1 d t = K I 1 sgn ( S ψ ) (11)</p><p>Torque controller:</p><p>{ u q = K P 2 | S T e | r sgn ( S T e ) + u q 1 d u q 1 d t = K I 2 sgn ( S T e ) (12)</p><p>where: S ψ is the difference between a given flux linkage and the actual flux linkage;</p><p>S T e is the difference between the given torque and the actual torque;</p><p>K P 1 , K I 1 , K P 2 , K I 2 are gains.</p></sec><sec id="s3_2"><title>3.2. Synovial Accessibility and Stability Analysis</title><p>According to the stator flux vector reference system, ψ s = ψ d , the stator flux linkage is derived [<xref ref-type="bibr" rid="scirp.95193-ref11">11</xref>] :</p><p>d ψ s d t = u d − R s i d (13)</p><p>Secondary derivation of the flux linkage:</p><p>d 2 ψ s d t 2 = R s 2 L s i d − p R s ω i q − R s L s u d + u ˙ d (14)</p><p>In the above formula, R s , L s , i d , p , ω are bounded values, and therefore the formula (14) satisfies the stable condition of the formula (9).</p><p>For the hidden pole permanent magnet synchronous motor, assuming that the stator flux linkage amplitude is constant, the torque is also derived:</p><p>d T e d t = 3 2 p ψ s d i q d t (15)</p><p>Continue to guide the torque:</p><p>d 2 T e d t 2 = 3 2 p ψ f [ − p 2 ψ f J i d i q + p B J i d ω + ( R s 2 L s 2 − p 2 ψ f 2 J L s − p 2 ω 2 ) i q + 2 p R s L s ω i d     − p ω L s u s d + ( p ψ f B J L s + p ψ f R s L s 2 ) p ψ f B J L s ω − R s L s 2 u s q + p ψ f T L J L s + u ˙ s q L s ] (16)</p><p>It can be seen that the parameters of the second derivative of the torque are bounded values, and the analysis method is the same as the stator flux linkage, which also satisfies the stable condition of Equation (9).</p></sec><sec id="s3_3"><title>3.3. Synovial Speed Controller Design</title><p>The motor motion equation is:</p><p>d ω m d t = p J ( T e − T L ) (17)</p><p>The design switching function is:</p><p>s = ω m ∗ − ω m (18)</p><p>where: ω m ∗ is the given speed of the motor;</p><p>ω m is the actual speed of the motor.</p><p>According to the concept of the approach law of Gao Weibing [<xref ref-type="bibr" rid="scirp.95193-ref7">7</xref>] , the design approach law is:</p><p>s ˙ = − ε | s | α sgn ( s ) − k s (19)</p><p>Among them: 1 &gt; α &gt; 0 , ε &gt; 0 , k &gt; 0 .</p><p>Available from Equation (18):</p><p>s ˙ = − ω ˙ m = p J ( T L − T e ) = − ε | s | α sgn ( s ) − k s (20)</p><p>Further, the slip film controller output expression is:</p><p>T e = J p [ ε | s | α sgn ( s ) + k s ] + T L (21)</p></sec><sec id="s3_4"><title>3.4. Synovial Accessibility and Stability Analysis</title><p>Select the Lyapunov function as:</p><p>V = 1 2 s 2 (22)</p><p>Derivation of Equation (22) yields:</p><p>V ˙ = s ˙ s = s [ − ε | s | α sgn ( s ) − k s ] = − ( ε | s | α + 1 + k s 2 ) &lt; 0 (23)</p><p>This formula satisfies the stability conditions of Lyapulov, which proves the stability and accessibility of the system.</p></sec></sec><sec id="s4"><title>4. Simulation Analysis</title><p>In this paper, the simulation model is built by matlab/simulink. The system includes multiple subsystem modules such as flux linkage and torque estimation module, coordinate transformation module and speed adjustment module. The improved system model is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>The parameters of permanent magnet synchronous motor are set as follows: the stator winding resistance is R s = 1.2   Ω , stator inductance L d = L q = 0.0085   H , rotor flux linkage ψ f = 0.175   Wb , moment of inertia J = 0.0008   kg ⋅ m 2 , pole logarithm p = 4, the system friction coefficient B = 0. The system simulation parameters are: given speed is ω m ∗ = 600   rad / min , given flux linkage is ψ * = 0.3   Wb , load torque T L = 1.5   N ⋅ m is applied in 0.2 seconds. Simulation time is 0.4 s. The simulation results are shown in Figures 2-7.</p><p>It can be seen from Figures 2-7 that when the motor speed increases from 0 to 600 r/min, compared with <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig3">Figure 3</xref>, the conventional direct torque control has a large overshoot and the adjustment time is long, when it is within 0.2 s. When the load is applied, the rotational speed drops significantly and the steady-state performance is poor. In the improved direct torque control, the rotational speed has a small overshoot and the dynamic response is fast, and the rotational speed is substantially unchanged when the load is suddenly applied. Comparing Figures 4-7, in the traditional direct torque control, the torque and flux linkage are large, and in the direct torque control using the sliding mode variable structure control, the torque and flux pulsation are significantly reduced, so it can be seen The method adopted in this paper is effective, can improve the system speed regulation performance, reduce the ripple of the flux linkage and torque, and make the system have good dynamic response and anti-interference.</p></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, based on the sliding mode theory, the flux linkage and torque controller and the sliding mode variable speed controller are designed. Compared with traditional direct torque control simulation, the method used in this paper can effectively reduce the flux linkage and torque ripple. The system has strong anti-interference and robustness.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Luo, Y.F., Tan, G.Q. and Su, C. (2019) Direct Torque Control of Permanent Magnet Synchronous Motor Based on Sliding Mode Variable Structure. Open Access Library Journal, 6: e5758. https://doi.org/10.4236/oalib.1105758</p></sec></body><back><ref-list><title>References</title><ref id="scirp.95193-ref1"><label>1</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Luo</surname><given-names> Z.W.</given-names></name>,<name name-style="western"><surname> Gu</surname><given-names> A.Z. and Hong J.J. </given-names></name>,<etal>et al</etal>. (<year>2017</year>)<article-title>Research on Servo System of Permanent Magnet Synchronous Motor Based on Improved Sliding Mode Variable Structure Control</article-title><source> Machine Tool &amp; Hydraulics</source><volume> 19</volume>,<fpage> 25</fpage>-<lpage>29</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.95193-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Jiang, C.F. (2008) Direct Torque Control System of Permanent Magnet Synchronous Motor Based on Double Fuzzy Control. Central South University, Changsha, 135-150.</mixed-citation></ref><ref id="scirp.95193-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Jia, H.P. and He, Y.K. (2006) A Study on the Effect of Zero Vector in Direct Torque Control of Permanent Magnet Synchronous Motor. Electric Drive, 4, 23-26.</mixed-citation></ref><ref id="scirp.95193-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Swierczynski, D. and Kazmierkowski, M.P. (2002) Direct Torque Control of Permanent Magnet Synchronous Motor (PMSM) Using Space Vector Modulation (DTC-SVM)-Simulation and Experimental Results. IEEE 2002 28th Annual Conference of the Industrial Electronics Society, Sevilla, Spain, 5-8 November 2002, 751-755. https://doi.org/10.1109/IECON.2002.1187601</mixed-citation></ref><ref id="scirp.95193-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Wu, H., Mu, G. and Cui, Y.F. (2008) Direct Torque Fuzzy Control Technology of Permanent Magnet Synchronous Motor. Journal of Shenyang University of Technology, 30, 261-265.</mixed-citation></ref><ref id="scirp.95193-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Feng, Y., Yu, X. and Han, F. (2013) High-Order Terminal Sliding-Mode Observer for Parameter Estimation of a Perma-nent-Magnet Synchronous Motor. IEEE Transactions on Industrial Electronics, 60, 4272-4280.https://doi.org/10.1109/TIE.2012.2213561</mixed-citation></ref><ref id="scirp.95193-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Lai, Y.S., Wang, W.K. and Chen, Y.C. (2004) Novel Switching Techniques for Reducing the Speed Ripple of AC Drives with Direct Torque Control. IEEE Transactions on Industrial Electronics, 51, 768-775.https://doi.org/10.1109/TIE.2004.831720</mixed-citation></ref><ref id="scirp.95193-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Lu, G.Z., Hao, R.K. and Huang, J.H. (2018) Direct Torque Control of Permanent Magnet Synchronous Motor Based on Sliding Mode Variable Structure. Electronic Measurement Technology, (21)</mixed-citation></ref><ref id="scirp.95193-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Ouyang, F. and Chen, L. (2018) New Approaching Sliding Mode Variable Structure Control of Permanent Magnet Synchronous Motor. Automation and Instrumenta-tion, 12, 21-25.</mixed-citation></ref><ref id="scirp.95193-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Chen, F., Wang, M. and Liu, H.T. (2019) Research on PMSM DTC for Electric Vehicle Based on Improved Sliding Mode Variable Structure. Micro Motor, 1,79-82</mixed-citation></ref><ref id="scirp.95193-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Wu, J., Dai, Y.H. and Tang, P. (2018) Research on Direct Torque Optimization Control of Permanent Magnet Synchronous Motor. Computer Simulation, 11, 341-346.</mixed-citation></ref></ref-list></back></article>