Design and Implementation of a Reliable and Secure Controller for Smart Home Applications Based on PLC

Shawkat Sabah Khairullah, Abdel-Nasser Sharkawy

Abstract


Programmable logic controllers (PLCs) are increasingly being used to realize modern safety-critical instrumentation and control (I&C) applications. Examples of these applications are industrial automation and control systems, plant process safety protection systems, smart home systems and digital I&C systems embedded in nuclear power plants (NPPs) that require high levels of performance, reliability, and flexibility. The PLC is a flexible, programmable, and robust digital device that can execute all logical and mathematical runtime functions of the I&C application and operate in harsh-critical environments. This paper proposes a PLC-based home security controller based on the ladder logic programming model. The design, analysis, and hardware implementation of this controller are presented in this paper. The designed system consists of three basic modules which are a sensing module used for reading the data of the input field devices for the smart home application, a computation-based decisional module used for executing the programming model, and an actuating module used for sending the control commands to the output field devices. The proposed home security system utilized different types of sensors such as a laser photoelectric sensor, a motion or proximity sensor, and a limit switch. In addition, a siren speaker, a light tower including three lights red, yellow, and green, two push-pull switches and emergency push-pull buttons were used as control inputs and output indicators in the implementation of this work This designed system is implemented on the Allen-Bradley CompactLogix PLC controller and Human Machine Interface (HMI) panel programmed as the graphical user interface. The experimental simulation results of the real hardware connection demonstrate that the proposed system is reliable, safe, and feasible for smart home security applications.


Keywords


PLC; Industrial Automation; Home Security; Reliable Controller; Ladder Logic Programming; Real Experiments and Performance

Full Text:

PDF

References


W. Rahmaniar and A. Hernawan, “Real-Time Human Detection Using Deep Learning on Embedded Platforms: A Review,” J. Robot. Control (JRC), vol. 2, no. 6, Art. no. 6, Nov. 2021, doi: 10.18196/jrc.26123.

A. R. A. Tahtawi, M. Agni, and T. D. Hendrawati, “Small-scale Robot Arm Design with Pick and Place Mission Based on Inverse Kinematics,” J. Robot. Control (JRC), vol. 2, no. 6, Art. no. 6, Nov. 2021, doi: 10.18196/jrc.26124.

A. W. L. Yao and H. C. Chen, “An Intelligent Color Image Recognition and Mobile Control System for Robotic Arm,” Int. J. Robot. Control Syst., vol. 2, no. 1, Art. no. 1, Feb. 2022, doi: 10.31763/ijrcs.v2i1.557.

E. Sarangapani, N. Narmadhai, and N. Santhosh, “Industry 4.0 technologies incorporated with Delta PLC based Smart Home Automation for Rural Development,” IOP Conf. Ser. Mater. Sci. Eng., vol. 1084, no. 1, p. 012112, Mar. 2021, doi: 10.1088/1757-899X/1084/1/012112.

J. A. Rehg and G. J. Sartori, Programmable Logic Controllers, 2 edition. Upper Saddle River, N. J: Pearson, 2008.

J. Yoo, J.-H. Lee, and J.-S. Lee, “A research on seamless platform change of reactor protection system from plc to fpga,” Nucl. Eng. Technol., vol. 45, no. 4, pp. 477–488, Aug. 2013, doi: 10.5516/NET.04.2012.078.

J.-Y. Chen, K.-C. Tai, and G.-C. Chen, “Application of Programmable Logic Controller to Build-up an Intelligent Industry 4.0 Platform,” Procedia CIRP, vol. 63, pp. 150–155, Jan. 2017, doi: 10.1016/j.procir.2017.03.116.

J. Knight, Fundamentals of dependable computing for software engineers. Boca Raton: CRC Press, 2012.

M. P. Heimdahl, L. Duan, A. Murugesan, and S. Rayadurgam, “Modeling and requirements on the physical side of cyber-physical systems,” in Twin Peaks of Requirements and Architecture (TwinPeaks), 2013 2nd International Workshop on the, 2013, pp. 1–7.

E. A. Lee and S. A. Seshia, Introduction to Embedded Systems: A cyber-physical systems approach, MIT Press, 2016.

