APPLICATION OF THE STRUCTURED CONTROL LANGUAGE IN BUILDING THE NEURAL NETWORK BASED PID INTEGRATED IN THE PROGRAMMABLE LOGIC CONTROLLER

Authors

DOI:

https://doi.org/10.11113/aej.v16.23771

Keywords:

Structured control language, Radial basis function, PID controller, Programmable logic controller, Neural network

Abstract

Programmable Logic Controllers (PLC) have been developed and deployed mainly in industry because of their reliability and stability in a harsh environment. The PLCs have been integrated with stronger processors, input/output modules, and modern communication protocol. Therefore, they are not only ideal for working in industrial zones but also in testing automotive algorithms. This paper aims to apply the structured control language (SCL) to directly implement the radial basis function neural network (RBFNN) into a Siemens PLC, two RBFNN-based adaptive proportional–integral–derivative (PID) controllers were implemented to control the working temperature of a metal–oxide–semiconductor field-effect (MOSFET) transistor named IRFZ44N via changing the gate voltage. The experimental results show that, the RBFNN is working correctly in PLC and could be adapted by the PID controller to improve the temperature response in comparing with the PID controller integrated in the PLC (model: S7-1200, CPU 1215C DC/DC/DC) 48.1% and 30% in terms of the overshoot and steady state error, respectively. Moreover, the control rules of the proposed structure have eliminated the output chattering which reduced the negative effect on the actuators. These results also proved the ability of deploying some modern control algorithms on the PLCs and applying the PLC in testing the control theory. 

References

[1] Rallabandi, S. R., Yanda, S., Rao, C. J., Ramakrishna, B., and Apparao, D. 2023. Development of a color-code sorting machine operating with a pneumatic and programmable logic control. Materials Today: Proceedings.In Press. DOI: 10.1016/j.matpr.2023.05.150

[2] Pandey, K., Singh, K. G., and Singh, A. 2023. Multi-sensors based smart nutrient reuse management system for closed soilless culture under protected cultivation. Computers and Electronics in Agriculture. 204: 107495. DOI: 10.1016/j.compag.2022.107495

[3] Maesschalck, S., Staves, A., Derbyshire, R., Green, B., and Hutchison, D. 2023. Walking under the ladder logic: PLC-VBS: a PLC control logic vulnerability scanning tool. Computers & Security. 127: 103116. DOI: 10.1016/j.cose.2023.103116

[4] Farahpour, H., and Hejazi, F. 2023, May. Development of integrated semi-active adaptive vibration control system for bridges subjected to traffic loads. In Structures. 51: 1773-1794. Elsevier. DOI: 10.1016/j.istruc.2023.03.107

[5] Osman, K., Štefić, M., Alajbeg, T., and Perić, M. 2023. Approach in development and implementation of automatic control system in a smart building. Energy and buildings. 293: 113200. DOI: 10.1016/j.enbuild.2023.113200

[6] Üser, Y., & Kara, C. 2019. Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application. Scientific Journal of Mehmet Akif Ersoy University. 2(1): 7-14.

[7] Barrera-Cuestas, A. F., Mantilla-Castañeda, M. G., Giral-Ramírez, D. A., & Montoya-Giraldo, O. D. 2021. Temperature control using thesimulink PLC Coder and the IEC 61131 standard. Scientia Et Technica. 26(4): 417-423. DOI: 10.22517/23447214.24947

[8] Ionescu, D., Filipescu, A., Simion, G., Mincă, E., Cernega, D., Șolea, R., & Filipescu, A. 2022. Communication and control of an assembly, disassembly and repair flexible manufacturing technology on a mechatronics line assisted by an autonomous robotic system. Inventions. 7(2): 43. DOI: 10.3390/inventions7020043

[9] Yilmaz, S., & Furat, M. 2023. A real-time cost optimization of two-section oven system with discrete gradient extremum seeking control: An experimental study in iron and steel industry. Journal of Process Control. 122: 84-99. DOI: 10.1016/j.jprocont.2022.12.005

[10] Bélai, I. 2019. The Vehicle Model Acceleration Control for Platooning. IFAC-PapersOnLine. 52(27): 157-162. DOI: 10.1016/j.ifacol.2019.12.749

[11] Rybczak, M., Popowniak, N., & Kozakiewicz, K. 2022. Applied AI with PLC and IRB1200. Applied Sciences. 12(24), 12918. DOI: 10.3390/app122412918

[12] Mac, T. T. 2021. Application of improved Yolov3 for pill manufacturing system. IFAC-PapersOnLine. 54(15): 544-549. DOI: 10.1016/j.ifacol.2021.10.313

[13] Mekala, S. H., Baig, Z., Anwar, A., & Zeadally, S. 2023. Cybersecurity for Industrial IoT (IIoT): Threats, countermeasures, challenges and future directions. Computer Communications. 208: 294-320. DOI: 10.1016/j.comcom.2023.06.020

[14] Du, Z., Chen, S., Anduv, B., Zhu, X., & Jin, X. 2023. IoT intelligent agent based cloud management system by integrating machine learning algorithm for HVAC systems. International Journal of Refrigeration. 146: 158-173. DOI: 10.1016/j.comcom.2023.06.020

[15] Ghosh, A., Wang, G. N., & Lee, J. 2020. A novel automata and neural network based fault diagnosis system for PLC controlled manufacturing systems. Computers & Industrial Engineering. 139: 106188. DOI: 10.1016/j.cie.2019.106188

[16] de Moura Oliveira, P. B., Hedengren, J. D., & Rossiter, J. A. 2020. Introducing digital controllers to undergraduate students using the tclab arduino kit. IFAC-PapersOnLine. 53(2): 17524-17529. DOI: 10.1016/j.ifacol.2020.12.2662

[17] SIMATIC, S., 2019. s7-1200 Programmable controller. System manual, 02/2019, A5E02486680-AM, 6.

[18] Texas Instruments. 1999. LM35 Precision Centigrade Temperature Sensors. SNIS159H Datasheet

[19] Kumpati, S. N., & Kannan, P. 1990. Identification and control of dynamical systems using neural networks. IEEE Transactions on neural networks. 1(1), 4-27.

[20] Liu, J. 2013. Radial Basis Function (RBF) neural network control for mechanical systems: design, analysis and Matlab simulation. Springer Science & Business Media.

[21] Xiangsong, K., Xurui, C., & Jiansheng, G. 2016. PID controller design based on radial basis function neural networks for the steam generator level control. Cybernetics and Information Technologies. 16(5):15-26. DOI: 10.1515/cait-2016-0048

[22] Nguyen, H. D., & Huynh, T. H. 2018, October. Controlling the Position of the Carriage in Real-Time Using the RBF Neural Network Based PID Controller. In 2018 18th International Conference on Control, Automation and Systems (ICCAS) 1418-1423. IEEE.

[23] Ngon, N. C., Tho, N. V., & Phuong, T. T. H. 2022. Supervisory control for the beam and ball system using the radial basis function neural network. Can Tho University Journal of Science. 58(3): 26–35. DOI: 10.22144/ctu.jvn.2022.083

[24] Mahnke, W., et al. 2009. OPC Unified Architecture. Springer

[25] Siemens. PID Control with PID_Compact for SIMATIC S7 1200/S7 1500. [Online] https://support.industry.siemens.com/cs/ww/en/view/100746401 Retrieved on 25 April, 2023

[26] MathWorks. Simulink PLC Coder.[Online] https://www.mathworks.com/products/simulink-plc-coder.html (accessed 25 April, 2023).

[27] Ogata, K. 2020. Modern Control Engineering. 5th edn. Pearson Malaysia

Downloads

Published

2026-08-31

Issue

Section

Articles