Abstract
Modern wireless sensor networks require operating system with real-time, low-power, multi-tasking features, in order to quickly deal with matters of wireless sensor nodes. Event-driven systems and multi-threaded systems are two major operating systems used by wireless sensor networks (WSN). To take advantage of salient features of both types, based on \(\mu \)C/OS-II and WSN characteristics, we have designed a tiny and hybrid embedded operating system, BEE OS, which integrates a preemptive real-time kernel supporting batch execution. Besides BEE has a real-time, low-power and multi-tasking feature. We propose a multi-task management scheme with multi-priority queues and analyze its timeliness performance based on a round-robin theoretical model, which leads to our novel design of the preemptive task scheduling algorithm to optimize the average waiting-time of all tasks. Finally, an adaptive method is introduced into BEE OS in order to avoid task starvation. Our experimental results show the overhead and performance comparisons among BEE OS, \(\mu \)C/OS-II, and TinyOS. Compared with \(\mu \)C/OS-II, the RAM and Flash of BEE OS are about two-fold down, and the task response time achieved by BEE OS is approximately a quarter of those by TinyOS and \(\mu \)C/OS-II. BEE operating system can be widely applied to relatively fixed tasks in industrial environments, with low power consumption and preemptive real-time characteristics.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Anastasi, G., Conti, M., Francesco, M.D., Passarella, A.: Energy conservation in wireless sensor networks: a survey. Ad Hoc Netw. 7(3), 537–568 (2009)
Farooq, M.O., Kunz, T.: Operating systems for wireless sensor networks: a survey. Sensors 11(6), 5900–5930 (2011)
Levis, P., et al.: TinyOS: an operating system for sensor networks ambient intelligence. In: Weber, W., Rabaey, J.M., Aarts, E. (eds.) Ambient Intelligence, Chapter 7, pp. 115–148. Springer, Heidelberg (2005)
Han, C.C., Kumar, R., Shea, R., Kohler, E., Srivastava, M.; A dynamic operating system for sensor nodes. In: Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services, MobiSys 2005, pp. 163–176. ACM, New York (2005)
Acknowledgements
The paper is sponsored by the National Natural Science Foundation of China (No. 61173150, 61273071), National High Technology Research and Development Program of China (863 Program) (No. 2011AA0401, 2014AA041801).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cai, S., Zhang, X., Ma, F., Song, Y., Chen, L. (2015). BEE OS: Supporting Batch Execution with a Preemptive Real-Time Kernel. In: Sun, L., Ma, H., Fang, D., Niu, J., Wang, W. (eds) Advances in Wireless Sensor Networks. CWSN 2014. Communications in Computer and Information Science, vol 501. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-46981-1_8
Download citation
DOI: https://doi.org/10.1007/978-3-662-46981-1_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-46980-4
Online ISBN: 978-3-662-46981-1
eBook Packages: Computer ScienceComputer Science (R0)