Design of A Fuzzy Logic Process Controller For Flow Applications
Design of A Fuzzy Logic Process Controller For Flow Applications
net/publication/283107686
CITATIONS READS
2 230
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Tareq Aziz Hasan AL-Qutami on 17 January 2016.
Abstract— Flow control is essential in many industrial PID is a linear-type controller and hence is only efficient for a
applications such as chemical reactors, heat exchangers and limited operating range when used to control non-linear
distillation columns. Most industrial processes exhibit processes[5]. But most of the industrial processes exhibit
nonlinearities and inherit dead time, which limit the performance nonlinear characteristics and inherit long dead-time such as
of conventional PID controllers. This Project aims to design and
flow, PH and temperature [5, 6]. Moreover, parameters tuning
implement Fuzzy Logic Controller (FLC) for flow control
applications. The objective is to overcome problems inherited is sensitive and has to be changed with changing process
with conventional PID control scheme such as handling conditions and requires expertise in order to be tuned properly
unpredictable disturbance, non-measurable noise as well as [7]. These reasons led to the development of advanced
further improve the transient state and steady state response nonlinear controllers such as MPC, Fuzzy logic and Neural
performance. The proposed control scheme is implemented in Networks based controllers.
Flow Control and Calibration Pilot Plant. The design is done The objectives of this project are to design advanced controller
using Matlab/Simulink software package and is connected to the for flow process using Fuzzy Logic principles then implement
Pilot Plant through USB-type DAQ cards. Simulation and the designed strategy onto a Pilot Plant followed by
implementation results showed that the developed controller has
comparison between current PID control strategy and the
less overshoot, good control performance, better disturbance
handling ability, great robustness and is more flexible and proposed advanced controller in terms of control performance
intuitive to tune. It is expected that this advanced controller and handling disturbances.
improves efficiency and productivity of industrial processes
through proper handling of any disturbance or noise and Using limited experimental data to generate a reliable empirical
increase the robustness of controller actions. model is a challenging task especially for MIMO and nonlinear
processes. Traditionally, statistical models are developed using
Index Terms—PID, Fuzzy Logic control, flow rate control, these experimental data. However it is still hard to choose the
process control, disturbance handing, series tanks flow process,
most appropriate model structure and parameters.
Fuzzy Logic Controller tuning.
Mathematical modeling for some processes like flow is not
easy and therefore model based control is not possible [8]. It
I. INTRODUCTION seems that new methodologies for efficient control and
Precise measurement of flow is essential in the process modeling are required. This is where Fuzzy Logic and Neural
industries to ensure proper rate of supply of ingredients during Networks come in [7].
mixing and blending of materials and to avoid any high rate
that may cause temperature or pressure to reach dangerous
levels, or spilling of materials. Furthermore, Flow II. FUZZY LOGIC
measurement is used in custody transfer and is essential for Fuzzy Logic is a mathematical system that can deal with
accounting and payment purposes [1, 2] . Flow measurement is uncertain and ambiguous information which is complex to
classified into volumetric flow rate (Liters/min, ft3/s, gallons/s), calculate by means of conventional mathematics [8]. Fuzzy
mass flow rate (fluid mass per unit time like kg/h) and flow Logic uses Fuzzy sets in continuous interval [0, 1] rather than
velocity (kg/h or Ib/h) [1]. two-valued logic (0, 1) or crisp set. Fig. 1. shows the general
The most widely used controllers in industry are PID configuration of Fuzzy Logic system. Fuzzification interface
controllers in eq. (1) because of their simple structure and converts crisp input to a linguistic variable using membership
satisfactory performance as long as they are properly tuned [3, functions while Defuzzification interface converts the fuzzy
4]. (1) output into crisp number using membership functions.
Common Defuzzification methods are Centroid of Area, Mean continuously stirred tank reactor. Prior knowledge divides the
of Maximum and Largest of Maximum. process into Fuzzy regions that are used to propose Fuzzy
control scheme, besides secondary variable is used to identify
the operating region. As well as several other Fuzzy controllers
were developed for several processes involving disturbance,
nonlinearity and long dead-time and proved to have
improvements over the conventional controller.
Hybrid Fuzzy-PID controllers were developed for several
processes such as polymerization process which was proven to
be more reliable than conventional PID, batch time and the
energy consumption were reduced for batch distillation column
process [15]. Simple tuning mechanisms for PID controllers
were developed using Fuzzy logic for SISO and MIMO
Fig. 1. Basic configuration of Fuzzy Logic system systems and were tested on coupled double tank plant where
water level is the controlled variable and results showed better
Rule base is set of if-then statements that represent expert’s
performance and rejection of disturbance associated with tank
linguistic knowledge while Decision-making unit converts
nonlinearity than conventional PID [16]. Lastly, a Fuzzy Logic
Fuzzy inputs to Fuzzy outputs using the Rule Base and
incremental-type controller was implemented to regulate flow
determines how rules are activated and combined using
rate between two water tanks using 9 MFs 2 inputs Mamadani
operators such as AND, OR, and NOT operators. Fuzzy
FIS [17].
Inference System (FIS) combines rule base and decision-
making unit and most common FIS are Mamadani [9] and IV. FUZZY LOGIC CONTROLLER STRUCTURE
Takagi and Sugeno[10]Fuzzy Inference Systems.
Different structures of FLCs have been developed, most
General FLC block diagram is shown in Fig. 2. The inputs to
common ones are:
most of FLCs are the error and error rate of change; the outputs
1. FPD Controller: Fuzzy PD controller in Fig. 3. has
go through scaling functions and then fed to the final element
advantage of less overshoot due to the use of derivative term
(e.g. Control Valve).
however it is sensitive to noise and an abrupt change of the
reference causing a derivative kick [18].
NB NM NS ZE PS PM PB
1
0.8
Degree of membership
0.6
0.4
0.2
10
TABLE II. OPERATING REGIONS AND APPROPRIATE ACTIONS
20
Simulations were based on the FODT model in Eq. 3, a result
from empirical modeling on the Pilot Plant. 15
10
0
0 1000 2000 3000 4000 5000 6000
100 samples/s
ig. 11. shows the results of a step change of 20 l/min for PID
F Fig. 14. Response of PID and FLC to Random steps (aggressive tuning)
and FLC, FLC clearly performs better in both transient and
steady state. Both controllers were tuned such that no We conclude from the simulation results that FLC has better
overshoot happens. Fig. 12. shows response due to several performance and that is due to the nonlinearity inherited
random changes to ensure FLC has same performance within the design and the proper handling of error rate and its
throughout the whole range and using different step size. influence on the change in control action.
VIII. EXPERIMENTAL RESULTS
SP
20
PID This section aims to validate the controller design through
FLC real system implementation in the Pilot Plant which is two
15
flow rate (l/min)
35
Fig. 11. Response of PID and FLC to step change
40 SP 30
PID
35
FLC
30
25
flow rate (l/min)
25
0
0 1000 2000 3000 4000 5000
100 samples/s
Fig. 12. Response of PID and FLC due to random steps
40
SP X. CONTROLLERS TUNING PROCEDURE
PID
FLC Tuning stage usually requires experience and some intuition;
flow rate (l/min)
35
however there are some guidelines that can be followed in
30 order to accelerate tuning:
25
1. All gains are initialized to zero.
2. Identify the range of the system and modify GE to scale to
20 the range of FIS universe [-30 30], the maximum E must not
1000 1500 2000 2500 3000 3500 4000 4500 5000 5500
100 samples/s
go beyond limit of universe, i.e. |Emax*GE|=|Universemax|.
Fig. 16. Response of PID and FLC due to random steps 3. Increment GCU until you have zero steady state error and
the response starts to oscillate, good initial value is Ki/1.2
FLC has generally better tracking performance, faster rise from conventional PID gains.
time and settling time, less overshoot compared to PID. 4. Increment GCE until the oscillation is removed or the
TABLE III. Summarize the results from both simulation and response starts to undershoot, good initial value is Kp/2 from
implementation. conventional PID gains.
5. Alternate between incrementing GCU and GCE until there
TABLE III. RESPONSE CHARACTERISTICS FOR CONTROLLERS is overshoot followed by undershoot.
6. Alternate between incrementing GU and decrementing GCE
Mode Simulation Implementation
until you get the best rise time, minimum overshoot and no
Parameter/Controller PID FLC PID FLC undershoot.
Settling Time (s) 3.9 1.9 3.8 1.4 7. To improve the performance further, increment GEU
Overshoot (%) 0.7 0.5 0.7 0.6 slightly to get better rise time, and then repeat steps 4-6 to
Rise Time (s) 0 0 12.4 2.2 remove any overshoots but this time consider either
incrementing or decrementing each gain depending on the
response, this is done through observation of the effect of each
IX. DISTURBANCE HANDLING gain and intuition.
In this segment controller performance is examined when XI. CONCLUSION
subjected to sudden disturbance using the manual valves in the
pilot plant. Changing Hand Valves 101 and 121 to 20% Fuzzy Logic-based controllers exhibit far better control
opening will reduce the flow rate (MV), then waiting until the performance and stability than conventional PID controllers,
controller adjusts the Control Valve to make PV equal to MV, they are flexible and can handle any sudden changes or
then changing both Valves back to 100% as fast as possible disturbances on the system. It is expected that the efficiency of
will create a disturbance in MV that controller has to handle. the process and ability to handle any disturbances will be
Fig. 17. shows the results. increased dramatically. The designed system can then be
transferred into real industrial processes through the use of
FLC disturbance response modern PLCs which support Fuzzy Logic; such PLCs are
MV
37 PV
available nowadays from different manufacturers such as
36 Siemens and Omron. Furthermore, Fuzzy Logic Controller
PV(l/min), MV(%)