**Abstract**

In this chapter, we will compare the performance of a multilevel direct torque control (DTC) control for the double-star induction machine (DSIM) based on artificial neural network (ANN). The application of DTC control brings a very interesting solution to the problems of robustness and dynamics. However, this control has some disadvantages such as variable switching frequency, size, and complexity of the switching tables and the strong ripple torque. A solution to this problem is to increase the output voltage level of the inverter and associate the DTC control with modern control techniques such as artificial neural networks. Theoretical elements and simulation results are presented and discussed. As results, the flux and torque ripple of the five-level DTC-ANN control significantly reduces compared to the flux and torque ripple of the three-level DTC-ANN control. By viewing the simulation results using MATLAB/Simulink for both controls, the results obtained showed a very satisfactory behavior of this machine.

**Keywords:** double-star induction machine (DSIM), direct torque control (DTC), three-level inverter, five-level inverter, artificial neural network (ANN)

#### **1. Introduction**

The use of a conventional two-level inverter in the field of high power applications is not appropriate because it requires electronic components capable of withstanding high reverse voltage and high current. Another disadvantage of this inverter is the problem of magnetic interference caused by the abrupt change of the output voltage of the inverter from zero to high value [1].

With the appearance of the structures of the multilevel inverters proposed for the first time by [2], the research was able to face the handicaps presented by the classical structure. The goal of this research focus is to improve the quality of the output voltage, as well as to overcome the problems associated with two-level inverters. There are several topologies of multilevel inverters such as floating-diode, floating-capacitor, and cascaded inverters [3]. These structures make it possible to generate an output voltage of several levels.

Diode-clamped inverter (DCI) is the one that attracts the most attention because of the simplicity of its structure compared to the floating capacity inverter; in fact

we do not need to use capacities for each phase, which eliminates the risks of parasitic resonances [4]. In this structure, diodes called floating diodes are associated with each phase, which serves to apply the different voltage levels of the DC source.

where:

*A* ¼

where

*Lm Tr*

> *m LsLr*

*a*<sup>1</sup> ¼ *b*<sup>0</sup>

*<sup>a</sup>*<sup>5</sup> <sup>¼</sup> �*b*<sup>0</sup> *Tr*

*<sup>σ</sup>* <sup>¼</sup> <sup>1</sup> � *<sup>L</sup>*<sup>2</sup>

*<sup>b</sup>*<sup>1</sup> <sup>¼</sup> *<sup>L</sup>*<sup>1</sup> *L*2 <sup>1</sup> � *<sup>L</sup>*<sup>2</sup> 2 *X* ¼ ½ � *x*1, *x*2, *x*3, *x*4, *x*5, *x*<sup>6</sup>

*a*<sup>1</sup> *a*<sup>2</sup> *a*<sup>3</sup> *a*<sup>4</sup> *a*<sup>5</sup> *a*<sup>6</sup> �*a*<sup>2</sup> *a*<sup>1</sup> �*a*<sup>4</sup> *a*<sup>3</sup> �*a*<sup>6</sup> *a*<sup>5</sup> *a*<sup>3</sup> *a*<sup>4</sup> *a*<sup>1</sup> *a*<sup>2</sup> *a*<sup>5</sup> *a*<sup>6</sup> �*a*<sup>4</sup> *a*<sup>3</sup> �*a*<sup>2</sup> *a*<sup>1</sup> �*a*<sup>6</sup> *a*<sup>5</sup> *a*<sup>9</sup> *a*<sup>8</sup> *a*<sup>7</sup> 0 *a*<sup>7</sup> 0 �*a*<sup>8</sup> *a*<sup>9</sup> 0 *a*<sup>7</sup> 0 *a*<sup>7</sup>

� *b*1*Rs*, *a*<sup>2</sup> ¼ *ωs*ð Þ *b*1*L*<sup>1</sup> þ *b*2*L*<sup>2</sup> , *a*<sup>3</sup> ¼ *b*<sup>0</sup>

*Tr*

, *<sup>L</sup>*<sup>1</sup> <sup>¼</sup> *<sup>σ</sup>Ls*, *<sup>L</sup>*<sup>2</sup> <sup>¼</sup> *<sup>σ</sup>Ls* � *ls*, *<sup>L</sup>*<sup>3</sup> <sup>¼</sup> *Ls*ð Þ <sup>1</sup> � *<sup>σ</sup>* , *<sup>a</sup>*<sup>0</sup> <sup>¼</sup> *Lm*

