Keywords

1 Introduction

Due to the availability of rare earth permanent magnet materials, PMSMs are used in applications where it requires fast torque response with better dynamic operation [1]. As rotor cage is absent in PMSM, it gives quick response with applied load torque [2]. And the outstanding features of PMSM are high torque to inertia, high power density, reliability, and high efficiency; it is used in high-performance applications such as electric vehicles, servo, robotics, machine tools, and traction applications [3,4,5,6,7]. In general, the high-performance operation can be obtained with surface-mounted magnets fixing on a rotor, and this gives minimum armature effect with large air gap [8].

The most renowned control techniques for PMSM are field-oriented control (FOC) and direct torque control (DTC) [9, 10]. The objective of both the control techniques is to control the flux and torque effectively. In spite of variations in parameters of the motor and external disturbances, the motor forces to follow command trajectory [11]. To achieve the requirement of high-performance characteristics obtained by DC drives, variable speed AC drives employing PMSM with FOC have been expanded in recent years [12].

In FOC, the torque- and flux-generating components are made orthogonal so that independent control of torque and flux is possible as in separately excited DC motor [4]. That means flux control is obtained through d-axis stator current and torque control through q-axis stator current [13].

To design an advanced control system with better performance and accuracy, an adaptive control method is one of the extensively employed control methods. Model Reference Adaptive System (MRAS) is a powerful adaptive controller with adaptive mechanism and adjustable controller parameters [14]. MRAS method is adopted with AC drives to estimate the speed of the rotor for PMSM drive, and has advantages such as easy execution and simple formation. Also, it ensures the system stability through adaptive adjustable model and reference plant model [15]. The main disadvantages of AC drives are its torque pulsations, especially at low speeds. These pulsations result in periodic speed oscillations of the drive. This leads to poor performance of the drive, particularly in high-precision applications. In addition, the torque pulsation leads to acoustic noise along with mechanical vibrations [7].

This paper adopts the MRAS scheme with PI controller, which uses the PMSM itself as the reference model to estimate the speed of the motor. To minimize the torque ripples, MRAS is applied for FOC of PMSM using PI controller [16].

The organization of the paper is given as follows: Sect. 2 discusses the modeling of FOC of PMSM. Section 3 explains the FOC of PMSM drive with sensorless control and MRAS based on Popov’s Hyper-Stability Criterion. Section 4 discusses the dynamic behavior of PMSM. Finally, the concluding remarks are given in Sect. 5.

2 Field-Oriented Control of Permanent Magnet Synchronous Motor

The aim of FOC is to perform real-time control of torque and the flux components separately to control the rotor mechanical speed and also to regulate phase currents in order to avoid current spikes during transient phases.

The principle idea of FOC is to introduce decoupling between field- and torque-producing components. This makes PMSM behave like a separately excited DC motor. If the magnets are placed inside the rotor, then \(L_{q} > L_{d}\); otherwise, if the magnets are placed on the surface of a rotor, then \(L_{q} = L_{d}\). The block diagram of FOC for PMSM is shown in Fig. 1.

Fig. 1
figure 1

Block diagram of field-oriented control for PMSM

The modeling of PMSM with rotor reference frame is considered in this work. Modeling equations for PMSM are given in Eqs. (1)–(13). With rotor reference frame, the stator a, b, c voltages are converted into d, q voltages using Park’s transformation. Now, let S represent any of the variables (current, voltage, and flux linkage) to be transformed from the abc frame to d-q frame. The Park’s transformation in matrix form is given by:

$$\left[ {\begin{array}{*{20}c} {{s}_{{d}} } \\ {{s}_{q} } \\ {{s}_{0} } \\ \end{array} } \right] = \left( {2/3} \right)\left[ {\begin{array}{*{20}c} {\cos {\theta }} & {\cos \left( {{\theta } - 120} \right)} & {\cos \left( {{\theta } + 120} \right)} \\ {\sin {\theta }} & {\sin ({\theta } - 120)} & {\sin \left( {{\theta } + 120} \right)} \\ {0.5} & {0.5} & {0.5} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {{V}_{a} } \\ {{V}_{b} } \\ {{V}_{c} } \\ \end{array} } \right]$$
(1)

From Eq. (1), the following equations are obtained:

