Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system

Numerous research laboratories engaged in developing advanced algorithms for controlling Renewable Energy Systems (RES) face constraints due to the absence of specialized equipment for conducting research and experiments. Real-time simulation platforms are well-suited for creating fast or real-time...

Full description

Bibliographic Details
Main Authors: Abdallah EL Zerk, Mohammed Ouassaid, Youssef Zidani
Format: Article
Language:English
Published: Elsevier 2023-09-01
Series:Scientific African
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2468227623003022
_version_ 1797676251175976960
author Abdallah EL Zerk
Mohammed Ouassaid
Youssef Zidani
author_facet Abdallah EL Zerk
Mohammed Ouassaid
Youssef Zidani
author_sort Abdallah EL Zerk
collection DOAJ
description Numerous research laboratories engaged in developing advanced algorithms for controlling Renewable Energy Systems (RES) face constraints due to the absence of specialized equipment for conducting research and experiments. Real-time simulation platforms are well-suited for creating fast or real-time computation models, offering prompt, accurate, and reliable insights for RES control implementation. Nevertheless, the high cost of real-time platforms renders them unaffordable for many laboratories. To address this issue, a cost-effective platform is designed to assist researchers in their activities. The hardware solution involves utilizing a Programmable Logic Control (PLC) to acquire data from diverse sensors and regulate the system through actuators and PI controllers. From a software perspective, a communication framework between MATLAB and the PLC is developed using OPC-UA (Open Platform Communications Unified Architecture) technology. In this paper, the operation and efficiency of the platform have been tested using the Software in the Loop (SIL) technique. The operating model is designed using MATLAB/Simulink to simulate and analyze the appropriate control technique suitable for PLC implementation, whereas the control is executed through Siemens S7–1200 PLC using TIA PORTAL. A visualization interface is established using WinCC-RT. Moreover, this paper presents the platform's design, discusses its application, and illustrates its usage through a case study. Indeed, a complex algorithm developed in MATLAB/Simulink can be automatically executed by any PLC using the designed framework.
first_indexed 2024-03-11T22:26:18Z
format Article
id doaj.art-da34c189705c4a59965597a94d487a0d
institution Directory Open Access Journal
issn 2468-2276
language English
last_indexed 2024-03-11T22:26:18Z
publishDate 2023-09-01
publisher Elsevier
record_format Article
series Scientific African
spelling doaj.art-da34c189705c4a59965597a94d487a0d2023-09-24T05:16:20ZengElsevierScientific African2468-22762023-09-0121e01846Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management systemAbdallah EL Zerk0Mohammed Ouassaid1Youssef Zidani2Engineering for Smart and Sustainable Systems Research Centre, Mohammadia School of Engineers, Mohammed V University in Rabat, Rabat, Morocco; Corresponding author.Engineering for Smart and Sustainable Systems Research Centre, Mohammadia School of Engineers, Mohammed V University in Rabat, Rabat, MoroccoDepartment of Electrical Engineering Faculty of science and technology, Cadi Ayyad University, MoroccoNumerous research laboratories engaged in developing advanced algorithms for controlling Renewable Energy Systems (RES) face constraints due to the absence of specialized equipment for conducting research and experiments. Real-time simulation platforms are well-suited for creating fast or real-time computation models, offering prompt, accurate, and reliable insights for RES control implementation. Nevertheless, the high cost of real-time platforms renders them unaffordable for many laboratories. To address this issue, a cost-effective platform is designed to assist researchers in their activities. The hardware solution involves utilizing a Programmable Logic Control (PLC) to acquire data from diverse sensors and regulate the system through actuators and PI controllers. From a software perspective, a communication framework between MATLAB and the PLC is developed using OPC-UA (Open Platform Communications Unified Architecture) technology. In this paper, the operation and efficiency of the platform have been tested using the Software in the Loop (SIL) technique. The operating model is designed using MATLAB/Simulink to simulate and analyze the appropriate control technique suitable for PLC implementation, whereas the control is executed through Siemens S7–1200 PLC using TIA PORTAL. A visualization interface is established using WinCC-RT. Moreover, this paper presents the platform's design, discusses its application, and illustrates its usage through a case study. Indeed, a complex algorithm developed in MATLAB/Simulink can be automatically executed by any PLC using the designed framework.http://www.sciencedirect.com/science/article/pii/S2468227623003022Real-time simulation (RTS)PLCOPC-UARenewable energy system (RES)Energy management systems (EMS)Fuzzy logic controller (FLC)
spellingShingle Abdallah EL Zerk
Mohammed Ouassaid
Youssef Zidani
Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
Scientific African
Real-time simulation (RTS)
PLC
OPC-UA
Renewable energy system (RES)
Energy management systems (EMS)
Fuzzy logic controller (FLC)
title Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
title_full Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
title_fullStr Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
title_full_unstemmed Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
title_short Development of a real-time framework between MATLAB and PLC through OPC-UA: A case study of a microgrid energy management system
title_sort development of a real time framework between matlab and plc through opc ua a case study of a microgrid energy management system
topic Real-time simulation (RTS)
PLC
OPC-UA
Renewable energy system (RES)
Energy management systems (EMS)
Fuzzy logic controller (FLC)
url http://www.sciencedirect.com/science/article/pii/S2468227623003022
work_keys_str_mv AT abdallahelzerk developmentofarealtimeframeworkbetweenmatlabandplcthroughopcuaacasestudyofamicrogridenergymanagementsystem
AT mohammedouassaid developmentofarealtimeframeworkbetweenmatlabandplcthroughopcuaacasestudyofamicrogridenergymanagementsystem
AT youssefzidani developmentofarealtimeframeworkbetweenmatlabandplcthroughopcuaacasestudyofamicrogridenergymanagementsystem