ISSN ONLINE(2278-8875) PRINT (2320-3765)

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

Performance Analysis of Fuzzy PID Controller Response

Priya Prajapat1, Aditya Mandloi2
  1. PG Student, Department of ECE, Medicaps Institute of Technology & Management, Indore (MP), India
  2. Assistant Professor, Department of ECE, Medicaps Institute of Technology & Management, Indore (MP), India
Related article at Pubmed, Scholar Google

Visit for more related articles at International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

Abstract

There are two most important and advantageous systems are merge one is Fuzzy inference system and PID controller are come together. This paper propose improved fuzzy PID controller with methodology and mathematical model. Controller is to be constructing to control DC motor, we consider DC motor in terms of transfer function. The modelling control and simulation have been done using software package MATLAB/SIMULINK and also the control rules are established with the fuzzy logic.

Keywords

Fuzzy PID controller, MATLAB, Simulink.

INTRODUCTION

Fuzzy logic control is most winning applications of fuzzy set theory, introduced by L.A Zadeh in 1970’S and applied Mamdani in an attempt to control system that are structurally tricky to model. Since then, FLC has been tremendously active and fruitful research area with many industrial applications account. FLC has developed as a substitute or complementary to the conventional control policy in various manufacturing areas. Fuzzy control hypothesis usually endow with non-linear controllers that are accomplished of performing different complex non-linear control action, even for uncertain nonlinear systems. Imitating the way of human learning, the tracking error and the rate of the error are two crucial inputs for the design of such a fuzzy control system.
In spite of follow a line of investigation and the huge number of altered solutions anticipated, most industrial control systems are base on conventional PID regulators. Different sources estimate the share taken by PID controllers is between 90% and 99%. Some of the reasons for the situation more than 90% share taken by it are as follows [1]:
1. PID controllers are robust and simple to design.
2. There exists a clear relationship between PID and system response parameters. As a PID controller has only three parameters, plant operators have a deep knowledge about the influence of these parameters and the specified response characteristics on each other.
3. Many PID tuning techniques have been elaborated during recent decades, which facilities the operator's task.
4. Because of its flexibility, PID control could benefit from the advances in technology. This paper proposes a design strategy, which makes use of known PID design techniques, before implementing the fuzzy controller:
1. Tune a PID controller
2. Replace it with an equivalent linear fuzzy controller
3. Make the fuzzy controller nonlinear
Fuzzy controllers are inherently nonlinear controllers, and therefore fuzzy control technology viewed as a new, cost effective and realistic way of developing nonlinear controllers. The major advantage of this technology over the traditional control technology is its capability of take into custody and utilizes qualitative human experience and knowledge in a quantitative manner through the use of fuzzy sets, fuzzy rules and fuzzy logic. However, carrying out analytical analysis and design of fuzzy control systems is difficult not only because the explicit structure of fuzzy controllers is generally unknown, but also due to their inherent nonlinear and time-varying nature.
In this paper, Fuzzy PID controller that uses the simplified linear Mamdani scheme and show through computer simulation on MATLAB/ SIMULINK. The idea is to start with a conventional PID controller, replace it with an equivalent linear fuzzy controller, formulate the fuzzy controller nonlinear and eventually fine-tune the nonlinear fuzzy controller. This is relevant when a PID controller is possible or already implemented.

MATHEMATICAL MODEL

image

FUZZY CONTROLLER

Notions are very modest. They reside of three foremost stages as shown in Figure 2, an input stage, a processing stage, and an output stage.
The input stage maps sensor or other inputs, such as switches to the appropriate membership functions and truth values. The processing stage enables each rule and generates a result for each, then combines the results of the rules. Finally, the output stage converts the combined result back into a specific control output value.
image
As discussed previously, the most common shapes of membership functions used are triangular, trapezoidal, Gaussian and bell curves, but the shape is generally less important than the number of curves and their placement. The major components to strategy the fuzzy logic control are Fuzzification, knowledge base, decision making logic and Defuzzification

MAMDANI METHODE

