Model-based Current Control of AC Machines Using the Internal Model Control Method
Model-based Current Control of AC Machines Using the Internal Model Control Method
Abstract— In this paper, the internal model control (IMC) 1) Synchronous-frame PI or PI-type current controllers are
method is applied to ac machine current control. Permanent obtained.
magnet synchronous machines and induction machines are con- 2) The controller parameters (gain and integration time) are
sidered. The result is synchronous-frame proportional integral
(PI) or PI-type controllers, the parameters (gain and integration expressed directly in certain machine parameters and
time) of which are expressed directly in certain machine param- the desired closed-loop bandwidth. This simplifies the
eters and the desired closed-loop bandwidth. This simplifies the design procedure and trial-and-error steps are avoided.
controller design procedure, eliminating or reducing the need for Another benefit is that the cross coupling which exists between
trial-and-error steps, and is the main purpose for using IMC.
the and components of the stator voltage and current in
Index Terms—Current control, internal model control, inverter- synchronous coordinates can be compensated for easily. For
fed machines. standard synchronous-frame PI control, this cross coupling has
the following effect. When the setpoint (reference) for is
I. INTRODUCTION changed, a transient error in results, since the PI controllers
work in two single loops and are capable of suppressing the
T HERE have been several strategies proposed for ac
machine current control. Some well-known and sim-
ple methods are hysteresis control, stator-frame proportional
cross coupling only at steady state. To combat this, decoupling
networks in the current controllers have been suggested [8].
However, as pointed out in [6], a transient error in may
integral (PI) control, and synchronous-frame PI control [1,
not be very serious. For a field-oriented IM, it goes unnoticed
ch. 4, 5]. Of these, the latter has been acknowledged as
due to slow flux dynamics. Neither does it affect the torque
being superior, as unlike hysteresis control, it allows a fixed
for a round rotor PMSM (there is no reluctance torque). The
switching frequency and, unlike stator-frame PI control, it
approach in [6] is, therefore, to allow a fairly large transient
yields zero control error at steady state.
error in in exchange for a faster response in . Yet, there are
More advanced schemes—in the sense that improved per-
certainly cases where removal of cross coupling is desirable
formance in some respect, e.g., faster response or lower
and/or extremely fast response of is not required. We shall,
harmonic content is gained at the expense of higher controller
therefore, aim at removing the cross coupling, but not make
complexity than for the above ones—have also been proposed,
this endeavor a major issue. (A good topic for future research
including predictive control [2], generalized predictive control
would be to try to combine the simplicity of IMC design with
[3], state-variable regulator [4], state feedback [5], and the
the good properties of the control scheme in [6].)
promising new concept of minimum time control [6].
IMC has been considered for current control previously [9].
In this paper, the internal model control (IMC) method
The main difference between [9] and this paper is stated in
[7] is introduced and applied to ac machine current control.
Section III-A.
A permanent magnet synchronous machine (PMSM) is the
This paper is organized as follows. The PMSM model
working example. It is also shown how IMC can be applied
used for controller design is introduced in Section II. IMC
to induction machines (IM’s). The main benefits of IMC are
is introduced in Section III, and it is shown how the method
the following.
can be applied to controller design for the PMSM and the IM.
IMC is also analyzed with respect to sensitivity. Discrete-time
implementation issues, including selection of the sampling
Paper IPCSD 97–62, presented at the 1995 Industry Applications Society and switching frequencies, are considered in Section IV.
Annual Meeting, Lake Buena Vista, FL, October 8–12, and approved for
publication in the IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS by the Simulations and experimental results are presented in Sections
Industrial Drives Committee of the IEEE Industry Applications Society. This V and VI, respectively.
work was supported in part by the NUTEK Center of Excellence in Electric
Power Engineering. Manuscript released for publication September 12, 1997.
L. Harnefors is with the Division of Electrical Machines and Drives,
Department of Electric Power Engineering, Royal Institute of Technology, II. THE MACHINE MODEL
SE-100 44 Stockholm, Sweden (e-mail: [email protected]) and with the
Department of Electrical Engineering, Mälardalen University, SE-721 23 In this section, we consider a model for the permanent
Västerås, Sweden. magnet synchronous machine which is suitable for controller
H.-P. Nee is with the Division of Electrical Machines and Drives, Depart- design. In Section III-C, it will be shown how the obtained
ment of Electric Power Engineering, Royal Institute of Technology, SE-100
44 Stockholm, Sweden. model can be modified and applied also to the induction
Publisher Item Identifier S 0093-9994(98)01210-9. machine. The PMSM is modeled in rotor coordinates (the
0093–9994/98$10.00 1998 IEEE
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
134 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 1, JANUARY/FEBRUARY 1998
(1)
(2)
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
HARNEFORS AND NEE: MODEL-BASED CURRENT CONTROL OF AC MACHINES 135
(11)
This is generally chosen diagonal shows that (17) is an extension of PI control with integrators
added in the antidiagonal elements of in order to remove
the cross coupling, with
(14)
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
136 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 1, JANUARY/FEBRUARY 1998
Now, the standard PI controller (18) can be used in the outer identical to that for the PMSM with the following parameter
feedback loop with the same parameter selection as for IMC, substitutions:
i.e., (19). If decoupling is not necessary, the inner loop can be
(28)
left out and standard synchronous-frame PI control is obtained.
Even in this case, (19) can be used for parameter selection. Due to this similarity, the notation for the PMSM is used
IMC and DIMC are compared in Section III-D. exclusively in the following. All results derived hold for the
IM as well, with the above substitutions.
C. Controller Design for the Rotor-Flux-Oriented IM
Consider the complex space vector equations for the IM in D. Sensitivity Analysis
synchronous coordinates [12]: We analyze, for IMC and DIMC, the relative sensitivity of
the loop transfer function matrix (which is the transfer
function of the controller–plant cascade) with respect to a
small deviation of the th model parameter, , from its
(22) true value, i.e.,
as (29)
(23)
We can express this as
Here, and are the stator and rotor current and flux
space vectors, respectively, while is the impressed stator (30)
voltage space vector. and are the stator and
rotor resistances and self-inductances, respectively. is the
That is, after the partial derivative is taken with respect to the
magnetizing inductance, while and are the
model parameter , the parameters of the model are made
stator and slip frequencies, respectively. Eliminating and
equal to those of the machine.
among the above equations, we obtain
For IMC, the loop transfer function is
, so we immediately obtain
(24) (31)
(33)
The complex-valued transfer function corresponds to the
inverse transfer function matrix and
(26)
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
HARNEFORS AND NEE: MODEL-BASED CURRENT CONTROL OF AC MACHINES 137
(37)
Fig. 4. Singular values of the PMSM model for !r = {3, 0.5, 0.1, 0} p.u. (38)
(solid, dashed, dash–dotted, and dotted, respectively).
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
138 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 1, JANUARY/FEBRUARY 1998
Fig. 5. Vector block diagram of the DIMC current controller with anti-
windup. (W = 0 for PI control.)
(42)
(45) (49)
The controller matrices and can be simplified by Using this formula and the relation , we can relate
making suitable approximations. We have the switching frequency (in hertz) to the rise time:
(46) (50)
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
HARNEFORS AND NEE: MODEL-BASED CURRENT CONTROL OF AC MACHINES 139
Fig. 7. PMSM simulation. Step responses for IMC (solid), DIMC (dashed),
and PI (dash–dotted). Fig. 8. IM experiment. Step responses for DIMC.
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
140 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 1, JANUARY/FEBRUARY 1998
TABLE I
MACHINE DATA
APPENDIX
A. Singular Values
For a multivariable dynamic system, one can obtain a
frequency function by substituting in any transfer
function matrix, as for any single variable (scalar) transfer
Fig. 10. IM experiment. Step responses for PI. function. However, the gain is not as straightforward
to express. It can be shown [11] that
lower parameter sensitivity, there is also a risk for oscillatory
behavior which is avoided with DIMC. (51)
The benefit of the IMC design method is that the controller
parameters are expressed directly in the machine parameters
where and are the minimum and maximum singular values.
and the desired closed-loop bandwidth. Hence, the design
The singular values for a frequency function matrix are defined
procedure is simple, and trial and error can largely be avoided.
as
It should be stressed that, even if removal of cross coupling
is not an important objective (see also [6]), IMC is still very
(52)
useful for standard PI controller design.
Rules for sampling and switching frequency selection were
where is the th eigenvalue. There are as many singular
given and discrete-time implementation issues were consid-
values as there are inputs/outputs. (We consider square
ered. A backcalculation algorithm was suggested in order to
only.) It is, hence, not possible to talk about a fixed gain but
avoid integrator windup (and, thus, degraded performance)
a gain spread, bounded by and . The actual gain depends
when the inverter saturates at transients.
on the direction of the input vector . See also [13].
We finally emphasize that the controllers are implemented in
synchronous coordinates, which has been shown to yield the
best performance among low-complexity current controllers B. Data for Laboratory Induction Motor Drive
[1, chs. 4, 5]. Therefore, coordinate transformations are needed 1) Machine: The data are given in Table I.
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.
HARNEFORS AND NEE: MODEL-BASED CURRENT CONTROL OF AC MACHINES 141
2) Inverter: IGBT voltage-source inverter, 540-V dc link, [4] R. D. Lorenz and D. B. Lawson, “Performance of feedforward current
20-kW rated power, three-phase diode rectifier on mains side, regulators for field-oriented induction machine controllers,” IEEE Trans.
Ind. Applicat., vol. 23, pp. 597–602, July/Aug. 1987.
analog suboscillation method PWM generation with 5.3-kHz [5] D.-C. Lee, S.-K. Sul, and M.-H. Park, “High performance current
switching frequency. regulator for a field-oriented controlled induction motor drive,” IEEE
3) Digital Signal Processor: Texas Instruments TMS320C40 Trans. Ind. Applicat., vol. 23, pp. 1247–1257, Sept./Oct. 1994.
[6] J.-W. Choi and S.-K. Sul, “New control concept-minimum time cur-
floating-point DSP, sampling frequency 5.3 kHz, DSpace rent control in the three-phase PWM converter,” IEEE Trans. Power
development system on Pentium PC host. All algorithms are Electron., vol 21, pp. 124–131, Jan. 1997.
[7] M. Morari and E. Zafiriou, Robust Process Control. Englewood Cliffs,
implemented in C code. Stator current and resolver signal NJ: Prentice-Hall, 1989.
sampling is made synchronously with inverter switchings, at [8] I. Boldea and S. A. Nasar, Vector Control of AC Drives. Boca Raton,
the peaks of the PWM suboscillation triangular wave. This FL: CRC Press, 1992.
[9] J. L. Thomas and M. Boidin, “An internal model control structure in
gives significantly reduced noise levels in the samples. field oriented controlled v.s.i. induction motors,” in Proc. EPE, Florence,
Italy, 1991, vol. 2, pp. 202–207.
[10] P. Vas, Electrical Machines and Drives: A Space-Vector Theory Ap-
C. A Sample Software Implementation of DIMC proach. Oxford, U.K.: Clarendon, 1992.
A C program implementing the DIMC control algorithm fol- [11] J. M. Maciejowski, Multivariable Feedback Design. Reading, MA:
Addison-Wesley, 1989.
lows below. It should be self explanatory to anyone with some [12] W. Leonhard, Control of Electrical Drives. Berlin: Springer-Verlag,
knowledge of programming. Constants are written in capital 1985.
[13] L. Harnefors and H.-P. Nee, “On the dynamics of ac machines and
letters. Declarations of variables, constants, and functions are sampling rate selection for discrete-time vector control,” in Proc. ICEM,
not shown. Vigo, Spain, Sept. 1996, vol. 2, pp. 251–256.
[14] L. Harnefors, “On analysis, control and estimation of variable-speed
drives,” Ph.D. dissertation, Div. Electr. Machines and Drives, Dep.
& Elect. Power Eng., Royal Inst. Technol., Stockholm, Sweden, 1997.
[15] R. H. Middleton and G. C. Goodwin, Digital Control and Estimation:
A Unified Approach. Englewood Cliffs, NJ: Prentice-Hall, 1990.
[16] K. J. Åström and T. Hägglund, PID Controllers: Theory, Design and
Tuning, 2nd ed. Research Triangle Park, NC: Instrument Society of
America, 1995.
[17] J. G. Kassakian, M. F. Schlecht, and G. C. Verghese, Principles of Power
Electronics. Reading, MA: Addison-Wesley, 1991.
[18] S. Y. Kung, VLSI Array Processors. Englewood Cliffs, NJ: Prentice-
Hall, 1988.
[19] T. M. Rowan and R. J. Kerkman, “A new synchronous current regulator
and an analysis of current-regulated PWM inverters,” IEEE Trans. Ind.
Applicat., vol. 22, pp. 678–690, July/Aug. 1986.
Authorized licensed use limited to: Indian Institute of Technology (ISM) Dhanbad. Downloaded on March 03,2020 at 03:37:18 UTC from IEEE Xplore. Restrictions apply.