InTechOpen uses cookies to offer you the best online experience. By continuing to use our site, you agree to our Privacy Policy.

Engineering » Electrical and Electronic Engineering » "Induction Motors - Applications, Control and Fault Diagnostics", book edited by Raul Igmar Gregor Recalde, ISBN 978-953-51-2207-4, Published: November 18, 2015 under CC BY 3.0 license. © The Author(s).

Chapter 6

Fuzzy Direct Torque-controlled Induction Motor Drives for Traction with Neural Compensation of Stator Resistance

By Mohammad Ali Sandidzadeh, Amir Ebrahimi and Amir Heydari
DOI: 10.5772/61545

Article top


Block diagram of the fuzzy direct torque control of induction motor drives with a stator resistance estimator.
Figure 1. Block diagram of the fuzzy direct torque control of induction motor drives with a stator resistance estimator.
Changes of flux linkage space vectors due to the switching vectors.
Figure 2. Changes of flux linkage space vectors due to the switching vectors.
Membership functions.
Figure 3. Membership functions.
Block diagram of the adaptive stator resistance compensator.
Figure 4. Block diagram of the adaptive stator resistance compensator.
Neural network structure: (a) structure of layers and (b) structure of first hidden layer.
Figure 5. Neural network structure: (a) structure of layers and (b) structure of first hidden layer.
(a) The step response for a parameter uncompensated system. (b)The step response for a parameter compensated system.
Figure 6. (a) The step response for a parameter uncompensated system. (b)The step response for a parameter compensated system.

Fuzzy Direct Torque-controlled Induction Motor Drives for Traction with Neural Compensation of Stator Resistance

Mohammad Ali Sandidzadeh1, Amir Ebrahimi1 and Amir Heydari2

1. Introduction

The direct torque control is one of the excellent control strategies available for torque control of induction machine. It is considered as an alternative to field oriented control (FOC) technique [1]. In fact, among all control methods for induction motor drives, direct torque control (DTC) seems to be particularly interesting being independent of machine rotor parameters and requiring no speed or position sensors [2].

A basic concept of direct torque control of induction motor drives is simultaneous control of the stator flux and electromagnetic torque of a machine. Compared to the conventional vector-controlled drives, the torque and flux of a DTC-based drive are controlled in a closed-loop system that does not use the current loops.

In principle, DTC-based drives require only the knowledge of stator resistance and thereby decrease the associated sensitivity to parameter variations [3, 4]. Moreover, compared to the conventional vector-controlled drives, DTC-based drives do not require fulfilling the coordinate transformation between stationary and synchronous frames. Depending on how the switching sectors are selected, two different DTC schemes become possible [5].

Since a DTC-based drive selects the inverter switching states using a switching table, neither the current controllers nor the pulse-width modulation (PWM) modulator is required. As a result, the DTC-based drive provides a fast torque response [6]. The conventional direct torque control (CDTC) suffers from some drawbacks such as high current, flux and torque ripple, difficulties in torque, and flux control at very low speeds [7]. However, the switching-table-based DTC approach has some disadvantages. If the switching frequency of the inverter is not high, the torque and flux pulsation could be high; moreover, there would be a sluggish response during the start-up or change of the reference flux or reference torque [8]. Hence, to improve the performance of the DTC drive during the start-up or changes in the reference flux and torque, a fuzzy-logic-based switching-vector process is developed in this chapter [915]. In DTC drives, the feedback of the electromagnetic torque and stator flux linkage is used as the input of controller. Using the measured stator currents and voltages, the electromagnetic torque and also stator flux linkages are estimated in stator reference frames [16, 17]. “The machine model is only dependent on stator resistance” [18]. There are different forms of direct torque control induction motor based on how currents and voltages are measured or estimated [1921]. The stator current might be obtained using only the DC-link current sensor, and the motor line voltages could be reconstructed inexpensively using gate signals [22]. Nevertheless, all the measured values suffer from precision and low-speed operational problems caused by errors induced by the varying stator resistance in the flux and its angle calculator [23, 24]. The stator resistance change has a wide range, varying from 0.75 to 1.7 times the stator’s nominal value. The variation is largely due to temperature variations, and to a small extent, due to the stator frequency variations [21]. The variation deteriorates the drive performance by introducing errors in the estimated magnitude and position of the flux linkage and therefore in the electromagnetic torque estimation, particularly at low speeds [25]. Note that at low speeds, the voltage drops of the stator resistance constitute a significant portion of the applied voltages. Only a few control schemes have been proposed so far for overcoming the mentioned parameter sensitivity (which restricts the speed control range of the drives). The stator resistance has problems such as convergence and slowness of response. A partial operating-frequency-dependent hybrid-flux estimator has been proposed for tuning the stator resistance [10]. Adjustment of the stator resistance, based on the difference between the flux current and its command, has problems in identifying the actual flux current [26, 27]. Finding the stator resistance based on the steady state voltage has the shortcoming of using direct axis flux linkages that are affected by the stator resistance variations.

