A - New Control
A - New Control
   Abstract- The major hurdle encountered in achieving high                         In the present context, the issue of improving disturbance
performance in servo speed control is the occurrence of large                    rejection further than what can be achieved by the best
relative errors at low speeds due to torque variations. In this                  feedback controller, is addressed. Traditionally, feedforward
paper, it is shown that this problem can be tackled in the case of
synchronous motors, by keeping the stator current and the rotor                  action is used to augment the feedback loop for the rejection of
flux nonorthogonal and including an inner position control loop                  disturbances [ 11, but is applicable only when the disturbances
to improve the transient behavior of the system. Such a scheme                   are available for measurement. A popular method to generate
substantially improves disturbance rejection at the cost of accen-               feedforward action is to use the inverse of the plant [2]. As the
tuating the nonlinearities of the system and increasing the copper               parameters of the plant may vary, however, the inverse should
losses. In view of the pronounced nonlinearities encountered here,
adaptive control using neural networks is resorted to.                           constantly keep track of the plant variations using on-line
                                                                                 identification techniques [2]1. Such a policy cannot be adopted
                                                                                 here as most of the disturbances are either not available for
                            I. INTRODUCTION                                      measurement or expensive to measure [3]. Very little work
                                                                             ;
stator current and the rotor flux to be nonorthogonal, so that
the internal “spring effect” can be used for improving the
disturbance rejection at low speeds. To achieve the desired                                                  s (Js+B)
transient response, a nonlinear position controller based on
neural networks is used. The position control loop is placed
inside the speed control loop to provide a more accurate
“point-to-point” control of speed. Here we have analyzed
and applied this control scheme to a two phase permanent
                                                                    Fig. 1. Inherent loop.
magnet synchronous motor (PMSM), because of its simplicity,
versatility, and growing importance in the servo systems
market [5].                                                         the speed back to its original value without any external
   In the next section, we describe the new scheme for im-          control action and hence contributes to the improvement of
proving disturbance rejection. We also perform an approximate       disturbance rejection.
analysis to show that the relative error at low speeds can be          To characterize this loop, consider a situation where the
improved with this scheme. Section I11 is devoted to the details    stator position ps is held constant and a torque AT, is applied.
of implementation of this scheme using neural networks. Last,       Then, the change in rotor position, p T , is given by
conclusions are drawn in Section IV.
                                                                                                       AT(s) - AT, (s)
                                                                                                   =     s ( J s + B)                (4)
             11. A NEW CONTROL SCHEME FOR
            IMPROVING DISTURBANCE REJECTION                         By differentiating (2),we see that the increase in the generated
                                                                    torque due to a change in rotor position is given, to a first-order
A. Characterization of the Inherent Feedback Loop                   approximation, by
   Consider a two-phase permanent-magnet synchronous mo-                                AT     E K T I , COS   @)A6
tor with i, and i b being the stator phase currents. The stator
flux position ps and the effective stator current I, are given by
                                                                                               = -KTI, cos      (&)ap,.              (5)
                                                                    Equations (4) and (5) are two elements of the internal loop as
                                                                    shown in the Fig. 1.
                                                                      The closed-loop transfer function of the internal feedback
                      I,   =   42: +   2;.                    (1)   loop of the motor is
Let us assume that the current controllers are fast, and the                                                          1
stator flux can be positioned at its desired position. Then the              b ( S )    = (-1)                     +
                                                                                                               s ( J s B)
torque is given by                                                           ATL(S)                1   + KTIs cos (6) s ( J s1+ B)
                   T = K T I , sin ( p s - p r )                                                          -1
                                                                                        -
                                                                                        -
                      = KTI, sin (6)                          (2)                            Js2   + + Bs KTI,* cos (6).
                                                                                                                                     (6)
where KT is the torque constant and 6 = ( p , - p,) the lag         It can be seen that the torque generated with (5) is equivalent to
angle. It may be noted that KT may vary due to saturation           having a “spring” with a spring constant K = K T I , cos (6).
effects. Let us assume a mechanical load with J being the           Examining the transfer function (6), certain remarks are in
inertia and B the friction. With w, being the rotor speed and       order:
w,,f the reference speed, TLthe lode torque, the rotor position,       Remark I : The dc gain of the small signal system is a
p,, can be obtained as                                              measure of the steady-state error in the absence of any speed
                                                                    controller. In the case of field oriented control for which
                                                              (3)   S = (7r/2), K = 0, and dc gain = 00, the rotor angle may lag
                                                                    without bound. Though the system is only marginally stable
