• No results found

Development Of Control System For Solar Plant Using Genetic Fuzzy PID Techniques

N/A
N/A
Protected

Academic year: 2020

Share "Development Of Control System For Solar Plant Using Genetic Fuzzy PID Techniques"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Development Of Control System For Solar Plant

Using Genetic Fuzzy PID Techniques

Thae Nu Wah, Hla Myo Tun

Abstract: This research introduces an optimal fuzzy Proportional Integral-Derivative (PID) controller for a solar power plant. The fuzzy PID controller is a discrete-time version of the conventional PID controller, which preserves the same linear structure of the proportional, integral, and derivative parts but has constant coefficient, self-tuned control gains. The constant PID control gains and other control parameter are optimized by using the multi objective Generic Algorithm (GA), thereby yielding an optimal fuzzy PID controller.

Keywords: Solar Plant, Control System, Genetic Fuzzy Logic, PID Control, Analysis

————————————————————

Introduction

Conventional PID controllers have been well developed and applied for about half a century [1], and are extensively used for industrial automation and process control today. The main reason is due to their simplicity of operation, ease of design, in expensive maintenance, low cost, and effectiveness for most linear systems. Recently, motivated by the rapidly dev eloped advanced micro-electronics and digital processors, conventional PID controllers have gone

through a technological evolution, from pneumatic

controllers via analog electronics to micro-processors via digital circuits [1, 5]. However, it has been known that conventional PID controllers generally do not work well for nonlinear systems, higher-order and time-delayed linear systems, and particularly complex and vague systems that have no precise mathematical models. To overcome these difficulties, various types of modified conventional PID controllers sue h as auto-tuning and adaptive controllers were developed lately [5]. Also, a class of non-conventional type of PID controllers employing fuzzy logic have been designed and simulated for this purpose [4, 5, and 12]. Stability of these fuzzy PID controllers are analyzed and guaranteed [4, 5, and 12]. Many simulation examples have been given to show the superior performance of this class of fuzzy PID controllers. Yet, despite the significant improvement of the fuzzy PID controllers over their classical counterparts, the constant control gains of these controllers are tuned manually; so generally do not achieve their best performance due to the lack of optimization.

System Implementation

The optimal fuzzy controller is designed based on the genetic algorithms to search the optimal range of the membership functions, the optimal shape of the membership functions and the optimal fuzzy inference rules (FLC with GAs). In Table.1, a fuzzy inference rules for Membership Function of Fuzzy Logic Controller is described.

In the rule base system, it consists of nine rules for output of Fuzzy-PID.

 If reference rotation is negative (N) and error rotation is negative (N) then solar plant control is negative (N)

 If reference rotation is (N) and error rotation is (Z) then solar plant control is (N)

 If reference rotation is (N) and error rotation is (P) then solar plant control is (Z)

 If reference rotation is (Z) and error rotation is (N) then solar plant control is (Z)

 If reference rotation is (Z) and error rotation is (Z) then solar plant control is (Z)

 If reference rotation is (Z) and error rotation is (P) then solar plant control is (Z)

 If reference rotation is (P) and error rotation is (N) then solar plant control is (Z)

 If reference rotation is (P) and error rotation is (Z) then solar plant control is (P)

 If reference rotation is (P) and error rotation is (P) then solar plant control is (P)

Table.1. Optimal Fuzzy Rules

Solar Plant Control

Reference Rotation

N Z P

Error Rotation

N N Z P

Z N P P

P N P Z

Table.2. Fuzzy Inference Rules

Solar Plant Control

Reference Rotation

N Z P

Error Rotation

N r1 r4 r7

Z r2 r5 r8

P r3 r6 r9

_______________________________

Thae Nu Wah, Hla Myo Tun

Department of Electronic Engineering, Technological

University (Mawlamyine)

Department of Electronic Engineering, Yangon

(2)

96

µ A

P

0 . 1 - 0 . 1

N

0 Z

