{"title":"基于 PLC 实现 PID、LQR 和 MPC 控制进化策略形式的随机优化方法","authors":"Kajetan Zielonacki, Jarosław Tarnawski","doi":"10.1007/s12555-023-0869-6","DOIUrl":null,"url":null,"abstract":"<p>Programmable logic controllers (PLCs) are usually equipped with only basic direct control algorithms like proportional-integral-derivative (PID). Modules included in engineering software running on a personal computer (PC) are usually used to tune controllers. In this article, an alternative approach is considered, i.e. the development of a stochastic optimizer based on the (<i>μ,λ</i>) evolution strategy (ES) in a PLC. For this purpose, a pseudorandom number generator (pRNG) was implemented, which is not normally available in most PLCs. The properties of popular random number generation methods were analyzed in terms of distribution uniformity and possibility of implementation in a PLC. The Wichmann-Hill (WH) algorithm was chosen for implementation. The developed generator with a uniform distribution was the basis for the implementation of a generator with a normal distribution. Both generators are the engines of the stochastic optimization algorithm in the form of the (<i>μ, λ</i>) strategy. For verification purposes, a modular servomechanism laboratory set was used as a test object for PID and linear-quadratic regulator (LQR) control. Moreover, the possibility of using the developed optimizer was shown in an application of model predictive control (MPC). Comprehensive tests confirmed the correctness of the implementation and high functionality of the developed software. Calculation time issues are also investigated.</p>","PeriodicalId":54965,"journal":{"name":"International Journal of Control Automation and Systems","volume":"37 1","pages":""},"PeriodicalIF":2.5000,"publicationDate":"2024-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"PLC-based Implementation of Stochastic Optimization Method in the Form of Evolutionary Strategies for PID, LQR, and MPC Control\",\"authors\":\"Kajetan Zielonacki, Jarosław Tarnawski\",\"doi\":\"10.1007/s12555-023-0869-6\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Programmable logic controllers (PLCs) are usually equipped with only basic direct control algorithms like proportional-integral-derivative (PID). Modules included in engineering software running on a personal computer (PC) are usually used to tune controllers. In this article, an alternative approach is considered, i.e. the development of a stochastic optimizer based on the (<i>μ,λ</i>) evolution strategy (ES) in a PLC. For this purpose, a pseudorandom number generator (pRNG) was implemented, which is not normally available in most PLCs. The properties of popular random number generation methods were analyzed in terms of distribution uniformity and possibility of implementation in a PLC. The Wichmann-Hill (WH) algorithm was chosen for implementation. The developed generator with a uniform distribution was the basis for the implementation of a generator with a normal distribution. Both generators are the engines of the stochastic optimization algorithm in the form of the (<i>μ, λ</i>) strategy. For verification purposes, a modular servomechanism laboratory set was used as a test object for PID and linear-quadratic regulator (LQR) control. Moreover, the possibility of using the developed optimizer was shown in an application of model predictive control (MPC). Comprehensive tests confirmed the correctness of the implementation and high functionality of the developed software. Calculation time issues are also investigated.</p>\",\"PeriodicalId\":54965,\"journal\":{\"name\":\"International Journal of Control Automation and Systems\",\"volume\":\"37 1\",\"pages\":\"\"},\"PeriodicalIF\":2.5000,\"publicationDate\":\"2024-05-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Control Automation and Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1007/s12555-023-0869-6\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"AUTOMATION & CONTROL SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Control Automation and Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s12555-023-0869-6","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
PLC-based Implementation of Stochastic Optimization Method in the Form of Evolutionary Strategies for PID, LQR, and MPC Control
Programmable logic controllers (PLCs) are usually equipped with only basic direct control algorithms like proportional-integral-derivative (PID). Modules included in engineering software running on a personal computer (PC) are usually used to tune controllers. In this article, an alternative approach is considered, i.e. the development of a stochastic optimizer based on the (μ,λ) evolution strategy (ES) in a PLC. For this purpose, a pseudorandom number generator (pRNG) was implemented, which is not normally available in most PLCs. The properties of popular random number generation methods were analyzed in terms of distribution uniformity and possibility of implementation in a PLC. The Wichmann-Hill (WH) algorithm was chosen for implementation. The developed generator with a uniform distribution was the basis for the implementation of a generator with a normal distribution. Both generators are the engines of the stochastic optimization algorithm in the form of the (μ, λ) strategy. For verification purposes, a modular servomechanism laboratory set was used as a test object for PID and linear-quadratic regulator (LQR) control. Moreover, the possibility of using the developed optimizer was shown in an application of model predictive control (MPC). Comprehensive tests confirmed the correctness of the implementation and high functionality of the developed software. Calculation time issues are also investigated.
期刊介绍:
International Journal of Control, Automation and Systems is a joint publication of the Institute of Control, Robotics and Systems (ICROS) and the Korean Institute of Electrical Engineers (KIEE).
The journal covers three closly-related research areas including control, automation, and systems.
The technical areas include
Control Theory
Control Applications
Robotics and Automation
Intelligent and Information Systems
The Journal addresses research areas focused on control, automation, and systems in electrical, mechanical, aerospace, chemical, and industrial engineering in order to create a strong synergy effect throughout the interdisciplinary research areas.