Computer Integrated Manufacturing System ›› 2025, Vol. 31 ›› Issue (2): 534-543.DOI: 10.13196/j.cims.2024.0122

Previous Articles     Next Articles

Efficient compilation method of industrial software for programmable logic controllers

WANG Yang,LI Congfei,HAN Bing,ZHU Ming,LI Yuanwei,DENG Hua+,SANG Yi   

  1. Guodian Nanjing Automation Co.,Ltd.
  • Online:2025-02-28 Published:2025-03-06
  • Supported by:
    Project supported by the Guodian Nanjing Automation Co.,Ltd.,China(No.SFD22-DCS).

面向可编程逻辑控制器的工业软件高效编译方法

汪洋,李从飞,韩兵,朱明,李袁微,邓华+,桑毅   

  1. 国电南京自动化股份有限公司
  • 作者简介:
    汪洋(1985-),男,江苏南通人,工程师,硕士,研究方向:嵌入式系统、PLC、新型电力系统,E-mail:jerry-yang.wang@sac-china.com;

    李从飞(1981-),男,湖北黄梅人,高级工程师,硕士,研究方向:电力自动化设备、物联网、PLC开发与应用,E-mail:lcfei2000@163.com;

    韩兵(1973-),男,江苏如皋人,正高级工程师,资深设计师,研究方向:水利水电自动化、分布式系统及相关前沿技术等,E-mail:bing-han@sac-china.com;

    朱明(1981-),男,江苏扬州人,工程师,硕士,研究方向:PLC、边缘控制器等,E-mail:zhuming1@chdnz.com.cn;

    李袁微(1991-),男,安徽宿州人,工程师,硕士,研究方向:PLC组态软件、嵌入式系统等,E-mail:liyuanwei55@163.com;

    +邓华(1990-),男,河南安阳人,工程师,硕士,研究方向:PLC组态软件、电力自动化等,通讯作者,E-mail:hua-deng@sac-china.com;


    桑毅(1995-),男,河南安阳人,硕士研究生,研究方向:模式识别,E-mail:ezral1129@126.com。
  • 基金资助:
    国电南京自动化股份有限公司资助项目(SFD22试控软)。

Abstract: The power consumption and computing power of industrial control equipment face high latency and decreased service quality when compiling complex Programmable Logic Controllers(PLC)software.As a result,industrial software applications are face with challenges.To address these challenges,an efficient compilation method for industrial software oriented towards PLC especially IEC61131-3 was proposed.By modeling under industrial environment that supported end-edge collaboration,the relevant computational properties of the compilation task were analyzed with intelligent methods.Then a game model with multiple compilation tasks was constructed,and an algorithm was designed for solution.In addition,to improve the on-time compilation rate of the system,the order in which each compilation task obtains computing resources was determined by priority sorting,ensuring that the on-time rate was optimized while reducing the overall compilation time,reducing compilation delays and maintaining the service quality of industrial equipment.The experimental results showed that the proposed method effectively utilized the computing power provided by edge servers,avoided a large number of timeouts in compilation tasks,and its performance was fully validated in the scenario of end-edge collaboration.

Key words: programmable logic controller, standard IEC61131-3, edge computing, industrial Internet

摘要: 针对工业场景下端侧可编程逻辑控制器设备集群进行复杂程序多编译任务时面临的高延迟和服务质量下降等问题,提出一种面向可编程逻辑控制器设备集群的工业软件端边协同高效编译方法。在支持端边协同的工业环境下建模,通过智能化方法解析编译任务的相关计算属性,构建一个多编译任务的博弈模型并设计了算法进行求解。为了提高系统的编译准时率,以优先级排序的方式决定每个编译任务获取计算资源的顺序,保证在降低整体编译时间的同时优化准时率,降低编译延迟,维持工业设备的服务质量。实验结果表明,该方法有效利用了边缘服务器提供的计算能力,避免了编译任务大量超时,其性能在端边协同的场景下得到了充分验证。

关键词: 可编程逻辑控制器, IEC61131-3标准, 边缘计算, 工业互联网

CLC Number: