🔥 Join Free Webinar on Thermal Energy Storage!

Pump Station control system design using Ladder logic and HMI interface in CODESYS software

Analyze the process requirements

A gas turbine-driven pump, a heat recovery boiler, a steam turbine generator, and fuel handling subsystems are all part of the highly integrated remote turbo pump station described in the process description. This station’s main purpose is to use a gas turbine as the prime mover to pump liquid through a 48-inch pipeline. Self-sufficiency in power generation is essential because the station is situated in a remote location. This is accomplished by using a steam turbo generator, which is driven by the steam produced by the exhaust heat of the gas turbine. In addition to ensuring energy efficiency, this configuration lessens the station’s reliance on outside power sources. Safety, operational continuity, and energy redundancy must also be taken into account.

Figure 1: Overview diagram of Turbo Pump Station

As mentioned in figure 1: Several process variables need to be measured, tracked, and managed to guarantee dependable, energy-efficient, and seamless operations. These consist of the gas turbine’s combustion and exhaust temperatures, boiler pressure and temperature, fuel tank level, steam generation parameters, and burner control. Since the burner is only activated in certain situations, like when the gas turbine shuts down, its presence as a boiler backup necessitates exact automation and control. To further safeguard the staff and equipment, a variety of alarms, interlocks, and fail-safes must be included. It is also essential to acquire data in real time and transmit signals to a nearby SCADA or remote monitoring facility. To guarantee smooth connectivity between field devices, HMI, and control systems, communication protocols like Modbus TCP, OPC UA, or MQTT will be required.

Ladder logic programming is used to model the process logic and integrate it with a real-time Human-Machine Interface (HMI) in order to develop this automation and control system in CODESYS. The I/O configuration table will initially define all input/output signals, analog process variables, and digital status indicators. Ladder Logic (LD) in CODESYS will then be used to develop the control logic, where interlocks, permissive, and sequencing will be programmed for each subsystem, such as generator switching, burner activation, and pump startup. The pump, turbine, boiler, and fuel system will all be represented graphically in the HMI, which will be created using CODESYS Visualization Manager. Set point adjustments, analog value displays, alarm notifications, and start/stop buttons will all be a part of the operator interface. In order to send process data in real time, communication with remote monitoring systems will be established via Ethernet/IP or Modbus TCP over a secure VPN.

 

Detailed control system design and instrumentation selection

For all plant subsystems to operate steadily, safely, and effectively, the turbo pump station’s control system is essential. Identification of process/control variables (manipulated variables) and input variables (measured parameters) is crucial for instrumentation engineers [1]. Important input variables consist of:

  • Temperature of the gas turbine’s inlet
  • Temperature of the combustion chamber
  • Boiler pressure and temperature
  • Temperature of steam turbine exhaust
  • level of the fuel tank
  • Status of the burner
  • Pressure at the pump’s outlet
  • Rate of pipeline flow

Sensors and transducers gather these inputs, which are then transmitted to the Programmable Logic Controller (PLC) for processing and decision-making. On the other hand, the control system controls boiler pressure, pump motor start/stop, turbine speed, burner fuel flow, and valve actuation for fuel flow and fluid routing. The system guarantees optimal performance, fuel efficiency, and safety interlocking by continuously evaluating these variables.
When it comes to measuring and adjusting these parameters, equipment is essential. For precision and robustness in high-temperature settings, Type E thermocouples or RTDs are advised for temperature readings. At the boiler, steam line, and pump discharge, 4-20 mA pressure transmitters with local and remote display capabilities should be installed for pressure readings. Large pipeline flow monitoring can be accomplished with flow sensors like vortex or ultrasonic flow meters. Magnetostrictive level sensors or ultrasonic level transmitters offer accurate and continuous level monitoring in the fuel tank [1].

Motor-operated valves (MOVs) for isolation control, solenoid valves for emergency shut-off, and modulating control valves with positioners for steam and fuel flow regulation are examples of control elements. The available utility and the required speed and torque must be taken into consideration when choosing actuators, whether they are electric or pneumatic. To guarantee safe operation, the burner needs to have pilot valves, flame sensors, and an ignition control module. The labeling and design requirements of ISA 5.1 should be met by the entire instrumentation system. Interlocks, alarm annunciators, and Emergency Shutdown (ESD) buttons must be incorporated into the HMI and SCADA systems for operator visibility and prompt response.

