Abstract
With the increasing complexity of industrial application, an embedded control system (ECS) requires processing a number of hard real-time tasks and needs fault-tolerance to assure high reliability. Considering the characteristics of real-time tasks in ECS, an integrated algorithm is proposed to schedule real-time tasks and to guarantee that all real-time tasks are completed before their deadlines even in the presence of faults. Based on the nonpreemptive critical-section protocol (NCSP), this paper analyzes the blocking time introduced by resource conflicts of relevancy tasks in fault-tolerant multiprocessor systems. An extended schedulability condition is presented to check the assignment feasibility of a given task to a processor. A primary/backup approach and on-line replacement of failed processors are used to tolerate processor failures. The analysis reveals that the integrated algorithm bounds the blocking time, requires limited overhead on the number of processors, and still assures good processor utilization. This is also demonstrated by simulation results. Both analysis and simulation show the effectiveness of the proposed algorithm in ECS.
Similar content being viewed by others
References
Buttazzo G C. Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications. Boston: Kluwer Academic Publshers, 1997.
Sha L, Rajkumar L R, Lehoczky J P. Priority inheritance protocols: An approach to real-time synchronization.IEEE Trans. Computers, 1990, 39(9): 1175–1185.
Baker T P. Stack-based scheduling of real-time processes.Journal of Real-Time Systems, 1991, 3(1): 76–100.
Lipari G, Buttazzo G C. Schedulability analysis of periodic and aperiodic tasks with resource constrains.,J. Systems Architecture, 2000, 46: 327–338.
Sha L, Rajkumar R, Lehoczky J P. Real-time synchronization protocol for multiprocessors. InProc. IEEE Real-Time Systems Symposium, New York, USA, Dec. 1998, pp.259–269.
Liu J W S. Real-Time Systems. New Jersey: Pretice,-Hall Inc., 2000.
Weber M. Operating systems enhancement for a fault-tolerant dual processor structure for the control of an industrial process.Software Practice and Experience, 1985, 17(5): 345–350.
Lyu M R. Handbook of Software Reliability Engineering. New York: The McGraw-Hill companies, Inc., 1996.
Johnson B W. Design and Analysis of Fault Tolerant Digital Systems. New York: Addison Wesley, 1989.
Kim K H, Damm A. Fault-tolerance approaches in two experimental real-time systems. InProc. the 7th Workshop Real-Time Operating Systems and Software, Virginia, USA, May 1990, pp.94–98.
Liestman A L, Cambell R H. A fault-tolerant scheduling problem.IEEE Trans. Software Engineering, 1986, 12(11): 1089–1095.
Krishna C M, Shin K G. On scheduling tasks with a quick recovery from failure.IEEE Trans. Computers, 1986, 35(5): 448–455.
Yang C, Deconinck G. A fault-tolerant reservation-based strategy for scheduling aperiodic tasks in multiprocessor systems. Inthe 10th Euromicro Workshop on Parallel, Distributed and Network-based Processing, Gran Canaria, Spain, Jan. 2002, pp.319–326.
Ghosh S, Melhem R, Mosse D. Fault-tolerance through scheduling of aperiodic tasks in hard-real-time systems.IEEE Trans. Parallel and Distributed Systems, 1997, 8(3): 272–284.
Bertossi A A, Mancini L V, Rossini F. Fault-tolerant rate-monotonic first-fit scheduling in hard-real-time systems.IEEE Trans. Parallel and Distributed Systems, 1999, 10(9): 934–945.
Yang C, Deconinck G. Fault-tolerant scheduling of periodic and aperiodic tasks in multiprocessor systems. InProc. 13th IASTED International Conference on Parallel and Distributed Computing and Systems California, Aug. 2001, pp.535–542.
Florio V De, Deconinck G, Lauwereins R. An algorithm for tolerating crash failures in distributed systems. InProc. the 7th Annual IEEE International Conference and Workshop on the Engineering of Computer Based Systems, 2000, pp.9–17.
Liu C L, Layland J W. Scheduling algorithms for multiprogramming in a hard-real-time environment.J. Assoc. Comput. Mach., 1973, 20 46–61.
Dhall S K, Liu C L. On a real-time scheduling problem.Operations Research, 1978, 26: 127–140.
Joseph M, Pandya P. Finding response times in a real-time system.The Computer J., 1986, 29: 390–395.
Klein M H, Lehoczky J P, Rajkumar R. Rate-monotonic analysis for real-time industrial computing.The Computer J., 1994, 37(1): 24–33.
Burchard A, Liebeherr J, Oh Y, Son S H. New strategies for assigning real-time tasks to multiprocessor systems.IEEE Trans. Computers, 1995, 44(12): 1429–1442.
Author information
Authors and Affiliations
Corresponding author
Additional information
The research has been partially supported by the Teaching and Research Award Program for Outstanding Young Teachers in Higher Education Institutions of MOE, China, and partially supported by the Research Fund of K.U. Leuven (Grant No. GOA/2001/04) of Belgium.
Chun-Hua Yang received her M.S. degree in automatic control engineering from Central South University, P. R. China, in 1988, and visited the Electrical Engineering Department, Katholieke Universiteit Leuven, Belgium, from 1999 to 2001. She is currently a professor in the College of Information Science & Engineering, Central South University. Her research interests include fault-tolerant computing of real-time systems and complex process control.
Geert Deconinck received his M.S. degree in electrical engineering and his Ph.D. degree in applied sciences from the Katholieke Universiteit Leuven, Belgium, in 1991 and 1996 respectively. He has been a visiting professor at the K.U. Leuven since 1999 and a postdoctoral fellow of the Fund for Scientific Research — Flanders since 1997. His research interests include the design, analysis and assessment of software-based fault tolerance solutions to meet real-time, dependability and cost constraints for embedded applications on parallel and distributed systems.
Wei-Hua Gui received his M.S. degree in automatic control engineering from Central South University, P.R. China, in 1981, and studied in Universität-GH-Duisburg, Germany, from 1986 to 1988. He is currently a professor in the College of Information Science & Engineering, Central South University. His main research interests are modeling and optimal control of industrial process, distributed robust control, and fault diagnose.
Rights and permissions
About this article
Cite this article
Yang, CH., Deconinck, G. & Gui, WH. Fault-tolerant scheduling for real-time embedded control systems. J. Comput. Sci. & Technol. 19, 191–202 (2004). https://doi.org/10.1007/BF02944797
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02944797