摘要
随着多任务控制器的出现及算法逻辑的复杂程度逐渐提高,常规的虚拟控制器难以实现多任务模拟,且逻辑调试方法单一,难以保证逻辑的正确性。提出一种多任务断点调试器设计方案,将运算任务抽象为结构实体,并定义运算任务运行状态,通过两级任务控制块控制任务状态转换过程,进而实现多运算任务调度及单步、单页、单指令、自定义断点等调试功能,方便获取逻辑运算过程中的任意断面数据。将多任务断点调试器集成于虚拟控制器中,经功能验证后应用于实际工程调试,提高了算法逻辑质量,降低了现场调试周期和调试成本,确保现场控制的可靠运行。
A design scheme of multi-task breakpoint debugger is proposed in this paper,which abstracts the computing task as a structural entity and defines the running state of the computing task.The two-stage task control block controls the task state transition process,and then realizes multi-computing task scheduling and debugging functions such as single step,single page,single instruction and custom breakpoint,so as to facilitate the acquisition of arbitrary section data in the logic operation process.The multi-task breakpoint debugger is integrated into the VDPU and applied to actual engineering debugging after functional verification,which improves the quality of algorithm logic,reduces the field debugging cycle and debugging cost,and ensures the reliable operation of the field control.
出处
《工业控制计算机》
2020年第4期1-3,7,共4页
Industrial Control Computer
关键词
分散控制系统
虚拟控制器
多任务
断点调试
解释执行
distributed control system
virtual distributed processing unit
multi-task
breakpoint debug
explain execution