, *b*<sup>3</sup> ¼ *ωs*ð Þ *b*<sup>1</sup> þ *b*<sup>2</sup>

**Figure 1** shows the structure of the three-level floating-diode inverter intro-

The three symmetrical arms consist of four fully controllable switches. These switches must not be opened or closed simultaneously, in order to avoid short circuiting of the DC source at the input of the inverter. Each switch is composed of an antiparallel transistor with a diode. The floating diodes ensure the application of the different voltage levels at the output of each arm. The DC input voltage is divided into two equal parts by using two capacitors. Each capacitor must be sized

The switching function of each switch Txki (k = 1, 2, i = 1 ... 4, x = a, b, and c) is

The controls of the switches of the lower half-arms are complementary to those

*Fxki* ¼ 1 � *Fxk i*ð Þ �<sup>2</sup> (5)

*Fxki* <sup>¼</sup> <sup>1</sup> *if Txki is ON* <sup>0</sup> *if Txki is OFF* �

, *<sup>a</sup>*<sup>6</sup> <sup>¼</sup> *<sup>a</sup>*0*b*<sup>3</sup> <sup>þ</sup> *<sup>ω</sup>gb*0, *<sup>a</sup>*<sup>7</sup> <sup>¼</sup> *Lm*

, *<sup>b</sup>*<sup>2</sup> <sup>¼</sup> *<sup>L</sup>*<sup>2</sup> *L*2 <sup>1</sup> � *<sup>L</sup>*<sup>2</sup> 2

**3. Modeling of three-level inverter**

for a voltage equal to vdc/2 [12].

defined as follows:

of the upper half-arms:

**5**

duced by A. Nabae and H. Akagi in 1981 [11] (**Table 1**).

For each arm, we define three connection functions:

Matrixes A and B are given by

*DOI: http://dx.doi.org/10.5772/intechopen.89877*

*<sup>T</sup>* <sup>¼</sup> *ids*1, *ids*2, *iqs*1, *iqs*2, *<sup>ϕ</sup>dr*, *<sup>ϕ</sup>qr* h i*<sup>T</sup>*

*B* ¼

*Lm Tr*

, *<sup>a</sup>*<sup>8</sup> <sup>¼</sup> *<sup>ω</sup>g*, *<sup>a</sup>*<sup>9</sup> ¼ � <sup>1</sup>

*Tr*

*Lr*

*b*<sup>1</sup> 0 *b*<sup>2</sup> 0 0 *b*<sup>1</sup> 0 *b*<sup>2</sup> *b*<sup>2</sup> 0 *b*<sup>1</sup> 0 0 *b*<sup>2</sup> 0 *b*<sup>1</sup>

� *b*2*Rs*, *a*<sup>4</sup> ¼ *ωs*ð Þ *b*1*L*<sup>2</sup> þ *b*2*L*<sup>1</sup> ,

, *<sup>b</sup>*<sup>0</sup> <sup>¼</sup> *Lm*

*Lr*ð Þ *L*<sup>1</sup> þ *L*<sup>2</sup>

,

(4)

, *<sup>a</sup>*<sup>10</sup> <sup>¼</sup> <sup>3</sup> 2 *p Lm Lr* ,

*U* ¼ *vds*1, *vds*2, *vqs*1, *vqs*<sup>2</sup> � �

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction…*

In high power, AC machines powered by static inverters find more and more applications. But the constraints on the power components limit the switching frequency and therefore the performance. To enable the use of higher switching frequency components, the power must be divided. To do this, one of the solutions is to use multiphase machines thanks to their advantages, such as the power segmentation and the minimization of the ripples of the torque (elimination of the harmonic torque of rank six). One of the most common examples of multiphase machines is the double-star induction machine (DSIM) [5].

To improve the decoupling between the flux and the torque, a so-called direct torque control (DTC) control technique has been applied.

The conventional direct torque control (DTCc) is proposed by Takahashi and Depenbrock in 1985 [2], and several studies allowed to apply this control technique on multiphase machines. As for each control, the DTC has advantages and disadvantages, and among these advantages, the stator resistance is theoretically the only parameter of the machine that intervenes in the control. This is essential for estimating the stator flux vector [6]. From this purely theoretical point of view, one can thus consider a great robustness compared to the other parameters of the machine; the block PWM is usually deleted [7].

Despite these advantages, this control also has significant disadvantages, the problem of instability such as the lack of control of the generator of acoustic noise at the machine. In addition, the use of hysteresis tapes is the cause of electromagnetic torque ripples and noise in the machine. To solve these drawbacks, in the framework of this work, we try to apply the multilevel direct torque control for DSIM and to develop a new control method such as artificial neural networks that replaces the switching tables [8].

