摘要
因为μC/OS-Ⅱ受到内部存储资源及代码运行速度的限制,所以在两线制智能变送器中引入实时嵌入式操作系统μC/OS-Ⅱ时,必须要对μC/OSⅡ-进行优化。在研究内核的基础上,提出了任务/事件的静态创建机制及单节点标志事件方法。数据对比表明,优化后的μC/OS-Ⅱ在启动速度、内存占用等方面有明显改善。利用优化后的μC/OS-Ⅱ,实现了变送器系统的多任务实时运行需求,并且验证了系统能够符合HART通信链路层的规范要求。
For introducing real-time embedded operating system μC/OS-Ⅱ into 2-wired smart transmitter, it is necessary to be optimized because of the limitations of internal memory resource and code operating speed. On the basis of inner core research, the static creation mechanism and method for task/event and single node flag event is proposed. The data comparison indicates that the optimized μC/OS-Ⅱ features higher startup speed and lower memory occupancy. Furthermore, the optimized μC/OS-Ⅱ also meets the requirements of real-time multi-task operation of transmitter system and HART communication specification on linkage layer.
出处
《自动化仪表》
CAS
北大核心
2010年第2期5-7,11,共4页
Process Automation Instrumentation