1 Introduction

PMSMs have been commonly used in variable speed drives for industrial applications, due to their high efficiency, low volume, high torque density and wide range of speed of operation. Of the various methods developed to achieve high performance control of PMSM, vector control (VC) and direct torque control (DTC) are the most significant methods [1]. VC helps to achieve better steady state performance and fast dynamic response in PMSMs over a wide speed range. PMSM has a few inherent limitations, such as machine design imperfections, pulsating torque resulting from effect of dead time, error in current measurement and other uncertainties, especially when motor is used for low-speed operations [2]. The ripples in motor torque can produce speed ripples in the motor, which is not desirable for servo application such as machine tools etc.

Torque dynamics can be improved through use of appropriate control technique. Predictive control technique is one of the widely used techniques, which include deadbeat control (DBC) and MPC techniques [3, 4]. These control techniques can be implemented effectively using digital signal processors (DSP). Dead beat (DB) controller provides good dynamic responses at constant switching frequency as it can force the tracking of a variable to its reference value [5]. Model predictive control (MPC) is a multi-objective control method that is simple to implement and appropriate for nonlinear systems [6]. The use of MPC in the field of power electronics and electrical drives is primarily driven by two facts: the mathematical models of these systems required by MPC are well understood, and the design of the controller must take into account a number of limitations [7]. The concept of MPC is very intuitive and has the capability to compensate dead time, handle multivariable cases and address nonlinearities [8, 9]. There are two types of MPC: continuous control set MPC (CCS-MPC) and finite control set MPC (FCS-MPC). A modulator is used in CCS-MPC and it runs at constant switching frequency [10]. Model predictive current controller (MPCC) and Model predictive torque controller (MPTC) are the two types of FCS-MPC [11,12,13,14,15]. MPC is adept in predicting the performance parameters like flux, current and torque. In MPTC the control variable are stator flux and motor torque and in MPCC the control variable is defined only in terms of stator current [16, 17]. MPCC is much easier to implement as compared to MPTC as an observer or estimator is required in MPTC to find the value of stator flux and motor torque; while in MPCC current is the control variable that can be measured directly. The tuning of weighting factor is a mandatory requirement for MPTC, which is not the case with MPCC.

PMSM can achieve good control performance when the real-time three-phase current is measured accurately. However, error in measuring the current can produce speed ripples in PMSM drive. Current measurement errors are usually caused by the hall sensor units, the signal processing circuit, analog to digital (A/D) converter and filter circuits [18]. Torque ripples produced due to error in current measurement can be reduced by compensation of the torque generating current. This technique depends on motor variables of machine and is difficult to realize for practical applications.

Speed ripples in motor can be reduced by employing suitable control approach based on principle of internal mode such as repetitive controller [19, 20] and resonant controllers [21, 22]. Repetitive controller has limitation relating to adapting the frequency as it requires variable sampling frequency. Resonant controllers can achieve precise reference tracking and disturbance rejection while producing infinite gain at the unbalanced frequency.

This paper elucidates the design and implementation of a PI-RES speed controller for minimization of torque ripples in MPC-based PMSM drive. The PI-RES controller is designed by connecting a frequency variable resonant controller with PI controller in parallel. The PI-RES controller produces the reference current for MPC of PMSM. The proposed controller produces the reference torque current and is able to reduce ripples by generating compensation torque current from resonant controller along with the main reference current. Simulation studies are carried out to compare the performance of the developed PI-RES controller and the classical PI controller for MPC of PMSM drive. The simulation results are validated on a laboratory prototype using dSPACE ds1104 controller, and it is observed that proposed method improves the overall performance of PMSM drive effectively. The novelty of this paper include:

  • An adaptive model predictive controller is developed and implemented as a current controller to find the suitable voltage vectors for the control of the PMSM drive, which provides superior dynamic performance of the drive under various operating conditions.

  • A PI-RES controller is designed and implemented in the outer speed loop for MPC of PMSM to ensure reduction in speed ripples.