“Recommended Approaches and Design Criteria for Application of Field Programmable Gate Arrays in Nuclear Power Plant Instrumentation and Control Systems - 1022983.” EPRI, 2011.

H. Hendra, P. S, H. Hernadewita, H. Hermiyetti, and Y. Yoserizal, “Applying Programmable Logic Control (PLC) for Control Motors, Blower and Heater in the Rubber Drying Processing,” J. Ilm. Tek. Elektro Komput. dan Inform., vol. 7, no. 1, Art. no. 1, Apr. 2021, doi: 10.26555/jiteki.v7i1.20514.

M. Pawlenka and J. Škuta, “Use of PLC and PIC for realization of intelligent family house,” in Proceedings of the 2015 16th International Carpathian Control Conference (ICCC), May 2015, pp. 374–378. doi: 10.1109/CarpathianCC.2015.7145107.

J. Heo, C. S. Hong, S. H. Ju, Y. H. Lim, B. S. Lee, and D. H. Hyun, “A Security Mechanism for Automation Control in PLC-based Networks,” in 2007 IEEE International Symposium on Power Line Communications and Its Applications, Mar. 2007, pp. 466–470. doi: 10.1109/ISPLC.2007.371169.

A. Andrashov, V. Kharchenko, V. Sklyar, L. Reva, V. Dovgopolyi, and V. Golovir, “Verification of FPGA electronic designs for nuclear reactor trip systems: test-and invariant-based methods,” in Design & Test Symposium (EWDTS), 2010 East-West, 2010, pp. 92–97.

M. M. Patil, S. Subbaraman, and P. S. Nilkund, “IEC control specification to HDL synthesis: Considerations for implementing PLC on FPGA and scope for research,” in 2010 International Conference on Control Automation and Systems (ICCAS), Oct. 2010, pp. 2170–2174.

R. Girardey, M. Hübner, and J. Becker, “Safety aware place and route for on-chip redundancy in safety critical applications,” in VLSI (ISVLSI), 2010 IEEE Computer Society Annual Symposium on, 2010, pp. 74–79.

S. Ichikawa, M. Akinaka, H. Hata, R. Ikeda, and H. Yamamoto, “An FPGA implementation of hard-wired sequence control system based on PLC software,” IEEJ Trans. Electr. Electron. Eng., vol. 6, no. 4, pp. 367–375, Jul. 2011, doi: 10.1002/tee.20670.

P. Gsellmann, M. Melik-Merkumians, A. Zoitl, and G. Schitter, “A Novel Approach for Integrating IEC 61131-3 Engineering and Execution into IEC 61499,” IEEE Trans. Ind. Inform., pp. 1–1, 2020, doi: 10.1109/TII.2020.3033330.

R. Chakrabarty, S. Roy, T. Pathak, and N. Kumar Mandal, “Design of Area Efficient Single Bit Comparator Circuit using Quantum dot Cellular Automata and its Digital Logic Gates Realization,” Int. J. Eng., vol. 34, no. 12, pp. 2672–2678, Dec. 2021, doi: 10.5829/ije.2021.34.12c.13.

H. Alamdar, G. Ardeshir, and M. Gholami, “Using Universal Nand-nor-inverter Gate to Design D-latch and D Flip-flop in Quantum-dot Cellular Automata Nanotechnology,” Int. J. Eng., vol. 34, no. 7, pp. 1710–1717, Jul. 2021, doi: 10.5829/ije.2021.34.07a.15.

S. Khairullah, “Toward Biologically-Inspired Self-Healing, Resilient Architectures for Digital Instrumentation and Control Systems and Embedded Devices,” Theses Diss., Jan. 2018, doi: https://doi.org/10.25772/7QKK-M119.

S. S. Khairullah and C. R. Elks, “Self-repairing hardware architecture for safety-critical cyber-physical-systems,” IET Cyber-Phys. Syst. Theory Appl., vol. 5, no. 1, pp. 92–99, 2020, doi: https://doi.org/10.1049/iet-cps.2019.0022.

L. Pang, C.-W. Wang, M. Lawford, and A. Wassyng, “Formal verification of function blocks applied to IEC 61131-3,” Sci. Comput. Program., vol. 113, pp. 149–190, Dec. 2015, doi: 10.1016/j.scico.2015.10.005.

