Abstract
Many of the existing control methods for the permanent magnet synchronous motor (PMSM) either deal with steady state models or consider dynamic models under particular cases. A dynamic model of the PM machine allows powerful control-theoretic techniques such as linearization to be applied to the system. Existing exact feedback linearization of dynamic model of PMSM suffers from singularity issues. In this paper, we propose a quadratic linearization approach for PMSM based on the approximate linearization technique which does not introduce singularities. A MATLAB simulation is used to verify the effectiveness of the linearization technique proposed. Also, to account for higher-order and unmodelled dynamics of PMSM, tuning of the linearizing transformation is proposed and verified using simulation.
1. Introduction
Permanent magnet (PM) machines, particularly at low power range, are widely used in the industry because of their high efficiency. They have gained popularity in variable frequency drive applications. The merits of the machine are elimination of field copper loss, higher power density, lower rotor inertia, and a robust construction of the rotor [1].
Steady state models, such as in [2], have been used to develop control strategies for the permanent magnet synchronous motor. Vector control [3] enables independent control over the magnitude and angle of the current with respect to the rotor such that instantaneous control over torque is possible. But vector control implemented, in practice [4], assumes a constant flux in the closed loop and uses static models to effect the control scheme. The steady state models used to describe the machine behaviour do not capture explicitly the dynamics of the machine involved. Decoupled control [5], while considering the dynamics of the machine, corresponds to application of particular control strategies for machine control.
A dynamic model of a PM machine using direct and quadrature axis variables [1] allows more powerful general control theories to be brought to bear on the problem of the control of PM machine. One such control-theoretic approach is quadratic linearization of the PM machine model. Linearization of a nonlinear system allows a simple fixed controller to be applied for the control of the linearized system and yet get a uniform closed loop response for different reference and load conditions.
Bodson and Chiasson [6] have designed a controller using differential geometric method based on exact feedback linearization. The main drawback with this method and its variations [7] is that, even if the system is linearizable, the linearizability is subject to certain function of the state being nonsingular in a region of operation of the machine. This puts a constraint on the practical implementation of the control strategy. Zhu et al. [8] provide a static feedback linearization of a PM model (see [8, equation (25)]) which has a simpler quadratic term compared to our model. With the assumption that , the solution of quadratic linearization becomes trivial. Our method is more general and is applicable to PMSM where .
Krener [9] formulated an approximate feedback linearization technique based on Taylor series expansion; Kang and Krener [10, 11] extended the work of Poincare [12] on the lines of Krener to consider quadratic linearization of control affine systems. Quadratic linearization can be applied to a PMSM model [1] as the model has a predominant quadratic nonlinearity. But being an approximate technique, higher-order terms are introduced. Consideration of core loss involves fourth-order terms involving product of squares of both current and angular velocity. These together with the stray losses and unmodelled dynamics coupled with the third- and higher-order nonlinearities introduced due to quadratic linearization are best accounted for by tuning the transformations against an actual PM machine on the lines similar to those proposed by Levin and Narendra [13].
In this paper, input and state transformations are derived for a 4-dimensional PM machine model in order to linearize PMSM machine model. The PMSM model is quadratic linearized using the approximate technique. Tuning rules are derived for the linearizing transformations to account for higher-order terms, by back propagation of error between the outputs of quadratic linearized system with a normal form output.
The linearization technique is verified using SIMULINK model which is developed for interior permanent magnet (IPM) machine. The core loss which consists of higher-order terms is included in the SIMULINK model of PMSM, and tuning rules are also simulated. The closed loop response and open loop gain for the system before and after tuning are obtained.
The simulation results after linearization indicate a uniform closed loop response for different reference and load conditions, thus verifying the theory. The simulation results after tuning also verify the effectiveness of tuning.
To summarise the rest of the paper, in Section 2, background required for quadratic linearization is given. In Section 3, the model of PM synchronous motor is derived and is reduced to normal form. In Section 4, PMSM model is linearized. In Section 5, a SIMULINK model of PMSM is constructed and simulation is presented to show the effectiveness of the proposed method. In Section 6, tuning of the transformation coefficients is derived by including core loss in the PMSM model and also simulation results are given to verify the effectiveness of tuning. In Section 7, the paper is concluded.
2. Background
Consider a single input control affine system of the form [10] where and are matrices in the controller normal form is an constant matrix and is an constant matrix.
and is a scalar input. , are vector homogeneous polynomials of order and (), respectively, .
In order to linearize the system, a change of coordinates and feedback [10, 11] of the following form is considered: where , is a scalar, and , , and are polynomials given by
Applying the transformations (3) and (4), (1) is reduced to provided that the following equations, called generalized homological equations [10], are satisfied: where for and is expressed in terms of , and , , . , and is expressed in terms of , and , .
Remark 1. Quadratic linearization involves specialization of the above result for . Consider where and are in controller normal form [10] and corresponds to terms of order 3 or more. Equations (3) and (4) for can be written as Applying (9) and (10), (8) can be written as provided that the homological equations can be solved for , and .
3. Machine Model
The PM machine model can be derived [1, 14, 15] as where , and represent the quadrature and direct axis voltages and currents, respectively, and and represent rotor position and angular velocity, respectively.Ξ» is the flux induced by the permanent magnet of the rotor in the stator phases. and are the direct and quadrature inductances, respectively. is the stator resistance, is the number of pole pairs, and is the system moment of inertia.
The model (13) can be reduced, in a standard way using linear change of coordinates and feedback [16], to the Brunovsky form [17] for two inputs as in (16) below (where , and are retained for simplicity of notation): where
4. Linearization of Interior Permanent Magnet (IPM) Synchronous Motor
The quadratic linearization given in Section 2 is extended to the case of two inputs in a straightforward way and applied to a PM machine model in this section [14, 15].
Theorem 2. Given the 4-dimensional model of a PM synchronous motor (IPM model) of the form (16), the system can be linearized using the following transformations:
where , ,
where is the identity matrix of order 2.
The system then reduces to
where represents third- and higher-order nonlinearities.
Proof. Applying transformations (18) and (19) (which correspond to a natural extension of (9) and (10) to two inputs) to (16), the homological equations to be considered can be written as
By choosing and as in (20) and (21), (24) reduces to
Premultiplying (25) by and noting that , (25) reduces to
Also, substitution of (27) satisfies (25). Hence, the homological equations are satisfied and quadratic linearization is achieved, hence the proof.
5. Experimental Simulation Results
Given the parameters β, βmH, βmH, βrpm, , βkgm2 and βmWb turns, of an actual PM machine, Figure 1 shows the SIMULINK model of the PMSM which is constructedby using speed and torque blocks and control circuit. and are taken as inputs to the motor. The model is reduced to normal form in a standard way by using the linear transformations. The PM model in Figure 1 is especially configured for the IPM where . and blocks in Figure 2 include the above linear transformation and the nonlinear transformation (18) and (19) as well.
Prior to linearization, the open loop steady state gain of versus of the PMSM model is investigated and the results are given in Table 1. In this table, it is observed that the open loop steady state gain of versus (keeping constant) is not constant because of the system nonlinearity. To verify the linearity of the system after linearization, we investigated the variation of its gain of (a scaled version of as can be seen from (18) and (20)) with input (see Figure 2) and the results are given in Table 2. The table reveals that the gain of the system is nearly constant, thus verifying that by applying the homogeneous linearizing transformation, the PMSM model is made nearly linear for the given set of inputs.
We now proceed to show that the nearly constant gain of the linearized model results in a uniform closed loop response on a range of set point and load inputs with a fixed controller. This is in contrast to the case before linearization under the corresponding conditions.
Figures 3 and 4 show the time response of angular velocity by closing the loop around PMSM model before linearization when and 30 units, respectively. It is observed that the dynamic response for is more oscillatory compared to the case of with a fixed controller of proportional gain = 50 and integral constant = 2. This is to be expected since the loop gain is higher in the former case with a higher static gain in the motor as can be seen from Table 1.
Figures 5 and 6 show the time response of of the transformed PMSM system (Figure 2) in closed loop when and 30 units, respectively. It is observed that a uniform output response is obtained in the closed loop after linearization when the reference is varied. Since the static gain in Table 2 is nearly uniform, the loop gain is also nearly constant for the extreme points in the operating range, thus resulting in the uniform dynamic responses as in Figures 5 and 6.
Figures 7 and 8 show the time response of angular velocity of the PMSM model before linearization in closed loop when units with the load torque varied as and 1 unit, respectively. Note that the dynamic responses in Figures 7 and 8 are different, with the response of Figure 8 corresponding to an inverse response (i.e., speed reduces first before increasing). The latter corresponds to a response of a nonminimum phase system.
Figures 9 and 10 show the time response of of the transformed PMSM system in closed loop when units and and 1 unit, respectively. It is observed that a uniform output response is obtained in the closed loop after linearization when load torque is varied. Hence, it is verified that a linearized system gives a uniform closed loop response for the different reference and load conditions used for testing as above.
6. Tuning
6.1. Core Loss
The core loss or iron loss, caused by the permanent magnet (PM) flux and armature reaction flux, is a significant component in the total loss of a PMSM, and, thus, it can have a considerable effect on the PMSM modeling and performance prediction.
The net core loss [2] for the machine is computed as follows: where represents core loss resistance, represents magnet flux linkage and denotes rotor electrical speed.
The mechanical torque equation including core losses is given by
6.2. Tuning Formula
To account for the core loss (28), unmodelled dynamics, and higher-order nonlinearities, tuning of the quadratic linearization transformations and can be done [13]. Figure 11 shows the block diagram for tuning.
Error () can be calculated as where .
The error can be written as Since and are both functions of , we shall redefine so that and can be independently tuned by tuning and , respectively. is not varied.
6.2.1. Updation of Transformation Coefficients
Tuning of transformation implies the tuning of . As is a function of only , the coefficient has to be updated based on the error between the outputs of quadratic linearized system and normal form. The updation law is derived as follows: From (31), it is seen that , .
Hence, , Updation of is done by using the formula where corresponds to the updating step and corresponds to the accelerating factor.
6.2.2. Updation of Transformation Coefficients
Tuning of transformation is achieved by tuning of . As is a function of and , the coefficient has to be updated based on the error between the outputs of quadratic linearized system and normal form. The updation law is derived as follows: where assuming that the steady state of the SIMULINK model is reached within the tuning period: Thus, .
Updation of is done by using the formula where corresponds to the updating step and corresponds to the accelerating factor.
6.3. Tuning Simulation Results
PMSM model including core loss is given in Figure 12 where the block due to loss torque (30) is also included. The tuning of the transformations is done using the updations for and as per formulae (36) and (40) as given in Figure 13. The simulation diagram for tuning is done by using memory blocks to store the updated values of and . It is seen that the error after tuning is reduced to 0.01. Table 3 shows the variation of versus of the PMSM model after linearization including core loss prior to tuning of the coefficients. It is observed that the open loop steady state gain is not constant due to the effect of core loss. Table 4 shows the variation of versus for the linearized system after incorporating tuning of the transformation coefficients. The table reveals that the gain of the system is nearly constant thus verifying the effectiveness of tuning. Figures 14 and 15 show the closed loop time response of of the linearized system including core loss before tuning when units and 30 units, respectively; ; . Figures 16 and 17 show the closed loop time response of of the linearized system including core loss after tuning when units and 30 units, respectively; ; . It is observed that the dynamic response before tuning for units is more oscillatory compared to the case of units. This is to be expected since the loop gain is higher in the former case with a higher static gain in the plant or motor as can be seen from Table 3. Since the static gain in Table 4 is nearly uniform, the loop gain is also nearly constant for the extreme points in the operating range, thus resulting in the uniform dynamic responses in Figures 16 and 17. Thus, the effectiveness of tuning the linearizing transformations to overcome the unmodelled core loss is verified.
7. Conclusion
As the PMSM is inherently nonlinear, to design a controller that can provide a predictable uniform performance of the drive under varying operating conditions, it is necessary to linearize the PMSM. In this paper, the dynamic model of a PM synchronous motor involving quadratic nonlinearity is linearized. The technique used is based on the control input extension of Poincareβs work due to Kang and Krener which is in line with the approximate linearization technique of Krener [9, 18]. The existing techniques of exact feedback linearization introduce singularities in the system, which may cause difficulties in the implementation of the closed loop control. In the proposed method, the problem of singularities does not arise.
The PMSM machine model, together with the state and input transformations, are simulated using SIMULINK. The simulation results show that the quadratic linearizing transformations effectively linearize the system thus, supporting the theory. The simulation verifies that a uniform response under a fixed controller is obtained for the linearized system for variations of reference speed and load conditions, in contrast to the case before linearization.
Further, to account for the core loss, unmodelled dynamics and third- and higher-order nonlinearities, tuning of the transformation parameters is proposed by comparing the output of the linearized system with a normal form output. After tuning, it is shown that the linearized system shows improved linearity in terms of static gain compared to the condition before tuning. Closed loop system response for the linearized system is also shown to be uniform due to the effect of tuning of linearization transformations, under varying reference inputs.
The proposed linearization method can be extended to induction motor and wound synchronous motor models as well [19].