# Electric Drive Control with Rotor Resistance and Rotor Speed Observers Based on Fuzzy Logic

Authors: C. Ben Regaya; A. Zaafouri; A. Chaari
Journal: Mathematical Problems in Engineering
 (2014)

---

## Abstract

Many scientific researchers have proposed the control of the induction motor without speed sensor. These methods have the disadvantage that the variation of the rotor resistance causes an error of estimating the motor speed. Thus, simultaneous estimation of the rotor resistance and the motor speed is required. In this paper, a scheme for estimating simultaneously the rotor resistance and the rotor speed of an induction motor using fuzzy logic has been developed. We present a method which is based on two adaptive observers using fuzzy logic without affecting each other and a simple algorithm in order to facilitate the determination of the optimal values of the controller gains. The control algorithm is proved by the simulation tests. The results analysis shows the characteristic robustness of the two observers of the proposed method even in the case of variation of the rotor resistance.


---

## Body

## 1. Introduction

Induction motors are broadly used in industrial applications and the majority of power in the world is currently consumed by them. They are used because of their benefits compared to other types of rotating electrical machines, such as robustness, reliability, and reduced maintenance [1]. Many methods of control presented in the literature have been proposed to circumvent the problem of variation of the rotor resistance for the indirect field-oriented controlled induction machines, which can change with time due to ohmic heating [2]. Among these methods, we can mention the adaptive control using an adaptive scheme of the rotor resistance [3, 4], identification of rotor resistance based on Lyapunov stabilization theory [5], and estimator based on fuzzy logic [6–8]. In these studies, estimation and adaptation mechanisms have been used with the sole aim to correct the rotor resistance used as a reference value in the calculation of the slip frequency. To know the exact position of the rotor flux, the estimation block of the slip angular speed will be used by the control algorithm. Following the research done in this field shows that the performance of the control for the induction motor drive depends heavily on the precision with which the motor parameters are known in particular the rotor resistance. Its mismatch affects significantly the open loop slip estimator and degrades the performance of the speed control, especially when the machine is loaded [3–6].In addition to the adaptive control of the vector control with rotor resistance adaptation, other works have proposed the speed sensorless control [9–14]. The elimination of speed sensors has become an inevitable task to guarantee the high performance control and operating reliability, not only because the sensors increase the cost and complexity of machines, but also the measures are stained by the noise that affects the robustness of control, especially in hostile environments. Various technical controls without speed sensor were presented in this research, such as adaptive speed observer [9], MRAS speed estimator [10, 11], fuzzy logic speed observer [12], and backstepping and sliding mode speed observer [13, 14].A variation of the rotor resistance will cause an error of estimating the rotor speed [3]. To overcome this drawback, simultaneous estimation of the motor speed and the rotor resistance is required [15, 16]. In this paper, a solution based on the theory of the fuzzy logic is developed. The method will allow the estimation of rotor resistance and reinject it in the control loop in order to guarantee the decoupling between the torque and flux dynamics. This solution will guarantee a good estimation of the slip frequency even in the case of variations in the rotor resistance. For the speed estimation we have used the model reference adaptive system MRAS observer which is based on fuzzy logic. Therefore, we have two observers which use fuzzy logic without interacting with each other. This paper presents the steps to be followed for the development of simultaneous estimation of the rotor resistance and rotor speed using two types of observer based on fuzzy logic.First we are going to present the mathematical model of the induction motor in Section2. Section 3 is dedicated to present the indirect field-oriented control technique. Then we are going to describe the steps of designing the fuzzy logic observer of the rotor resistance. The fuzzy logic MRAS speed estimation and the algorithm to determine the optimal values of the controller gains are developed in Section 5. Finally, simulations are presented in the last section using Matlab environment with some comments to conclude this work.


## 2. Induction Motor Modeling

The mathematical model of the induction motor can be described in the reference frame connected to the rotating field as follows [5, 12]
(1)ddt[isϕr]=[A11A12A21A22][isφr]+[B10]vs,is=C[isφr],
whereis=[isdisq]T: stator current,ϕr=[φrdφrq]T: rotor flux,vs=[vsdvsq]T: stator voltage,A11=-((Rs/σLs)+(Rr(1-σ)/σLr))I-ωsJ,A12=(Lm/σLsLr)[(Rr/Lr)I-ωrJ],A21=(Lm/τr)I,   A22=(ωs-ωr)J-(1/τr)I,  B1=(1/σLs)I,C=[I02×2], I=[1001], J=[0-110],Rr, Rs: stator and rotor resistance,Ls, Lr: stator and rotor self-inductance,Lm: mutual inductance,σ: leakage coefficient,τr: rotor time constant,ωs: stator angular frequency,ωr: motor angular velocity (electric angle).The electromagnetic torque developed by the machine is expressed by(2)Tem=32LmnpLr(φrdisq-φrqisd).