In this chapter, a neural network estimator is developed to find the reference stator current values at each moment. Later, the error difference between the measured and the real stator current values is fed to a fuzzy logic controller, which then outputs the correct stator resistance value.


Figure 1.

Block diagram of the fuzzy direct torque control of induction motor drives with a stator resistance estimator.

2. Fuzzy logic direct torque control

In this section, the concept and principle of direct torque control approach of an induction motor is briefly introduced. A schematic diagram of the proposed drive is shown in Fig. 1. The feedback control of torque and stator flux linkages, which are estimated from the measured voltages and currents of the motor, is used in the proposed drive scheme. In this approach, stator-reference frame model of the induction motor is used. To avoid the trigonometric operations faced in coordinate transformations of other reference frames, the same reference frame is used in the implementation [22]. This can be considered as one of the advantages of the control scheme. Through the integration of the difference between the phase voltage and the voltage drop in the stator resistance, Stator q and d and axis flux linkages λqs, λds can be calculated as follows:


And the flux linkage phasor is as follows:


The stator flux linkage phasor position is:


And the electromagnetic torque is given by:


According to Fig. 2, the inverter switching states are selected based on the errors of the torque and the flux (as indicated by ΔTe and Δλs, respectively). Provided that


The optimum switching vector is selected to decrease the errors [23, 25, 26]. Using a fuzzy-logic-based switching-vector selection process, it would be possible to improve the performance of the DTC drive during start-up or changes in the reference flux and torque. For this, a Mamdani fuzzy-logic-based system is used. Using the flux and torque deviation from reference ones and the position of the stator flux linkage space vector, it is possible to select different voltages. Then a rule-base has to be formulated based on these states. Thus the aim of the approach is to use a fuzzy logic system to expand the system performance (i.e., gives faster torque and flux response), outputs the zero and non-zero voltage switching states (n), and uses three quantities as its inputs: eΦ, the torque error (eT), and the position of the stator flux space vector (θs). The stator flux linkage space vector can be located in any of the twelve sectors, each spanning a 60° wide region. These regions overlap each other as shown in Table 1.


Figure 2.

Changes of flux linkage space vectors due to the switching vectors.

S1 S2 S3 S4 S5 S6
S7 S8 S9 S10 S11 S12

Table 1.

Overlaps between sectors

eΦ et P ZE N

Table 2.

Fuzzy vector selection in sector 1

Since it was assumed that there were three and five fuzzy sets for the flux error and the torque error, respectively, there will be 15 rules for every sector. Table 2 shows the various rules for sector 1. In particular, the stator flux error (eΦ) can be positive (P), zero (ZE), or negative (N), corresponding to three overlapping fuzzy sets. The electromagnetic torque error can be positive large (PL), positive small (PS), zero (ZE), negative small (NS), or negative large (NL). This is because the intention is to make the torque variations smaller. Therefore, the universe of the torque is divided into five overlapping fuzzy sets. The various membership functions are shown in Fig. 3. Since there are 12 sectors, the total number of rules becomes 180. Each one of the rules can be described by the input variables and the control variable, which is the switching state (n). For example, Table 2 shows various rules for sector 1 as below:

Rule 1: If eΦ is positive (P), eT is positive large (PL) and θs is S1, then n is 1.

Rule 2: If eΦ is positive (P), eT is positive small (PS) and θs is S2, then n is 1.

Rule 3: If eΦ is positive (P), eT is ZE and θs is S3, then n is 0.

The goal of the fuzzy system is to obtain a crisp value (as the appropriate switching state) on its output. A general “ith rule” has the following form:

Rule i: If eΦ is Ai, eT is Bi and θs is Ci, then n is Ni

Thus, by using the minimum operation for the fuzzy AND operation and the firing strength of the ith rule, αi can be obtained from


where μAi(eΦ),μBi(eT),μci(θs) are membership functions of fuzzy sets Ai, Bi, and Ci of the variables flux error, the torque error, and the flux position, respectively. The output form of the ith rule is obtained from


where μNi(n) is the membership function of fuzzy set Ni of variable n. Therefore, the overall (or the combined) membership function of output n is gained by using the max operator as follows:


In this case, the outputs include crisp numbers, switching states, and for defuzzification, the maximum used criteria.


