μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is propos...μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.展开更多
After analyzing the basic composition and principles of multicolor printing system,we presented a design of real-time monitoring system for printing registration based on multitask real-time operating system μC/OS-Ⅱ...After analyzing the basic composition and principles of multicolor printing system,we presented a design of real-time monitoring system for printing registration based on multitask real-time operating system μC/OS-Ⅱ.According to functional requirements of registration system and the target development platform,we described the detailed process of task division, priority assignment,and synchronization and communication,and optimized the real-time performance of system in the premise of stability assurance.Fi...展开更多
基金Supported by the "Chunhui" Plan of Ministry of Education of China (Z2005-2-11013)
文摘μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.
基金Funded by the National Natural Science Foundation of China(No.60772089)China Postdoctoral Science Foundation(No.20080440939)
文摘After analyzing the basic composition and principles of multicolor printing system,we presented a design of real-time monitoring system for printing registration based on multitask real-time operating system μC/OS-Ⅱ.According to functional requirements of registration system and the target development platform,we described the detailed process of task division, priority assignment,and synchronization and communication,and optimized the real-time performance of system in the premise of stability assurance.Fi...