You are on page 1of 6

Design of a Hybrid PID Plus Fuzzy Controller for Speed Control of Induction Motors

T.-J. Ho and L.-Y Yeh Department of Electrical Engineering Chung Yuan Christian University ChungLi, Taiwan e-mail: tjho@dec.ee.cycu.edu.tw
Abstract In this paper, a Ziegler-Nichols (Z-N) based PID plus fuzzy logic control (FLC) scheme is proposed for speed control of a direct field-oriented induction motor (DFOIM). The Z-N PID is adopted because its parameter values can be chosen using a simple and useful rule of thumb. The FLC is connected to the PID controller for enhancing robust performance in both dynamic transient and steady-state periods. The FLC is developed based on the output of the PID controller, and the output of the FLC is the torque command of the DFCIM. The complete closed-loop speed control scheme is implemented for the laboratory 0.14-hp squirrel-cage induction motor. Experimental results demonstrate that the proposed Z-N PID+FLC scheme can lead to desirable robust speed tracking performance under load torque disturbances. Key words speed control, hybrid PID plus fuzzy controller, induction motor, Ziegler-Nichols method. I. INTRODUCTION In recent years, field-oriented induction machine (FOIM) drives [1] have been increasingly utilized in motion control applications due to easy implementation and low cost. Besides, they have the advantage of decoupling the torque and flux control, which makes high servo quality achievable. However, the decoupling control feature can be adversely affected by load disturbances and parameter variations in the motor so that the variable-speed tracking performance of an IM is degraded. In general, both conventional PI and PID controllers have the difficulty in making the motor closely follow a reference speed trajectory under torque disturbances. In this regard, an effective and robust speed controller design is needed. In [2]-[8], fuzzy-logic-based intelligent controllers have been proposed for speed control of FOIM drives. Those intelligent controllers are associated with adaptive gains due to fuzzy inference and knowledge base. As a result, they can improve torque disturbance rejections in comparison with best trial-and-error PI or PID controllers. Nonetheless, no performance advantages of intelligent controllers in combination with a PI or PID controller are investigated in [2]-[8]. Motivated by the successful development and application in [2]-[8], we propose a hybrid PID+fuzzy controller consisting of a PID controller and a fuzzy logic controller (FLC) in a serial arrangement for speed control of FOIM drives, more specifically, direct field-oriented IM (DFOIM) drives. The Ziegler-Nichols (Z-N)) method in [9] is adopted for designing a PID controller (denoted as the Z-N PID) because its design rule is simple and systematic. We next design a FLC carrying out fuzzy tuning of the output of the Z-N PID controller to issue adequate torque commands. Based on a simulation model of the DFOIM drives incorporating the proposed controller, experiments are set up in an Matlable/Simulink environment and implemented in real time using the MRC-6810 analog-to-digital (AD)/ digital-to-analog (DA) servo control card together with a DSP electronic controller. The results show that the incorporation of the proposed controller into the DFOIM drives can yield superior and robust variable-speed tracking performance. This paper is organized as follows. The mathematical model and control structure of a DFOIM are given in Sec. II. The proposed controller is given in Sec. III. Simulations and experiments are demonstrated in Sec. IV and V. INDUCTION MOTOR AND CONTROL STRUCTURE In this section, we introduce the DFOIM drive shown in Fig. 1. The dynamics of an induction motor can be described by synchronously rotating reference frame direct-quadrature (d-q) equations [10] as II.

978-1-4244-5046-6/10/$26.00 c 2010 IEEE

1352

e vqs e vds =

Rs + pLs

e Ls

pLm

e Lm
pLm (e r ) Lr Rr + pLr

e iqs e ids e iqr e idr

0 0

Rs + pLs e Ls e Lm pLm (e r ) Lm Rr + pLr pLm (e r ) Lr (e r ) Lm

(1)

J m prm + Bmrm + TL = Te ,

(2)

3N e e e e Lm (i qs i dr i ds i qr ) , (3) 4 2 rm = r (4) N where the notational superscript e stands for the synchronous e e e e e e reference frame; v ds , v qs , ids , iqs , idr , and iqr stand for Te =
the d-axis and the q-axis stator voltages, stator currents and rotor currents; Rs , Rr , L s and Lr denote the resistances and self-inductances of the stator and the rotor; Lm denotes the mutual inductance; Te and TL represent the electromagnetic and external force load torques, respectively; J m and Bm are the rotor inertia and the coefficient of viscous damping, respectively; r and rm denote the rotor and motor

