Keywords

1 Introduction

Induction motors (IM) have been widely used in industry for variable speed applications due to their inherent advantages such as simplicity of design, reliability, low cost of maintenance, high efficiency and they have become the subject of several researches [1, 2]. PI control have been used, together with vector control methods, for speed control of induction machines, but may be insufficient for nonlinear systems because they are not robust especially when requirements such as precision and other dynamic characteristics of the system are strict [3, 4].

Many robust controls have been proposed in the technical literature. Among them, the variable structure control sliding mode. This control has largely proven its effectiveness through the theoretical studies reported; main fields of application are robotics and electric motors. It is a robust control because the high-gain feedback control input cancels nonlinearities, uncertainty parameters, and external disturbances. [5,6,7]. Sliding mode control (SMC). Is one of the prospective control methodologies for electrical machines [8, 9]. This is due to its order reduction, disturbance rejection and strong robustness properties, along with its simple implementation by means of power converters; Sliding mode control is a type of variable structure scheme, i.e. one which involves switching between controllers. In general, the design of variable structure controllers consists of two steps, namely the reaching and sliding phases [10, 11]. First, the system is directed towards a switching surface by a feedback control law. A switching term is then used to maintain the sliding mode, during which the dynamics of the system are determined by the choice of sliding surface. The sliding mode is relatively independent of parametric uncertainties and load disturbances. SMC has been employed for position and speed control of AC machines. However, the discontinuous nature of the switching feature of SMC causes chattering in the control system [11, 12].

In this paper, a sliding mode controller based on indirect field orientation is proposed for IM speed control. The proposed controller is applied to achieve speed control under disturbances of load torque. The mathematical model of the induction machine is developed and presented in Sect. 2. The following section shows the modeling of an NPC multilevel inverter, Sect. 4 illustrates the development of a PI controller and the application of this induction machine. And the sliding mode controller design for induction machine is given in Sect. 5.

Section 6 shows the simulation results’ using Matlab, Simulink, and the conclusion is drawn in Sect. 7.

2 Mathematical Model of the Induction Machine

In order to lighten the mathematical notations, the indices s, r will be used to designate the stator and rotor respectively, while d and q will represent the direct and quadrature axes. In steady state, the electrical equations of an IM expressed in a stator reference are [7]:

2.1 Electrical Equations