P. Chodorowski and M. Chmiel, “IEC 61131-3 compliant PLC structure based on FPGA multi-core solution,” in 2016 International Conference on Signals and Electronic Systems (ICSES), Sep. 2016, pp. 237–242. doi: 10.1109/ICSES.2016.7593858.

A. Setiawan and A. Ma’arif, “Stirring System Design for Automatic Coffee Maker Using OMRON PLC and PID Control,” Int. J. Robot. Control Syst., vol. 1, no. 3, Art. no. 3, Oct. 2021, doi: 10.31763/ijrcs.v1i3.457.

A. Junaidi and W. S. Aji, “Sistem Pengontrol Suhu Ruangan dengan Algoritma PID Menggunakan PLC Omron CP1e-NA20DR-A,” J. Ilm. Tek. Elektro Komput. Dan Inform., vol. 3, no. 2, Art. no. 2, Dec. 2017, doi: 10.26555/jiteki.v3i2.7069.

Y. Yuliza, R. Muwardi, D. W. Pratama, M. H. Santoso, and M. Yunita, “Modification of Control Oil Feeding with PLC Using Simulation Visual Basic and Neural Network Analysis,” J. Ilm. Tek. Elektro Komput. Dan Inform., vol. 8, no. 1, Art. no. 1, Apr. 2022, doi: 10.26555/jiteki.v8i1.22336.

R. D. Puriyanto, S. A. Akbar, and A. Aktawan, “Desain Sistem Biodiesel Berbasis Plc Berdasarkan Diagram Keadaan,” J. Ilm. Tek. Elektro Komput. Dan Inform., vol. 4, no. 2, Art. no. 2, Jan. 2019, doi: 10.26555/jiteki.v4i2.12051.

F. N. kassab bashi, S. S. Khairullah, and C. R. Elks, “Realization of Dependable Digital Systems for Safety-Critical Computer Systems using FPGAs,” IOP Conf. Ser. Mater. Sci. Eng., vol. 1152, no. 1, p. 012020, May 2021, doi: 10.1088/1757-899X/1152/1/012020.

H. Yar, A. S. Imran, Z. A. Khan, M. Sajjad, and Z. Kastrati, “Towards Smart Home Automation Using IoT-Enabled Edge-Computing Paradigm,” Sensors, vol. 21, no. 14, Art. no. 14, Jan. 2021, doi: 10.3390/s21144932.

S. Budiyanto et al., “Design of control and monitoring tools for electricity use loads, and home security systems with internet of things system based on Arduino Mega 2560,” IOP Conf. Ser. Mater. Sci. Eng., vol. 909, no. 1, p. 012020, Dec. 2020, doi: 10.1088/1757-899X/909/1/012020.

K. Satheeshkumar, N. A. Ithkumar, P.A.Gopinath, S. R. Ithkumar, and M. J.Chandramohan, “Implementation of Smart Home Automation and Security System Using Arduino and Wi-Fi through Android Application,” Int. J. Eng. Res. Technol., vol. 5, no. 13, Apr. 2018, doi: 10.17577/IJERTCONV5IS13031.

S. F. Islam, M. I. Hasan, M. Akter, and M. S. Uddin, “Implementation and Analysis of an IoT-Based Home Automation Framework,” J. Comput. Commun., vol. 9, no. 3, Art. no. 3, Feb. 2021, doi: 10.4236/jcc.2021.93011.

Q. I. Sarhan, “Systematic Survey on Smart Home Safety and Security Systems Using the Arduino Platform,” IEEE Access, vol. 8, pp. 128362–128384, 2020, doi: 10.1109/ACCESS.2020.3008610.

M. Alaa, A. A. Zaidan, B. B. Zaidan, M. Talal, and M. L. M. Kiah, “A review of smart home applications based on Internet of Things,” J. Netw. Comput. Appl., vol. 97, pp. 48–65, Nov. 2017, doi: 10.1016/j.jnca.2017.08.017.

R. J. Robles and T. Kim, “Applications, Systems and Methods in Smart Home Technology: A Review,” International Journal of Advanced Science and Technology, vol. 15, pp. 37-48, 2010.

