Next Article in Journal
Kalman Filter Implementation of Subglottal Impedance-Based Inverse Filtering to Estimate Glottal Airflow during Phonation
Previous Article in Journal
Effective and Low-Maintenance IMTA System as Effluent Treatment Unit for Promoting Sustainability in Coastal Aquaculture
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fuzzy Regulator for Two-Phase Gas–Liquid Pipe Flows Control

Institute of Applied Computer Science, Lodz University of Technology, Stefanowskiego 18, 90-537 Lodz, Poland
*
Author to whom correspondence should be addressed.
Submission received: 9 December 2021 / Revised: 27 December 2021 / Accepted: 30 December 2021 / Published: 31 December 2021
(This article belongs to the Section Applied Industrial Technologies)

Abstract

:
The paper presents an intelligent module to control dynamic two-phase gas–liquid mixtures pipelines flow processes. The module is intelligent because it uses the algorithm based on AI methods, namely, fuzzy logic inference, to build the fuzzy regulator concept. The developed modification has allowed to design and implement the black-box type regulator. Therefore, it is not required to determine any of the complicated computer models of the flow rig, which is unfortunately necessary when using the classic regulators. The inputs of the regulator are four linguistic variables that are decomposed into two classes and two methods of fuzzification. The first input class describes the current values of gas and liquid pipe flows, which at the same time are the controlled values manipulated to generate desired flow type. The second class of the input signals contains a current flow state, namely, its name and the name preferred by the operator flow type. This approach improves the control accuracy since the given flow type can be generated with different gas and liquid volume fractions. Those values can be optimized by knowing the current flow type. Moreover, the fuzzification algorithm used for the input signals included in the first-class covers the current crisp signal value and its trend making the inference more accurate and resistant to slight measurement system inaccuracy. This approach of defined input signals in such environments is used for the first time. Considering all mentioned methods, it is possible to generate the desired flow type by manipulating the system input signals by minimum required values. Furthermore, a flow type can be changed by adjusting only one of the input signals. As an output of the inference process, two linguistic values are received, which are fuzzified adjustment values of the liquid pump and gas flow meter. The regulator looks to be universal, and it can be adopted by multiple test and production rigs. Moreover, once configured with a dedicated rig, it can be easily operated by the non (domain) technical staff. The usage of fuzzy terms makes understanding both the control strategy working principles and the obtained results easy.

1. Introduction

In the frame of this work, the fuzzy regulator dedicated to flow processes control in the laboratory or industrial rigs was constructed. Some of the significant improvements of the classic fuzzy regulator were developed and tested. Due to the new features, the two-phase flow type can be tuned by adjusting one control parameter. It will be shown within this paper that the application of the fuzzy logic mechanism to control the dynamic processes such as a two-phase gas–liquid mixture pipe flow allows to design and implement the black-box type [1] regulator. It is not required to determine any complicated computer models of the flow rig [2], which, unfortunately, is necessary when using the classic regulators. In addition, it is easily possible to understand the following stages of the control process which seems to be an advantage from the technical point of view. This is because the idea of control reflects an expert method of the control process [3].

2. The Two-Phase Gas–Liquid Mixtures Flow

The two-phase gas–liquid flows belong to the most rapidly growing trend in fluid mechanics research. In recent years, there has been significant but still insufficient progress in broadening knowledge about these industrial processes. The two-phase pipe flows arouse growing interest because of their great practical significance. They are closely related to the rapidly developing research fields in bioprocess engineering, biotechnology, environmental engineering, energy, and many other related areas.
The two-phase gas–liquid pipe flows are components of many industrial processes [4,5]. Some of them are the aeration processes in chemical and bio-reactors, flotation processes, and water and sewage aeration systems. The main task of the aeration system is the production of an adequate fraction of aerated liquid and oxygen. The oxygen injection process is essential since the proper liquid circulation must be achieved. It helps to intensify a mass transfer process. One of the fundamental problems in this matter is an appropriate evaluation of the surface between two phases (i.e., gas and liquid)—so-called inter-phase surface. This crucial parameter from the mass transfer point of view is a subject of the research made by the scientific community. A significant effort has been made in the field of numerical modelling. In particular, the fractional volume-of-fluid (VOF) concept [6] has been adapted to simulate the dynamics of free boundaries. The combined method with the height–function interfacial curvature estimation was presented in [7]. The VOF technique has also been recently applied to simulate gas–liquid flows of scientific and practical interest [8,9,10].
The two-phase flow processes also occur in the bubble columns where the various physical and chemical processes occur. To determine the intensity of these processes, the size of the inter-phase surface should be controlled. For example, in air-lift columns and ejectors [11], the movement of the liquid stream is forced by the gas stream. Such devices are commonly used in extractive industries (e.g., flotation processes) or to precipitate some fraction of liquid in the sedimentation processes, such as degreasing where the size of bubbles is significant.

2.1. Characteristics of the Flow Types

Prediction of the two-phase gas–liquid pipe flows features is one of the biggest challenges in such a mixture domain. It is even more challenging since multiple variables affect such prediction, including pipeline orientation, phases contribution, pipeline geometry, and even gravity (pushing the gas phase to the top of the pipeline in a horizontal direction). In the horizontal pipeline orientation, there are six basic flow types recognized [7]: plug, slug, dispersed, wavy, annular, and stratified. There are also additional hybrid flow types keeping the features of two or more basic types. Those can be defined as transitional flows; however, there is a need to add an additional description since there will be a slight difference between the transitional flow of slug and plug types and transitional flow of slug and wavy flows. The flow regimes with the transition borders are often reported on flow maps, showing how the different two-phase pipe flows can be generated by varying the inflow conditions. Figure 6 presents the map of flow types that have been identified (see details in Section 6) for the flow rig (see details in Section 3) during experiments in the current work. However, in Figure 6 the reader may be familiar with qualitative CCD images of the mentioned flow types. The observed structures of the gas–liquid mixture flow in the pipes of the vertical ascending movement are compatible with those presented by Nicklin and Davidson [12]. These structures have been used to classify these types of flow. Five basic flow patterns known as bubble flow, slug flow, foam flow, ring flow, and dispersion flow are characterized. When the two-phase mixture is flowing from the top to bottom (counter-flow), the flow structures were defined by Oschinowo and Charles [13]. It is worth noting that these structures relate to the two-phase mixtures of liquids with a high viscosity—not exceeding 100 mPa·s. For liquids with higher viscosity, the flow structures have to be defined differently [14].

2.2. Flow Type Recognition