This chapter is organized as follows: the DSIM model will be presented in the next section. The three-level and the five-level inverter modeling is described in the third and fourth section. The control method by DTC based on artificial neural networks (DTC-ANN) will be discussed in the fifth section. Moreover, in the sixth section, the simulation results are presented. Finally, a general conclusion summarizes this work.

### **2. DSIM model**

In the conventional configuration, two identical three-phase windings share the same stator and are shifted by an electric angle of 30°. The rotor structure remains identical to that of a three-phase machine [9].

The model of machine DSIM is nonlinear. The DSIM model fed by voltage inverter is given by the following equations [10]:

$$\frac{dX}{dt} = AX + BU\tag{1}$$

$$T\_{cm} = p \frac{L\_m}{L\_r + L\_m} \left[ \rho\_{dr} (i\_{qs1} + i\_{qc2}) - \rho\_{qr} (i\_{ds1} + i\_{dz2}) \right] \tag{2}$$

$$J\frac{d\Omega}{dt} = T\_{em} - T\_L - k\_f \Omega \tag{3}$$

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction… DOI: http://dx.doi.org/10.5772/intechopen.89877*

where:

we do not need to use capacities for each phase, which eliminates the risks of parasitic resonances [4]. In this structure, diodes called floating diodes are associated with each phase, which serves to apply the different voltage levels of the DC

machines is the double-star induction machine (DSIM) [5].

*Direct Torque Control Strategies of Electrical Machines*

torque control (DTC) control technique has been applied.

the block PWM is usually deleted [7].

identical to that of a three-phase machine [9].

*Tem* ¼ *p*

inverter is given by the following equations [10]:

switching tables [8].

rizes this work.

**2. DSIM model**

**4**

In high power, AC machines powered by static inverters find more and more applications. But the constraints on the power components limit the switching frequency and therefore the performance. To enable the use of higher switching frequency components, the power must be divided. To do this, one of the solutions is to use multiphase machines thanks to their advantages, such as the power segmentation and the minimization of the ripples of the torque (elimination of the harmonic torque of rank six). One of the most common examples of multiphase

To improve the decoupling between the flux and the torque, a so-called direct

The conventional direct torque control (DTCc) is proposed by Takahashi and Depenbrock in 1985 [2], and several studies allowed to apply this control technique on multiphase machines. As for each control, the DTC has advantages and disadvantages, and among these advantages, the stator resistance is theoretically the only parameter of the machine that intervenes in the control. This is essential for estimating the stator flux vector [6]. From this purely theoretical point of view, one can thus consider a great robustness compared to the other parameters of the machine;

Despite these advantages, this control also has significant disadvantages, the problem of instability such as the lack of control of the generator of acoustic noise at the machine. In addition, the use of hysteresis tapes is the cause of electromagnetic torque ripples and noise in the machine. To solve these drawbacks, in the framework of this work, we try to apply the multilevel direct torque control for DSIM and to develop a new control method such as artificial neural networks that replaces the

This chapter is organized as follows: the DSIM model will be presented in the next section. The three-level and the five-level inverter modeling is described in the third and fourth section. The control method by DTC based on artificial neural networks (DTC-ANN) will be discussed in the fifth section. Moreover, in the sixth section, the simulation results are presented. Finally, a general conclusion summa-

In the conventional configuration, two identical three-phase windings share the same stator and are shifted by an electric angle of 30°. The rotor structure remains

*dt* <sup>¼</sup> *AX* <sup>þ</sup> *BU* (1)

*dt* <sup>¼</sup> *Tem* � *TL* � *kf*<sup>Ω</sup> (3)

(2)

� � � *<sup>φ</sup>qr*ð Þ *ids*<sup>1</sup> <sup>þ</sup> *ids*<sup>2</sup> h i

The model of machine DSIM is nonlinear. The DSIM model fed by voltage

*φdr iqs*<sup>1</sup> þ *iqs*<sup>2</sup>

*dX*

*Lm Lr* þ *Lm*

> *J d*Ω

source.

$$X = \begin{bmatrix} \mathbf{x}\_1, \mathbf{x}\_2, \mathbf{x}\_3, \mathbf{x}\_4, \mathbf{x}\_5, \mathbf{x}\_6 \end{bmatrix}^T = \begin{bmatrix} i\_{ds1}, i\_{ds2}, i\_{q1}, i\_{qs2}, \phi\_{dr}, \phi\_{qr} \end{bmatrix}^T$$

$$\mathbf{U} = \begin{bmatrix} \boldsymbol{v}\_{ds1}, \boldsymbol{v}\_{ds2}, \boldsymbol{v}\_{q1}, \boldsymbol{v}\_{q2} \end{bmatrix}^T$$

Matrixes A and B are given by

$$A = \begin{bmatrix} a\_1 & a\_2 & a\_3 & a\_4 & a\_5 & a\_6 \\ -a\_2 & a\_1 & -a\_4 & a\_3 & -a\_6 & a\_5 \\ a\_3 & a\_4 & a\_1 & a\_2 & a\_5 & a\_6 \\ -a\_4 & a\_3 & -a\_2 & a\_1 & -a\_6 & a\_5 \\ a\_9 & a\_8 & a\_7 & 0 & a\_7 & 0 \\ -a\_8 & a\_9 & 0 & a\_7 & 0 & a\_7 \end{bmatrix} \qquad B = \begin{bmatrix} b\_1 & 0 & b\_2 & 0 \\ 0 & b\_1 & 0 & b\_2 \\ b\_2 & 0 & b\_1 & 0 \\ 0 & b\_2 & 0 & b\_1 \end{bmatrix}.$$

where

$$\begin{aligned} a\_1 &= b\_0 \frac{L\_m}{T\_r} - b\_1 R\_s, \ a\_2 = a\_r (b\_1 L\_1 + b\_2 L\_2), \ a\_3 = b\_0 \frac{L\_m}{T\_r} - b\_2 R\_s, \ a\_4 = a\_l (b\_1 L\_2 + b\_2 L\_1), \\ a\_5 &= \frac{-b\_0}{T\_r}, \ a\_6 = a\_0 b\_3 + a\_g b\_0, \ a\_7 = \frac{L\_m}{T\_r}, \ a\_8 = a\_\emptyset, \ a\_9 = -\frac{1}{T\_r}, \ a\_{10} = \frac{3}{2} p \frac{L\_m}{L\_r}, \\ \sigma &= 1 - \frac{L\_m^2}{L\_r L\_r}, \ L\_1 = \sigma L\_s, \ L\_2 = \sigma L\_s - l\_s, \ L\_3 = L\_s (1 - \sigma), \ a\_0 = \frac{L\_m}{L\_r}, \ b\_0 = \frac{L\_m}{L\_r (L\_1 + L\_2)}, \\ b\_1 &= \frac{L\_1}{L\_1^2 - L\_2^2}, \ b\_2 = \frac{L\_2}{L\_1^2 - L\_2^2}, \ b\_3 = a\_b (b\_1 + b\_2) \end{aligned}$$

#### **3. Modeling of three-level inverter**

**Figure 1** shows the structure of the three-level floating-diode inverter introduced by A. Nabae and H. Akagi in 1981 [11] (**Table 1**).

The three symmetrical arms consist of four fully controllable switches. These switches must not be opened or closed simultaneously, in order to avoid short circuiting of the DC source at the input of the inverter. Each switch is composed of an antiparallel transistor with a diode. The floating diodes ensure the application of the different voltage levels at the output of each arm. The DC input voltage is divided into two equal parts by using two capacitors. Each capacitor must be sized for a voltage equal to vdc/2 [12].

The switching function of each switch Txki (k = 1, 2, i = 1 ... 4, x = a, b, and c) is defined as follows:

$$F\_{xki} = \begin{cases} \mathbf{1} \circ T\_{xki} \text{ is ON} \\ \mathbf{0} \circ T\_{xki} \text{ is OFF} \end{cases} \tag{4}$$

The controls of the switches of the lower half-arms are complementary to those of the upper half-arms:

$$F\_{xki} = \mathbf{1} - F\_{xk(i-2)}\tag{5}$$

For each arm, we define three connection functions:

*Direct Torque Control Strategies of Electrical Machines*

$$\begin{cases} F\_{c1\ge k} = F\_{c1\ge k} F\_{c2\ge k} \\ F\_{c2\ge k} = F\_{c2\ge k} F\_{c3\ge k} \\ F\_{c3\ge k} = F\_{c3\ge k} F\_{c4\ge k} \end{cases} \tag{6}$$

The main advantage lies in a considerable reduction in switching losses and its

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction…*

**Figure 2** shows the structure of the inverter with five levels, each of the three arms of the inverter consists of eight controlled switches and six floating diodes. The controlled switches are unidirectional in voltage and bidirectional current; it is