CODESYS software will be used to implement the control architecture, and to create reliable control algorithms, a combination of Ladder Logic (LD), Function Block Diagram (FBD), and Structured Text (ST) may be employed. The output will be mapped to actuators or indicators after each input has been mapped into the I/O configuration and processed by PID controllers or logical conditions. All current values, trends, alarms, and manual overrides will be shown on the HMI screen. The system must also have data logging for historical analysis and maintenance. To avoid noise or interference, especially in isolated and electrically noisy environments, proper grounding, shielding, and signal isolation procedures must be followed.

CODESYS‘s Ladder Logic Implementation and HMI Design

Ladder logic and HMI are used in this CoDeSys project to model a pump station for automated, safe control. Declared variables are used by the system for both inputs (such as Start, Stop, and Emergency Stop) and outputs (such as Pump Running and Alarm). Ladder logic makes sure the pump only operates safely and shuts off right away in the event of an issue or emergency. Operators can access interactive controls and status indicators through the HMI. Safety and reaction time are enhanced by real-time alerts and emergency visuals. Testing live system behavior is made easier with the Watch Window. Accurate signal assignment is ensured by device mapping. Structured I/O and communication protocols facilitate remote monitoring and control. With manual overrides, the project encourages high reliability. In a remote turbo pump configuration, this design improves safety and operability.

Defining the system variables, writing the ladder logic program, and designing an easy-to-use HMI interface are the first steps in implementing the pump station control system in CODESYS. This integration guarantees system safety, visibility, and diagnostics while permitting both automated control and manual intervention.

Figure 2: Variables define for Pump Station in CODESYS

The global and local variable declaration tables in CODESYS are used to declare the variables in Figure 2. While outputs like PumpRunning, Alarm, and PumpCommand are connected to actuators and indicators, inputs like Start, Stop, EmergencyStop, PumpFeedback, and AlarmCondition are connected to sensors and control signals. In order to translate signals from the real world into PLC logic, these variables are necessary.

Figure 3: Ladder Logic design of Pump Station in CODESYS

You can download the Project files here: Download files now. (You must be logged in).

The ladder logic diagram used to regulate the pump’s operation is displayed in Figure 3. The Start condition is evaluated at the beginning of the ladder logic. The PumpRunning coil is activated if EmergencyStop is not in use and there is no alarm condition. In the event of an alarm or emergency, the logic incorporates interlocks to safely shut down the system and feedback loops to confirm that the pump is indeed operating.

Figure 4: HMI Display of Pump Station in CODESYS

The basic interface of the HMI screen depicted in Figure 4 consists of status indicators for Pump Running and Alarm in addition to buttons for Start, Stop, and Emergency Stop. This screen allows operators to manually operate the station and view the pump status in real time.

Figure 5: HMI Display of Pump Station running mode with alarm in CODESYS

When an alarm is set off while the pump is operating, Figure 5 shows the HMI screen. The operator is alerted by a red blinking indicator and a clear display of the alarm signal, allowing for prompt remedial action.

Figure 6: HMI Display of Pump Station running mode with Emergency Stop in CODESYS

The pump station is depicted in an Emergency Stop state in Figure 6. To ensure safety compliance, the PumpRunning status is off, and all control buttons—aside from the Reset function—are deactivated. Additionally, this mode causes the HMI to display or sound an emergency alert.

Figure 7: HMI Display of Pump Station running mode without alarm in CODESYS

The standard operating mode with no alarms is shown in Figure 7. The PumpRunning status is active and all conditions fall within safe bounds. To lessen the operator’s cognitive load during routine monitoring, the interface has been simplified.

Figure 8: Device Application Window of Pump Station running mode in CODESYS

In the CoDeSys development environment, hardware device configuration and I/O variable mapping are provided by the Device Application Window (Figure 8). This view verifies that every PLC input and output is connected to the appropriate physical device or simulator.

Figure 9: Variables listing of Pump Station running mode in CODESYS

The running mode’s full variable listing, including boolean flags and real-time values, is displayed in Figure 9. This is essential for debugging and comprehending how the system behaves during testing and operation.