To understand how different schemes differ in disturbance           (one of the characteristic root is at the origin), the other root
rejection characteristics, let us first study the effect of load    is well damped.
disturbances on a motor. When the load torque increases, the           Remark 2: In the case of deorientation, the dc gain is finite,
speed decreases thereby decreasing pr and increasing 6. In the      as K # 0, indicating that the position lag is finite. This
field oriented scheme, where the controller tries to maintain       implies that the speed will eventually return back to the set
6 = (7r/2), any increase in 6, consequent to an increase in         speed without any external action. Since the characteristic
load torque, will first take it into the second quadrant, thereby   roots are now complex in general, however, the response is
reducing the generated torque, T . On the other hand, when the      not acceptable.
fluxes are not orthogonal i.e., S < (?r/Z), 6 continues to be in       Remark 3: For large K , i.e., when the damping ratio
the first quadrant even after the load disturbance and increases    B / ( Z m ) M 0, the change in speed will be a sinusoid
the generated torque. This is an internal feedback which puts       with amplitude ATL/2/JK and natural frequency                m.
IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. 4, NO. 4, JULY 1996                                                            439
Hence, the maximum change in speed due to a change in load            function is given by
torque is given by
(7)
where T~ is the sampling time, and 0 is some nonlinear                effective gain will be
function. If 0 = 0, there will be no integration of the error
and if 0 = T ~ ( W , , ~- wT), the error will be integrated always.
Four possibilities exist: 1) keep 0 at one of its extremes; 2)
choose a fixed value of 0 somewhere in between; 3) switch
between the two extremes depending on certain switching
conditions; and 4) allow 0 to be some nonlinear function
of the speed error. The technique of antireset wind up [2]
                                                                      Equation (15) implies that Gceff is an increasing function of
used with integral controllers falls under option 3), where the
                                                                      I,,,. When K p = Gceif,and Kd is chosen appropriately, then
integration is paused whenever the output saturates. In general,
the synchronous rotor position prs can be obtained as some
nonlinear combination of reference and actual speeds and the
lag angle as mentioned in option 4)
                                                                                                            1
                                                                                                     oc-                          (16)
                                                                                                           Imax
                                                                                 I               n                  I
           Speed               Position
          Controlle                               Motor
                              Controller
                                                                                                                                          P,
                                                                                                                               fi
Fig. 2. Proposed scheme for servo control. Fig. 3 . Approximate model of Ihe overall system.
                                                                                a
                                                                                    E 6.
                                                                                    I
                                                                                    d
5 4 '
                                                                                                          IV. CONCLUSIONS
                                                                             In this paper, the disturbance rejection problem in the speed
                                                                          control of PMSM's was considered. The major bottleneck
                                                                          is the large relative errors caused by torque variations at
                                                                          low speeds. The stator current and rotor flux are deoriented
                                                                          to tackle this. The poor transient response resulting from
                                                                          this arrangement is improved by placing a position control
                                                                          loop inside the speed control loop. This scheme improves
                                                                          disturbance rejection at the cost of exposing the nonlinearities
            0     1     2    3     4    5 6      7     8    9   10
                                                                          of the system and increasing the copper losses. Nonlinear
                                 Time in Seconds                          adaptive control of the modified plant was performed using
Fig. 7. Response with the new controller before learning.                 neural networks.
handled the communication with the host PC. The control                                                         REFERENCES
algorithm was written in OCCAM-2 and the control program
                                                                           [ l ] G. F. Franklin, J. D. Powell, and M. L. Workman, Digital Control of
was implemented in parallel between the transputers for fast                     Dynamic Systems. Reading, MA: Addison-Wesley, 1990.
computation.                                                               [2] K. J. Astrom and B. Wittenmark, Computer Controlled Systems: Theory
                                                                                 and Design. Englewood Cliffs, NJ: Prentice-Hall, 1984.
   The response of the system to a step load variation with                [3] J. M. D. Murphy and F. G. Turnbull, Power Electronic Control ofAC
a traditional field oriented controller is shown in Fig. 6. The                  Motors. New York: Pergamon, 1988.
set and the measured speeds and the load torque are plotted.               [4] W. Leonard. Control of Electric Drives. New York: Springer-Verlag,
                                                                                 1985.
The system responses before and after learning with the                    [5] T. Kenjo and S . Nagamori, Permanent Magnet and Brushless DC
new control scheme are shown in Figs. 7 and 8. Oscillatory                       Motors. Oxford, U.K.: Oxford Univ. Press, 1985.
behavior is observed as expected before learning which is                  [6] B. Srinivasan, U. R. Prasad, and N.J. Rao, "Backpropagation through
                                                                                 adjoints for the identification of nonlinear dynamical systems using
vastly improved after the learning is complete. The change                       recurrent neural networks," IEEE Trans. Neural Networks, vol. 5 , pp.
in speed due to a 50% change in load torque is negligible                        213-228, Mar. 1994.