These switches must not be opened or closed simultaneously, in order to avoid a short circuit of the DC source in the input. The floating diodes (six per arm) ensure the application of the different voltage levels at the output of each arm. The DC

For each switch Txki (k = 1, 2, i = 1 ... 8, x = a, b, and c), a switching function is

(8)

*Fxki* <sup>¼</sup> <sup>1</sup> *if Txki is ON* <sup>0</sup> *if Txki is OFF*

The switch control of the lower half-arms is complementary to those of the

*Fxki* ¼ 1 � *Fxk i*ð Þ �<sup>4</sup> (9)

conventional associations of a transistor and an antiparallel diode.

input voltage is divided into four equal parts using four capacitors [14]. The DC input bus is composed of four capacitors (C1, C2, C3, and C4), making it possible to create a set of three capacitive middle points. The total voltage of the DC bus is vdc; under normal operating conditions, this is uniformly distributed over the four capacitors, which then have a voltage vdc/4 at their terminals

ability to control harmonic content [13].

*DOI: http://dx.doi.org/10.5772/intechopen.89877*

[15] (**Table 2**).

defined as follows:

upper half-arms:

**Figure 2.**

**7**

*Diagram of the five-level inverter with NPC structure.*

The output voltages with respect to the neutral point of the DC source are expressed by

$$
\begin{pmatrix} v\_{a0k} \\ v\_{b0k} \\ v\_{c0k} \end{pmatrix} = \begin{pmatrix} F\_{c1ak} & F\_{c2ak} & F\_{c3ak} \\ F\_{c1bk} & F\_{c2bk} & F\_{c3bk} \\ F\_{c1ck} & F\_{c2ck} & F\_{c3ck} \end{pmatrix} \begin{pmatrix} v\_{c2} \\ 0 \\ -v\_{c1} \end{pmatrix} \tag{7}
$$

**Figure 1.** *Three-phase inverter with floating diodes (k = 1 is the first inverter, and k = 2 is the second inverter).*


#### **Table 1.**

*States of an arm of the inverter with three levels.*

### **4. Modeling of five-level inverter**

Currently the diode-clamped inverter is the one that attracts the most attention, given the simplicity of its structure compared to floating capacity inverters and cascading. In fact, compared to the inverter with floating capacities, it is not necessary to use capacities for each phase, which eliminates the risks of parasitic resonances.

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction… DOI: http://dx.doi.org/10.5772/intechopen.89877*

The main advantage lies in a considerable reduction in switching losses and its ability to control harmonic content [13].

**Figure 2** shows the structure of the inverter with five levels, each of the three arms of the inverter consists of eight controlled switches and six floating diodes. The controlled switches are unidirectional in voltage and bidirectional current; it is conventional associations of a transistor and an antiparallel diode.

These switches must not be opened or closed simultaneously, in order to avoid a short circuit of the DC source in the input. The floating diodes (six per arm) ensure the application of the different voltage levels at the output of each arm. The DC input voltage is divided into four equal parts using four capacitors [14].

The DC input bus is composed of four capacitors (C1, C2, C3, and C4), making it possible to create a set of three capacitive middle points. The total voltage of the DC bus is vdc; under normal operating conditions, this is uniformly distributed over the four capacitors, which then have a voltage vdc/4 at their terminals [15] (**Table 2**).

For each switch Txki (k = 1, 2, i = 1 ... 8, x = a, b, and c), a switching function is defined as follows:

$$F\_{xki} = \begin{cases} \mathbf{1} \circ T\_{xki} \text{ is ON} \\ \mathbf{0} \circ T\_{xki} \text{ is OFF} \end{cases} \tag{8}$$

The switch control of the lower half-arms is complementary to those of the upper half-arms:

$$F\_{xki} = \mathbf{1} - F\_{xk(i-4)}\tag{9}$$

**Figure 2.** *Diagram of the five-level inverter with NPC structure.*

*Fc*1*xk* ¼ *Fc*1*xkFc*2*xk Fc*2*xk* ¼ *Fc*2*xkFc*3*xk Fc*3*xk* ¼ *Fc*3*xkFc*4*xk*

The output voltages with respect to the neutral point of the DC source are

*Fc*1*ak Fc*2*ak Fc*3*ak Fc*1*bk Fc*2*bk Fc*3*bk Fc*1*ck Fc*2*ck Fc*3*ck*

Currently the diode-clamped inverter is the one that attracts the most attention, given the simplicity of its structure compared to floating capacity inverters and cascading. In fact, compared to the inverter with floating capacities, it is not necessary to use capacities for each phase, which eliminates the risks of parasitic resonances.