Figure 3.

Membership functions.

3. Stator resistance compensation

3.1. Scheme

A mismatch between the controller-set stator resistance and its actual value in the machine can create the instability shown in Fig. 6a. This figure shows the simulations for the changes of the step stator resistance from 100% to 50% of its nominal value at second 0.5. The drive system becomes unstable if the controller-instrumented stator resistance is higher than its actual value in the motor [11]. An explanation for this could be as follows: when motor resistance decrease in machine and the applied voltage is the same, the current increases, resulting in increased flux and electromagnetic torque [28]. The opposite effect occurs in controller. In fact, by current increments, which are inputs of the system, the stator resistance voltage drops will increase in the calculator. Therefore, lower flux linkages and electromagnetic torque estimations will present. Compared with their command values, they give large torque and flux linkages deviations, which result in commanding larger voltages and currents and leading to a run off condition as shown in Fig. 6a. “The parameter mismatch between the controller and machine will result in a nonlinear relation between the torque and the torque’s reference, making it a non-ideal torque amplifier” [29]. This will have undesirable effect in a torque drive and speed-controlled drive systems. Therefore, it will be reasonable to design a motor resistance adaption law to overcome instability and to guarantee a linear torque amplifier in the DTC drive. A new approach is presented in the next section for stator resistance parameter adaption.

3.2. Stator current phasor command

A diagram of the applied stator resistance compensation is shown in Fig. 4. The presented technique is based on the principle that the error between the measured stator feedback current-phasor magnitude is and the stator’s command i*s is proportional to the stator resistance variation, which is mainly caused by the motor temperature and the varying stator frequency. The correction value is obtained by means of a fuzzy controller. The final estimated value of Rs^ is obtained as the output of the limiter. The above algorithm requires the stator current phasor command, which is a function of the commanded torque and the commanded stator flux linkages.


Figure 4.

Block diagram of the adaptive stator resistance compensator.

A neural network estimator, presented in the following, is designed to evaluate the stator current command from the torque and stator flux linkage commands.

The stator feedback current phasor magnitude is is obtained from the q and d axis measured currents as

The stator command current phasor magnitude i*s is derived from the dynamic equations of the induction motor in the synchronous-rotating reference frame, using the torque command T*e and the stator flux linkage command λ*s and aligning the d axis with the stator flux linkage phasor as


where p is the number of poles. Substituting these equations in flux linkages and torque equations results in

Then the q axis current command is directly obtained by using the torque command T*e and the stator flux linkage command λ*s as


It can be shown that ie*ds is given by


Equation 14 gives two solutions for ie*ds, and the appropriate solution is the one that outputs a smaller value. Finally, the stator current command is calculated from


It is shown here that evaluation of the stator current command is a complicated and time-consuming process. Instead of using the numerical solution for the system, it is possible to perform the stator current command by using an artificial neural network (ANN) since it is known that ANN is a general nonlinear function estimator. As a result, a multilayer feed-forward back-propagation ANN, whose inputs are the torque and flux reference values, is trained to estimate the stator current command. A 2-8-8-1 structure, which has two hidden layers with 8 hidden nodes, is obtained by trial and error. The activation functions of the hidden layers are tan-sigmoid functions. Fig. 5 shows the structure of the ANN estimator. The neural estimator evaluates the reference stator current with less than 0.01% error. Furthermore, it is shown that more complicated ANN structures result in higher error rates.

4. Results

Dynamic simulations are performed to validate the performance of the proposed technique. The induction motor details, used in the simulation, are given in the appendix. Fig. 6a and 6b show the simulations for a step change in the stator resistance parameter-uncompensated and compensated torque drive system respectively. The system controller has the nominal value of the stator resistance, and after half a second, the stator resistance is changed to ½ of its nominal value. Then the corresponding effects are studied. In the compensated system, it is observed that the estimation of stator resistance has experienced an initial transient state, and after a short time, it converges gradually to its final actual value in a steady state. The similar transitions are observed in other variables. However, all variables reach to their steady state situation. A step variation in the stator resistance is rather an extreme test and not a significant case encountered in practice. In real operating conditions, the temperature change rate is very slow and so is the stator resistance.


Figure 5.

Neural network structure: (a) structure of layers and (b) structure of first hidden layer.

Stator flux linkages and the torque command are proportionally decreased and increased linearly from/to their original reference values. The tracking of motor variables and stator resistance is achieved, thus proving the effectiveness of the adaptive controller in the flux-weakening region. It also perfectly operates in stator resistance incremental case and in gradually stator resistance changes due to temperature changes. In these cases, there is not any oscillation even at the initial moments of resistance variations.