$$ \left\{ \begin{aligned} v_{ds} & \text{ = }R_{s} .i_{ds} - \dot{\theta }_{s} .\varphi_{qs} \text{ + }\frac{{d\varphi_{ds} }}{dt} \\ v_{qs} & \text{ = }R_{s} \text{.}i_{qs} \text{ + }\dot{\theta }_{s} .\varphi_{ds} + \frac{{d\varphi_{qs} }}{dt} \\ v_{dr} & = 0 = R_{r} .i_{dr} - \dot{\theta }_{r} .\varphi_{qr} + \frac{{d\varphi_{dr} }}{dt} \\ v_{qr} & = \text{0} = R_{r} .i_{qr} + \dot{\theta }_{r} .\varphi_{dr} + \frac{{d\varphi_{qr} }}{dt} \\ \end{aligned} \right. $$
(1)
$$ \left\{ \begin{aligned} \varphi_{ds} & = L_{s } .i_{ds} + M.i_{dr} \\ \varphi_{qs} & = L_{s } .i_{qs} + M.i_{qr} \\ \varphi_{dr} & = M.i_{ds} + L_{r } .i_{dr} \\ \varphi_{qr} & = M.i_{qs} + L_{r } .i_{qr} \\ \end{aligned} \right. $$
(2)

2.2 Mechanical Equation

$$ c_{e } = \varvec{ }\frac{{3}}{{2}}.p.\frac{M}{{L_{r} }} .\left( {\varvec{ }\varphi_{dr} .i_{qs} - \varphi_{qr} .\varvec{ }i_{ds} } \right) $$
(3)

3 Modeling of a NPC Three-Level Inverter

Multilevel converters have recently increased interest in the research and industry communities [3, 7]. In these kinds of converters, the output voltage can take several discrete levels of equal magnitude. The multilevel converter was aimed at reducing the harmonics content of generated voltage or current waveforms. The harmonics content of such a waveform is greatly reduced compared to a two-level waveform.

The structure of a multilevel inverter makes it possible to synthesize a sinusoidal signal, starting from several levels of tension, the larger the number of levels, the closer the output voltage is to sinusoidal with a minimum of distortion of harmonics. The connection function Fki defines the state of each switch, where k is the arm number and i is the switch number. In the controllable mode, the connection functions of the inverter are linked by [16]:

$$ \left\{ {\begin{array}{*{20}c} {F_{k1} = 1 - F_{k4} } \\ {F_{k2} = 1 - F_{k3} } \\ \end{array} } \right. $$
(4)

The half-arm connection function is defined as follows:

$$ \begin{array}{*{20}c} {F^{b}_{k1} = F_{k1} F_{k2} } \\ {F^{b}_{k0} = F_{k3} F_{k4} } \\ \end{array} $$
(5)

The potentials of the nodes A, B, C with respect to the mid-points M of the three-phase - inverter are expressed by:

$$ \left\{ {\begin{array}{*{20}c} {V_{AM} = F^{b}_{11} U_{c1} - F^{b}_{10} U_{c2} } \\ {V_{BM} = F^{b}_{21} U_{c1} - F^{b}_{20} U_{c2} } \\ {V_{CM} = F^{b}_{31} U_{c1} - F^{b}_{30} U_{c2} } \\ \end{array} } \right. $$
(6)

The simple output voltages of the inverter are deduced as a function of the potentials of the nodes with respect to the midpoint by the following relation:

$$ \left\{ {\begin{array}{*{20}c} {V_{A} = \left( {2V_{AM} - V_{BM} - V_{CM} } \right)/3} \\ {V_{B} = \left( {2V_{BM} - V_{CM} - V_{AM} } \right)/3} \\ {V_{C} = \left( {2V_{CM} - V_{AM} - V_{BM} } \right)/3} \\ \end{array} } \right. $$
(7)

This makes it possible to express the simple voltages by using the functions of connections of the half arms by:

$$ \left[ {\begin{array}{*{20}c} {V_{A} } \\ {V_{B} } \\ {V_{C} } \\ \end{array} } \right] = \frac{1}{3}\left[ {\begin{array}{*{20}c} 2 & { - 1} & { - 1} \\ { - 1} & 2 & { - 1} \\ { - 1} & { - 1} & 2 \\ \end{array} } \right].\left\{ {\left[ {\begin{array}{*{20}c} {F^{b}_{11} } \\ {F^{b}_{21} } \\ {F^{b}_{31} } \\ \end{array} } \right]U_{c1} - \left[ {\begin{array}{*{20}c} {F^{b}_{10} } \\ {F^{b}_{20} } \\ {F^{b}_{30} } \\ \end{array} } \right]U_{c2} } \right\} $$
(8)

4 PI Controller Design to Increase the Speed of an Induction Machine

The speed controller determines the reference torque in order to maintain the corresponding speed. For the cascade to be justified, it is necessary that the loop intern be very fast compared to speed of an induction machine.

The mechanical equation gives:

$$ \frac{\omega }{{C_{em} }} = \frac{P}{{f_{c} + J.s}} $$
(9)

The block diagram of speed control is therefore carried out as indicated in Fig. 1.

Fig. 1.
figure 1

Block diagram of the speed control.

The closed loop transfer function is given by:

$$ \frac{\omega }{{\omega^{*} }} = \frac{{\left( {k_{p\omega } .s + k_{i\omega } } \right)\frac{P}{J}}}{\rho \left( s \right)} $$
(10)

The characteristic equation \( \rho \left( s \right) \) is:

$$ \rho \left( s \right) = s^{2} + \frac{{f_{c} + k_{p\omega } .P}}{J}.s + \frac{{k_{i\omega } .P}}{J} = 0 $$
(11)

By imposing two complex conjugated poles \( {\text{s}}_{1,2} = -\uprho \pm {\text{j}}.\uprho \) in closed loop and by identification, the parameters of the regulator PI are obtained as follows:

$$ \begin{aligned} k_{i\omega } & = \frac{{2.J.\rho^{2} }}{P} \\ k_{p\omega } & = \frac{{2.\rho .J - f_{c} }}{P} \\ \end{aligned} $$
(12)

5 Sliding Mode Controller

Variable structure control (VSC) with sliding mode, or sliding-mode control (SMC) is one of the most effective nonlinear robust control approaches, because it provides system dynamics with an invariance property to uncertainties once the system dynamics is controlled in the sliding mode [11,12,13]. The first step of a SMC design is to select a sliding surface that models the desired closed-loop performance in state variable space. Then the control is designed such that the system state trajectories are forced toward the sliding surface and stay on it. The system state trajectory in the period of time before reaching the sliding surface is called the reaching phase. Once the system trajectory reaches the sliding surface, it stays on it and slides along it to the origin. The system trajectory sliding along the sliding surface to the origin is called the sliding mode. The insensitivity of the controlled system to uncertainties exists in the sliding mode, but not during the reaching phase. Thus, the system dynamic in the reaching phase is still influenced by uncertainties [8, 12].

Without loss of generality, the design of a sliding mode controller is considered for the following second order system: \( {\ddot{\text{x}}} + {\text{a}}_{1} {\dot{\text{x}}} + {\text{a}}_{2} {\text{x}} = {\text{b}}.{\text{u,}} \) where u(t) is the input to the system and we assume that b > 0. A possible choice of the structure of a sliding mode controller is: [9, 11].

$$ {\text{u}} = {\text{u}}_{\text{eq}} + {\text{k}}.{\text{sgn}}\left( {\text{s}} \right) $$
(13)

Where \( {\text{u}}_{\text{eq}} \) is called equivalent control, which dictates the motion of the state trajectory along the sliding surface [11]; k is a constant, representing the maximum controller output required to overcome parameter uncertainties and disturbances; \( {\text{s}} \) is called the switching function because the control action switches its sign on the two sides of the switching surface \( {\text{s}} = 0 \). For a second order system, s is defined as: [8]

$$ {\text{s}} = {\dot{\text{e}}} +\uplambda.{\text{e }} $$
(14)

Where \( {\text{e}} = {\text{x}}_{\text{d}} - {\text{x}} \) and \( {\text{x}}_{\text{d}} \) is the desired state; \( \uplambda \) is a constant, and sgn(s) is the signum function, which is defined as:

$$ {\text{sgn}}\left( {\text{s}} \right) = \left\{ {\begin{array}{*{20}c} { - 1} \\ { 1} \\ \end{array} } \right. \begin{array}{*{20}c} {{\text{s}} < 0} \\ {{\text{s}} > 0} \\ \end{array} $$
(15)

The design of sliding mode controllers mainly requires three steps [16,17,18,19], namely:

  • The choice of the sliding surface

  • The condition of convergence

  • The calculation of control law

5.1 Choice of the Sliding Surface

The switching function is a scalar function, such as the variable to be adjusted to the slides on this surface to reach the origin of the phase plane. A general equation has been proposed to determine the sliding surface, which ensures the convergence of a variable to its desired value defined as follows [19]:

$$ S\left( x \right) = {\text{e}}\left( {\text{x}} \right) + \lambda_{1} . \frac{d}{dt}.e\left( x \right) + \ldots + \lambda_{m} .\frac{{d^{m} }}{{dt^{m} }}.e\left( x \right) $$
(16)

With: \( {\text{e}}\left( {\text{x}} \right) =\upomega^{ *}_{\text{s}} -\upomega_{\text{s}} \)

\( \uplambda_{\text{i }} \left( {{\text{i}} = 1,2, \ldots ,{\text{m}}} \right) \) Is a positive constant, interpreting the control bandwidth desired and m is a relative degree, equal to the number of times to derive the output for command display.

5.2 Condition of Convergence

This is the mode in which the variable to be adjusted moves from any point in the phase plane and tends towards the switching surface \( {\text{S}}\left( {\text{x}} \right) = 0. \)

This mode is characterized by the control law and the convergence criterion. In this paper, the direct switching function is proposed by Emilianov and Utkin [19], can be formulated by the following sufficient condition:

$$ {\text{S}}\left( {\text{x}} \right).{\dot{\text{S}}}\left( {\text{x}} \right) < 0 $$
(17)

5.3 Calculation of Control Law

Once the selected slip surface and the convergence criterion are satisfied, the necessary condition are determined to bring the variable to be controlled to the sliding surface and then to its equilibrium point.

In the VSC theory, there are different ways of choosing the parameters to define switching logic; in the literature there are three types of widespread structures: linear feedback control with switched gain, relay, and equivalent control. In the latter, two approaches are preferred in the control of induction machines because they are more appropriate.

In this case, the method chosen is that of the equivalent command, so we have:

$$ {\text{u}} = {\text{u}}_{\text{eq}} + {\text{u}}_{\text{n}} $$
(18)

\( {\text{u}}_{\text{eq}} \) is determined from the convergence condition.

\( {\text{u}}_{\text{n}} \) is calculated to ensure the attractiveness of the state variable to be controlled to the switching surface.

Definition of the Speed Control Surface

The structure includes a speed control loop which imposes the control Cemref with slip surface deduced on the basis of the concepts of the reference and is given by [19]:

$$ {\text{e}}\left(\upomega \right) =\upomega_{\text{ref}} -\upomega_{\text{r}} $$
(19)
$$ {\text{s}}\left(\upomega \right) =\uplambda.{\text{e}}\left(\upomega \right) + {\dot{\text{e}}}\left(\upomega \right) $$
(20)
$$ {\rm{s}}\left( \omega \right) = {\rm{ }}\lambda \left( {{\omega_{{\rm{ref}}}} - {\omega_{\rm{r}}}} \right) + ({\dot{\upomega}_{{\rm{ref}}}} - {\dot{\upomega}_{{\rm{r }}}}) $$
(21)

Considering that the condition of the sliding regime \( {\text{s}}\left(\upomega \right) \) is zero, one obtains the equivalent control law:

$$ {\text{c}}_{\text{emeq}} = {\text{f}}.\upomega_{\text{r}} + {\text{c}}_{\text{r}} $$
(22)

During the convergence mode and in order to satisfy the condition \( {\text{S}}\left( {\text{x}} \right).{\dot{\text{S}}}\left( {\text{x}} \right) < 0 \), the following equation is adopted:

$$ {\text{c}}_{\text{emeq}} = {\text{k}}.{\text{sat}}\left( {{\text{s}}\left( { \upomega} \right)} \right) $$
(23)

This gives us the reference control at the output of the \( {\text{c}}_{\text{emref}} \) controller for speed control.

$$ {\text{c}}_{\text{emref}} = {\text{f}}.\upomega_{\text{r}} + {\text{c}}_{\text{r}} + {\text{k}}.{\text{sat}}\left( {{\text{s}}\left( { \upomega} \right)} \right) $$
(24)

6 Simulation Results

In order to evaluate the performance of the indirect speed vector control with adjustment by a PI regulator and a sliding mode regulator, we performed numerical simulations under the following conditions:

  • Speed set point change from 200 to −200 rad/s at the instant 3 s

  • Variation of the mechanical load from 0 to −10 Nm between times 1 and 2 s.

Figure 2 shows the IM speed setting by the indirect vector control adjustment by a PI regulator, with load variation, supplied with a three-level inverter voltage.

Fig. 2.
figure 2

Speed of IM with PI controller

Figure 3 shows measured speed and speed reference of the PI regulator.

Fig. 3.
figure 3

Measured speed and speed reference of PI

The results show that the use of the decoupled model gives satisfactory results:

  • The speed of rotation follows the reference speed with an excess of 7.20 rad/s.

  • Control ensures good regulation with disturbance rejection of 13 rad/s.

  • A response time of 0.3 ms to reach the balanced state.

Figure 4 shows the IM speed setting by the indirect vector control adjustment via a sliding mode regulator, with load variation, supplied with a three-level inverter voltage.

Fig. 4.
figure 4

Speed of IM with SMC controller

Figure 5 shows measured speed and speed reference of the sliding mode regulator.

Fig. 5.
figure 5

Measured speed and speed reference of SMC

Figure 6 shows the difference between the PI regulator and the sliding mode regulator.

Fig. 6.
figure 6

Difference between the PI and SMC

The results show that regulation using a Sliding mode regulator gives satisfactory results:

  • The speed of rotation follows the reference speed without excess.

  • The control ensures good regulation with disturbance rejection of 5 rad/s.

  • A response time of 0.22 ms is needed to reach the balanced state.

7 Conclusion

In this paper, the PI and SMC have been tested in simulation; the sliding mode is a controller for nonlinear systems with non-constant parameters; it leads to precision and robustness, and allows solving problems caused by PI controller. The simulation results indicate that the sliding mode control gives better results compared to the PI regulator.