摘要
传统的仪器仪表软件系统设计中,大多采用单任务顺序机制,存在中断延迟与频繁复位的问题,导致系统的实时性与安全性差,难以满足设计要求.通过引入实时操作系统μC/OS-II,给每个核心任务分配不同优先级,利用操作系统提供的消息邮箱服务,由监控任务通过收发消息管理各个任务的正常运行.该方法为仪器仪表的软件系统设计提供了一种任务管理新途径,有利于提高系统的实时性与可靠性.
Traditional software systems of low complex instruments are generally designed as single-task ordinal architecture. It is fatal to interrupt delay and frequent resetting which result in the weakness of real-time performance and reliability in actual system. Based on real-time operation system of μC/OS-Ⅱ, every core task related to instruments is assigned a unique priority. A monitoring task with highest priority is put forward to coexist with other multitask in message mailbox waiting list. Monitoring task supervises whether those tasks operate in gear through message mailbox service provided by kernel. The paper presents a new way to realize software architecture for instruments based on operation system and improve the capability of real-time performance and reliability.
出处
《重庆大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2007年第1期73-76,共4页
Journal of Chongqing University
基金
重庆市科技攻关重点项目(CSTC.2004AA2001-8277-02)