From a variety of industry-oriented imaging solutions’ points of view, the electrical capacitance tomography (ECT) [15,16,17,18,19,20,21,22,23,24,25,26] applied to the two-phase gas–liquid mixtures visualization [27] and the phase distribution calculation [28] is getting popular, especially when flow key parameters are required. Industry demands notably include efficient non-invasive automatic phase fraction calculation and flow structure recognition in the vertical and horizontal pipelines. This can be solved by using non-deterministic fuzzy-logic-based techniques for the analysis of volumetric images. The authors developed the automated two-phase gas–liquid flow type recognition based on a fuzzy evaluation of a series of reconstructed 3D ECT volumetric images [29] and the raw 3D ECT measurement data [30]. The set of fuzzy-based features was calculated for flow substructure classification. As a result of this analysis, the obtained features were used to classify given diagnostic information (reconstructed images or raw measurement data) into one of the known flow regime structures.
Authors demonstrated in their works that recognizing the two-phase vertical and horizontal flow substructures is possible using the information provided by the spatial analysis of the large set of three-dimensional images and measurement data generated by a non-invasive 3D ECT system. The flow substructures recognition was successfully performed using fuzzy logic inference with very high classification accuracy as good as the human expert work. The classification process of the two-phase flow substructures provides valuable information to construct more accurate two-phase flow maps [12] and reliable industrial process control and diagnosis. Due to the efficiency of the proposed flow evaluation technique and fast 3D image reconstruction [31], the CUDA development library was implemented [32]. Therefore, this process was done in online mode and was limited only by the 3D ECT hardware that could provide input measurement data with a speed of 12 fps.
The signal of recognized flow type will be given as an input to the regulator module presented in this article. Moreover, the recognition block, together with the regulator, is closed within one feedback loop.

2.3. Control Techniques for Flow Processes

The task of flow control is of substantial meaning in any branch of industry where these processes are used for production, transport, etc. Because of the applications’ variety in each case, the needs and demands are different. Nevertheless, the important thing is to keep the flow regime on the given level or avoid slugs’ occurrences. In the case of such dynamic, stochastic, and nonlinear processes as flows, one must remember that holding the same level of phases’ streams supply does not guarantee the flow regime stability [33]. Therefore, it is necessary to process continuous monitoring and to react in case of any abnormalities. In the world literature, many research works may be found that use various modelling techniques to provide the tools for control process simulation or even for threats estimation. The example showing the control task’s complexity is the mathematical flow control scheme introduced in [34] to minimize the turbulences based on four different models. Next, in [35] the readers may find out the discussion on the interdisciplinarity of the algorithms development process for flow control purposes. The authors issued requirements and limitations for optimizing process control tasks in the context of various applications. Furthermore, some problems in the flow modelling and control based on the flow pattern and flow map using the specified Eötvös number classification have been demonstrated in [36]. The authors of [37] deal with the results from simulations with the feedback flow control. They show how to avoid slugs and hold on to the stable conditions at the pipeline inlet and outlet. In contrast, without control, severe slug flow was experienced. In [38], in turn, the authors made an exhaustive analysis of control models commonly used by industrial control engineers. A discussion about the advantages and limitations of the single-input single-output (SISO) system in contrast to the multi-input multi-output (MIMO) feedback control system may be found. The case study on the controllability properties of a typical pipeline-riser system of two fluid flow with the PDE-based (partial differential equations) model was described in [39].
Besides the theoretical achievements, some works have been performed to design the feedback control solutions based on PID [40] or PI [41] controllers to demonstrate that this strategy can guarantee the stability of the flows, whereas manual choking appeared to be insufficient. In [42], the auto-tuned PI controller algorithm was introduced, which was developed and implemented for severe slugging control focusing on achieving stable operation and maximizing production. On the other hand, the example of the linear quadratic Gaussian feedback control applied to the separated boundary layer to reduce its separation bubble size has been developed in [43]. Moreover, the feedback linearization based on the riser-base and topside pressure was used in [44] for the control design of the production choke valve to prevent severe slugging flow conditions. Nevertheless, the authors of [45] analyzed the disadvantages of the production choke control system based on feedback PI-controller in the context of their new approach to the nonlinear state-feedback control law based on a first-principles model of the slugging phenomenon. In this case, only one parameter (the gas pressure) was adjusted. Elsewhere, the detailed analysis and discussion about some problems and optimization of the linear controllers were performed in [46] and especially in the case of slug attenuation in [47] or in [48]. Generally, after studying the referred works, one conclusion may be drawn. Due to the complexity of the flow processes, the design of the robust control system based on an active feedback control makes a significant challenge to achieve the desired performance and optimal efficiency.
Some solutions for flow control were developed to increase the system stability and optimize production. One of the techniques which may successfully compete with the linearized feedback systems is fuzzy inference. The fuzzy controllers have already been applied many times, including scheduling and controlling electrical operators [49], the maintenance of a floating level in a tank on top of the atmospheric distillation unit of the refinery [50], or the boiling water reactor as a recirculation flow control system [51]. The automation control based on fuzzy logic was adapted to the water intake area of the pumping station [52]. Many examples of the practical applications of fuzzy logic controllers may be found in the air conditioning systems for efficient energy operation and a comfortable environment [53,54,55]. The total mass flow rate has been divided between all rooms by a certain percentage using a fuzzy-logic system to get the optimum performance for each room. The authors of [56] designed the hybrid of PID and fuzzy controllers for indoor temperature control. The PID part was responsible for the main heat source management and the fuzzy part, in turn, supervised the PID controller.
PID controllers do not exhibit good performance for nonlinear systems such as flow processes. Some research works as comparative studies have been carried out such as [57] or [58] to indicate the differences between the PID and fuzzy controllers. Many more advantages of fuzzy controllers than the PID may be found in [59]. Finally, to overcome problems inherited with the conventional PID control scheme such as handling unpredictable disturbance, non-measurable noise, and further improving the transient or steady-state response performance, the authors of [60] designed the fuzzy controller for flow application in tanks.
Despite many examples for fuzzy logic controllers, the systems are typically dedicated to specific applications each time. A lot of work must be performed to adjust such a controller to the process conditions. In this paper, the universal approach of the fuzzy logic controller will be introduced. The intuitive inference rules and individual sets of parameters ensure the easy adaptation to the work conditions, which can be carried out by the maintenance staff of the flow instrumentations. It is not required to determine any of the complicated computer models of the flow rig, which is unfortunately necessary when using the classic regulators. In Section 4, the universal equations of the fuzzy regulator have been presented, and in Section 5 the example of usage for the experimental rig (Section 3) has been included.

3. Two-Phase Flow Experimental Rig: Facility and Control Methodology

The experimental rig was built at the Institute of Applied Computer Science at the Lodz University of Technology. The flow rig can be supplied with fluid from two storage tanks and by a multi-stage centrifugal pump. In one of the tanks, a propeller stirrer is installed to prepare for research on liquid-like aqueous solutions of the various substances. Due to the installed electromagnetic flow meters, it is possible to precisely set the volumetric flow rate. The maximum pumping stream of liquid (with a viscosity close to the viscosity of water) delivered by Grundfos pump CRN’s 45 is 50 m3/h. In addition, the applied screw compressor DMD 100CR allows obtaining the volume stream of air at 1000 L/min with a pressure of about 7bar. A more detailed technical description of the rig, including the schemas and applied 3D electrical capacitance tomography (3D ECT) diagnosis principles, may be found in the authors’ previous work [30]. Due to the characteristic features of the flow rig, it is possible to obtain all types of two-phase pipe flows commonly found in industrial applications.
In Figure 1, the concept of the diagnostic control system for the experimental flow rig is depicted. The abbreviations used in the schema define the following signals: SG—set value of gas stream; SL—set value of liquid stream; fC—current flow type; SPT—process tomographic (i.e., 3D ECT) diagnostic signal; fI—identified flow type; fG—given flow type; NSG—a new set of the gas stream; and NSL—a new set of the liquid stream.
The three parts: rig hardware (i.e., pump, flow meters, pipelines, etc.), diagnostic (i.e., 3D ECT and fuzzy identification module) and control are distinguished. Because the fuzzy regulator is designed to consider three input signals and provide two output signals, it can be classified as the so-called MIMO feedback control model [38]. The following section describes the regulator’s input signals and their division into two classes.

