Process Control Project Report 1
Process Control Project Report 1
UNIVERSITY
COLLEGE OF ENGINEERING AND ARCHITECTURE
Chemical Engineering Department
Project Report
PROCESS CONTROL OF THE DYNAMIC SYSTEM: WATER TANK
AUTHORS
Degollacion, Plutarch Romiel A.
Mondejar, Ma. Theresa B.
Pasasadaba, June Vernon B.
Rubi, Ma. Lourdes C.
ABSTRACT
controllers, for regulating water level and temperature in a dynamic system, focusing on a water
tank. It integrates theoretical models with practical implementations to maintain precise control
over system variables. Through simulation setups and hardware descriptions, the study
demonstrates the effectiveness of the control system in achieving desired setpoints. Control
tuning processes optimize PID controller parameters, ensuring stability and responsiveness.
The project concludes by highlighting future directions for enhancing control strategies and
system optimization.
A. Objective
The control aims to maintain the water level (measured by transmitter LT) and
temperature (measured by transmitter TT) at desired set points using closed-loop
feedback strategies using PI controllers (LC and TC, respectively) in the ΔV distributed
control system.
With the needs of research and technology development, water tank testing
systems are becoming the mainstream of process control testing equipment. With a
water tank system containing typical process variables such as liquid level, flow rate,
pressure and temperature, it is possible to simulate systems of different orders, linear or
nonlinear, single or multi-capacitive and with large time constants. Control devices can
be PLC, computer or distributed control system or field control system. And the
experimental platform is more open and convenient to achieve various traditional or
advanced management strategies.
Balances are created by defining a boundary around the process and then
computing the following.
The constant volumetric flow rate 𝑄1 is controlled by the control valve opening
𝑄1 = 𝐾µ∆µ eq.1
According to the mass balance, the difference between the liquid inflow and
outflow of the tank within the unit time should be equal to the rate of change of the liquid
accumulated in the tank. Thus,
𝑑𝑉
𝑑𝑡
= 𝑄1 − 𝑄2 eq.2
𝑉 = 𝐴ℎ(𝑡) eq.3
Dynamic system models describe how system variables evolve over time in
response to inputs, disturbances, and control actions. In the context of a water tank,
relevant variables may include water level, inflow rate, outflow rate, temperature, and
pressure.
II. Theory, Methods, and Based Modeling
This section serves as the foundational framework for understanding the
principles, methodologies, and models used in the project. It typically encompasses
theoretical concepts, mathematical models, and analytical methods employed to design
and analyze the control system.
PARAMETERS
H Water Level, m
h Residual (h = H - Hss), m
ds Tank Diameter, m
Mass Balance:
The change in water level (ΔH) over time is determined by the difference
between the inflow rate, Qi, and outflow rate, Qo, of water to and from the tank.
𝑑𝐻 𝑄𝑖−𝑄𝑜
𝑑𝑡
= 𝐴
To derive the equation, the determined values from Table 1 is substituted, arriving
to the equation as follows:
𝑑𝐻 0.008−𝑄𝑜
𝑑𝑡
= 0.041
(1)
Energy Balance:
The change in water temperature (ΔT) over time is determined by the energy
balance, taking into account the heat transferred through inflow and outflow, where V is
the volume of water in the tank in m3, T is the temperature, Ti is the inflow temperature,
and To is the outflow temperature.
𝑑(𝑇·𝑉)
𝑑𝑡
=𝑄𝑖 · (𝑇𝑖 − 𝑇) − 𝑄𝑜(𝑇 − 𝑇𝑜)
To derive the equation, the determined values from Table 1 is substituted, arriving
to the equation as follows:
𝑑(𝑇·𝑉)
𝑑𝑡
= 0. 008 · (27 − 𝑇) − 𝑄𝑜(𝑇 − 𝑇𝑜) (2)
To obtain the pressure loss due to friction and other factors, empirical formulas
such as the Darcy-Weisbach or Hazen-Williams equations are used. Recalling the
mass and energy balance equations and incorporating pressure loss by integrating
hydrostatic pressure and pressure loss terms in the balance equations.
Hydrostatic Pressure:
The hydrostatic pressure exerted by the water column in the tank depends on the
height of the water level (H) and the density of water, as shown:
𝑃𝐻𝑦𝑑𝑟∆𝑜𝑠𝑡𝑎𝑡𝑖𝑐 = ρ · 𝑔 · 𝐻 (3)
𝑑𝐻 𝑄𝑖−𝑄𝑜 ∆𝑃
Mass balance: 𝑑𝑡
= 𝐴
− ρ·𝑔
(4)
𝑑(𝑇·𝑉) ∆𝑃·𝑄𝑜
Energy Balance: 𝑑𝑡
=𝑄𝑖 · (𝑇𝑖 − 𝑇) − 𝑄𝑜(𝑇 − 𝑇𝑜) − ρ·𝐴
(5)
These equations account for the influence of pressure on the dynamics of the
water tank system, considering both hydrostatic pressure and pressure losses within
the system. The addition of these pressure terms enhances the accuracy of the
mathematical model, especially when a controller is applied to regulate the system.
A. Simulation Set-up
DWSIM Simulation:
The process involves regulating the water level within a tank using a PID
controller, which operates in tandem with two control valves. Initially, the operator
or control system sets a desired water level, known as the setpoint. This setpoint
serves as the target level that the system aims to achieve and maintain within the
tank.
A level transmitter continuously measures the actual water level within the
tank, providing real-time feedback to the control system. This measurement is
crucial for assessing the current state of the system relative to the desired
setpoint. The measured level is then compared with the setpoint to determine the
error, representing the deviation between the desired level and the actual level.
The PID controller computes a control signal that reflects the corrective
action required to regulate the water level. This signal is transmitted to the
actuation system, which consists of two control valves. If the measured level
exceeds the setpoint, indicating an overfill condition, the second valve, located
after the tank, either drains excess water or adjusts its opening to reduce the
water level to the desired setpoint.
Figure 3.3 Process Flowsheet of the Water Tank - Different Set Point
Figure 3.4 DWSIM Dynamics Manager - Changed Amount Variables
D. Hardware Set-up
For the water level control system using a PID controller and two control valves,
the hardware set-up would contain the following to ensure precise regulation of
the water level within the tank:
Tank Configuration: The central component of the system is the tank which
stores the water. This tank must be equipped with adequate inlet and outlet
provisions that are controlled by the two control valves. It should be designed to
accommodate the specific volume and pressure conditions of the application and
constructed from materials compatible with the water quality and environmental
conditions.
PID Controller: The core of the control system is the PID controller, which
calculates the necessary adjustments to maintain the water level at a
predetermined setpoint. The controller's effectiveness hinges on the precise
tuning of its proportional, integral, and derivative gains, which must be optimized
according to the dynamic characteristics of the specific application to minimize
error and enhance response time and stability.
Control Valves: The system incorporates two strategically placed control valves
to manage water flow: one valve controls the inflow by adjusting its opening
based on the PID controller's signals, while the other manages the outflow, either
draining excess water or modulating the discharge to maintain the setpoint.
These valves must be selected based on their capacity to handle the expected
flow rates and pressures and should feature rapid response times to changes in
the control signal.
Actuation System: This system includes the control valves and their associated
actuators, which physically open or close the valves in response to commands
from the PID controller. The actuators must be robust and reliable, capable of
precise movements and quick adjustments to valve positions to accurately match
the controller's demands.
Sensor Interface: An integral part of the system, the sensor interface, links the
level transmitter with the PID controller. This interface must ensure seamless and
error-free transmission of water level data to the controller, enabling accurate and
timely adjustments to the control signals sent to the actuation system.
Power Supply: A stable and reliable power supply is essential for the
uninterrupted operation of the PID controller, actuation system, and other
electronic components of the water level control system. The power supply
should be designed to handle fluctuations and provide consistent power to all
components.
Note: q(t) represents the time-varying volumetric flow rate under constant density
conditions.
𝑑(𝐴ℎ) 𝑑ℎ
ρ(𝑞 − 𝑞0) = ρ 𝑑𝑡
→ 𝑞 − 𝑞0 = 𝐴 𝑑𝑡
ℎ 𝑑ℎ
𝑞− 𝑅
=𝐴 𝑑𝑡
ℎ𝑆
Steady State condition: 𝑞𝑠 − 𝑅
=0
Note: 𝐻 = ℎ − ℎ𝑠
𝐻 𝑑𝐻 𝑑𝐻
𝑄− 𝑅
=𝐴 𝑑𝑡
→ 𝐴𝑅 𝑑𝑡
+ 𝐻 = 𝑅𝑄
𝑑𝐻
𝐴𝑅 𝑑𝑡
+ 𝐻 = 𝑅𝑄
𝑅 1
𝐻(𝑠) = τ𝑠+1
(𝑠)
IN-OUT
The table presents comprehensive data comparing inlet and outlet parameters
obtained from the simulation, offering valuable insights into the system's behavior.
While the temperature differential between inlet and outlet is minimal, suggesting
limited heat exchange, a notable pressure drop hints at significant resistance within the
system. Although mass and molar flows show consistency, minor fluctuations imply
potential variations in fluid dynamics. Similarly, slight deviations in volumetric flow and
density underscore system stability.
Table 4.2. Valves Setting Values
Valves Setting
Actuator Delay 0 0 s
Opening 30.0428 50
Characteristic Parameter 50 50
Table 4.2 provides crucial insights into the setting values of valves within the
system. Valve 02 exhibits a higher pressure drop and a marginally lower outlet
pressure compared to Valve 01, indicating potentially different flow control capabilities.
Tank Settings
Object Tank
Height 2 m
Pressure Drop 0 Pa
Volume 2 m3
Table 4.3 outlines the settings pertaining to the tank within the system. It
indicates a liquid level of 1.80003 meters within the tank, with a total height of 2 meters.
The tank is initialized using the inlet stream with no pressure drop observed. With a
volume of 2 cubic meters, the tank has a residence time of 199.411 seconds, reflecting
the duration for which fluid remains within the tank before exiting.
PID
Kp 119.455
Ki 4.52784
Kd 16.3382
Output 15.6905
OutputMin -1000
OutputMax 1000
OutputAbs 30.0428
In this section, the focus is on optimizing the parameters of the control system
and assessing its stability to ensure robust and effective performance in regulating the
system's behavior. This section typically follows the development and validation of the
control algorithm and the integration of the controller with the system hardware.
A. Control Tuning
Proportional-Integral-Derivative (PID) control is a widely used feedback
control technique that adjusts control actions based on error, integral of error,
and derivative of error. PID controllers are effective for regulating water level by
adjusting valve openings or pump speeds. It is a crucial step in designing an
effective control system, especially for dynamic systems like water tanks.
Where:
𝑃𝑜𝑢𝑡: Proportional term of output
𝑒: Error = SP − PV
𝑡: Time or instantaneous time (the present)
𝑀𝑉: Manipulated variable
The higher the error the higher the proportional control which
leads us to another one that is that: the proportional control leads
the system to a fast SetPoint.
Model fitting played a crucial role in validating the accuracy of the mathematical
models used to represent the behavior of the water tank system. The process involved
comparing the predicted outputs of the models with actual data obtained from the
system under various operating conditions. This step was essential in ensuring that the
mass and energy balance equations used were capable of accurately capturing the
dynamics of water level, temperature, pressure, and flow rates within the tank. The high
degree of congruence between the simulated results and the actual data underscored
the model’s reliability and the effectiveness of the control strategies employed,
particularly in how the valve settings and tank configurations were adjusted to respond
adeptly to any changes in the process variables.
The performance of the PI controllers was another focal point of the analysis. In
the PID results section, the efficiency of these controllers was evident in their ability to
minimize deviations between the actual measurements and the desired setpoints for
water level and temperature. This was particularly highlighted through the controllers'
history graphs, which provided a visual representation of the controllers' performance
over time. The fine-tuning of the PID parameters, a critical aspect of the project, was
optimized to enhance the system's stability and responsiveness, thus achieving the
project's core objective of maintaining precise control over the dynamic variables within
the system.
The design and execution of the project were grounded in robust principles of
process control and automation technology. By integrating sensors, actuators, and
controllers within a well-thought-out system framework, the project not only
demonstrated a high level of technical proficiency but also showcased the practical
application of theoretical concepts in a controlled environment. This integration was
critical in facilitating the real-time monitoring and adjustment of the system parameters,
ensuring that the control strategies were both effective and efficient.
The project's success is a testament to the rigor and precision of modern control
engineering practices. From the initial model fitting and simulation phases to the final
implementation of control strategies, each component of the project was meticulously
planned and executed. The successful outcome not only validated the theoretical
models but also demonstrated the practical capabilities of PI controllers in managing
complex dynamic systems like water tanks. The project thus stands as an exemplary
model of how theoretical knowledge can be effectively applied in practical scenarios to
achieve precise and reliable control over critical system variables.
IX. Conclusion and Future Work
In conclusion, the water tank control system designed and analyzed in this
project showcases a robust approach to maintaining precise water levels and
temperatures within industrial processes. Beyond technical efficacy, the implications of
this control system extend to various non-technical factors, reflecting its broader
significance in societal, environmental, and economic contexts.
Public Health and Safety. Accurate water level control is paramount in industries
where processes rely on specific liquid levels for optimal operation. Maintaining precise
levels mitigates risks of equipment malfunction, spills, and potential hazards, thereby
enhancing workplace safety and minimizing health risks associated with industrial
accidents.
Social Factors. Reliable water management systems play a vital role in community
well-being, ensuring access to clean water and sanitation. By enhancing control over
water levels and quality, industries indirectly contribute to social welfare by supporting
infrastructure development and resource conservation efforts.
Environmental Factors. Precise control over water levels minimizes wastage and
reduces environmental impacts associated with excessive resource consumption.
Additionally, optimized process control strategies can lead to lower emissions and
pollutants, contributing to environmental preservation and conservation efforts.
Economic Factors. Efficient process control systems translate into cost savings
through reduced energy consumption, minimized material wastage, and enhanced
productivity. By improving operational efficiency and product quality, industries can
remain competitive in global markets, fostering economic growth and sustainability.
The process control simulation not only achieved its goal of maintaining the water level
and temperature within the tank but also laid down a foundation for future exploration. It
highlighted the importance of an integrated approach involving theoretical
understanding, simulation validation, and practical implementation of control strategies.
Future directions could include refining the control algorithms, exploring advanced
control techniques, or incorporating additional sensors and actuaries to enhance
system monitoring and control capabilities, aiming for even greater efficiency and
optimization of the dynamic system.
References
Perry, R. H., & Green, D. W. (Eds.). (2008). Perry's chemical engineers' handbook (8th
ed.). McGraw-Hill.
Don, W. (2023). Principles of valve controls and how they operate. THINKTANK.
https://cncontrolvalve.com/principles-of-valve-controls-and-how-they-operate/
Getu, B. N. (2016). Water level controlling system using PID controller. International
Journal of Applied Engineering Research, 11(23), 11223-11227. ISSN 0973-4562.
Li , X., Li, Z., & Li, Z. (n.d.). he Application of Linear and Nonlinear Water Tanks Case
Study in Teaching of Process Control. Radware bot manager Captcha.
https://iopscience.iop.org/article/10.1088/1755-1315/113/1/012165/pdf