*Three-phase inverter with floating diodes (k = 1 is the first inverter, and k = 2 is the second inverter).*

**Switching states State of the switches of an arm Output voltage Txk1 Txk2 Txk3 Txk4** 2 1100 vc2 1 0110 0 0 001 1 �vc1

1

0

B@

*vc*2 0 �*vc*<sup>1</sup> 1

CA (7)

CA

(6)

8 ><

>:

0

B@

*va*0*<sup>k</sup> vb*0*<sup>k</sup> vc*0*<sup>k</sup>*

*Direct Torque Control Strategies of Electrical Machines*

1

CA <sup>¼</sup>

0

B@

**4. Modeling of five-level inverter**

*States of an arm of the inverter with three levels.*

expressed by

**Figure 1.**

**Table 1.**

**6**


**Table 2.**

*States of an arm of the inverter with five levels.*

We define five connection functions, each associated with one of the five states of the arm:

$$\begin{cases} F\_{c1\infty k} = F\_{c1\infty k} F\_{c2\infty k} F\_{c3\infty k} F\_{c4\infty k} \\ F\_{c2\infty k} = F\_{c2\infty k} F\_{c3\infty k} F\_{c4\infty k} F\_{c5\infty k} \\ F\_{c3\infty k} = F\_{c3\infty k} F\_{c4\infty k} F\_{c5\infty k} F\_{c6\infty k} \\ F\_{c4\infty k} = F\_{c4\infty k} F\_{c5\infty k} F\_{c6\infty k} F\_{c7\infty k} \\ F\_{c5\infty k} = F\_{c5\infty k} F\_{c6\infty k} F\_{c7\infty k} F\_{c8\infty k} \end{cases} \tag{10}$$

*θ*

*<sup>T</sup>*^*em* <sup>¼</sup> <sup>3</sup> 2 *p: ϕ*^

becomes negligible [17].

*DOI: http://dx.doi.org/10.5772/intechopen.89877*

**5.1 Neural network strategy**

on artificial neural networks [18].

desired degree of accuracy.

able to apply it to the field of computer science.

equation:

networks.

**Figure 3.**

*DTC.* **9**

^*<sup>s</sup>* <sup>¼</sup> tan 2�<sup>1</sup> *<sup>φ</sup>*^*β*ð Þ*<sup>t</sup>*

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction…*

This method of estimating the stator flux has the advantage of simplicity and accuracy, particularly at medium and high speeds where the ohmic voltage drop

The electromagnetic torque can be estimated from the estimated magnitudes of the stator flux and the measured magnitudes of the line currents, by the following

The human brain is able to adapt, learn, and decide, and it is on this fact that researchers have been interested in understanding its operating principle and being

Among the disadvantages of DTC control, a slow response for small changes in stator flux and electromagnetic torque, size, and complexity of switching tables when the number of levels of inverters is high. In order to improve the performance of the DTC control, many contributions have been made in the DTC control based

In this application, our goal is to replace switching tables with artificial neural

The multilayer architecture was chosen to be applied to multilevel DTC control. This network, which can be multiplexed for each controller output, has acceptable performance in many industrial applications [19]. The neural network contains three layers: input layer, hidden layers, and output layer. Each layer consists of several neurons. The number of neurons in the output and the layers depends on the number of input and output variables chosen. The number of hidden layers and the number of neurons in each one depend on the dynamics of the system and the

**Figure 3** shows the structure of the neural network applied to the multilevel DTC control of the DSIM. It is a network with three neurons in the input layer, whose inputs are flow error (Ef), torque error (Ec), and flow position angle (Z) [20]. For the three-level inverter, there are 12 neurons in the hidden layer and 06 neurons in the output, and for the five-level inverter, there are 24 neurons in the hidden layer and 12 neurons in the output. **Figure 4** shows the chosen architecture.

*Neural network structure applied to the multilevel DTC control. (a) for three-level DTC, (b) for five-level*

*<sup>α</sup>si<sup>β</sup><sup>s</sup>* � *<sup>ϕ</sup>*^

*<sup>β</sup>si<sup>α</sup><sup>s</sup>*

*φ*^*α*ð Þ*t*

(14)

(15)

The potentials of nodes a, b, and c of the three-phase inverter at five levels with respect to the point o are given by the following system:

$$
\begin{pmatrix} v\_{a0k} \\ v\_{b0k} \\ v\_{c0k} \end{pmatrix} = \begin{pmatrix} F\_{c1ak} & F\_{c2ak} & F\_{c3ak} & F\_{c4ak} & F\_{c5ak} \\ F\_{c1bk} & F\_{c2bk} & F\_{c3bk} & F\_{c4bk} & F\_{c5bk} \\ F\_{c1ck} & F\_{c2ck} & F\_{c3ck} & F\_{c4ck} & F\_{c5ck} \end{pmatrix} \begin{pmatrix} v\_{c3} + v\_{c4} \\ v\_{c3} \\ 0 \\ -v\_{c2} \\ -(v\_{c1} + v\_{c2}) \end{pmatrix} \tag{11}
$$

#### **5. Direct torque control based on neural networks**

The direct torque control of a DSIM is based on the direct determination of the control sequence applied to the switches of a voltage inverter. This choice is based generally on the use of hysteresis comparators whose function is to control the state of the system, namely, the amplitude of the stator flux and the electromagnetic torque [16].

In the structure of the DTC, the voltage model is commonly used. Thus, the amplitude of the stator flux is estimated from its components following the axes (α, β):

$$\begin{cases} \dot{\phi}\_{\text{av}} = \int\_{0}^{t} (V\_{\text{av}} - R\_{s}I\_{\text{av}}) dt \\\\ \dot{\phi}\_{\beta\epsilon} = \int\_{0}^{t} (V\_{\beta\epsilon} - R\_{s}I\_{\beta\epsilon}) dt \end{cases} \tag{12}$$

The stator flux module is given by

$$
\hat{\rho}\_{\sharp} = \sqrt{\hat{\rho}\_{a}^{2} + \hat{\rho}\_{\beta}^{2}} \tag{13}
$$

The angle *θ<sup>s</sup>* is given by

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction… DOI: http://dx.doi.org/10.5772/intechopen.89877*

$$\hat{\theta}\_{\delta} = \tan 2^{-1} \left( \frac{\hat{\rho}\_{\beta}(t)}{\hat{\rho}\_{a}(t)} \right) \tag{14}$$

This method of estimating the stator flux has the advantage of simplicity and accuracy, particularly at medium and high speeds where the ohmic voltage drop becomes negligible [17].

The electromagnetic torque can be estimated from the estimated magnitudes of the stator flux and the measured magnitudes of the line currents, by the following equation:

$$
\hat{T}\_{em} = \frac{3}{2} p. \left(\hat{\phi}\_{\alpha} i\_{\beta \ast} - \hat{\phi}\_{\beta \ast} i\_{\alpha \ast}\right) \tag{15}
$$

#### **5.1 Neural network strategy**

We define five connection functions, each associated with one of the five states

**Switching states State of the switches of an arm Output voltage Txk1 Txk2 Txk3 Txk4 Txk5 Txk6 Txk7 Txk8** 1 1 1 10000 vc3 + vc4 01 1 1 1000 vc3 001 1 1 100 0 0001 1 1 10 �vc2 00001 1 1 1 �(vc1+ vc2)

> *Fc*1*xk* ¼ *Fc*1*xkFc*2*xkFc*3*xkFc*4*xk Fc*2*xk* ¼ *Fc*2*xkFc*3*xkFc*4*xkFc*5*xk Fc*3*xk* ¼ *Fc*3*xkFc*4*xkFc*5*xkFc*6*xk Fc*4*xk* ¼ *Fc*4*xkFc*5*xkFc*6*xkFc*7*xk Fc*5*xk* ¼ *Fc*5*xkFc*6*xkFc*7*xkFc*8*xk*

The potentials of nodes a, b, and c of the three-phase inverter at five levels with

The direct torque control of a DSIM is based on the direct determination of the control sequence applied to the switches of a voltage inverter. This choice is based generally on the use of hysteresis comparators whose function is to control the state of the system, namely, the amplitude of the stator flux and the electromagnetic

In the structure of the DTC, the voltage model is commonly used. Thus, the amplitude of the stator flux is estimated from its components following the axes (α, β):

ð Þ *V<sup>α</sup><sup>s</sup>* � *RsI<sup>α</sup><sup>s</sup> dt*

*V<sup>β</sup><sup>s</sup>* � *RsI<sup>β</sup><sup>s</sup>* � �*dt*

> ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi *φ*^2 *<sup>α</sup>* <sup>þ</sup> *<sup>φ</sup>*^<sup>2</sup> *β*

1

0

BBBBBB@