mechanical speeds; e stands for electrical angular velocity; N is the number of poles of the motor mechanical speed; p stands for the differential operator (d dt ) . The notational superscript s in Fig. 1 stands for stationary reference frame. For a DFOIM drive, the flux has to fall entirely on d-axis. e Therefore, the q- axis rotor flux qr is set to zero. The root-locus method [12] is utilized for the design of PI controllers. The controllers PI-1, PI-2, and PI-3 are chosen to ensure that
e e e e iqs iqs , ids ids , and the flux command r and the
e e estimated d-axis rotor flux dr satisfies r dr , respectively.
* *

The parameters
= 1

and

are given by

Lr Rr

and

L2 m . To control the speed of the IM, the speed L s Lr

controller of the DFOIM drive transforms the speed error signal


e into an appropriate electromagnetic torque command Te * .

rm *

+
rm

Te*

4 3 N r

e i qs +

+ +
L s L s
e v qs

s v qs

e v as e v bs

e * i ds

e i qs e i ds

e v ds

s v ds

e v cs

s i qs

e i as e i bs

s i ds

e ics

e dr

s qr

s dr

Figure 1. The block diagram of speed control of a DFOIM

2010 5th IEEE Conference on Industrial Electronics and Applicationsis

1353

III. THE PROPOSED HYBRID PID PLUS FUZZY CONTROL The structure of the proposed controller is shown in Fig. 2. The steps to acquire the Z-N PID [9] for speed control of the DFOIM in Fig. 1 are given as follows. First, we use a fixed step input rm and a linear proportional speed controller. The proportional gain of the speed controller is increased until the DFOIM reaches its stability limit. As a result, we obtain the period Tu of the critical oscillation at the stability limit of the

N ( x) =

1 x b 0

x b b < x 0 otherwise.
-b < x 0 0<xb otherwise.

(8)

x+b b b x Z ( x) = b 0

(9)

DFOIM with the critical proportional gain K u . Next, the values of the parameters K p , TI , T D are given by
K P = K u / 1.7 TI = Tu / 2 TD = TI 4

(5) (6) (7)

1 x P ( x) = b 0

bx 0< xb otherwise.

(10)

where K P is the proportional gain; T I is the integral time and


T D is the derivative time. In the fuzzification process, we only employ three input membership functions N ( x) , Z ( x) and P ( x) shown in Fig. 3 to map a crisp input to a fuzzy set with a degree of certainty where x = g (t ) or g (t ) with g (t ) = K1 f (t ) and g (t ) = K 2f (t ) . Those three membership functions are chosen because of their simplicity for computation since a large number of membership functions and rules can cause high computational burden for a fuzzy controller. For any x N where N denotes the interval (,0] , its corresponding linguistic value is N. Moreover, for any x P where P denotes the interval (0, ) , its corresponding linguistic value is P. For any x Z where Z denotes the interval [b, b] , its corresponding linguistic value is Z. The membership functions N ( x) , Z ( x) and P ( x) are given by

The fuzzy inference engine, based on the input fuzzy sets in combination with the experts experience, uses adequate IF-THEN rules in the knowledge base to make decisions and produces an implied output fuzzy set u . For this particular application, the proposed IF-THEN fuzzy rule base is shown in Table 1 and is described as follows: i. If g (t ) N, then u ( g (t ), g (t )) = b . ii. If g (t ) P, then u ( g (t ), g (t )) = b . and g (t ) N, then .. u ( g ( t ), g ( t )) = b iv. If g (t ) Z and then g (t ) P, u ( g ( t ), g ( t )) = b . v. If g (t ) Z and g (t ) Z, then u ( g ( t ), g ( t )) = 0 . Moreover, the Mamdani-type min operation for fuzzy inference is employed in this study. iii. If Z g (t )

Fuzzy Controller

Ziegler Nichols PID


One-step delay

Defuzzification

e (t )

f (t )

Fuzzification

