{"title":"Implementation of Model Predictive Controllers in Programmable Logic Controllers using IEC 61131-3 standard","authors":"Pablo Krupa, D. Limón, T. Alamo","doi":"10.23919/ECC.2018.8550126","DOIUrl":null,"url":null,"abstract":"This work presents a tool for implementing Model Predictive Controllers (MPC) in Programmable Logic Controllers (PLC). This tool is a Matlab library that automatically generates the controller’s code using IEC 61131-3 standards so that it can be directly imported into the PLC’s programming platform as an FBD block, which is designed to work using the cyclic mode of the PLC and has a limited maximum execution time. A hand-tailored optimization algorithm based on a fast gradient method named FISTA has been developed in order to reduce the necessary memory and computational resources. A complete architecture has been designed surrounding the MPC which provides the overall controller with a series of additional capabilities. The properties of the controller have been validated via a test-bed using a Modicom M340 PLC to control a quadruple-tank system. In addition, tests have been conducted in order to study the memory requirements.","PeriodicalId":222660,"journal":{"name":"2018 European Control Conference (ECC)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 European Control Conference (ECC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/ECC.2018.8550126","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13
Abstract
This work presents a tool for implementing Model Predictive Controllers (MPC) in Programmable Logic Controllers (PLC). This tool is a Matlab library that automatically generates the controller’s code using IEC 61131-3 standards so that it can be directly imported into the PLC’s programming platform as an FBD block, which is designed to work using the cyclic mode of the PLC and has a limited maximum execution time. A hand-tailored optimization algorithm based on a fast gradient method named FISTA has been developed in order to reduce the necessary memory and computational resources. A complete architecture has been designed surrounding the MPC which provides the overall controller with a series of additional capabilities. The properties of the controller have been validated via a test-bed using a Modicom M340 PLC to control a quadruple-tank system. In addition, tests have been conducted in order to study the memory requirements.