*vc*<sup>3</sup> þ *vc*<sup>4</sup> *vc*<sup>3</sup> 0 �*vc*<sup>2</sup> �ð Þ *vc*<sup>1</sup> þ *vc*<sup>2</sup> 1

CCCCCCA

CA

*Fc*1*ak Fc*2*ak Fc*3*ak Fc*4*ak Fc*5*ak Fc*1*bk Fc*2*bk Fc*3*bk Fc*4*bk Fc*5*bk Fc*1*ck Fc*2*ck Fc*3*ck Fc*4*ck Fc*5*ck* (10)

(11)

(12)

(13)

8 >>>>>><

>>>>>>:

respect to the point o are given by the following system:

**5. Direct torque control based on neural networks**

*ϕ*^ *<sup>α</sup><sup>s</sup>* <sup>¼</sup> <sup>Ð</sup>*<sup>t</sup>* 0

8 >>><

>>>:

The stator flux module is given by

The angle *θ<sup>s</sup>* is given by

*<sup>ϕ</sup>*^*<sup>β</sup><sup>s</sup>* <sup>¼</sup> <sup>Ð</sup>*<sup>t</sup>* 0

*φ*^*<sup>s</sup>* ¼

q

of the arm:

**Table 2.**

*va*0*<sup>k</sup> vb*0*<sup>k</sup> vc*0*<sup>k</sup>* 1

CA <sup>¼</sup>

0

*States of an arm of the inverter with five levels.*

*Direct Torque Control Strategies of Electrical Machines*

B@

0

B@

torque [16].

**8**

The human brain is able to adapt, learn, and decide, and it is on this fact that researchers have been interested in understanding its operating principle and being able to apply it to the field of computer science.

Among the disadvantages of DTC control, a slow response for small changes in stator flux and electromagnetic torque, size, and complexity of switching tables when the number of levels of inverters is high. In order to improve the performance of the DTC control, many contributions have been made in the DTC control based on artificial neural networks [18].

In this application, our goal is to replace switching tables with artificial neural networks.

The multilayer architecture was chosen to be applied to multilevel DTC control. This network, which can be multiplexed for each controller output, has acceptable performance in many industrial applications [19]. The neural network contains three layers: input layer, hidden layers, and output layer. Each layer consists of several neurons. The number of neurons in the output and the layers depends on the number of input and output variables chosen. The number of hidden layers and the number of neurons in each one depend on the dynamics of the system and the desired degree of accuracy.

**Figure 3** shows the structure of the neural network applied to the multilevel DTC control of the DSIM. It is a network with three neurons in the input layer, whose inputs are flow error (Ef), torque error (Ec), and flow position angle (Z) [20]. For the three-level inverter, there are 12 neurons in the hidden layer and 06 neurons in the output, and for the five-level inverter, there are 24 neurons in the hidden layer and 12 neurons in the output. **Figure 4** shows the chosen architecture.

**Figure 3.**

*Neural network structure applied to the multilevel DTC control. (a) for three-level DTC, (b) for five-level DTC.*

with a load torque of 11 Nm. Finally, the direction of rotation of the machine is reversed from 100 rad/s to 100 rad/s at time t = 2 s. **Figures 5** and **6** show the

*Improved Direct Torque Control Based on Neural Network of the Double-Star Induction…*

Simulation results of speed, stator flux, torque, stator current, and stator voltage show the good performance of the three- and five-level DTC-ANN control of DSIM

We note that the speed follows its reference value. The electromagnetic torque stabilizes at the value of the nominal torque after a transient regime with rapid response and without exceeding before stabilizing at the value of the applied load

**Figure 6** shows that the five-level DTC-ANN control reduces the ripple of the electromagnetic torque, the stator flux, and the THD value compared to that of the three-level DTC-ANN. On the other hand, we note that the speed reaches its reference without exceeding for the two control types. Moreover, the couple follows the load torque. The dynamics of the stator flux are not affected by the

The use of multilevel inverter at five levels causes a decrease in the current ripple at the steady state that is to say low peaks than that of the three-level control. However, the results of the simulations shows a good dynamic characteristic of the stator flux in the transient regime for five-level DTC-ANN compared to the threelevel DTC-ANN with static errors that are virtually null in both cases of control

*Simulation results of real and estimated speed, torque, flux, and current of five-level DTC-ANN.*

simulation results of the three- and five-level DTC control for DSIM.

(speed, stability, and precision).

*DOI: http://dx.doi.org/10.5772/intechopen.89877*

application of these load instructions.

torque.

DTC proposed.

**Figure 6.**

**11**

**Figure 4.** *Selection table based on neuron network.*
