Plumbing leakage detection system with water level detector controlled by programmable logic controller type Omron CPM2A

Sri Hartanto, Desmayadi Desmayadi


There is a chance of leakage in the plumbing caused by water pressure in the pipes, improper installation of pipe connections, or external influences, such as earthquakes. Plumbing leakage that is detected too late can cause damage to other systems. It is necessary to have a plumbing leakage detection system to detect a leak in the plumbing. Therefore, in this research, a plumbing leakage detection system is designed with a water level detector (WLD) controlled by a programmable logic controller (PLC) type Omron CPM2A. The method used in this research is designing the optimal model form of the system, which is distinguished by designing hardware and software, testing the devices, such as power supply, WLD, and channel relay module (CRM), and making conclusions. From the results of this research, it was found that the system works well in detecting leakage of plumbing, as indicated by all transistors' ability to work well where the electrodes (E1 and E2) are connected by water. The transistor in the WLD module will work as a switch or transistor in the saturation position. In this research, it can be seen that even though there is a leakage from the relay contacts of 1.8 VDC, it is still considered in a safe condition because to provide a trigger to the 3B3D Module, a minimum of 12 VDC is required. In addition, when the relay is not working or off, the measurement at the normally closed (NC) terminal is 12 VDC.


channel relay module (CRM); leakage detection; programmable logic controller (PLC); water level detector (WLD).

Full Text:



R. Dixit, H. Chaudhari, S. Jadhav, and K. Jagtap, “Water Level and Leakage Detection System with its Quality Analysis based on Sensor for Home Application,” International Journal of Innovative Research in Science, Engineering and Technology (IJIRSET), vol. 7(5), pp. 5534-5542, 2018.

B. Perangin-angin and A. A. B. Sitepu, “Water Pipe Leakage Detector Using a Pressure Transmitter Sensor with a Remote Distance Smartphone Display,” Journal of Technomaterial Physics, vol. 3(1), pp. 15-20, 2021.

Md. S. A. Momin, P. Roy, Mr. Md. G. Kader, Md. S. Hasan, and S. Islam, “Construction of Digital Water Level Indicator and Automatic Pump Controlling System,” International Journal of Research, vol. 3(12), pp. 1-5, 2016.

R. Wahyuni, J. T. Sentana, Muhardi, and Y. Irawan, “Water Level Control Monitoring Based on Arduino Uno R3 ATMega 238p Using Lm0161 LCD at STMIK Hang Tuah Pekanbaru,” Journal of Robotics and Control (JRC), vol. 2(4), pp. 265-269, 2021.

A. Pandey, G. Andhale, A. Sonawane, A. Amrutkar, and T. Andhare, “Automatic Water Level Indicator and Controller,” International Journal for Research in Applied Science & Engineering Technology (IJRASET), vol. 10(11), pp. 1043-1047, 2022.

P. D. Widayaka and L. Jauhari, “Prototype of Water Pipe Leakage Detector Using Flowmeter Sensor Based on Arduino UNO,” Journal of Applied Electrical & Science Technology, vol. 2(1), pp. 34-38, 2020.

A. Singh, A. A. Kirubaraj, S. Senith, and S. R. J. Ramson, “Industrial Parameters Monitoring System on Temperature and Speed for Pneumatic Cylinder,” International Journal of Innovative Technology and Exploring Engineering (IJITEE), vol. 8(6), pp. 776-780, 2019.

S. G. Kamble and M. B. Kumthekar, “Problem Associated with Plumbing and its Maintenance,” International Journal of Engineering Research & Technology (IJERT), vol. 4(4), pp. 324-329, 2015.

P. Gopalakrishnan, S. Abhishek, R. Ranjith, R. Venkatesh, and V. J. Suriya, “Smart Pipeline Water Leakage Detection System,” International Journal of Applied Engineering Research (IJAER), vol. 12(16), pp. 5559-5564, 2017.

Y. Birbir and H. S. Nogay, “Design and Implementation of PLC-Based Monitoring Control System for Three-Phase Induction Motors Fed by PWM Inverter,” International Journal of Systems Applications, Engineering & Development, vol. 2(3), pp. 128-135, 2008.