K1
+

g (t )

Fuzzy Inference

Te* ( t )

K3

Te* (t )

f (t 1)

f (t )

K2

g (t )

Knowledge base

Figure 2 . The block diagram of the proposed controller

1354

2010 5th IEEE Conference on Industrial Electronics and Applicationsis

b
Figure 3.

0.5b

0.5b

Membership functions with x = g (t ) or g (t ) .

Table 1. Fuzzy rule base


g (t )
g (t )

158.65 175.64 ) , PI-2 as 370.0613(1 + ) and PI-3 s s 13.019 as 15.80574(1 + ) . Given a fixed step input rm rpm, we s obtain the critical gain Ku = 2.2 and the critical oscillation

as 220.4162(1 +

period Tu = 0.049 of the DFOIM. From (5)-(7), we get the Z-N


1 + 0.006125s) . To design the fuzzy control 0.0245s part of the proposed controller in Fig. 2, we first set b = 9 and K 2 = 1 . Then gains K1 and K 3 are varied until the desired

PID as 1.29(1 +

In the defuzzification process, we employ thecenter of mass defuzzification method for transforming the implied output fuzzy set into a crisp output, and obtain min{ i (g(t)), j(g(t))} u(i, j)

Te*(t) =

iFL( g(t )) jFL(g(t ))

iFL(g(t )) jFL(g(t ))

min{ i (g(t)), j(g(t))}

(12)

system response under no torque disturbance is achieved. In this regard, we get K1 = 2 and K 3 = 3 . The Simulink Fuzzy Logic Toolbox [13] is employed for fuzzy control simulations. Fig. 4 shows that the proposed controller performs better than the Z-N PID under the condition that the command speed is increased from 0 to 900 r.p.m and a load disturbance 1.1 N-m is suddenly applied to the shaft at 4.2 sec.
EXPERIMENTAL RESULTS Based on the simulation model shown in Fig. 1, the experimental setup is shown in Fig. 5. The objective of the experiments is to investigate the effectiveness of the proposed speed controller for the Nikki Denso NA21-3F 0.14Hp induction motor. The control system is implemented in real time using the MRC-6810 AD/DA servo control card as the interface between software and hardware. In Figs. 6-7, we examine the performance of the proposed controller compared to other intelligent controllers in [8],[14]. We set b = 9 and select the best trial-and-error parameter values K1 = 1.5 , K 2 = 0.05 and K3 = 3 for the FLC under no torque disturbance. In Fig. 6, the command speed is increased from 0 r.p.m. and reaches 900 r.p.m at 4.25 sec, and then starts decreasing from 900r.p.m at 8.25 sec. In addition, no torque disturbance is applied to the shaft. It shows that the proposed controller outperforms both the NFC[8] and the FLC[14]. The speed tracking response of the FLC yields large fluctuations when the speed command is 900 r.p.m.. The tracking response of the NFC cannot follow the command speed properly when the speed V.

where
FL(a) = {N, Z} if a N and a Z {P, Z} if a P and a Z {N} (13)

if a N and a Z {P} if a P and a Z . The output of the fuzzy controller is given by Te* (t ) = K 3 Te* (t ) .
IV.

(14)

SIMULATION RESULTS A computer simulation model of Fig. 1 is developed using the Matlab/Simulink software. The parameter values of the 0.14-hp squirrel-cage induction motor are given as follows: R s () = 17 , R r () = 11 , L s (H ) = 0.196 , L r (H) = 0.196 ,

L m (H) = 1.88 10 3 , N = 4 , J m ( Kg cm s 2 ) = 2.4 10 4 , B m (kg cm) = 9.2 10 3 . Based on the root-locus method and the control objectives of the PI controllers in Fig. 1, we obtain PI-1

2010 5th IEEE Conference on Industrial Electronics and Applicationsis

1355

command is decreased from 900 to 0 r.p.m.. In Fig. 7, the command speed is the same as that in Fig. 6, and a load torque disturbance of 1.1N-m is applied to the shaft at the 6th second. It is noted that the proposed controller yields much smaller tracking errors than the FLC and the NFC. In addition, the proposed controller takes shorter time to resume the command speed following than the FLC and the NFC when the load disturbance takes place. Accordingly, it is suggested that the proposed controller has a robust performance.
VI. CONCLUSION In this paper, a novel hybrid modified Z-N PID+FLC-based speed control of a DFOIM has been presented. The proposed controller has exhibited the combined advantages of a PID controller and a FLC. Specifically, it can improve the stability,

the transient response and load disturbance rejection of speed control of a DFOIM. The complete DFOIM drive incorporating the proposed controller has been implemented in real time using a MRC-6810 AD/DA servo control card for the Nikki Denso NA21-3F 0.14Hp induction motor. The fuzzy logic and only with three membership functions are used for each input and output for low computational burden, which can achieve satisfactory results. Simulation and experiment results have illustrated that the proposed controller scheme has a good and robust tracking performance. As suggested in [15] that a modified Z-N PID can perform better than a Z-N PID, our future effort will focus on how to further improve the performance of the proposed controller herein by incorporating a modified Z-N PID.

Figure 4. Simulation results of the DFOIM using the proposed controller and the Z-N PID under a load disturbance of 1.1 N-m occurring at the 4.2 second.

Figure 5. Experimental setup of speed control of a DFOIM

1356

2010 5th IEEE Conference on Industrial Electronics and Applicationsis

Figure 6. Experimental results of the DFOIM using various speed controllers under no load disturbance.

Figure 7. Experimental results of the DFOIM using various speed controllers under a load disturbance of 1.1N-m occurring at the 6th second.

REFERENCES
[1]F. Blaschke, The principle of field orientation as applied to the new transvektor closed-loop control system for rotating-field machines, Siemens Review, Vol. 39, No. 5, pp.217-220, 1972. [2]Y. F. Tang and L. Xu, Fuzzy logic application for intelligent control of a variable speed drive, IEEE Trans. Energy Conversion, Vol. 9, No. 4, Dec. 1994. [3]Z. Zhang, et al., Sensorless direct field-oriented control of three-phase induction motors based on sliding mode for washing- machine drive applications, IEEE Trans. Industry Applications, Vol. 42, No. 3, May/June. 2006. [4]I. Miki, et al. Vector control of induction motor with fuzzy PI controller, IEEE Conf., IAS Annu. Meeting 1991, Vol. 1, pp.341-346 [5]L. Zhen and L. Xu. Fuzzy learning enhanced speed control of an indirect field-oriented induction machine drive, IEEE Trans. Control Systems Technology, Vol. 8, No. 2, pp. 270-278, MAR. 2000. [6]B. Heber, et al., Fuzzy logic enhanced speed control of an indirect field-oriented induction machine drive, IEEE Trans. Power electronics, Vol. 12, No. 5, pp. 772 778, Sep. 1997.

[7]M. N. Uddin, et al., Performances of fuzzy-logic-based indirect vector control for induction motor drive, IEEE Trans. Industry Applications, Vol. 38, No. 5, Ssp./Oct. 2002. [8]M. N. Uddin and H. Wen, Development of a self-tuned neuro-fuzzy controller for induction motor drives, IEEE Trans. Industry Applications, Vol.43, No. 4, July/Aug. 2007 [9]V. VanDoren, Auto-tuning control using Ziegler- Nichols, Control Engineering Vol. 53, No. 10, pp. 66-71, Oct. 2006. [10]A. Rubaai, Adjustable speed ac drives-a technology status review, Proc. IEEE, Vol. 70, pp. 116-135, Feb. 1982.. [11]P. L. Jansen, et al., Observer-based direct field orientation analysis and comparison of alternative methods, IEEE Trans. Industry applications, Vol. 30, No. 4, pp. 945-953, July/Aug. 1994. [12]B. C. Kuo., Automatic Control System, Prentice-Hall, Eighth Edition, Sep. 2002. [13]Fuzzy Logic Toolbox User Guide. Natick, MA: Math Works, 1997. [14]K. Passino and S. Yurkovich, Fuzzy Control, CA: Addison- Wesley Longman, Inc. 1998. [15]M. Olsson, Simulation comparison of autotuning methods for PID control, Linkping University Electronic Press, Feb. 2008.

2010 5th IEEE Conference on Industrial Electronics and Applicationsis

1357

You might also like