4. Fuzzy Regulator Principles

The classic fuzzy regulators consist of fuzzification, inference, and defuzzification modules. In the inference module, the defined fuzzy rules set is used to determine the behavior of the regulator. The task for the fuzzification module is to change the input signals domain from crisp (i.e., numerical values) into fuzzy (i.e., linguistic terms: small, middle, or large). The defuzzification module, in turn, changes the output fuzzy signal into the crisp one. The inference realized in the fuzzy regulator depends on the type of applied fuzzy rules. In practice, the following types of rules are used most often [61].
if (SG = t1SG) and (SL = t1SL) then (F3 = t1Fc)
if (SG = t1SG) or (SG = t2SG) and (SL = t1SL) then (Fc = t3Fc)
Specificity of physical phenomena of two-phase pipe flows requires adapting the classical approach to the fuzzy regulator to enable control of the flow in the most effective and precise way. To achieve that, the authors decided to use two types of the regulator input signals. The first type (class) describes the current state of the flow, namely, the values of the signals that supply the process. Both signals in the first class are provided as linguistic variables, SG and SL, which terms are described by experimentally determined membership functions. Both linguistic variables are classically defined as a five-elements set: ( V , T , D , G , M ) , where:
  • V—variable name, e.g., gas stream,
  • T—set of variable terms, e.g., small, medium, or big
  • D—crisp domain of a linguistic variable, e.g., D ( 0 ; 50 ) m 3 h ,
  • G—the syntactic rule, whose grammar generates the derivative terms—the T labels, e.g., T(gas stream) = {…, “medium small”, “medium”, …}
  • M—the semantic rule that sets the meaning M(l) to each linguistic value l.