Figure 10: Watch Window of Pump Station running mode in CODESYS

Last but not least, Figure 10 shows the Watch Window, which allows engineers to set breakpoints, track real-time variable values, and test the effects of input changes on outputs. During the commissioning, debugging, and validation stages, this tool is very helpful.

Piping and Instrumentation Diagram (P&ID)

A comprehensive Piping and Instrumentation Diagram (P&ID) that complies with ISA 5.1 standards and clearly indicates instruments, piping routes, signal types, and communication protocols is required to satisfy the control and monitoring requirements of the remote turbo pump station. All essential parts, including pumps, fuel tanks, burners, turbines, boilers, pressure and temperature transmitters, control valves, and safety interlocks, should be listed in the P&ID. The ISA 5.1 standard symbology should be followed when labeling each instrument. For instance, TT stands for temperature transmitter, PT for pressure transmitter, LIC for level indicating controller, and FCV for flow control valve. For all parties involved, including engineers, technicians, and auditors, this standardization guarantees clarity and interoperability [2].

The system will use both digital (Modbus RTU/TCP or EtherNet/IP) and analog (4–20 mA) communication for signal transmission. Temperature, pressure, and tank level are examples of continuous process variables that can be transmitted over long distances using analog signals because they provide reliable, interference-resistant readings. Because of its extensive industrial use, simplicity of configuration, and compatibility with CoDeSys software, Modbus TCP/IP is advised for digital communication. Fiber optic communication may be taken into consideration to reduce electromagnetic interference (EMI) in high-noise environments or where longer cable runs are required. Robustness and dependability would be guaranteed by a hybrid architecture that uses digital for diagnostics and control signals and analog for crucial measurements.

You can download the Project files here: Download files now. (You must be logged in).

Instrument Index

Each instrument’s tag number, type, function, signal range, location, and communication type should be listed in the instrumentation index. For example:

  • TT-101: Analog temperature transmitter with boiler outlet, 0–800°C, 4–20 mA
  • PT-201: Modbus RTU Pressure Transmitter with Steam Line, 0–100 bar
  • LIC-301: Fuel tank level controller, 0–100% Analog Input: 4–20 mA
  • FCV-401: Flow Control Valve; Electric Actuator; Fuel Line to Burner; Digital Output via Modbus TCP

OPC UA protocol-based SCADA integration is ideal for remote monitoring since it provides safe, platform-neutral communication between distant facilities. Real-time data analytics, fault diagnosis, and predictive maintenance are made possible by OPC UA’s smooth integration with cloud platforms and industrial IoT systems. By guaranteeing scalability, this strategy prepares the system for future integration with AI-powered energy optimization tools. Therefore, a thorough and standards-compliant architecture for this remote pump station is formed by the suggested P&ID, instrumentation index, and communication protocols.

Figure 11: Final Piping & Instrument Diagram of Pump Station

The full Piping and Instrumentation Diagram (P&ID) of the turbo pump station intended for a remote location is shown in Figure 11. The physical piping layout and related instrumentation used to monitor and control the process are shown in detail in this diagram. Each component is symbolically represented and appropriately tagged for identification and maintenance in accordance with ISA 5.1 standards, which are followed by the P&ID.

The gas turbine-powered turbo pump is the main part of the system. By means of control valves (FCV) that are triggered by control logic, a fuel tank provides fuel to the gas turbine and a burner. The system is made more energy-efficient by redirecting the gas turbine’s exhaust into a boiler, which creates steam that powers a steam turbo generator.

Choosing a DAQ Resolution (12-bit vs. 16-bit):

For this application, a 16-bit DAQ is better. High resolution is necessary to detect tiny voltage changes, such as 3.4 μV. A 16-bit DAQ offers 2¹⁶ = 65,536 steps, which greatly improves precision, compared to 2¹² = 4096 steps for a 12-bit DAQ.

Let’s look at an input range of ±10 V (20 V total):

12-bit resolution is

20 V / 4096 = 4.88 mV/step.

16-bit resolution is

20 V / 65536 = 0.305 mV/step.

While the 16-bit DAQ, when paired with the right amplification, can detect changes as small as 3.4 μV, the 12-bit DAQ cannot, even after amplification.