## 3. Indirect Field-Oriented Control of Induction Motor Drive (IFOC)

Two recommended techniques for controlling the induction motor with high performance have been presented in the literature. The first one is called direct field-oriented control (DFOC) and the second one is the indirect field-orientated control (IFOC) [1]. In order to optimize the performance of the induction motor and reduce the sensitivity of the stability of the device for controlling the variation of rotor resistance, we will use the indirect field-oriented control technique. The main objective of this control strategy is, as in DC machines, to independently control the torque and the flux; this is done by using a d-qrotating reference frame synchronously with the rotor flux space vector [2, 3]. In ideal field-oriented control, the rotor flux linkage axis is forced to align with the d-axes, and it follows that
(3)φrq=ddtφrq=0,φrd=φr.
Applying the result of (3), the torque equation becomes analogous to the DC machine and can be described as follows:
(4)Tem=32LmnpLrφrdisq.The relationship of mechanical speed and the angular velocity of rotating reference framed-q is given by the following equation:
(5)ωs=LmRrLrφrdisq+npωr.


## 4. Strategy for Estimating the Rotor Resistance Using Fuzzy Logic Method

From (1), in steady-state the dynamic of the rotor fluxes can be expressed as follows:
(6)φrd=RrLmLr(LrRrisd+Lr2Rr2Lm(ωs-ωr)φrq),φrq=RrLmLr(LrRrisq-Lr2Rr2Lm(ωs-ωr)φrd).
By replacing φrd, φrq with expressions (1), (6) becomes
(7)φrd=(LmRr/Lr)((Rr/Lr)isd+(ωs-ωr)isq)(Rr/Lr)2+(ωs-ωr)2,φrq=(LmRr/Lr)((Rr/Lr)isq-(ωs-ωr)isd)(Rr/Lr)2+(ωs-ωr)2.
The angular velocity is expressed as follows:
(8)(ωs-ωr)*=ωg*=Rr*isq*Lr*isd*,
where (*) means reference.So the expressions of flux along the two axes become(9)φr*=φrd*=Lmisd*,φrq*=0.
Equation (9) is considered as a reference model for the mechanism of adjusting the rotor resistance by fuzzy logic. Assuming that the rotor resistance changes from its nominal value Rrn to Rrn+ΔRr and kRr is the factor for this variation we get
(10)kRr=RrRrn=1μ,
with μ=Rrn/Rr.By replacing the expression ofμ in (7) we will have
(11)φrd=Lmisd+Lmisdμγ21+(μγ)2,φrq=Lmisdγ(1-γ)1+(μγ)2,
with γ=isq/isd.Finally, the flux components can be expressed in terms of the reference flux for an ideal decoupling as follows:(12)φrdφr*=1+μγ21+(μγ)2,φrqφr*=γ(1-γ)1+(μγ)2.
Figures 1 and 2 show the shape of φrd/φr* and φrq/φr* as a function of μ, and the vertical line in color red represents the ideal orientation of the rotor flux.Figure 1
Effect of variation of the rotor resistance on the shape of the direct flux.Figure 2
Effect of variation of the rotor resistance on the shape of the quadratic flux.γ is a parameter that reflects the power of the induction motor. The vertical line is the ideal orientation of the flux. We identify changes in flux along the two axes of the rotating frame d-q as follows:
(13)Δφrd=φr*-φrd,Δφrq=-φrq.
According to Figures 1 and 2 we can see that(i)
forμ>1, there is reduced flux along the two axes,(ii)
forμ<1, there is increased flux along the two axes.According to (9), we can write(i)
forμ>1, Δφrd>0 and Δφrq>0,(ii)
forμ<1, Δφrd<0 and Δφrq<0.Sinceμ=Rrn/Rr, so we can write the rules of the adaptive fuzzy logic mechanism of the rotor resistance Rr as follows:(i)
forμ>1⇔Rr<Rrn, we have Δφrd>0 and Δφrq>0,(ii)
forμ<1⇔Rr>Rrn, we have Δφrd<0 and Δϕrq<0.The block diagram of the fuzzy logic adaptation mechanism used in our simulation is given in Figure3.Figure 3
Block diagram of the adaptation mechanism of rotor resistance using fuzzy logic.The estimated fluxesφ^rd and φ^rq can be obtained by measuring the currents and stator voltages. First we will estimate the stator flux using the following equations:
(14)[φsdφsq]=[cos⁡(θs)sin(θs)-sin(θs)cos⁡(θs)][φsαφsβ],
with
(15)φαs=∫(vsα-Rsisα)dt,φβs=∫(vsβ-Rsisβ)dt.
Then we can calculate the estimated flux by the following equation:
(16)[φ^rdφ^rq]=[LrLm00LrLm][φsdφsq]-[LrLsσLm00LrLsσLm][isdisq].
When choosing the linguistic value it should be taken into account that the control must be robust and time of calculation adopted by the fuzzy controller should not be high to not slow down the process [6, 7]. In this proposed method linguistic value of 5 is chosen which gives 25 rules.For fuzzification, we have chosen triangular fuzzification and for deffuzzification the centroid deffuzzification method is used in the proposed method. The universe of discourse is common to all fuzzy variables(Δφrd, Δφrq, and Δu) and is divided into seven fuzzy sets (NB, NM, NS, ZE, PS, PM, and PB) with triangular membership functions.In terms of numerical values, the behavior of this mechanism is characterized by action law shown in Figure4. Indeed, for each pair of input values (Table 1)the mechanism generates a variation of the control law (Δu), which corresponds to the increase or decrease of the rotor resistance.Table 1
Fuzzy control rules for calculating Δu.
Δ
φ
r
q
Δ
φ
r
d
NB
NM
NS
ZE
PS
PM
PB
NB
PB
PM
PS
PS
ZE
ZE
ZE
NM
PM
PS
PS
PS
ZE
ZE
ZE
NS
PS
PS
PS
PS
ZE
ZE
ZE
ZE
ZE
ZE
ZE
ZE
ZE
ZE
ZE
PS
ZE
ZE
ZE
NS
NS
NS
NS
PM
ZE
ZE
ZE
NS
NS
NS
NM
PB
ZE
ZE
ZE
NS
NS
NM
NBFigure 4
Variation law of fuzzy controller for the rotor resistance.