$${v}_{q} = - \frac{2}{3}\left[ {{v}_{a} \sin {\theta } + {v}_{b} \sin \left( {{\theta } - \frac{{2{\pi }}}{3}} \right) + {v}_{c} \sin \left( {{\theta } - \frac{{4{\pi }}}{3}} \right)} \right]$$
(2)
$${v}_{d} = \frac{2}{3}\left[ {{v}_{a} \cos {\theta } + {v}_{b} \cos \left( {{\theta } - \frac{{2{\pi }}}{3}} \right) + {v}_{c} \cos \left( {{\theta } - \frac{{4{\pi }}}{3}} \right)} \right]$$
(3)

Here, S 0 component is called the zero sequence component, and under balanced three-phase system, this component is always zero. Since it is a linear transformation, its inverse transformation exists and is as follows:

$$\left[ {\begin{array}{*{20}c} {{s}_{a} } \\ {{s}_{b} } \\ {{s}_{c} } \\ \end{array} } \right] = \left( {2/3} \right)\left[ {\begin{array}{*{20}c} {\cos {\theta }} & {\sin {\theta }} & 1 \\ {\cos \left( {{\theta } - 120} \right)} & {\sin ({\theta } - 120)} & 1 \\ {\cos \left( {{\theta } + 120} \right)} & {\sin ({\theta } + 120)} & 1 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {{V}_{q} } \\ {{V}_{d} } \\ {{V}_{0} } \\ \end{array} } \right]$$
(4)

From Eq. (4), the following equations are obtained:

$${i}_{a} = {i}_{d} \cos {\theta } - {i}_{q} \sin {\theta}$$
(5)
$${i}_{b} = {i}_{d} \cos \left( {{\theta } - \frac{{2{\pi }}}{3}} \right) - {i}_{q} \sin \left( {{\theta } - \frac{{2{\pi }}}{3}} \right)$$
(6)
$${i}_{c} = {i}_{d} \cos \left( {{\theta } - \frac{{4{\pi }}}{3}} \right) - {i}_{q} \sin \left( {{\theta } - \frac{{4{\pi }}}{3}} \right)$$
(7)

Now, by applying the transformation of Eqs. (5), (6), and (7) to voltages, flux linkages, and currents, Eqs. (8) and (9) are obtained as follows:

$${V}_{qs} = {R}_{s} {i}_{qs} + {p}\lambda_{qs} + {\omega }_{r} {\lambda }_{ds}$$
(8)
$${V}_{ds} = {R}_{s} {i}_{ds} + {p}\lambda_{ds} + {\omega }_{r} {\lambda }_{qs}$$
(9)

where

$${\lambda }_{ds} = {L}_{ds} {i}_{ds} + {\lambda }_{f}$$
(10)
$${\lambda }_{qs} = {L}_{qs} {i}_{qs}$$
(11)

The produced torque T e by electrical currents can be represented as follows:

$${T}_{e} = \frac{3}{2}\frac{P}{2}\left[ {\left( {{L}_{ds} - {L}_{qs} } \right){i}_{ds} {i}_{qs} + {\lambda }_{f} {i}_{qs} } \right]$$
(12)

The produced torque T e , which is power divided by mechanical speed, can be represented as follows:

$${J}\frac{{{\text{d}}\omega_{m} }}{{{{\text{d}t}}}} + {B}\omega_{m} + {T}_{L} = {T}_{e}$$
(13)

3 Implementation of FOC for PMSM Drive with MRAS

The concept of MRAS is that it employs a reference model to generate a reference input. In this work, the adaptive laws are derived from Popov’s Hyper-Stability Criterion. FOC of PMSM with MRAS is given in Fig. 2. The sensorless speed control of MRAS-based FOC of PMSM is executed in this paper. Here, speed estimation is obtained from MRAS.

Fig. 2
figure 2

Block diagram of FOC of PMSM with MRAS

This work proposes a sensorless speed control based on MRAS, which is based on the comparison between outputs of two estimators. This estimated error is used to drive PMSM with a suitable adaptive mechanism to estimate the error speed. In this work, MRAS is based on \({i}_{d}, {i}_{q}\) of a PMSM since FOC is used as a speed controller. As the control variables in this controller method (FOC) are \({i}_{d } \,\text{and}\,{i}_{q}\), there is a need to represent these variables as state variables. Hence, \({i}_{d}, {i}_{q}\) is selected as a state variables, and the equations are given by:

