• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

Software fault-tolerance based on monitoring CPU
utilization ratio in real-time operating systems

WANG Yuwei1,CAO Dong2,SHI Shucheng1   

  1. (1.College of Automation Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 211106;
    2.Institute of Flight Control Research,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China)

     
  • Received:2017-06-07 Revised:2017-08-15 Online:2018-08-25 Published:2018-08-25

Abstract:

In hardware realtime operating systems, the CPU utilization ratio is an important indicator of system performance. If a task occupies the entire CPU, others will not continue, which can induce a disastrous consequence of system performance. By analyzing the characteristics of software running in realtime operating systems, a certain software faulttolerance strategy must be used to enhance system reliability and faulttolerance. In the μC/ OSⅡ realtime operating system, tasks in the flight control software are realtime monitored. Firstly, the calculation method of CPU utilization ratio is given and the CPU monitoring period is proposed reasonably. Secondly, a fault detection algorithm for abnormal CPU utilization ratio is presented. By dealing with the faults, the system's fault tolerance ability can be improved. Finally, the flight control software is designed in the embedded MPC5674 flight control computer to validate the ability and effectiveness of the four methods’ handling abnormal CPU utilization ratio. Simulation results show that software faulttolerance based on monitoring CPU utilization ratio can enhance the system reliability and faulttolerance ability effectively.
 
 

Key words: real-time system, software fault-tolerance, CPU utilization ratio, exception handling