This paper is structured into six sections including introduction in Sect. 1, Sects. 2, 3, 4, 5, 6, 7, 8 cover Modelling of PMSM, Design of Proposed PI-RES Controller, Principle of proposed MPC of PMSM, Control of PMSM Drive with proposed PI-RES Controller, Simulation Studies and Discussions, Experimental Results followed by Conclusions.

2 Modelling of PMSM

To facilitate simple analysis, the following assumption are made while modelling the PMSM: -

  • Magnetic saturation is ignored,

  • Back-EMF is assumed to be sinusoidal and

  • Cogging torque, hysteresis and eddy current are very small and hence neglected.

The direct and quadrature axes voltages of surface mounted PMSM are [23]:

$$ v_{d} = R_{s} i_{d} + L_{d} \frac{{{\text{d}}i_{d} }}{{{\text{d}}t}} - \omega L_{q} i_{q} $$
(1)
$$ v_{q} = R_{s} i_{q} + L_{q} \frac{{{\text{d}}i_{q} }}{{{\text{d}}t}} + \omega L_{d} i_{d} + \omega \varphi_{m} $$
(2)

where \(v_{d}\), \(v_{q}\), \(i_{d}\), \(i_{q}\), \(L_{d}\), \(L_{q}\) are the dq axes voltage, current and inductances respectively and \(R_{s} { }\omega\), \(\varphi_{m}\) are stator resistance, angular speed, and flux of PMSM, respectively. For a surface mounted PMSM, \(L = L_{d} = L_{q}\). Hence

$$ v_{d} = R_{s} i_{d} + L\frac{{{\text{d}}i_{d} }}{{{\text{d}}t}} - \omega Li_{q} $$
(3)
$$ v_{q} = R_{s} i_{q} + L\frac{{{\text{d}}i_{q} }}{{{\text{d}}t}} + \omega Li_{d} + \omega \varphi_{m} $$
(4)

The torque dynamics of PMSM is given as:

$$ T_{e} = T_{l} + J\frac{{{\text{d}}\omega_{r} }}{{{\text{d}}t}} + B\omega_{r} $$
(5)

where \(T_{l}\) and \(T_{e}\) are load torque and electromagnetic torque respectively and \(\omega_{r}\), \(B\), J are rotor speed, friction coefficient and moment of inertia, respectively.

\(T_{e}\) can also be represented as

$$ T_{e} = \frac{3}{2} \cdot \frac{P}{2}\left( {\varphi_{d} i_{q} + \varphi_{q} i_{d} } \right) $$
(6)

where P is number of poles and \(\varphi_{d}\), \(\varphi_{q}\) are \(d - q\) axes flux linkages and is defined as

$$ \varphi_{d} = L_{d} i_{d} + \varphi_{m} $$
(7)
$$ \varphi_{q} = L_{q} i_{q} $$
(8)

Using Eq. (5), electromagnetic torque is expressed as

$$ T_{e} = \frac{3}{2}\frac{P}{2}\varphi_{m} i_{q} $$
(9)

The mechanical speed is expressed as

$$ \omega_{m} = \frac{{{\text{d}}\theta }}{{{\text{d}}t}} $$
(10)

Here \(\omega_{m}\) and \(\theta\) is defined as mechanical speed and rotor position, respectively.

3 Design of proposed PI-RES controller

The outer loop of the PMSM drive with classical PI controller is presented in Fig. 1, where \(T_{d}\) is the inner loop delay, \(K_{p} {\text{ and }}K_{i}\) are the gains of PI controller and \(\omega_{r}^{*}\) is the reference speed.

Fig. 1
figure 1

Outer loop PMSM drive with classical PI speed controller

The expression of proportional resonant (PR) controller to track AC signal in s-domain is [24, 25]

$$ G\left( s \right)_{{{\text{PR}}}} = K_{p} + \frac{{2K_{ir} \omega_{{\text{c}}} s}}{{S^{2} + 2\omega_{{\text{c}}} s + \omega^{2} }} $$
(11)

