The software platform of the programmable controller runtime system is developed based on domestic hardware and real-time operating system.The platform includes data management,task scheduling,online debugging,hot spare redundancy and real-time bus.In this paper,a multi-type real-time task scheduling scheme with high precision based on adaptive scheduler and semaphore trigger mechanism is proposed,which supports microsecond-level operation cycles and meets the requirements of strong real-time application scenarios.An online incremental update scheme for compiled programs is proposed,which uses Ping-Pong principle partition switching,seamless multi-thread coordination and incremental allocation of data area to realize efficient online program replacement and section recovery.A cross-platform breakpoint and single step debugging scheme based on intelligent pile is proposed,which realizes the single step running function of graphics program and text program,and improves the efficiency of program diagnosis and troubleshooting.A real-time multi-task hot standby redundancy operation scheme for master/slave controllers is proposed,which supports program files,running data,task status synchronization,running status diagnosis and intelligent switching of primary/secondary roles.
Key words
programmable controller /
runtime software /
task scheduling /
incremental update /
hot spare redundancy
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 许召元.坚持自主可控确保安全稳定[N].经济日报,2021-02-18(010).
[2] 彭瑜,何衍庆.IEC61131-3编程语言及应用基础[M].北京:机械工业出版社,2012.
[3] 严义.可编程控制器(PLC)新技术[J].自动化博览,2018,35(6):22-23.
[4] 邬惠峰.浅谈可编程逻辑控制器(PLC)的技术现状和发展趋势[J].自动化博览,2022,39(4):18-21.
[5] 李响,刘国伟,冯亚东,等.新一代控制保护系统通用硬件平台设计与应用[J].电力系统自动化,2012,36(14):52-55.
[6] 刘志勇,黄文君,金建祥.工业控制器跨平台特性设计[J].计算机工程,2012,38(14):227-230.
[7] 张海伟.和利时IEC 61131-3编程软件平台[J].自动化博览,2016(6):42-44.
[8] 丁志宇,彭文才,武迪,等.新一代可编程逻辑控制器的研究与实现[J].工业控制计算机,2020,33(11):126-128.
[9] 雷振阳,雷向东,龙军.多核系统中并行实时任务调度策略[J].信息技术,2020,44(9):15-20.
[10] 黄姝娟,朱怡安,李兵哲,等.具有依赖关系的周期任务实时调度方法[J].计算机学报,2015,38(5):999-1006.
[11] 裘坤,刘志勇,吴欣.DCS组态在线下载技术分析与设计[J].自动化与仪表,2016,31(5):62-65.
[12] 陈宏君,冯亚东,文继锋,等.嵌入式程序动态分配内存的调试方案设计[J].单片机与嵌入式系统应用,2015,15(9):18-21.
[13] 门松,于治楼.一种基于伪断点的嵌入式应用软件调试方法的研究[J].信息技术与信息化,2008(4):47-48.