µ (A) Reference Rotation P 10 - 10 N 0 Z µ B P 25 - 25 N 0 Z Reference

Rotation1 Reference Rotation2 Reference Rotation3 Error Rotation Error Rotation1 Error Rotation2 Error Rotation3 Solar Plant Control Solar Plant

Control1 Solar Plant Control2 Solar Plant Control3

Figure.1. Membership Function of Fuzzy Logic Controller with GAs

Table.3. Parameter of Genetic Algorithms

Population 15 Generation 50

K1 and K2 0 ~ 5 Crossover 0.9

Min-offset 6000 Mutation 0.08

Reference

Rotation1 -10 ~ 0

Reference

Rotation2 10 ~ 10

Reference

Rotation3 0 ~ 10 Error Rotation1 -0.1 ~ 0

Error Rotation2 -0.1 ~

0.1 Error Rotation3 0 ~ 0.1

Solar Plant

Control1 -25 ~ 0

Solar Plant

Control2 25 ~ 25

Solar Plant Control3 0 ~ 25

In Table .3, to obtain the globally optimal values, parameters of the fuzzy controllers are obtained by means of genetic algorithms. Genetic Algorithms is a stochastic optimization algorithm is originally motivated by the mechanisms of natural selection and evolutionary genetics. The GAs serves as a computing mechanism to solve the constrained optimization problem resulting from the motor control whether the genetic structure encodes some sorts of automation. All genetic algorithms contain three basic operators: generation, crossover and mutation. Generation is the process by which strings with better fitness values receive corresponding better copies in the new generation. The corresponding evaluation of a population is called the "fitness function." The fitness value is bigger, and the performance is better. The fitness value and the number of the generation determine whether the evolution procedure is stopped or not. The selection operation decides which

parents take part in reproducing offspring for the next generation. The crossover operation is applied to generate new chromosomes. Mutation is a method to find the global optimal values. The ―standard‖ GA values of population are 50. A fixed maximum number of objective function evaluations are allowed and this is set at 6000. According to this table, 15 parameters for the fuzzy inference rules are described that Reference Rotation, Error Rotation and Solar Plant Control. Mutation is a method to find the globally optimal values. The optimal Solar Plant Control is 0.08. K1 and K2 are the range of the membership functions. This values are 0~5. Reference Rotation1 ~ Reference Rotation3 are the shape of the membership function for reference speed (- 10 ~ 0, - 10 ~ 10, 0 ~ 10). Error Rotation1 ~ Error Rotation3 are the shape of the membership functions for Error Rotation ( - 0.1 ~ 0, - 0.1 ~ 0.1, 0 ~ 0.1 ). Solar Plant Control1 ~ Solar Plant Control3 are the shape of the membership functions for Solar Plant Control ( -25 ~ 0, - 25 ~ 25, 0 ~ 25 ).

Calculation for the Control System

Let the reference speed will be -10, 0 and 10, the error speed will be – 0.1, 0 and 0.1. If so, the target speed can be computed.

Reference Speed = N ( - 10 ), Z(0) and P (10).

Error Speed = N ( -0.1 ), Z(0) and P (0.1).

μ(A)

Reference Rotation N

Z P

-10 0 10

Figure.2. Reference Speed

µ (A) P 0.1 -0.1 N 0 Z Error Rotation

Figure.3. Error Speed

ForNegative (N), by using max – min composition relation;

μ

Bu(t) = max {min (-10,-0.1), min (-10,0), min (-10,0.1)}

= max {-10,-10,-10} = -10 for Zero (Z);

Bu(t) = max {min (0, -0.1), min (0, 0), min (0, 0.1)}

= max {0, 0, 0} = 0 for positive (P);

μ

Bu(t) = max {min (10, -0.1), min (10, 0), min (10, 0.1)}

(3)

By using Centroid method; for target speed (

μ

Bu(t) )

Z* =

μ

c

(Z)dz

(Z).Zdz

c

μ

(1) For Negative (N);

Z =

100

10

