The Schedule of Optimal Fuzzy Controller Gain with Multi Model Concept for a Solar Energy Wood Drying Process Kiln
Volume 15, Number 2 June 2009, pp. 137-151
Zakarias Situmorang School of Computer Science Catholic University of Saint Thomas North Sumatera, Medan Indonesia (
[email protected]) Retantyo Wardoyo, Sri Hartati, Jazi Eko Istiyanto Departement of Computer Science University of Gadjah Mada Yogyakarta, Indonesia
The paper reports the scheduling Gain of Optimal Fuzzy Control for a solar energy wood drying process kiln. The variable controls of a solar energy wood drying process kiln are temperature and humidity as to use variable of a drying schedule. Because a drying schedule of wood drying process have multi step process, then approximate of state based a concept of multi system with multi gain of control to reset of value set point of temperature and humidity chamber. The Optimal fuzzy controller is simplified to be used for the scheduling of a gain control model of multi system from wood drying process kiln in steady state. From result of simulation by a responses of step obtained a system can be right model, systematic of process, and can be a scheduling of set point drying process, for get at efficient of energy. Keywords: Optimal Fuzzy Controller, Drying Schedule, Multi System
1. Introduction A solar energy wood drying process kiln needs a schedule of drying as traffic process. A level from the schedule of drying is a model the system main most necessary, where needs the gain of control. Because wood drying process used the schedule of drying dependent for moisture of content the wood, that condition of kiln is deferent for as level of the schedule of drying. Variable control the Wood drying of process kiln are temperature and humidity of air in chamber where dependent for moisture of content the wood. Then most need actuator control system for heater, sprayer and damper, whenever the process used doing the optimal from time and energy. The goal of optimal control is the system for achieving effective process for set point target. The Wood drying of process kiln model based of steady state equation, when need for state matrix, input matrix, control matrix, to product gain control based index performance from regulator quadratic optimal. State matrix and input matrix are computation based on behavior from the condition of system. Whenever control matrix computation based from criteria of performance the regulator quadratic optimal by the product to can have gain of
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
138
control. Classification used the schedule of drying based of used of fuzzy logic. We used the membership function of fuzzy logic doing from error variable and change error variable control. Used the rule are result of the schedule of gain control from optimal fuzzy controller, when simulation with MATLAB.
2. Solar Energy Wood Drying Process Kiln Control variable of a solar energy wood drying process kiln is temperature and humidity as use as variable of a drying schedule. Dimension of wood drying kiln has designed and built several type dry kiln for use lumber of housing structure. The components of wood drying kiln are wall, energy resource with technology of collector or boiler, fan for air circulation, damper and sprayer (Fiqure.1) and the reference of schedule drying is shown in Fiqure.2. Solar Energy Collector
Heat exchanger
Damper Steam Fan Sprayer Boiler
Data logger
Fuel Figure 1. A solar energy wood drying process kiln
The Schedule drying is a cycle of drying and has some level of process. A Level process doing at temperature and humidity variable are constant at set point any time. By the way need an actuator control system (heater, sprayer and damper) then doing at effective the time and efficiency of energy.
3. The Steady State Equation of Wood Drying Kiln Model of steady state equation of drying kiln is shown in Equation 1.
dx(t ) = Ax(t ) + Bu (t ) dt with,
x(t) A B
: state variable, : steady state matrix, : control matrix
and
y (t ) = Cx (t )
(1)
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
u(t) C
139
: variable control, : output matrix
100 90
80OC
90% O
O
70 C
75 C Td
80
65OC
65% 60%60OC
60%
70
Rd
60
50OC
55
O
C
54% 40%
50
34% 31%
40 MC
30 20
0
5
8
11
17
19 Day
Figure 2 Reference the scheduling of drying
Dimension of state variable is 2x1, this x1 = Td (temperature of kiln), x2 = Rd (humidity of kiln), and steady state matrix has dimension is 2 x 2, then is shown:
a A = 11 a 21
a12 b B = 11 a 22 b21
b12 b22
b13 1 0 C= b23 0 1
(2)
with ,
a11, a12, a21, a22, used from computation from behaviors of load b11, b12, b13, b21, b22, b23 used from computation from behaviors of air Variable x is state variable with dimension 2 x 1, are x1 = Td and x2 = Rd. Variable u is input matrix with dimension 3 x 1, are u1 = Qh + Qb (energy solar from collector, boiler energy), u2 = ms (speed mass of steam from sprayer), and u3 = Qd (energy of exhaust from damper. Variable Y is same from state variable.
4. The Gain Optimal Control Optimal control system is designed to result intemperature and humidity kiln at set point with doing at effective the time and efficiency of energy. Optimal criteria are minimum the function of performance index based state variable and control variable then is shown of Equation 3. ∞
J = ∫ ( x T Q.x + u T R.u )dt 0
(3)
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
140
With Q and R are weights matrix, is designed at trial and error or with Bryson method for can response of close loop the system as result performance target. Q Matrix is riel symmetry definite positive (or semi definite positive) and matrix R riel symmetry definite positive. With used the control law : u (t ) = − K .x (t ) and matrix reduction Riccati equation:
A T P + PA − PBR −1 B T P + Q = 0
(4)
From Equation 4 to find the gain of control optimal (Ki).
5. The Schedule of Optimal Fuzzy Control Gain Design control system for regulator quadratic optimal used to the fuzzy logic controller to find the schedule of optimal fuzzy control gain. The solar energy wood drying process kiln has variable control are humidity air in kiln Rd and temperature of kiln Td. To design of membership function used the crisp input and crisp output. Crisp input used to change of variable control temperature or humidity as shown Equation 5. eT = input – 65 and (5) ceT = error(n) – error (n-1) Set the membership functions used to error and change in error of temperature are Z(zero), S(small), M(medium) and H(high), as shown in Table 1. Definitions of the fuzzy sets in the universe of discourse of variable temperature in memberships map shown in Figure 3. Crisp input for the humidity shown in Equation 6. eH = input – 54 and (6) ceH = error (t) – error (t-1) Set the membership functions used to error and change in error of humidity are Z(zero), S(small), M(medium) and H(high), as shown in Table 2. Definitions of the fuzzy sets in the universe of discourse of variable temperature in memberships map shown in Figure 4. Table 1 Label of membership function Temperature
e ce
-H
-M
-S
Z
+S
+M
+H
-H -M -S Z +S +M +H
-H -H -H -H -H -H -M
-H -M -M -M -M -M -S
-M -S -S -S -S -S Z
-S Z Z Z Z Z +S
Z +S +S +S +S +S +M
+S +M +M +M +M +M +H
+M +H +H +H +H +H +H
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
141
µ (eT)
-H
-30
-M -S Z +S +M
-15 -10 -5
0
+H
5 10 15
30 oC
(a) Error temperature
µ (CeT) -H
-5
-M -S Z +S +M
+H
-3 - 2 -1 0 +1 +2 +3 (b) Change error temperature
+5 oC
Figure 3 Rule and Membership function for control of temperature Table 2 Label membership function humidity
e ce -H -M -S Z +S +M +H
-H
-M
-S
Z
+S
+M
+H
-H -H -H -H -H -H -M
-H -H -M -M -M -M -S
-M -S -S -S -S -S -S
Z Z Z Z Z Z Z
Z +S +S +S +S +S +M
+S +M +M +M +M +M +M
+H +H +H +H +H +H +H
Used defuzzification strategy are center of area method. The COA strategy generates the center of gravity of the possibility distribution of a control action. It is widely used in the current implementations of the fuzzy logic development system. Bloc diagram optimal fuzzy controller system as shown in figure 5. and fuzzy relation rule
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
142
in Table 3. Because the plant of drying kiln doing in a multi model system then control process used the schedule of gain optimal fuzzy control.
µ (eH) -H
-30
-M -S Z +S +M
-23 -20 -14 0
+H
6 11 36
46 %
(a) Error Humidity
µ (CeH) -H
-M -S Z +S +M
-5
+H
-3 -2 -1 0 +1 +2 +3
+5 %
(b) Change error Humidity Figure 4 Rule and Membership function for control of humidity +
r1
x1
1 0 C= 0 1
x& = Ax + Bu
r2 r3 Set point
x2
k11x1+k12x2 k21x1+k22x2
Fuzzy Logic
k31x1+k32x2
Figure 5 Optimal fuzzy controller system of Drying Kiln
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
143
Table 3 Fuzzy relation rule with variable input and variable output of optimal fuzzy controller
If temperature is … -H -H -M -S -S Z +S +M +H +H
And Humidity is … +H +M +S Z -S -M -H -H -H +M
Then Gain of control K is …. K1 K2 K3 K4 K5 K6 K7 K8 K9 K10
6. Result of Simulation Simulation doing with used state matrix A and input matrix B at temperature and humidity of level the schedule of drying. The state and input matrix is a model system with the gain control Ki. The simulation used to rule optimal fuzzy controller to result the response of temperature in shown Figure 6 and response the humidity in shown Figure 7. Step-Response kontrol Td dari 30oC ke 60oC input u1 55
Temperatur chamber Td (oC)
50
45
40
35
30
0
0.1
0.2
0.3
0.4
0.5 0.6 t (menit)
0
0.7
0.8
0.9
1
0
(a) Td = 30 C up to 50 C Step-Response kontrol Td dipertahankan pada 50oC input u1 50.2 50.1
Temperatur chamber Td (oC)
50 49.9 49.8 49.7 49.6 49.5 49.4 49.3 49.2
0
0.01
0.02
0.03
0.04
0.05 0.06 t (menit)
0.07
(b). Td constant at 500C
0.08
0.09
0.1
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
144
Step-Response kontrol Td dari 50oC ke 55oC input u1 60 59.5
Temperatur chamber Td (oC)
59 58.5 58 57.5 57 56.5 56 55.5 55
0
0.01
0.02
0.03
0.04
0.05 0.06 t (menit)
0.07
0.08
0.09
0.1
4.5
5
(c). Td = 500C up to 550C Step-Response kontrol Td dari 55oC ke 60oC input u1 61
Temperatur chamber Td (oC)
60
59
58
57
56
55
0
0.5
1
1.5
2
2.5 t (menit)
3
3.5
4
(d). Td = 550C up to 600C Step-Response kontrol Td dipertahankan pada 60oC input u1
Temperatur chamber Td (oC)
60.8
60.6
60.4
60.2
60
59.8
0
0.02
0.04
0.06 t (menit)
0.08
(e). Td constant at 600C
0.1
0.12
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
145
Step-Response kontrol Td dari 60oC ke 65oC input u1 66
65
Temperatur chamber Td (oC)
64
63
62
61
60
59 0
0.01
0.02
0.03
0.04
0.05 0.06 t (menit)
0.07
0.08
0.09
0.1
(f). Td = 600C up to 650C Step-Response kontrol Td dari 65oC ke 70oC input u1 71
Temperatur chamber Td (oC)
70
69
68
67
66
65
0
0.5
1 t (menit)
1.5
2
(g). Td = 650C up to 700C Step-Response kontrol Td dari 70oC ke 75oC input u1 75 74.5
Temperatur chamber Td (oC)
74 73.5 73 72.5 72 71.5 71 70.5 70
0
0.5
1
1.5
2 t (menit)
2.5
(h). Td = 700C up to 750C
3
3.5
4
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
146
Step-Response kontrol Td dari 75oC ke 80oC input u1 81
Temperatur chamber Td (oC)
80
79
78
77
76
75
0
0.5
1
1.5
2
2.5 t (menit)
3
3.5
4
4.5
5
(i). Td = 750C up to 800C Step-Response kontrol Td dipertahankan pada 80oC input u1 80.2
Temperatur chamber Td (oC)
80
79.8
79.6
79.4
79.2
79
0
0.5
1
1.5
2 t (menit)
2.5
3
3.5
4
(j). Td constant at 800C Figure 6 Result of simulation for temperature chamber Step-Response kontrol Hd dari 60% ke 90% input u2 90
Humiditi chamber Hd (%)
85
80
75
70
65
60
0
5
10
15 t (jam)
(a). Hd = 60% up to 90%
20
25
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
147
Step-Response kontrol Hd diturunkan dari 90% ke 65% input u2 90
Humiditi chamber Hd (%)
85
80
75
70
65
60
0
5
10
15
20
25
t (jam)
(b). Hd = 90% down to 65% Step-Response kontrol Hd diturunkan dari 65% ke 60% input u2 65 64.5
Humiditi chamber Hd (%)
64 63.5 63 62.5 62 61.5 61 60.5 60
0
2
4
6
8
10 t (jam)
12
14
16
18
20
(c). Hd = 65% down to 60% Step-Response kontrol Hd diturunkan dari 60% ke 54% input u2 60
Humiditi chamber Hd (%)
59
58
57
56
55
54
53
0
2
4
6
8
10 t (jam)
12
14
(d). Hd = 60% down to 54%
16
18
20
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
148
Step-Response kontrol Hd diturunkan dari 54% ke 40% input u2 54 52
Humiditi chamber Hd (%)
50 48 46 44 42 40 38
0
2
4
6
8 t (jam)
10
12
14
16
(e). Hd = 54% down to 40% Step-Response kontrol Hd diturunkan dari 40% ke 34% input u2 40
Humiditi chamber Hd (%)
39
38
37
36
35
34
33
0
2
4
6
8
10 t (jam)
12
14
16
18
(f). Hd = 40% down to 34% Step-Response kontrol Hd diturunkan dari 34% ke 31% input u2 34
Hum iditi c ham ber Hd (% )
33.5
33
32.5
32
31.5
31
30.5
0
2
4
6 t (jam)
8
10
(g). Hd = 34% down to 31%
12
20
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
149
Step-Response kontrol Hd dipertahankan pada 31% input u2 32
Hum iditi c ham ber Hd (% )
31.8
31.6
31.4
31.2
31
30.8
0
2
4
6 t (jam)
8
10
12
(h). Hd constant at 31% Step-Response kontrol Hd dipertahankan pada 31% input u2 32
Humiditi chamber Hd (% )
31.8
31.6
31.4
31.2
31
30.8
0
1
2
3
4
5 6 t (jam)
7
8
9
10
11
(i). Hd constant at 31% Step-Response kontrol Hd dari 31% ke 60% input u2 65
Humiditi chamber Hd (%)
60
55
50
45
40
35
30
0
1
2
3
4
5 6 t (jam)
7
8
9
10
11
(j). Hd = 31% up to 60 Figure 7 Result of simulation for humidity chamber Rd
SCHEDULE OF OPTIMAL FUZZY CONTROLLER GAIN
150
(oC)
Temperatur Drying
Results of simulation are given in Figure 6 and Figure 7. They showed that the plant can use the schedule of the gain optimal fuzzy control with multi system model. Stability system reached success. The real time measurements of the temperature and humidity for solar energy wood drying process kiln are shown in Figure 8 and Figure 9. Result of Measrement Temperatur Drying 24 Mei 2008 - 11 Juni 2006
70 60 50 40 30 20 10 0 1
2577 5153 7729 10305 12881 15457 18033 20609 23185 25761 Time (menit) Figure 8 Real time measurement of temperature
HumidityDrying(%)
Result Of Measurement Humidity Drying 24 Mei 2006 - 11 Juni 2006 120 100 80 60 40 20 0
1
3208
6415
9622 12829 16036 19243 22450 25657 Time (menit)
Figure 9 Real time measurement of humidity
7. Conclusion The variable controls of solar energy wood drying process kiln are temperature and humidity. Use of the gain of optimal fuzzy control at solar energy wood drying process kiln at level multi system can to result the system doing is well. Used the Optimal fuzzy controller simplify of system in do with used the steady state equation. From the result simulation and riel time measurement as shown the set point variable of temperature and humidity reached with well. Used the optimal fuzzy control result effective the time and efficiency of energy.
8. References 1.
Xia, F., et all, Fuzzy Logic Based Feedback scheduler for Embedded Control System, ICIC, Copyright Springer-Verleg Berlin Heidelrg, Part II LNCS 3645, 2005, 453-462.
SITUMORANG, WARDOYO, HARTATI, ISTIYANTO
2. 3. 4. 5. 6. 7. 8.
9. 10.
11.
12.
13.
14.
15. 16.
17.
151
Lim P.K.and Natalie R.S.,; Climate control of a storage chamber using fuzzy logic; Proceedings of the 2nd ANNES IEEE, 1995. Russel, S.J. and Peter N, Artificial Intelligence A Modern Aproach, PrenticeHall, 1995. Lee C.S, and Chen-Yu.P; An Intelligent Fuzzy agent for meeting scheduling decision support system; Fuzzy sets and system, 2004, 467-488. Wang L.X, A course in Fuzzy Systems and Control, Prentice-Hall International, Inc, 1997. Joseph C.G and Gary D.R, Expert system Principle and Programming, Thomson Course Technoloy, Fourth Edition, Canada, 2005. Klir, G.J, and Bo Yuan, Fuzzy sets and Fuzzy Logic Theory and Applications, Prentice-Hall International, Inc, New York, 1995. Duenas, A., and Dobrila P, A new Approach to Multi Objective Single-Machine Scheduling Problem under Fuzziness, Decision Support in an uncertain and complex world: the IPIP TC8/WG8.3. International Conference, 2004 Ogata, K, Solving Control Engineering Problems with Matlab, Prentice Hall, Inc, 1993. Dion,J.M., L.Dugard, A.Pranco, N.M. Tri, J.W.Horwood., “MIMO Adaftive Constrained Predictive Control Case Study : An Environmental Test Chamber”, Automatica, 27, 1991, 611- 626, Pergamon-Press. Ho W.H., and Jyh-Horng Chou, Stable and Quadratic Optimal Fuzzy PDC Control for TS-Fuzzy-Model-Based Control System, Proceedings of the first International Conference on Innovative Computing, Information and Control (ICICIC’06) © IEEE Computer Society, 2006. Li. H., Zengqi Sun, Fengge Wu, Fuchun Sun, “Optimal Controller Design for a class of Networked Control System.”Technical Report: The work was supported by the National Key Project for Basic Research of Cina (Grant No. G2002cb312205 and National Science Foundation for key Technical Research of China (Grant No: 60334020), 2005. Laurenzi. W., V.Popa, Gh.Comsa, Computer Aided Design Of Drying Schedules In Order To Control The Drying Process, 8th International IUFRO Wood Drying Conference, 2003, 302 – 307. Nogueira, A., et all, 2005, Simulation and control strategies for an energetically efficient wood drying process, EFITA/WCCA Joint Congress on IT in Agriculture, Vila Real Portugal, 2005, 244 -251 Skuratov. N.V., Computer Simulation and Dry Kiln Control, 8th International IUFRO Wood Drying Conference, 2003, 406 – 412 Tang.K.S., Kim Funh Man, Guanrong Chen, and Sam Kwong,, An Optimal Fuzzy PID Controller, IEEE Transactions on Industrial Electronics, Vo. 48, N0. 4, 2001, 757 – 765 Wang, X.G. Liu, W. Gu, L. Sun, C.J. Gu, C.E. de Silva, C.W., Development of An Intelligent Control System for wood drying proceeses , Advanced Intelligent Mechatronics Proceedings. 2001 IEEE/ASME International Conference. Vol.I, 2001, 371 – 376.