where, ω is the regulated signal frequency, \(\omega_{{\text{c}}}\) is cut off frequency and \(K_{{{\text{ir}}}}\) is the resonance coefficient. The damping coefficient contributes to increasing the bandwidth of centre frequency of \( \omega\) as well as expand the phase margin of control system. \(G\left( s \right)_{{{\text{PR}}}}\) gives the open loop infinite gain at resonant frequency \(\omega\), that promises accurate tracing for oscillating variables at \(\omega\) when applied in closed loop, similar to the \(G\left( s \right)_{{{\text{PI}}}}\) applied in rotational reference frame of ω. The \(G\left( s \right)_{{{\text{PI}} - {\text{res}}}}\) is designed by connecting \(G\left( s \right)_{{{\text{PI}}}}\) and \(G\left( s \right)_{{{\text{PR}}}}\) in parallel. In this controller only one gain i.e., \(K_{p}\) is required to be tuned [26]

$$ G\left( s \right)_{{{\text{PI}}}} = K_{p} + \frac{{K_{i} }}{s} $$
(12)
$$ G\left( s \right)_{{{\text{PI}} - {\text{res}}}} = K_{p} + \frac{{K_{i} }}{s} + \frac{{2K_{{{\text{ir}}}} \omega_{{\text{c}}} s}}{{S^{2} + 2\omega_{{\text{c}}} s + \omega^{2} }} $$
(13)

Figure 2 shows the outer loop of PMSM with proposed PI-RES speed controller. Since the controlling perturbation is repeated and with twice the sinusoidal rotor frequency, the proposed PI-RES controller is created by combining a PR controller with a classical PI controller. The proposed controller has good ability to control the harmonics as compared to classical PI controller. Here the resonance word addresses the rotor frequency of second harmonic, that is acquired from position sensors or through sensor-less control techniques. By combining the compensating torque current produced by the resonant controller and reference current generated by the PI controller, the speed ripples are minimized. PI-RES controller generates the reference of pulsating torque current that counter the ripples in load torque.

Fig. 2
figure 2

Outer loop of PMSM drive with PI-RES speed controller

The motor speed is generally obtained by differentiating the rotor position as shown in (10); however, in this process high frequency noise is produced in discrete systems. A low-pass filter of 500 Hz frequency is employed to reduce this noise in the speed signal.

When the PI-RES controller is employed in the speed loop, the dynamic performance is controlled by \(K_{p}\),while \(K_{i} \) and \(K_{{{\text{ir}}}}\) remove the error in steady state condition. The phase margin of the speed loop is almost 90° when \(K_{i} = K_{{{\text{ir}}}} = 0\) and the system will be stable. The system behaves like a second order system if \(K_{i} \) and \(K_{{{\text{ir}}}} \) are neglected and the speed loop transfer function is expressed as:

$$ G_{s} \left( s \right) = K_{{{\text{ps}}}} .\frac{1}{{{\text{Js}}}}.\frac{1}{{T_{{{\text{d}}s}} + 1}}.\frac{{3P\lambda_{m} }}{4} $$
(14)

where \(T_{d} = \frac{1}{{B_{i} }} + \tau_{{{\text{LPF}}}}\). The proportional constant of the speed loop, \(K_{{{\text{ps}}}}\) is:

$$ K_{{{\text{ps}}}} = \frac{1}{{4\delta^{2} T_{d} }}\frac{4J}{{3P\lambda_{m} }} $$
(15)

where \(\delta\) is the damping coefficient, \(\tau_{{{\text{LPF}}}}\) is time constant and \(B_{i}\) is bandwidth of \(\omega\).

4 Principle of proposed MPC of PMSM

The basic concept behind the MPC is to use a machine model to predict the possible actions of control variables in the time domain and then select the control operation based on an optimization of objective function. In proposed MPC an objective function is defined as the selection criteria, which selects the optimal switching states fed to the VSI. The estimated values of the variables to be monitored are used to determine the objective function and it is minimized using minimum function block of the MATLAB/Simulink for each voltage vector for each sampling interval. The optimal switching state with the minimum objective function value is chosen and used to control the three-leg VSI. The proposed MPC involves the following three steps: -

  1. (1)

    Define the objective function.

  2. (2)

    Build predictive model of inverter and find out its optimal switching states.

  3. (3)

    Create a prediction model of load.

PMSM being the load on the VSI, a discrete time PMSM model is needed to predict the behavior of variables (such as load current) assessed by the objective functions. The block diagram of MPC algorithm applied in current control method of PMSM drive is presented in Fig. 3.

Fig. 3
figure 3

Scheme for MPC of PMSM

The stator reference current, \(i_{k}^{*}\) is obtained from the outer speed loop of PI-RES controller and \(i_{k}\) is measured. For each of the different voltage vectors, the motor's modelling equations are used to predict the value of \(i_{k}\) in the next sampling period \(\left( { i_{k + 1} } \right)\). The objective function measures the error of predicted and reference currents for the next sampling time. The voltage which produces the minimum value of current error is chosen and applied to the load. The flow chart of the algorithm for implementation of MPC of PMSM is shown as Fig. 4.

Fig. 4
figure 4

Flow chart for MPC for PMSM drive

The states of the switching are defined as:

$$ G = \frac{2}{3}\left( {G_{a} + aG_{b} + a^{2} G_{c} } \right) $$
(16)

where \(G_{a}\), \( G_{b} \) and \( G_{c} \) are the pulses given to the inverter and \(a = e^{{j{\raise0.7ex\hbox{${2\pi }$} \!\mathord{\left/ {\vphantom {{2\pi } 3}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$3$}}}}\). The output of the inverter is

$$ G = \frac{2}{3}\left( {v_{{{\text{an}}}} + av_{{{\text{bn}}}} + a^{2} v_{{{\text{cn}}}} } \right) $$
(17)

Similarly, the current vector, \(i\), and back-EMF, \(e\), of PMSM are expressed as:

$$ i = \frac{2}{3}\left( {i_{a} + ai_{b} + a^{2} i_{c} } \right) $$
(18)
$$ e = \frac{2}{3}\left( {e_{a} + ae_{b} + a^{2} e_{c} } \right) $$
(19)

From the modelling equations of PMSM in \(d - q\) axes the predictive model is derived as

$$ v_{q} \left( k \right) = R_{s} i_{q} \left( k \right) + \frac{L}{{T_{s} }}\left[ {i_{q} \left( {k + 1} \right) - i_{q} \left( k \right)} \right] + L\omega i_{d} \left( k \right) - \varphi_{m} \omega $$
(20)
$$ v_{d} \left( k \right) = R_{s} i_{d} \left( k \right) + \frac{L}{{T_{s} }}\left[ {i_{d} \left( {k + 1} \right) - i_{d} \left( k \right)} \right] - L\omega i_{q} \left( k \right) $$
(21)
$$ i_{q} \left( {k + 1} \right) = i_{q} \left( k \right) + \frac{{T_{s} }}{L}\left[ {v_{q} \left( k \right) - R_{s} i_{q} \left( k \right) - L\omega i_{d} \left( k \right) - \varphi_{m} \omega } \right] $$
(22)
$$ i_{d} \left( {k + 1} \right) = i_{d} \left( k \right) + \frac{{T_{s} }}{L}\left[ {v_{d} \left( k \right) - R_{s} i_{d} \left( k \right) + L\omega i_{q} \left( k \right)} \right] $$
(23)

The objective function, M, for the model predictive control is defined as

$$ M = \left| {i_{{q_{ref} - }} i_{q} \left( {k + 1} \right)} \right| + \left| {i_{{d_{ref} - }} i_{d} \left( {k + 1} \right)} \right| $$
(24)

where \(i_{{q_{{{\text{ref}}}} }}\) and \(i_{{d_{{{\text{ref}}}} }}\) are reference current in dq axis.

5 Control of PMSM drive with proposed PI-RES controller

Field oriented control (FOC) technique is used to control space vectors of flux, current, and voltage in vector controlled PMSM drive [27, 28]. The block diagram for MPC of a PMSM drive with a PI-RES controller is presented in Fig. 5. The PI-RES controller is used in the outer speed loop to generate reference current depending on the error in reference and motor speeds.

Fig. 5
figure 5

PMSM drive with PI-RES speed controller

MPC is employed to generate the ideal voltage vector and supplied to inverter. The voltage is chosen and fed to inverter in such a way that the error between reference and predicted current is minimized. Using the observed voltage and current from the inverter, the predicted current for the \({\varvec{k}}^{{{\varvec{th}}}}\) sampling is determined.

6 Simulation studies and discussions

The performance of classical PI controller and proposed PI-RES controller for speed control for MPC of PMSM drive are investigated through simulation studies using MATLAB/ Simulink, for the motor with specifications as given in Table 1. Load variation, low speed operation, torque ripple analysis and total harmonic distortion (THD) analysis are carried out, with a sampling time of 10 μs for testing of the proposed controller.

  1. A.

    Starting characteristics of PMSM drive:

    The starting characteristics of PMSM drive at no-load and rated-speed operation are presented in Fig. 6a, b using PI and proposed PI-RES controller, respectively. Some overshoot and distortion in speed, torque and stator current are observed when PI controller is used as speed controller; while PI-RES controller regulates the speed of the motor without overshoot and gives fast and smooth response.

  2. B.

    Dynamic response of PMSM drive during sudden change of load torque:

    Figure 7a, b shows the zoomed dynamic response of the drive during torque transition at rated speed operation of the motor. The rising time and settling time are also observed to be less with PI-RES controller in comparison with PI controller, which makes the response of the drive faster.

    Figure 8 shows the transient characteristics of MPC of PMSM drive at rated speed with PI controller and PI-RES controller, respectively. During starting with no load, some overshoot and undershoot are observed with the PI controller; while PI-RES gives smooth speed characteristics. When the full load is applied at t = 0.06 s, speed of the motor settled to the commanded value earlier with PI-RES controller as compared to the PI controller. During the torque transition, the speed perturbation is less in the PI-RES controller.

  3. C.

    Dynamic performance of PMSM drive at low-speed operation:

    Figure 9a, b presents the speed, torque and stator current characteristics for MPC of PMSM drive with PI controller and PI-RES controller, respectively, for low-speed (10% of rated-speed) operation. The motor is initially started at a speed of 30 rad/sec under no load condition. The load of rated value i.e., 11 Nm is applied at t = 0.06 s to the motor. From Fig. 9a, b it can be seen that when the load is applied to motor an overshoot is observed in torque characteristics of motor. It is also observed that PI-RES controller provide smooth dynamic characteristics of speed, torque and current of MPC of PMSM drive in comparison of PI controller.

    Figure 10 presents the zoomed speed characteristics during torque transition for this operating speed. The proposed PI-RES controller reduces the overshoot and undershoot of speed when load torque is applied. In addition, the settling time of motor speed to its reference speed with PI-RES speed controller is less than that of conventional PI speed controller.

  4. D.

    Steady state characteristics of PMSM drive:

    The steady state characteristics for MPC of PMSM drive with PI controller and PI–RES controller are shown in Fig. 11a, b, respectively. Some torque ripples are observed in the steady state characteristics. The ripples in motor torque are 27.2% and 9.1% for MPC of PMSM drive with PI controller and proposed PI-RES controller, respectively. Thus, it is evident that the use of PI-RES for MPC of PMSM achieves better torque characteristics, with less ripples during steady state condition, as compared to classical PI controller.

  5. E.

    Output response of PI and PI-RES controller

    Figure 12 shows the reference current in q-axis \(\left( {i_{q}^{*} } \right)\) for PMSM drive using PI controller and PI-RES controller-based MPC.

    It is observed that PI-RES generates reference pulsating torque current that counter the toque ripples in q-axis current of motor and torque of the motor resulting in reduced torque ripples as compared to PI controller.

  6. F.

    Stator currents of PMSM drive in d-axis and q-axis

    Figures 13 and 14 show the stator current of PMSM drive using PI controller and PI-RES controller-based model predictive control. At constant torque operation direct axis current is zero and quadrature axis current \(i_{q }\) is proportional to load torque.

    It is observed that as the load changes, there is a proportional change in iq while id is maintained at zero for constant torque operation. The ripples in stator current in dq axis are observed to be less for the PI-RES controller as compared to conventional PI controller, which results in lower torque ripples.

  7. G.

    THD in stator current of PMSM:

Table 1 Ratings of PMSM
Fig. 6
figure 6

Starting characteristics for MPC of PMSM drive at rated operation with: a PI Controller b PI-RES Controller

Fig. 7
figure 7

Torque dynamics for MPC of PMSM during torque transition at rated speed operation: a PI Controller b PI-RES Controller

Fig. 8
figure 8

Transient characteristics for MPC of PMSM Drive at rated speed with: a PI Controller b PI-RES Controller

Fig. 9
figure 9

Dynamic performance for MPC of PMSM at 10% of rated-speed operation with: a PI Controller b PI-RES Controller

Fig. 10
figure 10

Zoomed speed-response during torque transition for MPC of PMSM at 10% of rated-speed operation with: a PI Controller b PI-RES Controller

Fig. 11
figure 11

Steady state characteristics for MPC of PMSM at rated torque operation with: PI a Controller b PI-RES Controller

Fig. 12
figure 12

reference current \(i_{q}^{*}\) using PI controller and PI-RES controller

Fig. 13
figure 13

iq and id of PMSM drive using PI controller-based MPC

Fig. 14
figure 14

iq and id of PMSM drive using PI controller-based MPC

Figure 15a, b presents the harmonics spectrum of stator current at full load with PI controller and PI-RES controller, respectively.

Fig. 15
figure 15

THD in stator current during rated-load operation with: a PI Controller b PI-RES controller

Figure 16a, b presents the harmonics spectrum of stator current at 50% of rated load with PI controller and PI-RES controller, respectively.

Fig. 16
figure 16

THD in current during operation at 50% of rated-load with: a PI controller b PI-RES controller

The ripples in stator current of the motor are low when the switching frequency is high. The average frequencies of switching in both methods i.e., PI and PI-RES are set similar for the comparative analysis. The THD is analyzed unto 6 kHz for the motor fundamental frequency of 200 Hz. The stator current is selected up to 2 cycles for THD analysis.

Figure 17 shows the comparative results of THD in stator current for load torques of 11 Nm and 5.5 Nm. It is observed that THD in stator current using PI-RES is lower in comparison with that of PI controller.

Fig. 17
figure 17

Comparison of THD in stator current for loads of 11 Nm and 5.5 Nm

7 Experimental results

To validate the aforesaid simulation studies, an experimental laboratory prototype for the operation of PMSM drive with different controllers is developed and implemented, which is shown in Fig. 18. The laboratory prototype consists of the dSPACE controller ds1104, VSI, current and voltage sensors, driver circuit and power supplies along with the PMSM. The control method is implemented using a dS1104 TMS320F240 controller board and MATLAB/Simulink. The parameters of PMSM used for the experimental analysis is specified in Table 1. The VSI supplies the stator voltage to the PMSM, which is regulated by gate pulses generated by the dS1104 controller through various control techniques. A DC machine is coupled to PMSM for electrical loading on the PMSM. The two current sensors sense the stator currents of PMSM. The sampling time is set to 50 μs for both control techniques.

  1. A.

    Performance of PMSM drive during starting under no load condition:

    Figure 19a, b shows the dynamic response for MPC of PMSM drive with conventional PI and PI-RES controllers respectively during starting under no load condition. This includes the motor speed, \(\omega_{r}\), torque, \(T_{e}\) and stator currents, \(i_{{{\text{abc}}}}\). The PMSM takes a few seconds to reach steady state speed, and the torque generated is sufficient to achieve and maintain the desired rotor speed. The current required by the motor during startup is large to overcome the motor inertia, but gradually decreases to zero load current. The no-load dynamics for the two controllers are similar with the PI-RES controller being slightly faster in achieving steady state condition.

  2. B.

    Dynamic performance of PMSM drive during low-speed operation:

    Figure 20a, b shows the dynamic performance of the PMSM drive during low-speed operation for MPC of PMSM drive using PI and PI-RES controllers, respectively. The reference speed of the motor is set to 31.4 rad/s. Initially the motor is started at no load and after attaining the steady state condition, a rated load of 11 Nm is applied to the motor. From Fig. 20a, b, it is observed that PI-RES controller has better performance for the MPC of PMSM drive with lesser torque ripples and smooth characteristics as compared to the conventional PI controller.

  3. C.

    Performance of PMSM drive during steady state condition

    Figure 21a, b shows the torque, \(T_{e}\) and stator currents, \(i_{{{\text{abc}}}}\) for MPC of PMSM drive during steady-state condition with rated load using PI and PI-RES controllers. The motor is started at no-load and after attaining the desired speed, the rated load of 11 Nm is applied to the PMSM. It is observed that the torque ripples are less in the developed torque for the PI-RES controller as compared to the PI controller.

  4. D.

    THD analysis of stator currents of PMSM drive

Fig. 18
figure 18

Developed laboratory prototype of PMSM drive: 1-PC, 2-eight channel MSO, 3- DC power supply, 4- three phase inverter, 5- dSPACE 1104, 6-driver circuit, 7-current sensors, 8-voltage sensors, 9-encoder, 10-PMSM, 11-DC generator, 12-resistive load

Fig. 19
figure 19

Dynamic response of PMSM drive during Starting under no load condition using: a PI controller b PI-RES controller

Fig. 20
figure 20

Dynamic performance of PMSM drive during low-speed operation at rated load condition using: a PI controller b PI-RES controller

Fig. 21
figure 21

Performance of PMSM drive during steady state condition using: a PI Controller b PI-RES Controller

Figures 22 and 23 show the harmonic spectrum of stator current \(i_{a}\) for MPC of PMSM drive using PI and PI-RES controllers respectively, under rated load operation and half rated-load operation. The harmonic spectrums are observed up to harmonic order of 40 with a fundamental frequency of 200 Hz. From Fig. 22a, b it is observed that THD in stator current of PMSM at rated load, i.e., 11 Nm, are 3.097% and 2.286% with PI and PI-RES controllers, respectively. While THD in stator current of PMSM at half rated-load, i.e., 5.5 Nm are 8.125% and 5.717% with PI and PI-RES controllers respectively, which are shown in Fig. 23a, b. It is observed that THD in stator current of PMSM is less with PI-RES controller as compared to the conventional PI controller. The comparative results of THD in stator current of PMSM with PI and PI-RES controller are shown in Fig. 24.

Fig. 22
figure 22

Harmonic spectrum of stator current of PMSM at rated load using: a PI controller b PI-RES controller

Fig. 23
figure 23

Harmonic spectrum of stator current of PMSM at half rated-load using: PI a controller b PI-RES controller

Fig. 24
figure 24

Experimental results of THD in stator current for loads of 11 Nm and 5.5 Nm

8 Conclusions

A PI-RES controller is designed and implemented for MPC of PMSM drive to regulate the speed and minimize the torque ripples. The performance of the proposed controller is validated by comparing it with the classical PI controller. The results of simulation studies verified that the proposed controller provides superior dynamic performance compared to the conventional PI controller in terms of starting characteristics, low-speed operation, and transient characteristics. The simulation studies were validated through the developed experimental laboratory prototype based on dSPACE 1104 DSP controller. It is observed that the proposed PI-RES controller-based MPC has several advantages over the PI controller-based MPC of PMSM.

  1. a)

    The ripples in motor torque with simulation study are observed as 27.2% and 9.1% for MPC of PMSM drive with PI controller and proposed PI-RES controller, respectively, which validates that the proposed method can reduce ripples in the motor torque.

  2. b)

    THDs are calculated as 4.52% & 3.85% at 11 Nm load and 6.53% & 4.4% at the load of 5.5 Nm using PI and PI-RES controller, respectively, with simulation, while 3.10% & 2.29% at 11 Nm load and 8.13% & 5.73% at the load of 5.5 Nm using PI and PI-RES controller respectively are observed with experimental analysis. Thus proposed method has significantly less THD in stator current at different loads.

The proposed drive may be useful for industrial applications without torque-ripple, such as spindle drives and accurate positioning systems. In the future proposed technique may also be implemented for electric vehicle applications, which require less ripples in torque by suitably addressing the assumptions related to magnetic saturation, cogging torque etc.