论文部分内容阅读
传统的仪器仪表软件系统设计中,大多采用单任务顺序机制,存在中断延迟与频繁复位的问题,导致系统的实时性与安全性差,难以满足设计要求.通过引入实时操作系统μC/OS-II,给每个核心任务分配不同优先级,利用操作系统提供的消息邮箱服务,由监控任务通过收发消息管理各个任务的正常运行.该方法为仪器仪表的软件系统设计提供了一种任务管理新途径,有利于提高系统的实时性与可靠性.
In the traditional instrumentation software system design, most of them adopt single-task sequential mechanism, which has the problems of interrupt delay and frequent reset, which leads to the poor real-time and safety of the system, which makes it difficult to meet the design requirements.Through the introduction of real-time operating system μC / OS- Assign different priorities to each core task, and use the message mailbox service provided by the operating system to manage the normal operation of each task by sending and receiving messages from the monitoring task.This method provides a new way of task management for the instrumentation software system design, Help to improve the system’s real-time and reliability.