5. Conclusion

A fuzzy direct torque-controlled drive was introduced, and an adaptive stator resistance compensation scheme was applied to a typical three-phase induction motor. With this approach, the elimination of parameter sensitivity of the stator resistance by using only the existing stator current feedback occurred. The scheme was simple to implement, and its realization was indirectly dependent on stator inductances. Since the flux was controlled in the machine, the inductances used in the computation of stator phasor current command were constants. A procedure for finding the phasor command of the stator current from the torque and stator flux linkage commands was derived to realize the complication of this method. The ANN estimator was designed to effectively evaluate the reference stator current value. The scheme was verified via dynamic simulation for various operating conditions, including the flux-weakening mode. The scheme was successful despite rapid changes in the stator resistance, such as step changes. It was observed that the scheme adapted very well without transients even for simultaneous variations of the torque and flux linkages command while the stator resistance was varying. Finally, a simple fuzzy controller was used to generate the exact stator resistance value.

Stator q and d flux linkages λqs , λds Stator command current phasor magnitude i*s
Stator q and d and axis voltages Vqs , Vds Torque command T*e
Stator resistance Rs Stator flux linkage command λ*s
Stator q and d and axis currents iqs , ids Stator self-inductance Ls
Stator flux linkage phasor position θs Mutual inductanceM
Motor torque Te Rotor self-inductance Lr
Number of poles p

Figure 6.

(a) The step response for a parameter uncompensated system. (b)The step response for a parameter compensated system.

6. Appendix

Induction motor parameters

Nominal operation condition
Rated power4kW
Rated voltage480V
Rated speed3000rpm
Rated frequency50Hz
Parameters of simulated induction motor
Stator resistance1.115 Ω
Stator self-inductance0.005974H
Mutual inductance0.2037H
Friction factor0.00051N·m/s
Rotor resistance1.083 Ω
Rotor self-inductance0.005974H
Rotor inertia0.0333kg/m2
Number of poles2


The authors would like to thank the school of railway engineering in Iran University of Science and Technology for the great support of this project. The assistance of Mr. H. Zafari for revising this paper is appreciated as well.