16-bit DAQ is the best option. This is because only a 16-bit system can detect tiny microvolt-level changes, such as 3.4 μV, with sub-mV accuracy following amplification [3].

Range of Input Voltage (0–10 V vs. -10 to 10 V):

The -10 V to +10 V range is more appropriate. Thermocouple outputs are bipolar, meaning they can be either positive or negative. This is particularly true when the ambient temperature fluctuates between sub-zero and high positive values. Any negative signal would be clipped when using a unipolar range (0–10 V), which could result in data loss and safety hazards.

The Best Option: range of -10 to +10 V
Justifications: Guarantees that the entire thermocouple signal span, including any negative millivolt readings, is recorded.

Maximum Possible Amplification Gain

47.78 mV is the maximum thermocouple voltage.
We calculate the maximum gain in order to prevent the ±10 V DAQ input from becoming saturated:

Maximum Gain = Full-scale Voltage / Maximum Signal = 10 V / 0.04778 V ≈ 209.3

Since 210 and 250 would be above the ±10 V range, 205 is the maximum amplification gain that can be achieved without signal clipping.

Response: Maximum Gain = 205
Justification: The maximum gain that can be achieved below the signal saturation threshold is 205.

Minimum Required Amplification Gain

The amplified signal needs to be resolvable by the DAQ in order to detect a 3.4 μV change.

At ±10 V and 16-bit resolution:

 

20 V / 65536 ≈ 0.305 mV or 305 μV for each bit.

Therefore, to detect 3.4 μV:

305 μV / 3.4 μV ≈ 90 is the required gain.

As a result, a minimum gain of 100 is needed, with 90 being the nearest available.

Response: Minimum Gain = 100
Justification: With 16-bit DAQ resolution, it amplifies 3.4 μV to 340 μV, which is sufficient for clear registration.

You can download the Project files here: Download files now. (You must be logged in). 

Table 1: DAQ Resolution with Voltage range and Gain

Parameter

Answer

Justification

Best DAQ Resolution

16-bit

Required for detection microvolt changes (3.4uV)

Suitable Voltage Range

±10 V

Allows bipolar thermocouple signal from negative to positive temperatures

Max Amp Gain

205

Keeps amplified signal within ±10 V range

Min Amp Gain

100

Ensures 3.4 uV signal becomes detectable after amplification

 

Standards-Promoting Organizations in Australia

Engineering and instrumentation standards are established and enforced by a number of organizations in Australia. The main non-governmental organization creating technical standards for all industries is Standards Australia. Engineers Australia makes sure that engineering codes of practice are followed. Protocols for communication are governed by the Australian Communications and Media Authority (ACMA). Accuracy in calibration and measurement is guaranteed by the National Measurement Institute (NMI). International standards such as ISO and IEC are closely aligned with these organizations [4].

 

Needs for Documentation

Process & Instrumentation Drawings (P&ID) for system layout and index sheets for instrumentation reference are examples of essential documentation. The technical details of the instruments used are specified in data sheets. While audit reports guarantee system compliance and traceability, calibration certificates confirm measurement accuracy. Finally, operating procedures offer detailed instructions for safe and efficient operation.

Future Improvements: Energy Savings & Remote Monitoring

IoT-based remote monitoring will be used in future enhancements to facilitate predictive maintenance and real-time diagnostics. Fuel consumption can be decreased and load can be optimized by integrating intelligent energy management systems. Reliance on fuel can be decreased by using renewable energy sources, such as solar backup [5]. Efficiency tracking and fault prediction may be aided by advanced analytics. These improvements lower operating costs and improve sustainability [6].

Clarity of the Report and Communication Style

The report has a professional, well-organized format with appropriate headings and a logical flow. Both technical and non-technical readers can easily understand the clear explanations of technical terms. Figures and diagrams are properly labeled to bolster the text. Readability is improved by using bullet points and succinct paragraphs. All things considered, the communication is clear and compliant with academic requirements.

 

