- Open Access
- Authors : E. O. Nwele, M. Olubiwe, C. K. Agubor, J. S. Ndulaka
- Paper ID : IJERTV13IS090092
- Volume & Issue : Volume 13, Issue 09 (September 2024)
- Published (First Online): 04-10-2024
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Modelling of a Controller for Effective Flow Monitoring in Process Industry
E. O. Nwele, M. Olubiwe, C. K. Agubor, J. S. Ndulaka
Department of Electrical & Electronic Engineering, School of Electrical System Engineering and Technology, Federal University of Technology, Owerri, Nigeria.
Abstract Flow in a process industry is characterized with issue of frictional force in the medium the fluid is being transported, the flow condition often become turbulent instead of being laminar which is easier to control, thereby creating pressure loss which leads to loss of time and output products. In this research, Direct Synthesis (DS) method is used, while the tools used include: Proteus version 7.6, MatLab/Simulink software, LabVIEW Control Design and Simulation Module. A Proportional Integral Derivative (PID) and Distributed Control System (DCS) controllers are utilized in order to control the flow rate of the process fluids by controlling the loss in pressure due to frictional forces in the transport medium to ensure that the flow remains in laminar condition. Firstly, the PID was modeled, and the PID controller was designed and configured into the flow system, then it was simulated using MatLab/Simulink software and the performance showed that when the PID was independently controlling the flow system, there was over shoot which was overcome after some wasteful time before achieving stability. Secondly, DCS was used independently in the flow loop and was simulated using Proteus software. The performance was observed in the software environment and it showed that when DCS was used independently, it had a good control efficiency but some percentage of transient and overshoot was noticed from the output result. Thirdly, the DCS and the PID were installed together and simulated using LabVIEW and the results obtained showed that the cascading of the two controllers reduced the over shoot drastically, attained stability faster and the problems of drag and pressure loss were eliminated in a very short time. The research work achieved 99 percent of the results anticipated as all the specific objectives were achieved. The research was validated using Routh- Hurwitz stability criterion.
Keywords: Process Flow control, PID controller, DCS controller, Modelling, Direct synthesis method.
-
INTRODUCTION
The ability to control a flow field to achieve a desired result is of great importance, and to actualize optimum output and stability when fluid is being transported, adequate and reliable flow control becomes necessary. Maintaining proper flow of fluids in a process system, is essential to maintain correct supply of raw materials to reactors, correct supply of water or steam for cooling or heating purpose etc [1].
The factors affecting flow measurement are conductivity, temperature, pressure, and viscosity. It can affect certain types of flow meters. How clean or dirty the fluid may be, it could also impact on the type and style of meter [2]. In choosing a flow meter, one advice is to thoroughly understand the characteristics of the flow to be measured. Types of Flow
Meters include Coriolis, DP Meters, Magnetic Meters, Multiphase Meters, Ultrasonic Meters, and Vortex Meters [3]. The dynamic behavior of industrial plants heavily depends on disturbances and in particular on changes in operating point [4]. In many industrial processes, control of liquid flow or temperature control is required. Classic PID approaches as well as controllers are updated and expanded over the years, from the primary controllers on the basis of the relays as well as synchronous electric motors or pneumatic or hydraulic systems to current microprocessors [5].
Currently, many techniques for the tuning as well as design of PI and PID controllers are proposed [6]. The method proposed by [7] is the most widely utilized PID parameter tuning methodology in chemical industry and is considered as a conventional technique. Flow management encompasses a big selection of application in method industries. In 90% of method management, applications have a tendency to manipulate the flow to get desired output. Flow is dynamic parameter and has totally different standardization strategies for standardization [8].
There are three tuning parameters for PID and it is also known as a three-term controller. The three parameters are proportional gain, integral gain and derivative gain. These three parameters affect in different ways the stability of system. So, the controller has to maintain the process variable close to desired set point, [9]. Currently, there is a special linear structure deployed with sensors on pipelines to monitor and regulate flow and pressure. They demonstrated a multilayer communication scheme that ensures the effective routing of data among the sensors but there is no consideration of control valve and proper controllers among the sensor based remote communication networks which involves manual operation to achieve desired performance of pipeline transportation [10].
Summary of review of related works
-
The authors actually worked on the process flow control but emphasis was on vibration in the pipe which could be harmful or alter the stability of the system. No attention was given to other numerous problems associated with flow of a process system.
-
From their analysis and conclusion, they worked on using PID to control flow in multiple tank staking. Emphasis on how different errors were articulated was not shown.
-
The authors attributed that Flow control subsumes all types of technical flow control including laminar flow control, mixing enhancement, separated flow control, vortex control, turbulence
control, heat transfer control, favorable wave interference, designer fluids and much more. Their work was generic in approach, in process flow control, there are specific errors that need to be eradicated to have robust flow void of losses.
To obtain the flow rate, equation (3) is applied
-
Their work basically depicts using DCS AND MATLAB
=
2(12) × 2
(3)
to actualize the set objective. Even when DCS is used in the
2 2
control system, agitations are bound to be there as a result of errors emanating due to disturbance from the system flow
-
Their work was not streamlined to a particular area of process. Process flow has so many dimensions either flow in pipes, tunnels, tanks, bottles, cylinders etc. There was no particular emphasis to know where the mitigation approach is channeled to.
-
-
METHODS
The results obtained is crucial to process industries and as a result, validation of stability is required. Routh Hurwitz
1( )
1
Where: = Flow rate, 1 = Upstream pressure, 2 = Downstream pressure, = Discharge coefficient (This is the point at which the flow turns turbulent in the medium), 1 = Area of the orifice at upstream, 2 = Area of the orifice at downstream
Determination of flow profile in the downstream is cumbersome, therefore substitution of and the area with becomes necessary. Thus
stability criterion shall be used to validate the design.
= 2
(4)
Modeling of Flow Measuring Device
In considering measuring device, the average velocity of the medium has to be known. The value of the average velocity Vavg at some stream wise cross-section is determined from the requirements of the conservationof mass principle. Equation
(1) shows the expression for the mass flow rate, according to [16]
= = () (1)
Where: = Mass flow rate, = Density of the fluid, = Cross Sectional Area, () = Velocity Profile.
0
To account for the outlet loss, equation (5) is applied
Q = CDVA (5)
where: Q = flow rate, V = average velocity, A = cross-sectional area of the pipe and CD is the discharge coefficient that is dependent on the shape and size of the orifice.
Frictional losses. They are losses from liquid flow in a pipe due to friction between the flowing liquid and the restraining walls of the container. These frictional losses are given by:
2
The average velocity for flow in a circular pipe of radius R
=
2
(6)
according to [16] can be expressed as:
Where: hL = head loss, f = friction factor, L = length of pipe, D
()
()2
= diameter of pipe, V = average fluid velocity, g = gravitation
= = 0
= 2 ()
(2)
constant.
2
2 0
Therefore, when we know the flow rate or the velocity profile, the average velocity can be determined easily.
Orifice Meter
Form drag is the impact force exerted on devices protruding into a pipe due to fluid flow. The force depends on the shape of the insert and can be calculated from
2
For this research, Orifice meter was considered. This flow measuring device is created by inserting an obstructing plate,
=
2
(7)
usually with a round hole in the middle, into the pipe and measuring the pressure on each side of the orifice. Pressure taps on each flange allow you to easily measure the pressure differential across the plate. This pressure differential, along with the dimensions of the plates are combined with certain fluid properties to determine the flow through the pipe.
Figure 1 shows samples of the several types of orifice plate used for flow measurement.
Fig. 1: Samples of several types of orifice plate [3]
Where: F = force on the object, = drag coefficient, g =
specific weight, g = acceleration due to gravity, A = cross- sectional area of obstruction, V = average fluid velocity
Modelling of Flow Controllers
The methodology of internal mode principle is utilized in order to extract the gains of PID and PI controllers. Exhaustive investigation from literatures revealed that the outcomes of P control are very sensitive to the sensing location as well as the quantity of phase shift. By suitable selections of these variables, the P control can be completely efficient in annihilating the vortex shedding or minimizing its strength.
In order to implement the control law, the primary step is to determine a desired output response of a particular system to an arbitrary input over a time interval that can be carried out by system identification. Generally, it is feasible to generate a model on the basis of a complete physical illustration of the system.
PID electronic controller
In any electronic setup, there are two basic blocks which are analogue and digital. Digital systems are built on the basis and foundation of analogue blocks. So first we consider the analogue. Figure 2 shows the block diagram of an analogue PID controller. The measured variable from the sensor is compared to the set point in the first unity gain comparator; its output is the difference between the two signals or the error signal. This signal is fed to the integrator via an inverting unity gain buffer and to the proportional amplifier and differentiator via a second inverting unity gain comparator, which compares the error signal to the integrator output. Initially, with no error signal the output of the integrator is zero so that the zero-error signal is also present at the output of the second comparator.
When there is a change in the measured variable, the error signal is passed through the second comparator to the proportional amplifier and the differentiator where it is amplified in the proportional amplifier, added to the differential signal in a summing circuit, and fed to the actuator to change the input variable. Although the integrator sees the error signal, it is slow to react and so its output does not change immediately, but starts to integrate the error signal. If the error signal is present for an extended period of time, the integrator will supply the correction signal via the summing circuit to the actuator and input the correction signal to the second comparator. This will reduce the effective error signal to the proportional amplifier to zero, when the integrator is supplying the full correction signal to the actuator. Any new change in the error signal will still be passed through the second comparator as the integrator is only supplying an offset to correct for the first long-term error signal. The proportional and differential amplifiers can then correct for any new changes in the error signal.
Fig. 2: Block diagram of a PID analogue electronic controller.
The circuit implementation of the PID controller is shown in figure 3. This is a complex circuit because all the amplifier blocks are shown doing a single function to give a direct comparison to the block diagram. In practice there are a large number of circuit component combinations that can be used to produce PID action.
Fig. 3: Circuit of a PID action electronic controller
A single amplifier can also be used to perform several functions which would greatly reduce the circuit complexity. Such a circuit is shown in Figure. 4 where feedback from the actuator position is used as the proportional band adjustment.
Fig. 4: Circuit of a PID electronic controller with feedback from the actuator position
The major key component of the proposed process is the proportional-integral-derivative controller (PID controller) control loop mechanism, which is widely used in industrial control systems, to mitigate faults by adjusting the process control inputs. Examples of such systems are the ones where the temperature, pressure, or the flow rate, need to be controlled. In such scenarios, the PID controller aims at detecting the possibility of a fault far enough in advance so that an action can be performed to prevent it from happening.
Figure 5 shows the general PID control system loop. The set point is the desired or command value for the process variable. The control system algorithm uses the difference between the output (process variable) and the setpoint to determine the desired actuator input to drive the system.
Fig. 5: PID control system loop
Inter Phase Friction Coefficient:
In modeling the PID, certain variables need to be considered. The first is the interface fiction coefficient. The two phases, gas and liquid, slip with respect to each other resulting in the inter phase-friction force, as stated in equation (8)
= (8)
Where: = Density of the gas phase, = Drag coefficient,
= The resultant slip velocity, = The total projected droplet area in the cell given by
(9)
= (1.5 )
Where: d is the droplet diameter, V is the volume of the cell, and Re is the particle Reynolds number given by
controlled variable. The disturbance transfer function Ga represents the effect of the disturbance variable on the controlled variable for the flow channel.
Fig. 6: Block diagram for a process fluid feedback control system. Based on Direct Synthesis (DS) method
The block diagrams considered so far have been specifically developed for the fluid storage system in a process plant.
=
(10)
Where: Y =controlled variable, U = manipulated variable, D = disturbance variable (also referred to as the load variable), P =
Where: is the laminar viscosity of the gas, the drag coefficient Dc is evaluated as follows;
= [.42 24 (1 + 0.150.68) + 0.42 ]
controller output, E = error signal, Ym = measured value of Y , Ysp = set point p, = internal set point (used by the controller), Yu = change in Y due to U, Yd = change in Y due to D, Gc =
1+(4.25×104)1.16
(11)
controller transfer function, Gv = transfer function for the final control element, GP = process transfer function, Gd = disturbance transfer function, Gm = transfer function for sensor
Mass Transfer Coefficient for Fluid Inter Phase:
As cooling of heated areas deals with evaporating fluids due to friction, the loss of mass of the fluid droplets which is the second variable needs to be calculated, see equation (12).
add transmitter, Km = steady-state gain for Gm.
From figure 6, assuming that no disturbance change occurred, it can now be said that D = 0, this follows that:
= (1 + ) (12)
Where: = The specific heat, which is assumed to be constant for both phases, D = The initial droplet diameter, = The thermal conductivity of the fluid droplets, L = The latent heat of evaporation, = The temperature of the gas, = The temperature at the surface of the droplet, A = The interface surface area per cell given by
62
= + (15)
= = 0 ( = 0) (16)
= (17)
Combining gives
= (18)
=
(13)
= (19)
where R2 is the liquid volume fraction, V is the cell volume, and d is the droplet diameter.
PID Models
The control signal u(t) (output) is defined as follows:
= (20)
= (21)
= (22)
() = () + () +
()
(14)
= (23)
0
Where Kp is the proportional gain constant, Ki is the integral gain constant, Kd is the derivative gain constant, and e is the error defined as the difference between the setpoint and the process variable value. For a process fluid, consider the loop in figure 7, where each variable is the Laplace transform of a
Combining the above equations gives
= = = ( ) =
( ) (24)
Rearranging gives the desired closed-loop transfer function,
deviation variable. To simplify the notation, the primes and s dependence have been omitted; thus, Y is used rather than Y'(s). Because the final control element is often a control valve, its
= 1+
(25)
transfer function is denoted by Gv. The process transfer function
Gp indicates the effect of the manipulated variable on the
In both the numerator and denominator of Equation. (25) the
transfer functions have been rearranged to follow the order in which they are encountered in the feedback control loop. This convention makes it easy to determine which transfer functions are present or missing in analyzing subsequent problems.
Design of the Flow Controller PID
Direct Synthesis Method: In the Direct Synthesis (DS) method, the controller design is based on a process model and a desired closed loop transfer function.The DS approach provides valuable insight into the relationship between the process model and the resulting controller.
As a starting point for the analysis, consider the block diagram of a feedback control system in Figure. 6 The closed-loop transfer function for set-point changes was derived in equation (25).
Let and assume that = (26) Then equation (25) becomes:
Fig. 8: Flow control action when PID is cascaded with DCS as a controller
=
1+
(27)
For simulation and comparison, the flow system, actuator,
Rearranging and solving for Gc gives an expression for the ideal feedback controller:
valve, flow sensors are mathematically modeled and another experimental data is added. The experimental process data are as follows:
=
1 ( ) (28)
1
-
Process response to the fluid flow gain -400C/Kg/Sec
-
Time constants -25 sec
-
Actuator response to variation of process fluid flow gain -2.50C/Kg/Sec
Desired Closed-Loop Transfer Function
The performance of the controller in Equation (29) strongly depends on the specification of the desired closed-loop transfer function, A practical design equation can be derived by replacing the unknown G by G, and Y/Ysp by a desired closed- loop transfer function, (Y/Ysp)d: (Y/Ysp)d· Ideally, (Y/Ysp)d = 1 so that the controlled variable tracks set-point changes instantaneously without any error
-
Sensors response to variation of process pressure Control valve capacity for fluid flow -1.8 Kg/Sec
-
Time constant of control valve – 3 Sec
-
Time constant of flow sensor -25 Sec
From the experimental data, the characteristic equation and the gains are obtained as shown in equation (32):
() = 3 + 202 + 30 + 50 (32)
-
-
RESULTS AND DISCUSSION
=
1
()
( ) (29)
1( )
1
Test for Stability of the Control System for Validation
Applying Routh- Hurwitz criterion to equation (32), the characteristic equation was obtained as:
( )
=
+1
(30)
3 + 202 + 30 + 50 = 0 (33)
Where c is the desired closed-loop time constant.
By substituting equation (30) into equation (29), and solving for Gc, the controller design equation becomes
From equation (32), we form the Routh Hurwitz array as
3 1 30
= 1 1
(31)
2 20 50
1 (20)(30)50 0
PID Hybridized with Distributed Control System (DCS) Controller
Figure 7 illustrates the flow control action when PID is used as a controller while Figure 8 shows the flow control action when PID is cascaded with DCS as a controller.
20
0 50
For the system to be stable, all the coefficient in the first column of the RouthHurwitz tabulation must have the same sign. This leads to the following conditions:
(20)(30)50 = 60050 > 0 , and 50 > 0
20 20
Solving for value of K,
Fig. 7: Flow control action when PID is used as a controller
let 60050 = 0, Therefore, 600 50 = 0, = 600 = 12
20 50
> 0, If we let K = 12,
We will have to find the roots from the auxiliary equation taken from s2 row of Routh- Hurwitz tabulation
Thus,
A(s) = 20s2 + 50k = 0 20s2 + 50×12 = 0
20s2 + 600 = 0
20s2 = – 600
2 = 600 , = (±30) = ± 5.5
20
= ±5.5
The corresponding value of K at the points of s above is the critical value for stability.
Thus, the system is said to be stable. Simulation of the Designed Controllers
Simulation of the PID controller was done using
MATLAB/SIMULINK software. This was done using the designed control variables and the models shown in sections 3.1, 3.2 and 3.3. Lab-view software and Proteus software were used when the PID and DCS were cascaded for better performance in the Internal Model control method used for the flow control. From figure 9, it could be seen that the overshoot was very high and there was no controller in the system in as much as there were sensors and actuators. There were issues of transients after the overshoot and steady state was achieved after several times were wasted.
Fig. 9: Simulation results of flow when there was no controller
Figure 10 illustrates a SIMULINK representation of a closed loop control system when the PID controller was configured into the system.
Fig. 10: Closed loop control system with PID controller.
To achieve better tability, PID controller was integrated into the system and the result displayed in figure 11. This brought significant improvement but it could be seen that there were still some overshoots and drag from the beginning of the simulation.
Fig. 11: System response when PID controller was integrated.
In figure 12, the simulation study shows the performance of two controllers which are used for virtual buildup of control activity of flow. The controllers (DCS and PID) were used independently to see their performance in terms of control activity. When they are used independently, the PID controller had a high over shoot and rise time before overcoming the disturbance to attain stability. Also, the DCS also had some overshoot when used alone to control the flow before attaining stability.
When the two controllers were incorporated in the loop, the result became fantastic as the overshoot was reduced to minimum level and stability was achieved within a very short time. It also gave faster disturbance rejection with the time duration of few seconds and smaller overshoot. This improvement brought a new window that errors of drag under laminar and turbulence could be overcome using cascaded brand of controllers.
Fig. 12: Performance analysis of the two controllers in different scenarios.
-
CONCLUSION
In this research work, maintenance of constant flow rate of fluids was achieved through the use of combination of controllers. The research work reviewed how the adverse effect of friction could cause devastating effect on flow of fluids.
Orifice plate was specifically considered and modeled for use as the flow measuring device. PID flow controller was modelled for use in the control of the flow, the performance was monitored and simulated and it was found that in as much as it tried to mitigate the problems associated with flow, there were still issues of disturbance but not as much as when there were only sensors, actuators and pumps. Direct Synthesis (DS) methodology was applied in all the processes. In these, mass transfer coefficient was considered. Design of the flow controller was done to see how the modeled PID could effectively communicate with other devices in the control loop.
Cascading of the PID with DCS controller was done to see if a better result could be achieved. It was discovered that the combination yielded fantastic result as the over shoot was drastically reduced to a level that it became inconsequential in the output result obtained comparing it with the reference point already set out.
REFERENCES
-
Process Instrumentation: Flow Measurement, pipingenineer.org, para. 1. [Online]. Available: https://www.pipingengineer.org/process-instrum entation-flow-measurement.
-
Technical Article: Six top factors to consider when selecting a flow meter, mccrometer.com, para. 3. Jun. 15, 2023. [Online]. Available: https://www.mccrometer.com/technical-articles/six-top-factors-to- consider.
-
Automation and Measurement Instrumentation: Flow measurement – Types of flow meters, emerson.com, para. 2. [Online]. Available: https://www.emerson.com/en-us/automation/measurement- instrumentation/flow-measurement/types-of-flow-meters.
-
Ertugrul Cam lhan Kocaarslan, Load-Frequency Control in Two Area Power System, TEKNOLOJ, Volume 7, (2004), Issue 2, 197-203, 2004 Available: https://jestech.karabuk.edu.tr/arsiv/1302-0056/2004/Cilt(7)/S ayi(2)/197-203.pdf.
-
S. Rasvarz, C. Vargas-Jarillo, R. Jafari, & A. Gegov, Flow Control of Fluid in Pipelines Using PID Controller, IEEE Access, 7. Pp. 25673- 25680. Digital Object Identifier 10.1109/ACCESS.2019.2897992 ISSN: 2169-3536 Available: https://eprints.whiterose.ac.uk/ 156071.
-
K. J. Astrom and B. Wittenmark, Computer-controlled Systems: Theory and Design, 2nd Edition Englewood Cliffs, New Jersey, USA: Prentice- Hall, 1990.
-
J. G. Ziegler and N. B. Nichols, "Optimal settings for automatic controllers," Transactions of the ASME, vol. 64, no. 1, pp. 759-768. 1942.
-
N. Rohit, B. Abhiraj, G. Shubhangi, B. Vijaykumar and D. Prasad, Tuning of flow control loop using DeltaV DCS and MATLAB. International Journal of Engineering Research & Technology (IJERT) ISSN: 2278-0181 http://www.ijert.org IJERTV9IS 050796 Published by
: www.ijert.org Vol. 9 Issue 05, May-2020.
-
J. C. Basilio, J. A. Silva Jr, L. G. B. Rolim, and M. V. Moreira, The design of rotor flux-oriented current-controlled induction motor drives: speed control, noise attenuation and stability robustness," IET Control Theory and Applications, vol. 4, p. 24912505.
-
E. B. Priyanka, C. Maheswari and B. Meenakshipriya, Parameter monitoring and control during petrol transportation using PLC based PID controller, Journal of Applied Research and Technology 14 pp 125131.
-
R. Jafari, S. Razvarz, C. Vargas-Jarillo and W. Yu, Control of Flow Rate in Pipeline Using PID Controller IEEE 16th International Conference on Networking, Sensing and Control (ICNSC), May 09-11, 2019, DOI: 10.1109/ICNSC.20 19. 8743311.
-
E. G. Kumar, B. Mithunchakravarthi, and N. Dhivya, Enhancement of PID Controller Performance for a Quadruple Tank Process with Minimum and Non-Minimum Phase Behaviors. 2nd International Conference on Innovations in Automation and Mechatronics Engineering, ICIAME 2014. Procedia Technology 14 (2014) 480 489, doi: 10.1016/j.protcy.2014.08.061.
-
D. M. Bushnell and I. Wygnanski, Flow Control Applications, NASA Langley Research Center Hampton, VA 23681-2199, Tech. Memo. NASA-TM-2020-220436. Availability: NASA STI Program (757) 864- 9658. Jan. 2020.
-
R. Nagvekar, N. A. Bhalerao, S. Gajdhane, V. Bhanuse and P. Diofode, Tuning of flow control loop using DeltaV DCS and MATLAB. International Journal of Engineering Research & Technology (IJERT) Vol. 9 Issue 05 ISSN: 2278-0181 http://www.ijert.org
IJERTV9IS050796, May 2020.
-
S. A. Jagnade, R. A. Pandit and A. R. Bagde, Modeling, Simulation and Control of Flow Tank System International Journal of Science and Research (IJSR) ISSN (Online): 2319-7064 Volume 4 Issue 2, February 2015, Index Copernicus Value (2013): 6.14 | Impact Factor (2013): 4.438 Available: https://www.ijsr.net/archive/v4i2/SUB151274.pdf.
-
Woolf J. Peter, Chemical Process Dynamics and Controls Book, University of Michigan, Chemical Engineering Process Dynamics and Controls Department, Ann Abor, MI, 2009 Available: https://open.u mn.edu/opentextbooks/textbooks/614.