5

5

.

0

= -25 For Zero (Z);

Z =

0

0

5

.

0

= 0 For Positive (P);

Z =

0

.

1

5

5

.

0

= 25

So, if the reference speed is (-10, 0 and 10) and error speed is (-0.1, 0 and 0.1) then the target speed is (-25, 0 and 25).

µ

(B)

P

25

-25

N

0

Z

Solar Plant Control

Figure.4. Target Speed

Fuzzification for Flowchart Explanation

In this system, there are two main parts: GUI-main function and the operation of the solar plant control system by using the method of genetic algorithms. If the shape of the membership function for the output is not reached the solar plant control (-25~0~25), the program flow returns to GUI-main function. In the GUI-GUI-main function, it can operate the error speed by comparing the reference speed calculably with GAs control. In the system, there are nine rules for the fuzzy membership function. And then, GAs computes the membership function to get the stability condition. Finally, if the error speed is zero condition, the system is stable. And so, the solar plant control is proposal to the desired speed. In this solar plant control function, it can initialize the fuzzy rules system for the main fame. Fig. 5 describes how the main fame is created and the current variable Name display is shown in details. And then, how to compute the selected method and to get the best performance for the system by using FLC is also demonstrated.

Figure.5. System Flowchart

Simulation Results for Optimal Fuzzy Rules

According to the rule-base, the fuzzy-logic based optimal fuzzy rules are implemented by FIS editor from MATLAB. The reference rotation function and error rotation function as input of fuzzy controller for solar plant control system are illustrated in Figure.6 and 7.

Figure.6. Rule-base for Reference Rotation Function of Fuzzy-logic Based Reference Rotation

Figure.7. Rule-base for Error Rotation of Fuzzy-logic Based Error Rotation

Start

Reference and Error Rotation

Fuzzy Rule Creation

Develop the Fuzzy Inference System (FIS)

Rules for Membership Function

Fuzzy PID Controller with Genetic Algorithm For

Solar Plant Control

Manage the Specified Rotation

Meet Performance Specification?

Surface Viewer for Solar Plant Control

(4)

98

Figure.8. Rule-base for Fuzzy-logic Based Solar Plant Control

Figure.9. Rules for Fuzzy-logic Based Solar Plant Control

Based on the input functions from fuzzy-logic based optimal fuzzy rules, the control rule-base is developed and the simulation result for fuzzy-logic based optimal fuzzy rules is also illustrated in Figure.8. The simulation results of surface viewer for fuzzy-logic based optimal fuzzy rules and the rule viewer for fuzzy-logic based optimal fuzzy rules are also shown in Figure.9 and .10 respectively. The surface viewer is also illustrated in Figure. 11.

Figure.10. Rule Viewer for Fuzzy-logic Based Solar Plant Control

Figure.11. Surface Viewer for Fuzzy-logic Based Solar Plant Control

Simulation Results for Solar Plant Control

(5)

Figure.12. Rule-base for Reference Rotation of Fuzzy-logic Based Reference Rotation

Response of Fuzzy PID Controller

According to the fuzzy PID controller using genetic algorithm, the response for performance evaluation of fuzzy PID controller is developed by using MATLAB. The simulation result for fuzzy PID controller is illustrated in Figure.17.

Figure.12. Rule-base for Error Rotation of Fuzzy-logic Based Error Rotation

Figure.13. Rule-base for Solar Plant Control of Fuzzy-logic Based Solar Plant

Figure.14. Rules for Solar Plant Control of Fuzzy-logic Based Solar Plant

Figure.15. Rules Viewer for Solar Plant Control of Fuzzy-logic Based Solar Plant

(6)

100

Figure.17. Response of Fuzzy PID Controller

Conclusion