$${p}\left[ {\begin{array}{*{20}c} {{i}_{d} } \\ {{i}_{q} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \frac{{{R}_{s} }}{{{L}_{d} }}} & {{\omega }_{e} \frac{{{L}_{q} }}{{{L}_{d} }}} \\ { - {\omega }_{e} \frac{{{L}_{d} }}{{{L}_{q} }}} & { - \frac{{{R}_{s} }}{{{L}_{q} }}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {{i}_{d} } \\ {{i}_{q} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {\frac{{{v}_{d} }}{{{L}_{d} }}} \\ {\frac{{{v}_{q} }}{{{L}_{q} }} - {\omega }_{e} \frac{{{\lambda }_{f} }}{{{L}_{q} }}} \\ \end{array} } \right]$$
(14)

Define i d * i q * v d * v q * for FOC of a PMSM are as follows:

$${i}_{d}^{*} = {i}_{d} + \frac{{{\lambda }_{f} }}{{{L}_{d} }},\quad {i}_{q}^{*} = {i}_{q} ,\quad {v}_{d}^{*} = {v}_{d} + \frac{{{R}_{s} }}{{{L}_{d} }}{\lambda }_{f} ,\quad {v}_{q}^{*} = {v}_{q}$$
(15)

So Eq. (14) can be converted into Eq. (16) :

$${p}\left[ {\begin{array}{*{20}c} {{i}_{d}^{*} } \\ {{i}_{q}^{*} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \frac{{{R}_{s} }}{{{L}_{d} }}} & {{\omega }_{e} \frac{{{L}_{q} }}{{{L}_{d} }}} \\ { - {\omega }_{e} \frac{{{L}_{d} }}{{{L}_{q} }}} & { - \frac{{{R}_{s} }}{{{L}_{q} }}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {{i}_{d}^{*} } \\ {{i}_{q}^{*} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {\frac{1}{{{L}_{d} }}{v}_{d}^{*} } \\ {\frac{1}{{{L}_{q} }}{v}_{q}^{*} } \\ \end{array} } \right]$$
(16)

According to Eq. (16), the state equation of adjustable model of PMSM with speed angle as the adjustable parameter is obtained and it is given in Eq. (17)

$${p}\left[ {\begin{array}{*{20}c} {\widehat{{{i}_{d}^{*} }}} \\ {\widehat{{{i}_{q}^{ *} }}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \frac{{{R}_{s} }}{{{L}_{s} }}} & {\widehat{{{\omega }_{e} }}} \\ { - \widehat{{{\omega }_{e} }}} & { - \frac{{{R}_{s} }}{{{L}_{s} }}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\widehat{{{i}_{d}^{*} }}} \\ {\widehat{{{i}_{q}^{*} }}} \\ \end{array} } \right] + \frac{1}{{{L}_{s} }}\left[ {\begin{array}{*{20}c} {\widehat{{{v}_{d}^{*} }}} \\ {\widehat{{{v}_{q}^{*} }}} \\ \end{array} } \right]$$
(17)

In SPM, L d  = L q  = L s , so the adaptive mechanism can be simplified as follows:

$$\widehat{{{\omega }_{e} }} = \left( {{K}_{P} + \frac{{{K}_{i} }}{p}} \right)\left[ {{i}_{d} \widehat{{{i}_{q} }} - {i}_{q} \widehat{{{i}_{d} }} - \frac{{{\lambda }_{f} }}{{{L}_{s} }}({i}_{q} - \widehat{{{i}_{q} }})} \right] + \widehat{{{\omega }_{e} }}(0)$$
(18)

4 Results and Discussion

The motor is operated with constant torque up to its rated speed and flux weakening mode of operation is adopted beyond its rated speed. The motor model is tested for three different cases:

  1. (i)

    Dynamic modeling of motor under balanced supply,

  2. (ii)

    FOC, and

  3. (iii)

    MRAS along with FOC.

4.1 Analysis of Speed Response

At first, the motor starts on no-load, and after reaching to a rated speed of 1500 rpm, the load of 2 Nm is applied at 0.1 s on motor. In the first case, the dynamic modeling of motor under balanced phase supply is modeled in MATLAB/Simulink and the result of speed is shown in Fig. 3.

Fig. 3
figure 3

Speed response with balanced supply

In  this case there are many transients in reaching steady state at no load. And also there are many transients when load 2 Nm is applied at t = 0.1 s.

In the second case the motor is tested for the same load conditions with FOC. Here the speed response has no disturbances and it is shown in Fig. 4.

Fig. 4
figure 4

Speed response with FOC

In the third case, there are two sub-models that differ in adaptive mechanism. In adaptive block of sensorless control, two types of controllers  are used to minimize the error and to regulate the speed at different rotor positions. At first, the traditional PI controller is used in sensorless control to estimate the speed as feedback. The speed response is plotted in Fig. 5 and it is noticed that the speed response is very smooth as compared to the previous two cases.

Fig. 5
figure 5

Speed response with FOC and MRAS

4.2 Analysis of Torque Response

In the first case, the load torque of 2 Nm is applied to the motor. The results are shown in Fig. 6. The results show that there are many ripples, harmonics, and disturbances in reaching the steady state.

Fig. 6
figure 6

Torque response with balanced supply

In the second case, the FOC is modeled and a load torque is applied at 0.1 s. The result is shown in Fig. 7. The average torque ripple is 0.2986. The ripple of this model is less compared to the above case. The electromagnetic torque follows the command torque with less ripples.

Fig. 7
figure 7

Torque response with FOC

In the third case, sensorless control with the adaptive block minimizes the error between actual one and reference one. In this, at first, traditional PI controller is used to minimize the error. The torque result is shown in Fig. 8. The average torque ripple is reduced compared to FOC. The average torque ripple is 0.04522.

Fig. 8
figure 8

Torque response with FOC and MRAS

4.3 Analysis of Three-Phase Stator Currents

The currents are obtained using Park’s reverse transformation. It is clear that the current is non-sinusoidal at the starting and becomes sinusoidal when the motor reaches the controller command speed at steady state, as shown in Fig. 9. The steady-state error is reduced in FOC compared to stator currents under balanced supply as shown in Fig. 10.

Fig. 9
figure 9

Stator current response with balanced supply

Fig. 10
figure 10

Stator current response with FOC

The stator current error is more reduced with MRAS sensorless control. The MRAS based on stator currents of PMSM is used to estimate the speed at different load conditions. The results are shown in Fig. 11. In MRAS, current ripples are highly reduced and steady-state error is almost reduced to small value.

Fig. 11
figure 11

Stator current response with FOC and MRAS

4.4 Analysis of Stator Flux Response

The total stator flux in three cases is shown in Figs. 12, 13 and 14. The rotor flux is λ = 0.1750, and the flux is increased with balanced supply but the flux ripples are more in FOC. Whereas in sensorless, the ripples are reduced to small magnitude due to correct estimate of speed and reduction torque harmonics.

Fig. 12
figure 12

Flux response with balanced supply

Fig. 13
figure 13

Flux response with FOC

Fig. 14
figure 14

Flux response with FOC and MRAS

4.5 Dynamic Performance of PMSM

The dynamic performances of PMSM with MRAS and without MRAS are shown in Figs. 15, 16, 17 and 18 for two cases:

  1. (i)

    Dynamic response with constant speed and variable loads applied at different instants;

  2. (ii)

    Dynamic response with constant load and variable speeds applied at different instants.

Fig. 15
figure 15

Dynamic response of stator currents, speed, torque, direct current, quadrature current, and flux with FOC for constant speed

Fig. 16
figure 16

Dynamic response of stator currents, speed, torque, direct current, quadrature current, and flux with FOC and MRAS for constant speed

Fig. 17
figure 17

Dynamic response of stator currents, speed, torque, direct current, quadrature current, and flux with FOC for constant torque

Fig. 18
figure 18

Dynamic response of stator currents, speed, torque, direct current, quadrature current, and flux with FOC and MRAS for constant torque

The speed response is smooth with FOC, whereas torque response, flux response, and quadrature current responses are smooth with MRAS using FOC even though distortion is present; i.e., the magnitude of flux and torque ripples are less with MRAS than without MRAS (Figs. 7, 8, 13 and 14).

5 Conclusion

The output of the adaptation mechanism is the estimated quantity (ω r,est), which is used for tuning the adjustable model and also for feedback. The stability of such closed-loop estimator is achieved through Popov’s hyper-stability criterion. The method is simple and requires less computation. The drive is tested for three cases and also for dynamic conditions. It is found that with MRAS with PI controller, the drive performance is smooth, and torque and flux ripples are less. Further, this work can be extended with fuzzy logic controller along multilevel inverter topology.