A. A. Sahrab and H. M. Marhoon, “Design and Fabrication of a Low-Cost System for Smart Home Applications,” J. Robot. Control (JRC), vol. 3, no. 4, Jul. 2022, doi: 10.18196/jrc.v3i4.15413.

S. Sasikala, O. R. Chitranjan, and K. Muthulakshmi, “Implementation of Home Automation Safety Control Using Programmable Logic Controller,” Middle-East Journal of Scientific Research, vol. 20, no. 4, pp. 492-501, 2014.

S. Sahni and R. K. Jarial, “Plc based home automation system,” in Proceedings of IRF International Conference, Mar. 2014, p. 5.

C. Yilmaz, “Implementation of Programmable Logic Controller-Based Home Automation,” J. Appl. Sci., vol. 10, no. 14, pp. 1449–1454, Jun. 2010, doi: 10.3923/jas.2010.1449.1454.

C. Barz, S. I. Deaconu, T. Latinovic, A. Berdie, A. Pop-Vadean, and M. Horgos, “PLCs used in smart home control,” IOP Conf. Ser. Mater. Sci. Eng., vol. 106, p. 012036, Feb. 2016, doi: 10.1088/1757-899X/106/1/012036.

O. Bingol, “Web-based Smart Home Automation: PLC-controlled Implementation,” Acta Polytech. Hung., vol. 11, no. 03, Feb. 2014, doi: 10.12700/APH.11.03.2014.03.4.

D. Du, Y. Liu, X. Guo, K. Yamazaki, and M. Fujishima, “Study on LD-VHDL conversion for FPGA-based PLC implementation,” Int. J. Adv. Manuf. Technol., vol. 40, no. 11–12, pp. 1181–1190, Feb. 2009, doi: 10.1007/s00170-008-1426-4.

M. Chmiel, R. Czerwinski, and P. Smolarek, “IEC 61131-3-based PLC Implemented by means of FPGA,” IFAC-Pap., vol. 48, no. 4, pp. 374–379, 2015, doi: http://dx.doi.org/10.1016/j.ifacol.2015.07.063.

S. S. Khairullah and C. R. Elks, “A Bio-Inspired, Self-Healing, Resilient Architecture for Digital Instrumentation and Control Systems and Embedded Devices,” Nucl. Technol., vol. 202, no. 2–3, pp. 141–152, Jun. 2018, doi: 10.1080/00295450.2018.1450014.

E. Jee et al., “FBDVerifier: interactive and visual analysis of counter-example in formal verification of function block diagram,” J. Res. Pract. Inf. Technol., vol. 42, no. 3, p. 171, 2010.

Y. Kim, S. -y Lee, and S. Lim, “Implementation of PLC controller connected Gazebo-ROS to support IEC 61131-3,” in 2020 25th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), Sep. 2020, pp. 1195–1198. doi: 10.1109/ETFA46521.2020.9212096.

C. Economakos, M. Skarpetis, and G. Economakos, “Program-based and model-based PLC design environment for multicore FPGA architectures,” 2014 11th International Conference on Informatics in Control, Automation and Robotics (ICINCO), 2014, pp. 726–733.

H. Alemzadeh et al., “Systems-Theoretic Safety Assessment of Robotic Telesurgical Systems,” International conference on computer safety, reliability, and security, 2014, pp. 213–227, doi: 10.1007/978-3-319-24255-2_16.




DOI: https://doi.org/10.18196/jrc.v3i5.15972

Refbacks

  • There are currently no refbacks.


Copyright (c) 2022 Shawkat Sabah Khairullah, Abdel-Nasser Sharkawy

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

 


Journal of Robotics and Control (JRC)

P-ISSN: 2715-5056 || E-ISSN: 2715-5072
Organized by Peneliti Teknologi Teknik Indonesia
Published by Universitas Muhammadiyah Yogyakarta in collaboration with Peneliti Teknologi Teknik Indonesia, Indonesia and the Department of Electrical Engineering
Website: http://journal.umy.ac.id/index.php/jrc
Email: jrcofumy@gmail.com


Kuliah Teknik Elektro Terbaik