References

  1. Johnson, Process Control Instrumentation Technology, 8th ed., Pearson Education, 2006.
  2. International Society of Automation (ISA), Instrumentation Symbols and Identification, ISA-5.1-2009.
  3. National Instruments, DAQ Fundamentals and Specifications Guide, NI White Paper, 2021.
  4. Standards Australia, AS 61508 – Functional Safety of Electrical/Electronic/Programmable Systems, 2011.
  5. Galloway and G. P. Hancke, “Introduction to Industrial Control Networks,” IEEE Communications Surveys & Tutorials, vol. 15, no. 2, pp. 860–880, 2013.
  6. Q. Liu, Y. Zhang, and L. Wang, “SCADA System for Remote Monitoring of Industrial Processes,” in Proc. IEEE Int. Conf. Industrial Informatics, 2020, pp. 233–238.

You can download the Project files here: Download files now. (You must be logged in).

Keywords: Codesys Software,HMI interface,Ladder Logic,PLC,Pump Station

Do you need help with PLC Programming in Codesys and HMI programming? Don’t hesitate to contact our Tutors to receive professional and reliable guidance.

Related Articles

Obtaining the Inductance with Dependence on Frequency and Amplitude of the Applied Alternating Current via Measurements and Validation of Considered Non-linearity and Saturation Effects with Lumped Parameter Model

This publication provides the process for obtaining of a self-inductance of electrical machines with a dependence on frequency and amplitude of an applied alternating current and consideration of a non-linearity and saturation effects in the equivalent circuit lumped parameter model that would have the same frequency and time domain characteristic as some desired investigated electrical machine. The values of inductances were calculated from measured impedances for wide ranges of frequencies and currents according to the theory of a complex inductance and iron losses. The measured data were analyzed and summarized in a table and then used for modeling of a automotive alternator. The model was supplied with curve fitted data. The simulation of a common automotive test case was obtained and compared with measurements. Good match between the theory and measurements and reasonability of the suggested approach were confirmed.


This content is for Basic and Premium members only.
Join Now
Already a member? Log in here

Renewable Energy Policies in the European Union: Germany Example, Legal Regulations and Alternative Energy Sources

Global climate change and energy security are critical issues shaping modern energy policies. Following the Kigali Amendment, Germany and the European Union have intensified legal regulations and incentives to promote renewable energy. This study explores the historical development of legal regulations, including the Renewable Energy Sources Act and the national hydrogen strategy, alongside alternative energy sources such as electrolyzers, heat pumps, and geothermal energy. The analysis highlights Germany’s leadership in renewable energy transitions and the challenges ahead in achieving energy independence and carbon neutrality by 2050.

Standstill Frequency Response Test for Obtaining Parameters of Six Phase Double Delta Salient-Pole Synchronous Machine on Example of Claw-Pole Alternator

The current publication introduces an approach for obtaining parameters of a six phase double delta salient-pole synchronous machine, based on the standstill frequency response test. The described approach was verified by measurements on a automotive claw-pole alternator, done in a laboratory on a test bench.


This content is for Basic and Premium members only.
Join Now
Already a member? Log in here

MATLAB Simulink Model of design controllers for level and temperature in a reactor

Author: Waqas Javaid

  • Report layout and clarity

The detailed design and MATLAB Simulink simulation of control systems for regulating reactor process temperature and liquid level are shown in this research. Feedforward, cascade, open-loop, and single-loop feedback are the four control techniques discussed. By carefully building, fine-tuning, and assessing each methodology’s performance, the article sheds light on its advantages and disadvantages. A customized strategy based on a distinct physical environment (hot mixing tank) is also recommended in order to ensure academic originality when replicating the assignment.

  • Problem statement

In modern industrial settings, reactor operations are widely used in chemical and medical field. Due to this, it must be carefully regulated to ensure safety, maintain product quality, and optimize resource utilization. In most chemical and thermal reactors, two critical parameters that must be strictly regulated to avoid operating risks and inefficiencies are temperature and liquid level. Inadequate control may lead to hazards like as spillage, thermal runaway, or subpar chemical process performance. The goal of this project is to develop, simulate, and assess effective control strategies for these two variables using MATLAB Simulink. The research examines several control approaches, including as feedforward, cascade, feedback (single-loop), and open-loop systems, to determine which control strategies offer the most accurate and dependable performance under different disturbance scenarios [1] [2].

Responses

Your email address will not be published. Required fields are marked *

L ading...