## 5. Fuzzy Logic MRAS Speed Observer Design

In this section we will present the different steps to design the fuzzy logic MRAS speed observer. This method consists in comparing the output of both estimators. The first one is called the reference model which is independent of the quantity to estimate, and the second is the adjustable model [10]. The error between the two estimators of the observing rotor flux is injected in an adaptation mechanism which can generate the value of ωr as a way to minimize the error of flux.The mechanism of adaptation is a fuzzy logic controller; the block diagram of the MRAS speed observer and the structure of the controller is shown in Figure5.Figure 5
Block diagram of the fuzzy logic MRAS speed observer.The reference model is expressed by using the stator voltages and stator currents. Their components are expressed in a stationary frame when the flux components are generated. The reference value of the rotor flux components is described by the following equation [3]:
(17)ddtφrd=LrLm(vsd-Rsisd-σLsddtisd),ddtφrq=LrLm(vsq-Rsisq-σLsddtisq).
The adaptive model describes the rotor equation and the rotor flux according to the d-q axes which are expressed as a function of the rotor speed and the stator currents. From (1), the adaptive model is described by the following equations:
(18)ddtφ^rd=-RrLrφ^rd-ω^rφ^rq+LmRrLrisd,ddtφ^rq=-RrLrφ^rq+ω^rφ^rd+LmRrLrisq.
From (17) and (18), the adaptation mechanism can be designed to generate the estimated speed value which is used to minimize the error between the estimate and reference fluxes. The error between reference model and adjustable model e is minimized by a fuzzy logic controller which generates the estimated speed. This signal e is given by the following expression:
(19)e=φrqφ^rd-φrdφ^rq.
For the design of a fuzzy regulator we must, first, study the system to adjust and make an adequate description. It is not a proper analysis to establish a mathematical model. We must rather explore the behavior of the controlled system vis-à-vis changes in the control variable and determine measurable quantities characteristic of dynamic behavior. The description may make use of linguistic variables and must be accompanied by a definition of membership functions [12]. Then we move on to determining the control strategy that includes the fuzzification, inference, and deffuzzification. After implementation, most often on a PC or microprocessor software or hardware with processor autographed (specific processors for the fuzzy logic), testing the installation is usually necessary to change the control strategy interactively in several steps in order to find proper behavior. This change is highlighted by Figure 6, since it is an important step in the design of a fuzzy set.Figure 6
The steps for designing a fuzzy logic controller.The quality of adjustment depends not only on the rules but also on the choice of values with which the input and output variables are multiplied. To define the values ofGe, Gde, and Gu we use the following algorithm.Step 1.
Set the gains values ofGe, Gde, and Gu (in our case Ge=1, Gde=1, and Gu=1).Step 2.
If the error <1%, go to Step7.Step 3.
AdjustGe.Step 4.
If the error >10%, go to Step3.Step 5.
AdjustGde and Gu.Step 6.
If the error >1%, go to Step5.Step 7.
End of algorithm.The establishment of rules defining the output results from operating expertise. For our application, we used the basic rules given in Table2, which stems from expertise and is based on the operating principle of the bang-bang that offers very good results. The latter is organized in the form of a decision table. The inference method used is the method (Max-Min) since it is easy to implement. The following table shows the rules that correspond to these reflections.Table 2
Table fuzzy control rules Δu.
e
/
Δ
e
NB
NS
ZE
PS
PB
NB
NB
NB
NB
NS
ZE
NS
NB
NB
NS
ZE
PS
ZE
NB
NS
ZE
PS
PB
PS
NS
ZE
PB
PB
PB
PB
ZE
PS
PB
PB
PBIn the proposed method each variable of the fuzzy logic controller has five triangular membership functions. The fuzzy sets used in the proposed method are NB: Negative Big, NS: Negative Small, ZE: Zero Equal, PS: Positive Small, and PB: Positive Big. The variation law of fuzzy controller for MRAS speed observer is shown in Figure7.Figure 7
Variation law of fuzzy controller for MRAS speed observer.


