Sliding Mode Control of Coupled Tanks System

2 downloads 0 Views 173KB Size Report
Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August ... 3Department of Electrical Engineering, Integral University, Lucknow, India ... design has two steps: the first step is to obtain a sliding.
International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013)

Sliding Mode Control of Coupled Tanks System: Theory and an Application Mohd Tabrej Alam1, Piyush Charan2, Qamar Alam3, Shubhi Purwar4 1

Department of Electronics & Instrumentation Engineering, Integral University, Lucknow, India Department of Electronics & Communication Engineering, Integral University, Lucknow, India 3 Department of Electrical Engineering, Integral University, Lucknow, India 4 Department of Electrical Engineering, MNNIT, Allahabad, India

2

Abstract –This paper deals with the level control of coupled tanks system using sliding mode control. A standard sliding mode control technique is proposed for the system. To reduce the chattering problem associated with the standard sliding mode control technique integral sliding mode control (ISMC) technique is proposed. The proposed control techniques guarantee the asymptotic stability of the closed loop system. To illustrate the developed control techniques the performance of the system is verified by MATLAB software. The simulation results indicate that the proposed control techniques work well.

Actually, the procedure of sliding mode controller design has two steps: the first step is to obtain a sliding surface for desired stable dynamics and the second step is about obtaining the control law that provides to reach this sliding surface. The system trajectories are sensitive to parameter variations and disturbances during the reaching mode whereas they are insensitive in the sliding mode [8]. The discontinuous nature of the control action in sliding mode control is claimed to result in outstanding robustness features for both system stabilization and output tracking problems. A good performance also includes insensitivity to parameter variations and rejection of disturbances. Variable structure systems has been applied in many control fields which include robot control [9], motor control [10, 11], flight control [12], and process control [13]. In this paper, we propose a standard SMC and integral SMC techniques for the coupled tanks system. Simulation results are presented to illustrate the effectiveness of the proposed control techniques. The paper is organized as follows: In section II the dynamic model of the coupled tanks system is obtained. In section III a standard sliding mode control technique is proposed for the system. In section IV integral sliding mode control (ISMC) technique is proposed for the system. The results of simulation are presented in section V. Finally concluding remarks and references are given in section VI and VII.

Index Terms- Standard Sliding mode control; Integral sliding mode control (ISMC); Level control; Coupled tanks System.

I. INTRODUCTION During the last three decades, variable structure systems (VSS) and sliding mode control (SMC) have received significant interest and have become well established research areas with great potential for different applications. Variable structure systems with a sliding mode control technique were discussed in the Soviet literature [1], [2], and have been widely developed in recent years. Comprehensive surveys of variable structure control given in [3], [4]. The salient feature of sliding mode control (SMC) derives from the property of robustness to structured and unstructured uncertainties once the system enters the sliding mode. Note that the system robustness is not guaranteed until the sliding mode is reached. The main drawback of sliding mode control is ―chattering‖ which can excite undesirable high frequency dynamics. Different methods of chattering reduction have been reported. One approach which places a boundary layer around the switching surface such that the relay control is replaced by a saturation function [6]. Sliding mode control technique is a type of variable structure control where the dynamics of a nonlinear system is changed by switching discontinuously on time on a predetermined sliding surface with a high speed, nonlinear feedback [7].

II. DYNAMIC MODEL OF COUPLED TANKS SYSTEM The apparatus, shown in Fig. 1, consists of two identical tanks coupled by an orifice [15]. The input is supplied by a variable speed pump which supplies water to the first tank. The orifice allows the water to flow into the second tank and hence out to a reservoir. The objective of the control problem is to adjust the inlet flow rate so as to close to a maintain the level in the second tank, desired set point level,

650

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) The dynamic model of the coupled tanks system can be written aṡ

(1)

̇



|

|

|

|



̇

̇

(5)

thus, at equilibrium, the following algebraic equations must hold:

h2d



h2 q1



|

|

|

|

(6) √

Where is the equilibrium inflow rate. From eqs. (6), and to satisfy the constraint in eq. (3) on the input flow , which implies rate, we should have

Outflow(q2 )

(7)

Fig. 1. Model of coupled tanks system

therefore, in order to satisfy the constraint in eq. (3) on the input inflow rate for given values of plant parameter and , the liquid levels in the tanks must satisfy the constraint in eq. (7). In addition, for the case when , the system model is decoupled. Thus, the general model suggested in [5] reduces to the model used in this paper which is the most widely used model in the literature when modeling the coupled tanks system. Let

Where √

and



for for

(4)

at equilibrium, for constant water level set point, the derivatives must be zero, i.e.,

Inflow(q)

h1



(2)

the level in the first tank; the level in the second tank; the inlet flow rate; : the flow rate from tank 1 to tank 2; the flow rate out of tank 2; the gravitational constant; the cross-section area of tank 1 and tank 2; the area of coupling orifice; the area of the outlet orifice;

,

,

,

and √



,

The output of the coupled tanks system is taken to be the level of the second tank. Therefore, the dynamic model in eqs. (1) and (2) can be written as

For the coupled tanks system, the fluid flow rate, into tank 1, cannot be negative because the pump can only pump water into the tank. Therefore, the constraint on the inflow rate is given by

̇

(3) now the governing dynamical equations of the coupled tanks system can be written as (Chang -1990)

651

̇









(8)

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) The objective of the control scheme is to regulate the to a desired value It is output is easy to show using eqs. (8) that if regulated to a desired value then



The dynamic model in eq. (12) will be used to design control techniques for the coupled tanks system.

will be regulated to the value III. STANDARD SLIDING MODE CONTROL

The dynamic model of the coupled tanks system is highly nonlinear. Therefore, we will define a transformation so that the dynamic model given in eq. (8) can be transformed into a form facilitates the control design.

In this section, we will design a standard sliding mode controller for the coupled tanks system. Let be the desired output level of the system. i.e.,

, and define the transformation

Let

The sliding surface [14]

such that

̃

(9) √



the inverse transformation

Where ̃ the system,

is such

̇



̇

It can be checked that we can write the dynamic model in eq. (8) as

̇



√ √

̇





[

{

Where √

















we get

(14)















]

(15)

Where and are strictly positive constant. And signum function is defined as

(12)





therefore standard sliding mode controller is √







Where the values of and in eq. (11) are function of and as given by eq. (10). Hence, the dynamic model of the system can be written

̇

(13)

since



as ̇

=order of





on putting ̇

(11) √

=tracking error and

on taking the derivative of eq. (13) w.r.t. time, we get

(10)

̇

is presented by Slotine and Li

652

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) This asymptotically stabilizes the output of the system to its desired value

therefore integral sliding mode controller is

Stability analysis Consider the Lyapunov function

since,



̂





where ̂ is estimation of . Therefore ̂

̇

if ̇

| |

| | , then

where |

̂|

̇

if ̇

=tracking error and =order of the

on putting ̇



we get

(23)

i. With standard sliding mode controller The controller parameters used in the simulations are taken to be and . Figs. 2 and 3 shows the simulation results when the standard sliding mode controller is used without input saturation. Fig. 2 shows converges to its desired value that the output in about 100 s.

(19)



̂|

V. SIMULATION RESULTS

on taking the derivative of eq. (19) w.r.t. time, ̇

| |

| | where | , then

Simulation of presented control techniques has been done using MATLAB software. Results are shown in Figures given below. The dynamic model of the system has taken from [15], in which area of the orifices and are given. The cross-section area of tank 1 and tank 2 are found to be 208.2 . The gravitational constant is 981 . The desired value of the output of the system is taken to be =5 .

(18)



̂





Where is a strictly positive constant, eq. (23) shows that the ISMC technique guarantees the asymptotic stability of the closed loop system.

is presented by Slotine and Li

̇

from eq. (20)

̇

In this section, we will design integral sliding mode controller for the coupled tanks system. Let be the desired output level of the system. i.e.,

Where ̃ system

̇

by using eq. (21), we get (17)

IV. INTEGRAL SLIDING MODE CONTROL

∫ ̃

(21)

(22)

Where is a strictly positive constant, eq. (17) shows that the standard SMC technique guarantees the asymptotic stability of the closed loop system. The proposed control technique suffers from the chattering problem. To reduce the chattering, integral sliding mode control (ISMC) is used, which is discussed in the next section.

The sliding surface [14]





Stability analysis Consider the Lyapunov function

]





where and are strictly positive constant. This asymptotically stabilizes the output of the system to its desired value .

from eq. (14) [





on differentiating eq. (16) w.r.t. time, we get ̇





(16)

̇





(20)

653

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) Fig. 3 shows the control input in which chattering is evident and control effort is also very high. Fig. 4 shows converges to its desired value that the output in about 115 s. Fig. 5 shows the control input, in which control effort is greatly reduced. The input constraint for the system is in the range:

Standard sliding mode control 120 110 100 90 q(t) in cm3/sec

. 1. Without input saturation Standard sliding mode control

80 70 60 50

6

40

5

30 20

0

50

100

150 Time(sec)

200

250

Fig.3. Liquid flow rate into Tank 1 by using SSMC

3

2. With input saturation 2

Standard sliding mode control 6

1

0

5

4

0

50

100

150 Time(sec)

200

250

300

Level in cm