This research describes the design of an optimal fuzzy Proportional-Integral-Derivative (PID) controller for the solar plant at Myanmar. The design parameters of the Fuzzy PID controller are optimized by using Generic Algorithm. With the multiple objective approach adopted, a well distributed Pareto set of solutions is obtained to address the conflicting control design specifications. Finally, the simulation result demonstrated that the controller can provide a well tracking behavior against the system variations. An integrated fuzzy logic-based solar plant control scheme is developed to develop the rural area. In this novel plant control design scheme, a fuzzy optimal fuzzy rule is first designed with the aim to provide a superior plant control, to lessen control energy consumption and to increase the solar plant control. For the second part, a solar plant control is developed with the aim to eliminate the engagement error caused by the error rotation and to fulfill the engagement the required rotation. Extensive numerical verifications and examinations show that the proposed design provides satisfactory performance from the viewpoint of PID controller on the system performance.

Acknowledgement

The author would like to acknowledge many colleagues from the Automatic Control Engineering under the Department of Electronic Engineering of Yangon Technological University.

References

[1] S. Bennett, "Development of the PID controller, "IEEE Control Systems Magazine, December,1993, pp. 58-65.

[2] E.F. Camacho, F.R. Rubio and J.A. Gutierrez,

"Modeling and Simulation of a Solar Power Plant System with a Distributed Collector System," Int. IF A CSysm on Power Systems Modeling and Control Applications, Brusels, 1988, pp.l1.3.1-11.3.5.

[3] E. F. Camacho, F. R. Rubio and F.M. Hughes, "Self-tuning Control of a Solar Power Plant with a Distributed

Collector Field," IEEE Control Systems Magazine, 1992, pp.72-78.

[4] J. Carvajal, G. Chen, and H. Ogmen, "Fuzzy PID

controller: Design, performance evaluation, and stabilit J' analysis," Inform. Sci., 2000, in press.

[5] G. Chen. "Conventional and fuzzy PID controllers: An overview," Int. J. of In tell. Contr. Sys., vol. 1, pp. 235-246, 1996.

[6] C.M. Fonseca and P.J. Fleming, "Multi objective

optimization and multiple constraint handling with evolutionary algorithms - Part I: A unified formulation," IEEE Trans. on Systems, Man and Cybernetics Part A: Systems and Humans, v ol, 28, no. 1, pp. 26-37, January, 1998.

[7] D.E. Goldberg and J.Richardson, "Genetic algorithms

with sharing for multimodal function optimization, »

Proc.2nd Int. Conlon Genetic Algorithms (J.J.

Grefenstetteed.), pp. 41-49, Lawrence Erlbaum, 1987.

[8] D.E. Goldberg, "Genetic Algorithms in search,

optimization and machine learning", Addison Wesley, 1989.

[9] J .H. Holland, "Adaptation in Natural and Artificial Systems", MIT Press, 1975.

[10]K.F. Man, K.S. Tang and S. Kwong, Genetic algorithms:

Concepts and designs, Springer Verlag London, 1999.

[11]Z. Michalewicz, "Genetic Algorithms + Data Structures =

Evolution Program", 3nd Ed., Springer-Verlag, 1996.

[12]D. Misir. H. A. Malki, and G. Chen, "Design and analysis

References

Related documents

Two possible events are meant to resume the activity of waiting tasks: an I/O operation on a SCSI or network device performed by other tasks or the expiration of their timer. When

Slide 5.2: Lesson one covers trial types, trial design, the role of Clinical Supply Chain in a clinical trial, clinical trial terms, and critical CSC milestones.. We’re describing

The Card Acceptor hereby accepts, in accordance with the contents of the Special Membership Conditions signed by both parties, and this Framework Contract, all

There are much difference between the inner layer and the outer layer of shell in the numerical value and the distribution of equivalent plastic strain. Figure 12 shows that

In order to present that close analysis the specific work the breast care nurse participants offered as the nature and scope of their work associated with sexuality and body image

Currently, it is believed that infection with the human papillomavirus (HPV), especially its oncogenic types 16 and 18, is of fundamental importance in the

These demographic variations across states not reflected in national trends have important implications for the role of public 2-year colleges in Latino male educational