1 - S. Allirani, V. Jagannathan, Direct torque control technique in induction motor drives—a review, Journal of Theoretical and Applied Information Technology, 28 February 2014, Vol. 60, No.3.
2 - D. Casadei, G. Serra, A. Tani, and L. Zarri, Assessment of direct torque control for induction motor drives, Bulletin of the Polish Academy of Sciences Technical Sciences, 2006, Vol. 54, No. 3.
3 - S. Zadeh and M. Khayamy, Efficiency-Optimizing Direct Torque Control of Interior Permanent Magnet Synchronous Machines with Fastest Start-up, 4th IET Conference on Power Electronics, Machines and Drives., Apr. 2008, pp. 218–224.
4 - G. Andreescu, C. Pitic, F. Blaabjerg and I. Boldea, Combined flux observer with signal injection enhancement for wide speed range sensor-less direct torque control of IPMSM drives, IEEE Transactions on Energy Conversion, Jun. 2008, Vol. 23, No. 2, 393–402.
5 - Nalin Kant Mohanty, Ranganath Muthu and M. Senthil Kumaran, A survey on controlled AC electrical drives, International Journal of Electrical and Power Engineering, 2009, Vol. 3, No. 3, 175–183.
6 - A. Jidin, N. Idris and A. Yatim, Study on Stability and Performances of DTC Due to Stator Resistance Variation, 5th Student Conference on Research and Development, Dec. 2007, pp. 1–6.
7 - Soufien Gdaim, Abdellatif Mtibaa and Mohamed Faouzi Mimouni, Direct torque control of induction machine based on intelligent techniques, International Journal of Computer Applications, November 2010, Vol. 10, No. 8, 0975–8887.
8 - C. Yongjun, H. Shenghua, W. Shanming and W. Fang, A Stator Resistance Compensator for a Direct Torque Controlled Low Speed and High Torque Permanent Magnet Synchronous Motor, 42nd International Universities Power Engineering Conference, Sept. 2007, pp. 174–177.
9 - L. Wang and Y. Gao, A Novel Strategy of Direct Torque Control for PMSM Drive Reducing Ripple in Torque and Flux, IEEE International Conference on Electric Machines & Drives, May 2007, Vo. 1, pp. 403–406.
10 - D. Chen, C. Liao and K. Yao, Direct Torque Control for a Matrix Converter Based on Induction Motor Drive Systems, Second International Conference on Innovative Computing, Information and Control, Sept. 2007, pp. 101–102.
11 - H. Soliman and M. Elbuluk, Direct Torque Control of a Three Phase Induction Motor Using a Hybrid PI/Fuzzy Controller, Industry Applications Conference, 42nd IAS Annual Meeting Conference, Sept. 2007, pp. 1681–1685.
12 - Y. S. Lai and J. H. Chen, A new approach to direct torque control of induction motor drives for constant inverter switching frequency and torque ripple reduction, IEEE Transactions on Energy Conversion, Sept. 2001, Vol. 16, No. 3, 220–227.
13 - Hongkui Li, Fuzzy DTC for induction motor with optimized command stator flux, Intelligent Control and Automation (WCICA), 2010 8th World Congress, 7–9 July 2010, pp. 4958–4961.
14 - R.Toufouti, S.Meziane and H. Benalla, Direct torque control for induction motor using fuzzy logic, ACSE Journal, June 2006, Vol. 6, No. 2, 19–26.
15 - J. Viola, J. Restrepo and M. Diaz, Fuzzy-DTC applied to dynamic load emulation Industrial Electronics, 2006 IEEE International Symposium, 9–13 July 2006, pp. 2326–2331.
16 - B. S. Lee and R. Krishnan, Adaptive Stator Resistance for High Performance Direct Torque Controlled Induction Motor Drives, 33rd IAS Annual Meeting, IEEE Industry Applications Conference, Oct. 1998, Vol. 1, pp. 423–430.
17 - Y. S. Lai and J. C. Lin, New hybrid fuzzy controller for direct torque control induction motor drives, IEEE Transactions on Power Electronics, Sept. 2003, Vol. 18, No. 5, 1211–1219.
18 - M. Zalman and I. Kuric, Direct torque and flux control of induction machine and fuzzy controller, Journal of Electrical Engineering, 2005, Vol. 56, No. 9–10, 278–280.
19 - P. Z. Grabowski and F. Blaabjerg, Direct Torque Neuro-fuzzy Control of Induction Motor Drive, DSP Implementation, Proceedings of the 24th Annual Conference of the IEEE Industrial Electronics Society, 1998, Vol. 2, pp. 657–661.
20 - Y. S. Lai and J. H. Chen, Novel switching techniques for reducing the speed ripple of AC drives with direct torque control, IEEE Transactions on Industrial Electronics, 2004, Vol. 51, No. 4, 744–757.
21 - N. M. Silva, A. P. Martins and A. S. Carvalho, Torque and Speed Modes Simulation of a DTC Controlled Induction Motor, Proceedings of the 10th Mediterranean conference on control and automation, Portugal, 2002.
22 - M. P. Kazmierkowski and G. Buja, Review of Direct Torque Control Methods for Voltage Source Inverter-Fed Induction Motors, 29th Annual Conference of the IEEE Industrial Electronics Society, Nov. 2003, Vol. 1, pp. 981–991.
23 - Z. Tan, Y. Li and Y. Zeng, A Three-Level Speed Sensor-Less DTC Drive of Induction Motor Based on a Full-Order Flux Observer, International Conference on Power System Technology, Oct. 2002, Vol. 2,pp. 1054–1058.
24 - Norazila Jaalam, Ahmed M. A. Haidar, Nor Laili Ismail ans Rohana Abdul Karim, A Fuzzy Logic Approach for Stator Resistance Estimation of an Induction Motor, International Conference on Instrumentation, Control & Automation ICA 2009, Bandung, Indonesia, October 2009, pp. 109–114.
25 - J. Kiang, Torque Ripple Minimization Strategy for Direct Torque Control of Induction Motor, Conference Record of IEEE-IAS Annual Meeting, 1998, pp. 438–443.
26 - F. Zidani and R. N. Said, Direct torque control of induction motor with fuzzy minimization torque ripple, Journal of Electrical Engineering, 2005, Vol. 56, No. 7–8, 183–188.
27 - L. Romeral, A. Arias, E. Aldabas and M. Jayne, Novel direct torque control (DTC) scheme with fuzzy adaptive torque-ripple reduction, IEEE Transactions on Industrial Electronics, June 2003, Vol. 50, No. 3, 487–492.
28 - B.H. Kenny and R. D. Lorenz, Stator and rotor flux based deadbeat direct torque control of induction machines, IEEE Transactions on Industry Applications, 2003, Vol. 39, No. 4, 1093–1101.
29 - G. Poddar and V. T. Ranganthan, Direct torque and frequency control of double inverter fed slip ring induction motor drive, IEEE Transactions on Industrial Electronics, Dec. 2004, Vol. 51, No. 6, 1329–1337.