Level in cm

4

Fig.2. Liquid level in tank 2 by using SSMC

3

2

1

0

0

50

100

150 Time(sec)

200

250

Fig.4. Liquid level in tank 2 by using SSMC

654

300

300

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) 1. Without input saturation

Standard sliding mode control 55

6

45

5

40

4 Level in cm

q(t) in cm3/sec

Integral sliding mode control 50

35

30

2

25

20

3

0

50

100

150 Time(sec)

200

250

1

300

0

Fig.5. Liquid flow rate into Tank 1 by using SSMC

ii. With integral sliding mode controller The controller parameters used in the simulations are taken to be and . Figs. 6 and 7 shows the simulation results when integral sliding mode controller is used without input saturation. Fig. 6 shows that the output converges to its desired value in about 120 s. The control input shown in fig. 7; shows that the chattering as well as control effort is greatly reduced. Figs. 8 and 9 shows the simulation results when integral sliding mode controller is used with input saturation. Fig. 8 shows converges to its desired value that the output in about 125 s. Fig. 9 shows the control input, in which control effort and chattering are greatly reduced. The input constraint for the system is in the range:

0

50

100

150 Time(sec)

200

250

300

Fig.6. Liquid level in tank 2 by using ISMC Integral sliding mode control 80

70

q(t) in cm3/sec

60

50

40

. 30

20

0

50

100

150 Time(sec)

200

250

Fig.7 Liquid flow rate into Tank 1 by using ISMC

655

300

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 8, August 2013) 2. With input saturation

By using integral sliding mode controller, Fig.7 and 9 shows that chattering as well as control effort is greatly reduced as compare to standard sliding mode controller, and the control signal in Fig.9 is smoother than the control signal obtained from standard sliding mode control technique.

Integral sliding mode control 6

5

Level in cm

4

REFERENCES [1]

S. V. Emelyanov, Variable Structure Control Systems Moscow, U.S.S.R.: Nauka, 1967. [2] V. I. Utkin, Sliding Modes and Their Application in Variable Structure Systems (in Russian). Moscow, U.S.S.R.: Nauka. [3] R. A. DeCarlo, S. H. Zak, and G. P. Matthews,―Variable structure control of nonlinear multivariable systems: A tutorial,‖ Proc. IEEE, vol. 76, pp. 212–232, Mar. 1988. [4] J. Y. Hung, W. B. Gao, and J. C. Hung, ―Variable structure control: A survey,‖ IEEE Trans. Ind. Electron., vol. 40, pp. 2–22, Feb. 1993. [5] Khan MK, Spurgeon SK, ―Robust MIMO water level control in interconnected twin-tanks using second order sliding mode control,‖ Control Eng Pract 2006;14:375–86. [6] J. J. Slotine and S. S. Sastry, ―Tracking control of nonlinear systems using sliding surfaces, with application to robot manipulators,‖ Int. J. Control, vol. 38, pp. 465–492, 1983. [7] K.D. Young, V.I. Utkin, and U. Ozguner, ―A Control Engineer’s Guide to Sliding Mode Control,‖ IEEE Transactions on Control Systems Technology, vol. 7, no. 3, May 1999, pp.328-342. [8] J. Y. Hung, W. Gao, and J. C. Hung, ―Variable structure control: A survey,‖ IEEE Transactions on Industrial Electronics, vol. 40, no.1, 1993, pp. 2-22. [9] Sira-Ramirez H, Ahmad S, Zribi M, ―Dynamical feedback control of robotic manipulators with joint flexibility,‖ IEEE Trans Syst Man Cybernet 1992;22:736–47. [10] Zribi M, Sira-Ramirez H, Ngai A, ―Static and dynamic sliding mode control schemes for a permanent magnet stepper motor,‖ Int J Control 2001;74:103–17. [11] Alrifai MT, Zribi M, Sira-Ramirez H, ―Static and dynamic sliding mode control of variable reluctance motors,‖ Int J Control 2004;77:1171–88. [12] Sira-Ramirez H, Zribi M, Ahmad S, ―Dynamical sliding mode control approach for vertical flight regulation in helicopters,‖ IEE Proc—Control Theory Appl 1994;141:19–24.

3

2

1

0

0

50

100

150 Time(sec)

200

250

300

Fig.8. Liquid level in tank 2 by using ISMC Integral sliding mode control 55

50

q(t) in cm3/sec

45

40

35

30

25

20

0

50

100

150 Time(sec)

200

250

300

Fig.9. Liquid flow rate into Tank 1 by using I SMC

VI. CONCLUSION In this study, the level control of coupled tanks system is proposed. The simulation result shows that integral sliding mode controller provides a better performance with respect to the standard SMC technique.

656