This method was suggested as an attempt to control a steam engine and boiler combination by synthesizing a set of linguistic control rules achieved from experienced human operators. The source of knowledge of fuzzy logic to construct the control algorithm comes from the control protocol of the human operator. This protocol reside of a set of conditional (If-Then) statements, where the first part of each contains a so-called condition (antecedent)while the second (consequent) part deals with an action (control) that has to be taken. Therefore, it mimics the human strategy which control is to be realized when a certain state of the process controlled is observed. IF(a set of conditions are satisfied) THEN(a set of consequences can be inferred). In classical (crisp) logic, a proposition P is either true or false. In fuzzy logic, a proposition P is assigned a degree of truth or falsity (P can be any value on the interval [0, 1]) with the fuzzy set involved. A fuzzy logic proposition, P, it can be expressed as “IF x is A THEN y is B,” implying that P induces a possibility distribution of y given x. Basically, fuzzy control rules be responsible for a convenient way for expressing control policy and do foremost knowledge and have the form (Mamdani):
R1: if x is A1, … and y is B1 then z is C1
R2: if x is A2, … and y is B2 then z is C2
Rn: if x is An, … and y is Bn then z is Cn
image
In below table IF-THEN rules for fuzzy inference system is described.
image

SIMULINK MODEL OF FUZZY PID CONTROLLER

By using MATLAB/SIMULINK simulation model is constructed as shown in figure 3 below:
image
The very first block is reference or step i.e., input parameters are set as shown in table below:
image
Unit Delay: sample and hold with one sample period delay.
Sum: Add or subtract inputs. Specify one of the following:
 String containing + or - for each input port, | for spacer between ports (e.g. ++|-|++)
 Scalar, >= 1, specifies the number of input ports to be summed. MUX: many input and give one output, parameters are depend on designer. Here we use following parameter as shown in Table 2
image
Fuzzy logic controller: Fuzzy Membership function editor, where the number of membership functions and type of membership function is decided.

5 steps to generate fuzzy rules from numerical data:

• Divide the input and output spaces of the given numerical data into fuzzy regions.
• Generate fuzzy rules fro
• m the given data.
• Assign a degree of each of the generated rules for the purpose of resolving conflicts among the generated rules.
• Create a combined fuzzy rule base based on both the generated rules and linguistic rules of human experts.
• Determine a mapping from input space to output space based on the combined fuzzy rule base using a defuzzifying procedure. By using these rules we made nine rules shown in figure below:
image
Last block of simulation model is DC motor, which is in terms of transfer function and to construct it following parameter shown in table 3 are set:
image
Transfer function of DC motor:
image
The values of individual parameter are set by using functional block parameter of DC motor in SIMULINK as shown in figure 5 below:
image

RESULT

Figure 6 shows simulation result of Fuzzy PID controller which control DC motor. From figure it is clearly visible that reference or ideal response not exceed by actual output on behalf of which we can say that there is no overshoot or zero overshoot.
image
Figure 7 shows rise time (represented by tr) of the output response is 3.655 this is enlarge view of above result.
image
. Settling time represented by ts. Figure 8 shows settling time of the output response.
image
In following table shows the output response of FPID Controller in term of Rise time, settling time and overshoot.
image

FUTURE SCOPE

Illustrated PID controller also has developed with all fuzzy rules for designing the hardware PID chip using VHDL. Then, the synthesize tool has used to get the logic gates of hardware PID modules. Numerous PID controllers be capable of realize on a solo FPGA chip together with coefficient calculation and auto tuning.
By reason of the utilization of Arithmetic algorithm, the number of PID controllers on solitary FPGA chip can be increased hugely. The compensation is high processing speed, reduced power consumption and hardware compatibility for implementing on FPGA. The designed FPID chip can be used to the targeted application. There is no doubt in use and application of controller and not only in electronics but also in bio medical equipments for most sensitive disease like insulin pump for diabetic patients, temperature controller etc.

CONCLUSION

We have developed the Fuzzy PID Controller algorithm using MATLAB/SIMULINK platform. The described PID controller also has developed with all fuzzy rules. Firstly we design the PID controller with transfer function (DC motor) as a plant. But the result of transfer function is poor with only PID. So that fuzzy controller is combined with PID controller. With fuzzy PID controller the performance of transfer function is better than PID controller. Like rise time is increase, settling time is decrease, zero overshoot.

References