## 6. Simulation Results and Discussion

The performances of the proposed solution are evaluated using Matlab-Simulink. A dynamic three-phase induction motor model with speed and rotor resistance observer was built to emulate behavior of the motor. The three-phase induction motor parameters are given in Table3. Figure 8 shows the architecture of the vector control algorithm incorporating the fuzzy logic MRAS speed observer and rotor resistance fuzzy logic observer.Table 3
Parameters of induction motor.
Designation
Notations
Rating values
Stator resistance
R
s
2.3Ω
Rotor resistance
R
r
1.83Ω
Stator self-inductance
L
s
261 mH
Rotor self-inductance
L
r
261 mH
Mutual inductance
L
m
245 mH
Moment of inertia
J
0.03 kgm2
Friction coefficient
f
0.002 Nm
Number of poles
n
p
2
Rated voltage
V
s
n
220 VFigure 8
Block diagram of the vector control including speed and rotor resistance fuzzy logic observer.Figure9 shows the effect of sudden change on the shape of direct and quadratic flux. At t=2 s we introduced a 50% increase of the rotor resistance. Just at the moment of variation (Figure 9(a)) the orientation of the fluxes is lost, which has a negative effect on the control. Using an estimate of the rotor resistance by the fuzzy logic guarantees the orientation of flux (Figure 9(b)).Simulated results with sudden change of the rotor resistance with and without adaptation: (a) without adaptation and (b) with adaptation.
(a)
(b)Figure10 shows the evolution of the real and estimated rotor resistance. When increasing the value of the rotor resistance, the fuzzy controllers calculate the new value and inject it into the control loop to ensure decoupling between the flux and torque dynamics.Figure 10
Tracking of the rotor resistance by fuzzy logic controller (case: sudden change).Figure11 shows the effect of a slow change of the rotor resistance on the flux behavior. Without adaptation it is clear that we will lose the direction of flux (Figure 11(a)). However, with rotor resistance adaptation we can keep the orientation of the flux (Figure 11(b)).Simulated results with slow change of the rotor resistance with and without adaptation: (a) without adaptation, and (b) with adaptation.
(a)
(b)Figure12 shows the response of the fuzzy controller for a slow variation of rotor resistance; the estimated and actual rotor resistances are almost the same.Figure 12
Tracking of the rotor resistance by fuzzy logic controller (case: slow change).Figure13 represents the reference, estimated, and actual speed. This figure illustrates the speed system response under a load torque of 10 Nm applied at t=0.5 s; the reference speed is increased from zero to its rated value 157 rd/s. The motor reaches its steady state after 0.4 s. At t=1 s, we applied a slow increase of 50% of the value of the rotor resistance and a change in the reference speed at t=1.5 s. The real and estimated speed are nearly similar and the difference between them is better shown in Figure 14 which does not exceed 1% of the nominal value.Figure 13
Simulation result of the fuzzy logic MRAS speed observer.Figure 14
Error between real and estimated speed.


## 7. Conclusion

To sum up we say that this paper presents a method to estimate the rotor resistance for induction machines based on the theory of fuzzy logic. A standard IFOC without speed sensor has been used for the induction machine based on the same theory to design a MRAS speed observer. The modeling approach proposed for both observers makes a high-performance control strategy to be used with induction motor drive system. The drive system has been simulated with adaptive mechanisms to identify the values of rotor resistance and rotor speed based on fuzzy logic. The different simulation results have shown that the designed fuzzy logic observer has realized a good dynamic and performance for motor monitoring even in the case of the rotor resistance variation. The efficacity of the speed sensorless of the IFOC with rotor resistance is proved by extensive simulation results. The IFOC, the speed observer, and the rotor resistance observer described in the previous sections are to be implemented in the future work on a digital processor (DSP) to validate the proposed scheme.



---

*Source: 207826-2014-02-16.xml*