Moreover, M(l) describes the fuzzy set defined in D. The example for l =medium”:
M : medium S R ; μ S R ( x ) ;     x D ,
where, SR is the fuzzy set defined with the membership function μSR in the domain D.
Crisp values of signals for the gas and the liquid streams provided into the mixture (before fuzzification) are provided by the measurement system mounted in the flow rig.
Unfortunately, the nature of crisp values acquired by the measurement system influences the classic fuzzification method and can be imprecise regarding the measurement system’s sensitivity. Retrieved crisp values cannot be treated as correct ones since the measurement system provides the set of temporary values (this situation is strongly connected with the dynamic nature of flow). The first approach was to calculate an average value for the measurements set and use it as an input value for the fuzzification process. Unfortunately, this approach did not reflect the dynamics of the rig state properly.
The next challenge associated with the classic approach for fuzzification was the lack of possibility of changing the shape and type of membership functions to split the linguistic variable representing the input signals into terms [60].
Moreover, the linguistic variables representing the current state of the flow are not the subject of the classic fuzzification approach, and their conclusions always depend only on its value (i.e., current flow is a slug flow).
Since the input signal S is not a classical crisp value, it is provided in the form of a fuzzy number defined with the following membership function:
μ i S ( x ) = { 0 x x ¯ σ 1 σ x ( x ¯ σ + 1 ) x ( x ¯ σ ; x ¯ ) 1 σ x + ( x ¯ σ + 1 )   x ( x ¯ ; x ¯ + σ ) 0 x x ¯ + σ ,
where μ i S ( x ) is the value of the membership function for x   d , and:
  • d—is the domain of the measurement,
  • x ¯ —is the mean measurement value for the measurement data collected in time t,
  • σ —is the standard abbreviation for the measurement data collected in time t,
  • i S —is the i-th term of input signal S.
The fuzzy number determined by the triangle-shaped function μ i s ( x ) is then fuzzified according to Zadeh’s extension principle [62,63] (i.e., determining the intersection of two fuzzy sets). Such an approach has not been used in similar scenarios so far. This means that the fuzzified input signal represents the current measurement and covers the dynamics of crisp input change over time. Such usage of fuzzy numbers introduces a possibility of reducing the influence of the measurement system inadequacy. The use of the modified membership functions for the input of linguistic variables increases the system’s sensitivity, especially in the areas close to the flow type boundaries. In this area, usage of the standard/common shape of membership functions gave slightly worse results of the flow type recognition.
The authors introduced the possibility of adjusting the membership functions by manipulating only one parameter in the described regulators. This parameter is within the ten-step regulation scale a 1 ; 10 reflecting the linear transition from classic function shape (parameter value 1) to the most enhanced shape, covering the requested area of the measurement domain. As a base function, the trapezoidal-shape function was used, in which the sections of the sides of the trapezoids (legs) were replaced with the exponential functions. Consequently, the non-crisp nature of the border between any of the two-phase flow types is reflected more accurately. It is also better customizable to the user’s subjective assessment. An example of the equation defining one of the membership functions (case Middle Large Gas) is as follows:
μ t i ( x ) = { 0   x x 1 ( a 1 x b 1 ) f u n M L a G 1 ( a ) x ( x 1   ; x 2 ) 1   x x 2   ; x 3 ( a 2 x + b 2 ) f u n M L a G 2 ( a ) x ( x 3   ; x 4 )   m 3 / h 0   x x 4 ,
where:
f u n M L a G 1 ( a ) = a 3 a + b 3 f u n M L a G 2 ( a ) = a 4 a + b 4
In the second class of the input signals, two linguistic variables express the current flow type in the rig and the flow type required by the user. The linguistic variables in both classes differ because they are decomposed into terms using fuzzy relations regarding terms defined independently within their classes. Moreover, the 2D space in which the mentioned fuzzy relations are characterized determines the dependencies between two fractions streams. This is done the same way as constructing the two-phase flow maps [64] adapted to the particular flow rig. The membership functions describe the fuzzy relations in the set of linguistic variables. These correlate with the crisp boundaries between areas marked on the classic flow maps, which help build the fuzzy set concerning the flow types. It must be remembered that the same membership functions and the same set of values correspond with both linguistic variables.
Equation (6) demonstrates the fuzzy rule applied in the regulator:
if (SC = t1SC) and (SL = t1SL) and (fC = t1fC) and (fG = t1fG)
then (NSG = t2SG) and (NSL = t2SL),
where:
  • SC, SL—the signals of the first class: the fuzzified value of the gas stream and the fuzzified values of the liquid stream,
  • fC, fG—the signals of the second class: the current flow type and the required (given) flow type,
  • tij—the i-th value (term) of the j-th input signal.
Having the input signals defined, it is possible to introduce the flow type transition with required dynamics. This means that an extended set of fuzzy rules allows changing the flow type without overloading the rig, i.e., changing the value of the input signal by significant value and putting the rig into an undefined state that can occur for a long time. However, generating desired flow type can be done much faster by introducing a progressive input signal value change.
The fuzzified Mamdani implication (7) was implemented to perform the interference process:
ϕ [ μ z 1 ( x ) , μ z 2 ( y ) , μ z 3 ( x , y ) , μ z 4 ( x , y ) ] = μ z 1 ( x ) μ z 2 ( y ) μ z 3 ( x , y ) μ z 4 ( x , y ) ,
where:
  • μ z 1 ( x ) , μ z 2 ( y ) —the membership functions describing the first class linguistic variables (fuzzy sets—µSG(x), µSC(x)),
  • μ z 3 ( x , y ) , μ z 4 ( x , y ) —the membership functions describing the second class linguistic variables (fuzzy relations—µfC(x,y), µfG(x,y)).
Two signals are the results of the inference rules’ conclusions of the control process. The sum of these signals is the output of the interference module that represents the requested flow rig state. This is the sum of the fuzzy sets. Two output sets represent the current state of the gas and liquid stream values. Their sum creates a fuzzy relation that can be visualized as an area on the flow map. Summation is done before defuzzification.
The defuzzification of the final fuzzy sets is done with the well-known center of sums defuzzification [65] method:
y ¯ = Y y k = 1 N μ B ¯ k ( y ) d y Y k = 1 N μ B ¯ k ( y ) d y

5. Implementation

The fuzzy regulator was implemented according to a schema shown in Figure 2.
The regulator consists of:
  • The module for input signal fuzzification (1) that contains the first class (measurement data) (2) and second class (flow type) (3) signals fuzzification modules,
  • The diagnostic signals (Z1, Z2, Z3) retrieved from the measurement instruments,
  • The flow type reference signal set by the user (Z4),
  • The inference rules module (4),
  • The inference module based on the modified fuzzified Mamdani implication,
  • The defuzzification module that implements the center of sums defuzzification method (5) and which processes the fuzzified control signals (Z1 and Z2),
  • The module of the crisp sets (n1 and n2) (6).
The first step of implementation is to determine the membership functions that can transform the domain of the measured signal (i.e., streams of gas and liquid) from crisp into fuzzy form. The most proper solution for this is to use function (3) with the acquisition time interval t equal to 15 s. The data acquisition frequency results from the period for a single complete measurement frame acquisition (about 1 Hz). Next, the trapezoidal-shape membership function must be determined to split the measurement range of gas and liquid streams into the values of the first-class linguistic variables (fuzzified gas stream and fuzzified liquid stream). These membership functions are used in premises and conclusions of the inference rules. To correctly determine the shape of the membership function, it is required to collect a series of test measurement data. This should be done in the presence of an expert who can recognize (classify) the two-phase flow types. The gas and liquid streams intensity was changing sequentially within the discrete measurement range of the pump and compressor to generate all possible flow types. Next, each stabilized state was evaluated. The expert, not being aware of the values of the current settings, assessed the flow type in the pipeline only based on observations. Then, all the flow types should be printed on the chart as depicted in Figure 3. All flows’ series, observed in the whole measurement range, are split into all flow type occurrence areas.
To better clarify this description, the implementation of the control strategy and the obtained results are shown in Section 6 for two specific flow configurations, plus one case which is transitional between the two. The procedure explained here is analogous for the other flow types, for both horizontal and vertical pipelines. For the test data presented in Figure 3 it is possible to determine the following membership functions (using clustering or expert method):
  • For the linguistic variable—fuzzified gas stream:
μ s m a l l   g a s ( x ) = { 1   x 5   ( x + 6 ) f u n L o G ( a ) x ( 5 ; 6 ) 0   x 6  
μ m i d d l e   s m a l l   g a s ( x ) = { 0   x 4   ( 0.5 x 2 ) f u n M L o G 1 ( a ) x ( 4 ; 6 ) 1 x 6 ; 15 ( x + 16 ) f u n M L o G 2 ( a ) x ( 15 ; 16 ) 0 x 16
μ m i d d l e   l a r g e   g a s ( x ) = { 0   x 14.5   ( 0.5 x 7.25 ) f u n M L a G 1 ( a ) x ( 14.5 ; 16 , 5 ) 1   x 16.5 ; 36 ( x + 16.5 ) f u n M L a G 2 ( a ) x ( 36 ; 37 ) 0   x 37
μ l a r g e   g a s ( x ) = { 0 x 35   ( 0.5 x 17.5 ) f u n L a G ( a ) x ( 35 ; 37 ) 1   x 37  
where:
f u n L o G ( a ) = 0.089 a + 0.011
f u n M L o G 1 ( a ) = 0.056 a + 0.444
f u n M L o G 2 ( a ) = 0.11 a + 0.389
f u n M L a G 1 ( a ) = 0.078 a + 0.122
f u n M L a G 2 ( a ) = 0.078 a + 0.122
f u n L a G ( a ) = 0.444 a + 0.556
where: 1 a 10
  • For the linguistic variable—fuzzified liquid stream:
μ s m a l l   l i q u i d ( x ) = { 1   x 3.75   ( 2 x + 8.5 ) f u n L o L ( a ) x ( 3.75 ; 4.25 ) 0   x 4.25
μ m i d d l e   s m a l l   l i q u i d ( x ) = { 0   x 3.5   m 3 / h ( x 3.5 ) f u n M L o L 1 ( a ) x ( 3.5 ; 4.5 ) 1 x 4.5 ; 5.25 ( 2 x + 11.5 ) f u n M L o L 2 ( a ) x ( 5.25 ; 5.75 ) 0 x 5.75
μ m i d d l e   l a r g e   l i q u i d ( x ) = { 0   x 5   ( x 5 ) f u n M L a L 1 ( a ) x ( 5 ; 6 ) 1   x 6 ; 6.25 ( 2 x + 13.5 ) f u n M L a L 2 ( a ) x ( 6.25 ; 6.75 ) 0   x 6.75
μ l a r g e   l i q u i d ( x ) = { 0 x 6   ( x 6 ) f u n L a L ( a ) x ( 6 ; 7 ) 0   x 7  
where:
f u n L o L ( a ) = 0.1 a
f u n M L o L 1 ( a ) = 0.556 a + 2.444
f u n M L o L 2 ( a ) = 0.889 a + 2.111
f u n M L a L 1 ( a ) = 0.556 a + 2.444
f u n M L a L 2 ( a ) = 0.089 a + 0.011
f u n L a L ( a ) = 0.778 a + 0.222
where: 1 a 10 .
When the scaled membership functions and measurement data are combined into one chart, it is possible to achieve a series of consistent areas that include only one flow type (see Figure 4).
The fuzzy relation that represents the flow type to reproduce it within the measurement range of the rig (second class signals) can be defined with previously determined membership functions. This relation should have two-dimensional nature such as R = U x V μ R ( U , V ) ( U , V ) , where U and V are the measurement values of the gas and liquid stream, respectively. The membership function of the relation should be an aggregation of the membership function values calculated according to the previous step for the streams: gas and liquid. The membership function, which represents each of the flow types (i.e., the terms of the second-class input signal), should look like:
μ f t ( x , y ) = min ( max ( μ G t 1 ( x ) ,   μ G t 2 ( x ) , μ G t 3 ( x ) , μ G t 4 ( x ) ) ,   max ( μ L t 1 ( y ) ,   μ L t 2 ( y ) , μ L t 3 ( y ) , μ L t 4 ( y ) ) ) ,  
where:
  • x—is the gas stream value,
  • y—is the liquid stream value,
  • μ f t ( x , y ) —is the membership level of the flow type achieved for the gas stream x and liquid stream y,
  • μ G t i ( x ) —is the membership level determined for i-th term of the fuzzified gas stream for the measured value x of the gas stream,
  • μ L t i ( y ) —is the membership level determined for i-th term of the fuzzified liquid stream for the measured value y of the liquid stream.
The considered membership functions must be determined for each flow type that may occur in the entire measurement range of the flow rig. Next, it is required to define the fuzzy rules that consider the fuzzy relations and membership functions for the linguistic variables: fuzzy gas stream and fuzzy liquid stream. The inference structure of each rule should be derived from the Equation (1), for instance:
iffuzzified gas stream is smallandfuzzified liquid stream is small
andflow type is plugandrequired flow type is slug
thenfuzzy gas stream is largeandfuzzy liquid stream is large
The graphical interpretation of this is depicted in Figure 5.
The premise of the rule includes the following:
  • Area #2 represents the current flow type,
  • Area #3 represents the required flow type,
  • Area #2 corresponds with the fuzzified values of gas and liquid streams that determine for current flow type.
The rule’s conclusion includes knowledge about the required gas and liquid streams: area #3.
The inference process is performed using the modified fuzzified Mamdani implication in the following form:
μ A , B , C , D E ( z 1 , z 2 , z 3 , z 4 ) = μ R ( z 1 , z 2 , z 3 , z 4 ) = μ A ( z 1 ) μ B ( z 2 ) μ C ( z 3 ) μ D ( z 4 ) = min [ μ A ( z 1 ) , μ B ( z 2 ) , μ C ( z 3 ) , μ D ( z 4 ) ]
As it was assumed, the first-class signals are fuzzified using the non-singleton method. Thus, the measured signals of gas and liquid streams have to be changed into fuzzy numbers (using Equation (3), thereby eliminating the measurement system’s insufficient sensitivity that can occur when applying the non-optimal membership functions of the first-class signals). Next, the fuzzy numbers (measured gas stream and measured liquid stream) are combined with membership functions described by the Equations (9)–(12) and (19)–(22). During the fuzzification process, the maxima of sums of the sets measured gas/liquid stream and fuzzified gas/liquid stream are calculated (for each term of these linguistic variables under the condition that the fuzzy set represented by the term and the sets fuzzified gas/liquid stream are cumulated).
The final fuzzy sets are the aggregation of the conclusions of each fuzzy rule used in the inference process. In addition, the fuzzy sets from the conclusions of the fuzzy rules are multiplied by the result of the implication applied for the rule (i.e., the level of performing the inference rule that results from the level of the input signals fuzzification).
The defuzzification process of the fuzzy sets is performed using Equation (8), yielding the crisp values of the sets for the gas and liquid streams.

6. Results

The regulator described in this article has been verified in the experimental flow rig [26]. Even if the mentioned rig allowed to obtain all basic flow types, the effective control range of the gas flow rate (0–50 m3/h) and the liquid flow rate (3–9 m3/h) allowed to manipulate the flow type between the plug, slug, and transitional (both plug and slug features) flow. The same pipeline was used for algorithm learning and validation (horizontal orientation, 60 mm diameter). The validation covered 30 independent test flows’ examinations by both the algorithm and a human expert in the field of flow dynamics. It is worth mentioning that the flows recognized and categorized by the human expert in most cases matched the corresponding types defined in the flow map. The only differences occurred when the slug flow was classified as a transitional flow. This miscarriage can be explained by the fact that there is an ambiguous border between areas where the basic flows have their specific features. It should be noted that even if the flow is classified as a basic type, it can still represent some additional features that can be included in the other basic flow type. The flow map for the research setup shown in Figure 6.
The experiments were conducted as follows:
  • Establishing the initial state,
  • Selecting the required flow type by the expert,
  • Validation of the stabilized flow type by the expert and the feedback from the diagnostic module [30].
Within the experiments, 30 tests were run. In each case, the final stabilized flow type was verified with that set by the expert. Table 1 consists of results for the tests that cover most flow types’ transitions that are possible to conduct within the setting range of the flow rig.
It took no more than 0.25 s to obtain the crisp values of the control signals. The flow stabilization, in turn, took significantly longer, up to 30 s. It is related to the initial and target flow types. The computer applied to conduct the computations consists of the i7-3612QM CPU and 8 GB and works under Microsoft Windows 10. The algorithms of the described regulator have been implemented in C# using the NET 4.5 framework. The dedicated communication protocol was designed to transmit (in a UDP multicast mode) the input and output signals (i.e., 3DECT measurements, the pump inverter, flow and pressure meters, and other instrumentation) through the computer network.

7. Conclusions

The fuzzy-logic-based pipe flow regulator presented in this article is characterized by the high operating speed and the universality of its application. It can be utilized in any rig capable of generating two-phase gas–liquid pipe flows where precise flow type control is needed. The mentioned precision was achieved using instrument input signals’ analysis and the current rig state feedback loop. This feedback loop gives the additional valuable algorithm input and allows for auto adjustment after changing the flow type from one to another. What is more, the fuzzy interference used in the algorithm favors smooth flow transitions over the crisp rig input parameter set. Introducing transitional flows into the recognition system avoids over-loop states and deadlocks when the basic type cannot be generated or recognized in the flow rig.
The regulator usage is intuitive and can be adopted efficiently by the rig operating staff. The adaptive method of the system development allows it to be utilized in different environments. Furthermore, it allows it to be extended with a dedicated UI (user interface), which can help with its adoption and suit an organization’s UX (user xperience) recommendation. Modular system design can also be the foundation for future redesign into a microservices ecosystem. This would allow creating a single solution for multiple rigs using a high-tech approach, such as cloud utilization or hybrid environment usage by utilizing the Kubernetes approach for orchestration.

Author Contributions

Conceptualization, P.F., J.K. and R.W.; methodology, P.F. and J.K.; software, P.F.; validation, P.F. and J.K.; formal analysis, P.F., J.K. and R.W.; investigation, P.F. and J.K.; resources, P.F.; data curation, P.F.; writing—original draft preparation, P.F. and R.W.; writing—review and editing, P.F., J.K. and R.W.; visualization, P.F.; supervision, J.K. and R.W; project administration, R.W.; funding acquisition, R.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financed by the Lodz University of Technology, Faculty of Electrical, Electronic, Computer, and Control Engineering as a part of statutory project and by The Polish National Centre for Research and Development—project No. POIR.04.01.02-00-0089/17-00.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank Robert Banasiak, Tomasz Jaworski, Jacek Nowakowski, and Henryk Fidos for their fruitful advice.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Clark, J.H.; Ashby, W.R. An Introduction to Cybernetics. OR 1965, 16, 492. [Google Scholar] [CrossRef] [Green Version]
  2. Anderson, J.D. Computational Fluid Dynamics: The Basics with Applications; McGraw-Hill Science/Engineering/Math: New York, NY, USA, 1995; ISBN 9780070016859. [Google Scholar]
  3. Bellman, R.E.; Zadeh, L.A. Decision-Making in a Fuzzy Environment. Manage. Sci. 1970, 17, B-141–B-164. [Google Scholar] [CrossRef]
  4. Chhabra, R.P.; Richardson, J.F. Encyclopedia of Fluid Mechanics; Cheremisinoff, N.P., Ed.; Gulf: Houston, TX, USA, 1986. [Google Scholar]
  5. Pląskowski, A.; Beck, M.S.; Thorn, R.; Dyakowski, T. Imaging Industrial Flows—Applications of Electrical Process Tomography; IOP Publishing: Bristol, UK, 1995; ISBN 0750302968. [Google Scholar]
  6. Hirt, C.W.; Nichols, B.D. Volume of fluid (VOF) method for the dynamics of free boundaries. J. Comput. Phys. 1981, 39, 201–225. [Google Scholar] [CrossRef]
  7. Popinet, S. An accurate adaptive solver for surface-tension-driven interfacial flows. J. Comput. Phys. 2009, 228, 5838–5866. [Google Scholar] [CrossRef] [Green Version]
  8. Della Pia, A.; Chiatto, M.; De Luca, L. Global eigenmodes of thin liquid sheets by means of Volume-of-Fluid simulations. Phys. Fluids 2020, 32, 082112. [Google Scholar] [CrossRef]
  9. Della Pia, A.; Chiatto, M.; De Luca, L. Receptivity to forcing disturbances in subcritical liquid sheet flows. Phys. Fluids 2021, 33, 032113. [Google Scholar] [CrossRef]
  10. Schmidt, S.; Oberleithner, K. Instability of forced planar liquid jets: Mean field analysis and nonlinear simulation. J. Fluid Mech. 2020, 883, A7. [Google Scholar] [CrossRef]
  11. Hewitt, G.F.; Roberts, D.N. Studies of Two-Phase Flow Patterns by Simultaneous X-ray and Flash Photography; Atomic Energy Research Establishment, Harwell: Berkshire, UK, 1969. [Google Scholar]
  12. Dziubinski, M.; Fidos, H.; Sosno, M. The flow pattern map of a two-phase non-Newtonian liquid–gas flow in the vertical pipe. Int. J. Multiph. Flow 2004, 30, 551–563. [Google Scholar] [CrossRef]
  13. Oshinowo, T.; Charles, M.E. Vertical two-phase flow part I. Flow pattern correlations. Can. J. Chem. Eng. 1974, 52, 25–35. [Google Scholar] [CrossRef]
  14. Taitel, Y.; Bornea, D.; Dukler, A.E. Modelling flow pattern transitions for steady upward gas-liquid flow in vertical tubes. AIChE J. 1980, 26, 345–354. [Google Scholar] [CrossRef]
  15. Grudzień, K.; Niedostatkiewicz, M.; Adrien, J.; Tejchman, J.; Maire, E. Quantitative estimation of volume changes of granular materials during silo flow using X-ray tomography. Chem. Eng. Process. Process Intensif. 2011, 50, 59–67. [Google Scholar] [CrossRef]
  16. Romanowski, A.; Grudzien, K.; Williams, R.A. Analysis and Interpretation of Hopper Flow Behaviour Using Electrical Capacitance Tomography. Part. Part. Syst. Charact. 2006, 23, 297–305. [Google Scholar] [CrossRef]
  17. Soleimani, M. Three-dimensional electrical capacitance tomography imaging. Insight-Non-Destructive Test. Cond. Monit. 2006, 48, 613–617. [Google Scholar] [CrossRef]
  18. Faia, P.; Silva, R.; Rasteiro, M.G.; Garcia, F. Electrical Tomography: A Review of Configurations, and Application to Fibre Flow Suspensions Characterisation. Appl. Sci. 2020, 10, 2355. [Google Scholar] [CrossRef] [Green Version]
  19. Wajman, R.; Banasiak, R.; Mazurkiewicz, L.; Dyakowski, T.; Sankowski, D. Spatial imaging with 3D capacitance measurements. Meas. Sci. Technol. 2006, 18, 3671. [Google Scholar] [CrossRef] [Green Version]
  20. Wang, F.; Marashdeh, Q.; Fan, L.-S.; Warsito, W. Electrical Capacitance Volume Tomography: Design and Applications. Sensors 2010, 10, 1890–1917. [Google Scholar] [CrossRef] [PubMed]
  21. Rybak, G.; Chaniecki, Z.; Grudzień, K.; Romanowski, A.; Sankowski, D. Non–invasive methods of industrial processes control. Inform. Control Meas. Econ. Environ. Prot. 2014, 4, 41–45. [Google Scholar]
  22. Rymarczyk, T.; Tchorzewski, P.; Adamkiewicz, P.; Duda, K.; Szumowski, J.; Sikora, J. Practical Implementation of Electrical Tomography in a Distributed System to Examine the Condition of Objects. IEEE Sens. J. 2017, 17, 8166–8186. [Google Scholar] [CrossRef]
  23. Smolik, W.; Kryszyn, J.; Olszewski, T.; Szabatin, R. Methods of small capacitance measurement in Electrical Capacitance Tomography. Informatics Control Meas. Econ. Environ. Prot. 2017, 7, 105–110. [Google Scholar] [CrossRef]
  24. Kryszyn, J.; Wróblewski, P.; Stosio, M.; Wanta, D.; Olszewski, T.; Smolik, W.T. Architecture of EVT4 data acquisition system for electrical capacitance tomography. Measurement 2017, 101, 28–39. [Google Scholar] [CrossRef]
  25. Rymarczyk, T. Characterization of the shape of unknown objects by inverse numerical methods. Prz. Elektrotech. 2012, 88, 138–140. [Google Scholar]
  26. Rymarczyk, T.; Kozłowski, E.; Kłosowski, G. Electrical impedance tomography in 3D flood embankments testing—Elastic net approach. Trans. Inst. Meas. Control 2019, 42, 680–690. [Google Scholar] [CrossRef]
  27. Marashdeh, Q.; Wang, F.; Fan, L.S.; Warsito, W. Velocity measurement of multi-phase flows based on electrical capacitance volume tomography. In Proceedings of the IEEE Sensors, Atlanta, GA, USA, 28–31 October 2007; pp. 1017–1019. [Google Scholar]
  28. Liu, Z.; Babout, L.; Banasiak, R.; Sankowski, D. Effectiveness of rotatable sensor to improve image accuracy of ECT system. Flow Meas. Instrum. 2010, 21, 219–227. [Google Scholar] [CrossRef]
  29. Banasiak, R.; Wajman, R.; Jaworski, T.; Fiderek, P.; Fidos, H.; Nowakowski, J.; Sankowski, D. Study on two-phase flow regime visualization and identification using 3D electrical capacitance tomography and fuzzy-logic classification. Int. J. Multiph. Flow 2014, 58, 1–14. [Google Scholar] [CrossRef]
  30. Fiderek, P.; Kucharski, J.; Wajman, R. Fuzzy inference for two-phase gas-liquid flow type evaluation based on raw 3D ECT measurement data. Flow Meas. Instrum. 2017, 54, 88–96. [Google Scholar] [CrossRef]
  31. Banasiak, R.; Ye, Z.; Soleimani, M. Improving Three-Dimensional Electrical Capacitance Tomography Imaging Using Approximation Error Model Theory. J. Electromagn. Waves Appl. 2012, 26, 411–421. [Google Scholar] [CrossRef] [Green Version]
  32. Kapusta, P.; Majchrowicz, M.; Sankowski, D.; Jackowska-Strumiłło, L.; Banasiak, R. Distributed multi-node, multi-GPU, heterogeneous system for 3D image reconstruction in Electrical Capacitance Tomography—Network performance and application analysis. Przegląd Elektrotech. 2013, R. 89, 339–342. [Google Scholar]
  33. Taitel, Y. Stability of severe slugging. Int. J. Multiph. Flow 1986, 12, 203–217. [Google Scholar] [CrossRef]
  34. Abergel, F.; Temam, R. On some control problems in fluid mechanics. Theor. Comput. Fluid Dyn. 1990, 1, 303–325. [Google Scholar] [CrossRef]
  35. Bewley, T.R. Flow control: New challenges for a new Renaissance. Prog. Aerosp. Sci. 2001, 37, 21–58. [Google Scholar] [CrossRef]
  36. Brauner, N. Liquid-Liquid Two-Phase Flow Systems. In Modelling and Control of Two-Phase Phenomena; Bertola, V., Ed.; CISM Center: Udine, Italy, 2002. [Google Scholar]
  37. Havre, K.; Dalsmo, M. Active Feedback Control as a Solution to Severe Slugging. SPE Prod. Facil. 2002, 17, 138–148. [Google Scholar] [CrossRef] [Green Version]
  38. Skogestad, S.; Postlethwaite, I. Multivariable Feedback Control: Analysis and Design; John Wiley: Hoboken, NJ, USA, 2005; ISBN 9780470011676. [Google Scholar]
  39. Storkaas, E.; Skogestad, S. Controllability analysis of two-phase pipeline-riser systems at riser slugging conditions. Control Eng. Pract. 2007, 15, 567–581. [Google Scholar] [CrossRef]
  40. Godhavn, J.-M.; Fard, M.P.; Fuchs, P.H. New slug control strategies, tuning rules and experimental results. J. Process Control 2005, 15, 547–557. [Google Scholar] [CrossRef]
  41. Nygaard, G.; Naevdal, G. Modelling two-phase flow for control design in oil well drilling. In Proceedings of the 2005 IEEE Conference on Control Applications, CCA 2005, Toronto, ON, Canada, 23–25 July 2005; IEEE: Piscataway, NJ, USA, 2005; pp. 675–680. [Google Scholar]
  42. Ogazi, A.I. Multiphase Severe Slug Flow Control. Ph.D. Thesis, Cranfield University, Cranfield, UK, 2011. [Google Scholar]
  43. Huang, S.-C.; Kim, J. Control and system identification of a separated flow. Phys. Fluids 2008, 20, 101509. [Google Scholar] [CrossRef] [Green Version]
  44. Jahanshahi, E.; Skogestad, S.; Grøtli, E.I. Nonlinear model-based control of two-phase flow in risers by feedback linearization. IFAC Proc. Vol. 2013, 9, 301–306. [Google Scholar] [CrossRef] [Green Version]
  45. Di Meglio, F.; Kaasa, G.-O.; Petit, N.; Alstad, V. Model-based control of slugging flow: An experimental case study. In Proceedings of the 2010 American Control Conference, Baltimore, MD, USA, 30 June–2 July 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 2995–3002. [Google Scholar]
  46. Kim, J.; Bewley, T.R. A Linear Systems Approach to Flow Control. Annu. Rev. Fluid Mech. 2007, 39, 383–417. [Google Scholar] [CrossRef]
  47. Ehinmowo, A.B.; Cao, Y. Stability analysis of slug flow control. Syst. Sci. Control Eng. 2016, 4, 183–191. [Google Scholar] [CrossRef] [Green Version]
  48. Pedersen, S.; Durdevic, P.; Yang, Z. Challenges in slug modeling and control for offshore oil and gas productions: A review study. Int. J. Multiph. Flow 2017, 88, 270–284. [Google Scholar] [CrossRef]
  49. Cheng, S.-T.; Chou, J.-H. Fuzzy Control to Improve Energy-Economizing in Cyber-Physical Systems. Appl. Artif. Intell. 2016, 30, 1–15. [Google Scholar] [CrossRef]
  50. Galichet, S.; Foulloy, L.; Chebre, M.; Beauchene, J.P. Fuzzy logic control of a floating level in a refinery tank. In Proceedings of the 1994 IEEE 3rd International Fuzzy Systems Conference, Orlando, FL, USA, 26–29 June 1994; IEEE: Piscataway, NJ, USA, 1994; pp. 1538–1542. [Google Scholar]
  51. Arakawa, A.; Sekimizu, K.; Sumida, S. Fuzzy Logic Control Application for BWR Recirculation Flow Control System. J. Nucl. Sci. Technol. 1988, 25, 263–273. [Google Scholar] [CrossRef]
  52. Pistun, E.; Yakymchuk, N. Development of the automatic control system of pumping station for urban water supply. Informatics Control Meas. Econ. Environ. Prot. 2014, 4, 68–71. [Google Scholar] [CrossRef]
  53. Rezeka, S.F.; Attia, A.-H.; Saleh, A.M. Management of air-conditioning systems in residential buildings by using fuzzy logic. Alex. Eng. J. 2015, 54, 91–98. [Google Scholar] [CrossRef] [Green Version]
  54. Tobi, T.; Hanafusa, T. A practical application of fuzzy control for an air-conditioning system. Int. J. Approx. Reason. 1991, 5, 331–348. [Google Scholar] [CrossRef] [Green Version]
  55. Attia, A.-H.; Rezeka, S.F.; Saleh, A.M. Fuzzy logic control of air-conditioning system in residential buildings. Alex. Eng. J. 2015, 54, 395–403. [Google Scholar] [CrossRef] [Green Version]
  56. Paris, B.; Eynard, J.; Grieu, S.; Polit, M. Hybrid PID-fuzzy control scheme for managing energy resources in buildings. Appl. Soft Comput. 2011, 11, 5068–5080. [Google Scholar] [CrossRef] [Green Version]
  57. Chandan, S.; Agnihotri, R. Fuzzy logic Controller for Flowing Fluids. Int. J. Adv. Res. Comput. Eng. Technol. 2012, 1, 98–101. [Google Scholar]
  58. Pruna, E.; Andaluz, V.H.; Proano, L.E.; Carvajal, C.P.; Escobar, I.; Pilatasig, M. Construction and analysis of PID, fuzzy and predictive controllers in flow system. In Proceedings of the 2016 IEEE International Conference on Automatica (ICA-ACCA), Curicó, Chile, 19–21 October 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1–7. [Google Scholar]
  59. Poornapushpakala, S. Simulation of neuro—Fuzzy controller for a flow process using MATLAB. In Proceedings of the 2015 International Conference on Circuits, Power and Computing Technologies [ICCPCT-2015], Nagercoil, India, 19–20 March 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 1–4. [Google Scholar]
  60. AL-Qutami, T.A.H.; Ibrahim, R. Design of a Fuzzy Logic process Controller for flow applications and implementation in series tanks Pilot Plant. In Proceedings of the 2015 International Conference on Industrial Instrumentation and Control (ICIC), Pune, India, 28–30 May 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 450–455. [Google Scholar]
  61. Perfilieva, I. Fuzzy IF-THEN Rules from Logical Point of View. In Computational Intelligence, Theory and Applications SE—67; Reusch, B., Ed.; Springer: Berlin/Heidelberg, Germany, 2006; Volume 38, pp. 691–697. ISBN 978-3-540-34780-4. [Google Scholar]
  62. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  63. Rondeau, L.; Ruelas, R.; Levrat, L.; Lamotte, M. A defuzzification method respecting the fuzzification. Fuzzy Sets Syst. 1997, 86, 311–320. [Google Scholar] [CrossRef]
  64. Taitel, Y.; Dukler, A.E. A model for predicting flow regime transitions in horizontal and near horizontal gas-liquid flow. AIChE J. 1976, 22, 47–55. [Google Scholar] [CrossRef]
  65. Mitsuishi, T. Continuity of approximate reasoning using center of sums defuzzification method. In Proceedings of the MIPRO, 2012 Proceedings of the 35th International Convention, Opatija, Croatia, 21–25 May 2012; pp. 991–994. [Google Scholar]
Figure 1. The flow rig diagnostic control system schema.
Figure 1. The flow rig diagnostic control system schema.
Applsci 12 00399 g001
Figure 2. The schema of the fuzzy regulator, where: z1, z2—SG, SC, z3, z4—fC, FG, n1, n2—NSG, NSC.
Figure 2. The schema of the fuzzy regulator, where: z1, z2—SG, SC, z3, z4—fC, FG, n1, n2—NSG, NSC.
Applsci 12 00399 g002
Figure 3. The decomposition types of the test flows’ series are determined within the whole measurement range.
Figure 3. The decomposition types of the test flows’ series are determined within the whole measurement range.
Applsci 12 00399 g003
Figure 4. The series of measurement data for flows split as in Figure 3 with the scaled membership functions (9)–(12) and (19)–(22) for the parameter a equals 5.
Figure 4. The series of measurement data for flows split as in Figure 3 with the scaled membership functions (9)–(12) and (19)–(22) for the parameter a equals 5.
Applsci 12 00399 g004
Figure 5. The graphical interpretation of the inference rule defined with the Equation (30).
Figure 5. The graphical interpretation of the inference rule defined with the Equation (30).
Applsci 12 00399 g005
Figure 6. The flow map for the research setup. The tested set of flow types is marked. The crisp borders are highlighted with blue but the transitional areas with red. The images present the specified flow types captured with CCD camera.
Figure 6. The flow map for the research setup. The tested set of flow types is marked. The crisp borders are highlighted with blue but the transitional areas with red. The images present the specified flow types captured with CCD camera.
Applsci 12 00399 g006
Table 1. Report of the results of the test for control process.
Table 1. Report of the results of the test for control process.
Test Run123456789101112131415
Human expert evaluationPlug →
Transitional
Transitional → PlugPlug →
Slug
Slug →
Plug
Plug →
Transitional
Transitional → SlugSlug →
Transitional
Transitional
→ Slug
Slug →
Plug
Plug →
Slug
Slug →
Transitional
Transitional
→ Stratified
Stratified
→ Slug
Slug →
Dispersed
Dispersed
→ Stratified
Presented system evaluationPlug →
Transitional
Transitional
→ Plug
Plug →
Slug
Slug →
Plug
Plug →
Transitional
Transitional
→ Slug
Slug →
Transitional
Transitional
→ Slug
Slug →
Plug
Plug →
Slug
Slug →
Transitional
Transitional
→ Stratified
Stratified
→ Slug
Slug →
Dispersed
Dispersed
→ Stratified
Test Run161718192021222324252627282930
Human expert evaluationStratified
→ Waved
Waved →
Stratified
Stratified
→ Slug
Slug →
Dispersed
Dispersed →
Transitional
Transitional
→ Dispersed
Dispersed
→ Plug
Plug →
Waved
Waved
→ Plug
Plug →
Dispersed
Dispersed
→ Stratified
Stratified →
Dispersed
Dispersed
→ Waved
Waved →
Dispersed
Dispersed
→ Slug
Presented system evaluationStratified
→ Waved
Waved →
Stratified
Stratified
→ Slug
Slug →
Dispersed
Dispersed →
Transitional
Transitional
→ Dispersed
Dispersed
→ Plug
Plug →
Waved
Waved
→ Plug
Plug →
Dispersed
Dispersed →
Stratified
Stratified
→ Dispersed
Dispersed
→ Waved
Waved →
Dispersed
Dispersed
→ Slug
The notation T 1   T 2 is the transition from the initial flow type T 1 to the target flow type T 2 .
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fiderek, P.; Kucharski, J.; Wajman, R. Fuzzy Regulator for Two-Phase Gas–Liquid Pipe Flows Control. Appl. Sci. 2022, 12, 399. https://0-doi-org.brum.beds.ac.uk/10.3390/app12010399

AMA Style

Fiderek P, Kucharski J, Wajman R. Fuzzy Regulator for Two-Phase Gas–Liquid Pipe Flows Control. Applied Sciences. 2022; 12(1):399. https://0-doi-org.brum.beds.ac.uk/10.3390/app12010399

Chicago/Turabian Style

Fiderek, Paweł, Jacek Kucharski, and Radosław Wajman. 2022. "Fuzzy Regulator for Two-Phase Gas–Liquid Pipe Flows Control" Applied Sciences 12, no. 1: 399. https://0-doi-org.brum.beds.ac.uk/10.3390/app12010399

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop