Research Article

Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application

Volume: 2 Number: 1 January 30, 2019
EN

Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application

Abstract

It is not much possible for controllers such as PLC (Programmable Logic Controller) and DCS (Distributed Control System) used in the industry to solve complex systems. On the contrary, Matlab/Simulink provides advantages with the solutions it offers in the complex systems. It is highly significant that PLCs have a real-time communication with Matlab to solve this kind of complex systems. For industrial automation, interoperability standard OPC (OLE for process control) plays the role of a bridge between Matlab/Simulink and PLC and enables data exchange between them.  On the other hand, Fuzzy Logic provides advantage in solving complex systems. There are two inputs in this research. Temperature and relative humidity data is transferred to Matlab/Simulink via OPC by PLCs. Based on the temperature and relative humidity felt depending on the temperature, the percentage of fan speed is calculated by using Fuzzy controller in Matlab/Simulink and transferred to PLC via OPC and the required physical output connected to PLC is activated. This system shows how fast the processes which are complex in PLC can be solved with Matlab/Simulink.  A complex system developed in Matlab/ Simulink can be automatically converted to any microcontroller code.  The PLC used in industry can communicate with this microcontroller as well and obtain the desired output in the best way possible. Nowadays, Artificial Intelligence develops day by day and such a system gains even more importance.

Keywords

References

  1. [1]. Zhang Lieping, Zeng Aiqun, Zhang Yunsheng, (2007). On Remote Real-time Communication between MATLAB and PLC Based on OPC Technology, Chinese Control Conference, 26-31 July , China.
  2. [2]. Sevil, M., Elalmış, N., Görgün, H., Aydın, N. (2015). “Control of Air Conditioning with Fuzzy Logic Controller .Design for Smart Home Systems”, Sigma Journal of Engineering and Natural Sciences.
  3. [3]. Ünlü Y., (2007)“SÜREÇ KONTROLUNDA NESNELERİN BAĞLAŞMASI VE İLİŞKİLENDİRİLMESİ (OPC). STANDARDI VE UYGULAMASI”, Master Science Thesis-Istanbul University.
  4. [4]. The General Directorate Meteorology www.mgm.gov.tr/genel/sss.aspx?s=hissedilensicaklik.
  5. [5]. The Matworks, (2008). MATLAB OPC Toolbox User’s Guide.
  6. [6]. S7-1200 Programmable controller, (2017). System Manual.
  7. [7]. Tekinalp Z., Öztürk S., Kuncan M., (2013). “OPC Kullanarak Gerçek Zamanlı Haberleşen Matlab ve PLC Kontrollü Sistem

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

January 30, 2019

Submission Date

November 28, 2018

Acceptance Date

December 17, 2018

Published in Issue

Year 2019 Volume: 2 Number: 1

APA
Ü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. https://izlik.org/JA42AE34FK
AMA
1.Üser Y, Kara C. Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application. Techno-Science. 2019;2(1):7-14. https://izlik.org/JA42AE34FK
Chicago
Üser, Yavuz, and Cumali Kara. 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. https://izlik.org/JA42AE34FK.
EndNote
Üser Y, Kara C (January 1, 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.
IEEE
[1]Y. Üser and C. Kara, “Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application”, Techno-Science, vol. 2, no. 1, pp. 7–14, Jan. 2019, [Online]. Available: https://izlik.org/JA42AE34FK
ISNAD
Üser, Yavuz - Kara, Cumali. “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 (January 1, 2019): 7-14. https://izlik.org/JA42AE34FK.
JAMA
1.Üser Y, Kara C. Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application. Techno-Science. 2019;2:7–14.
MLA
Üser, Yavuz, and Cumali Kara. “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, vol. 2, no. 1, Jan. 2019, pp. 7-14, https://izlik.org/JA42AE34FK.
Vancouver
1.Yavuz Üser, Cumali Kara. Real-Time Communication between S7-1200 PLC and Matlab/Simulink and a Fuzzy Logic Temperature Humidity Control Application. Techno-Science [Internet]. 2019 Jan. 1;2(1):7-14. Available from: https://izlik.org/JA42AE34FK