R. Pichard, A. Philippot, R. Saddem, and B. Riera, “Safety of Manufacturing Systems Controllers by Logical Constraints with Safety Filter,” IEEE Trans. on Control Systems Technology, vol. 27(4), pp. 1659-1667, 2019.

H. Wu, Y. Yan, D. Sun, and R. Simon, “A Customized Real-Time Compilation for Motion Control in Embedded PLC,” IEEE Trans. on Industrial Informatics, vol. 15(2), pp. 812-821, 2019.

A. Guignard, J. Faure, and G. Faraut, “Model-Based Testing of PLC Programs with Appropriate Conformance Relations,” IEEE Trans. on Industrial Informatics, vol. 14(1), pp. 350-359, 2018.

J. Luo, Q. Zhang, X. Chen, and M. Zhou, “Modeling and Race Detection of Ladder Diagrams via Ordinary Petri Nets,” IEEE Trans. on Systems, Man, and Cybernetics: Systems, vol. 48(7), pp. 1166-1176, 2018.

Y. An, F. Qin, B. Chen, R. Simon, and H. Wu, “OntoPLC: Semantic Model of PLC Programs for Code Exchange and Software Reuse,” IEEE Trans. on Industrial Informatics, vol. 17(3), pp. 1702-1711, 2021.

A. D. Vieira, E. A. P. Santos, M. H. de Queiroz, A. B. Leal, A. D. de Paula Neto, and J. E. R. Cury, “A Method for PLC Implementation of Supervisory Control of Discrete Event Systems,” IEEE Trans. on Control Systems Technology, vol. 25(1), pp. 175-191, 2017.

A. Ghosh, S. Qin, J. Lee, and G. Wang, “FBMTP: An Automated Fault and Behavioral Anomaly Detection and Isolation Tool for PLC-Controlled Manufacturing Systems,” IEEE Trans. on Systems, Man, and Cybernetics: Systems, vol. 47(12), pp. 3397-3417, 2017.

M. A. Sehr, M. Lohstroh, M. Weber, I. Ugalde, M. Witte, J. Neidig, S. Hoeme, M. Niknami, and E. A. Lee, “Programmable Logic Controllers in the Context of Industry 4.0,” IEEE Trans. on Industrial Informatics, vol. 17(5), pp. 3523-3533, 2021.

D. Formby and R. Beyah, “Temporal Execution Behavior for Host Anomaly Detection in Programmable Logic Controllers,” IEEE Trans. on Information Forensics and Security, vol. 15, pp. 1455-1469, 2019.

P. Grelewicz, P. Nowak, J. Czeczot, and J. Musial, “Increment Count Method and its PLC based Implementation for Autotuning of Reduced Order ADRC with Smith Predictor,” IEEE Trans. on Industrial Electronics, vol. 68(12), pp. 12554-12564, 2021.

D. Chivilikhin, S. Patil, K. Chukharev, A. Cordonnier, and V. Vyatkin, “Automatic state machine reconstruction from legacy PLC using data collection and SAT solver,” IEEE Trans. on Industrial Informatics, vol. 16(12), pp. 7821-7831, 2020.

N. P. DeGuglielmo, S. M. S. Basnet, and D. E. Dow, “Introduce Ladder Logic and Programmable Logic Controller (PLC),” presented at the Annual Conf. Northeast Section (ASEE-NE), Bridgeport, United States, 2020.

I. A. Michael, “Design of Lift Group Control Systems based on PLC,” Journal of Engineering Research and Reports, vol. 22(3), pp. 31-44, 2022.

L. Luo and B. Liu, “Research on PLC-Based Control System for Mixing,” presented at the Int. Conf. on E-Product E-Service and E-Entertainment, Henan, China, 2010.

J. Xiong, J. Li, J. Shi, and Y. Huang, “A Decomposition-Based Development Method for Industrial Control Systems,” IEEE Access, vol. 7, pp. 93161-93174, 2019.

P. Krupa, D. Limon, and T. Alamo, “Implementation of Model Predictive Control in Programmable Logic Controllers,” IEEE Trans. on Control Systems Technology, vol. 29(3), pp. 1117-1130, 2021.

Article Metrics

Metrics Loading ...

Metrics powered by PLOS ALM


  • There are currently no refbacks.

Copyright (c) 2022 Journal of Mechatronics, Electrical Power, and Vehicular Technology

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.