Synchronous Programming of Device Drivers for Global Resource Control in Embedded Operating Systems

被引:0
作者
Berthier, Nicolas [1 ]
Maraninchi, Florence [1 ]
Mounier, Laurent [1 ]
机构
[1] UJF Verimag, CNRS, Verimag Acad Res Lab, Rome, Italy
来源
LCTES 11: PROCEEDINGS OF THE ACM SIGPLAN/SIGBED 2011 CONFERENCE ON LANGUAGES, COMPILERS, TOOLS AND THEORY FOR EMBEDDED SYSTEMS | 2011年
关键词
Synchronous Paradigm; Automated Control; Power-Aware Implementation; Wireless Sensor Networks;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In embedded systems, controlling a shared resource like the bus, or improving a property like power consumption, may be hard to achieve when programming device drivers individually. There is a need for global resource control, taking decisions based on a centralized view of the devices' states. In this paper, we study power consumption in sensor networks, where the nodes are small embedded systems powered by batteries. We concentrate on the hardware/software architecture of a node, where significant gains can be achieved by controlling the consumption modes of the various devices globally. The architecture we propose involves a simple adaptation of the application level, to communicate with the hardware via a control layer. The control layer itself is built from a set of simple automata: the drivers of the devices, whose states correspond to power consumption modes, and a controller that enforces global properties. All these automata are programmed using a synchronous language, whose compiler performs static scheduling and produces a single piece of C code. We explain the approach in details, demonstrate its use with either Contiki or a traditional multithreading operating system, and report on our experiments.
引用
收藏
页码:81 / 90
页数:10
相关论文
共 25 条
  • [1] Abdelzaher T., 2009, INTRO CONTROL THEORY
  • [2] ABDELZAHER TF, 2007, P 6 INT C INF PROC S
  • [3] Altisen K, 2003, LECT NOTES COMPUT SC, V2618, P174
  • [4] [Anonymous], SENSYS 06
  • [5] [Anonymous], ASPLOS 9 P 9 INT C A
  • [6] The synchronous languages 12 years later
    Benveniste, A
    Caspi, P
    Edwards, SA
    Halbwachs, N
    Le Guernic, P
    De Simone, R
    [J]. PROCEEDINGS OF THE IEEE, 2003, 91 (01) : 64 - 83
  • [7] MANTIS OS: An embedded multithreaded operating system for wireless micro sensor platforms
    Bhatti, S
    Carlson, J
    Dai, H
    Deng, J
    Rose, J
    Sheth, A
    Shucker, B
    Gruenwald, C
    Torgerson, A
    Han, R
    [J]. MOBILE NETWORKS & APPLICATIONS, 2005, 10 (04) : 563 - 579
  • [8] RETOS: Resilient, expandable, and threaded operating system for wireless sensor networks
    Cha, Hojung
    Choi, Sukwon
    Jung, Inuk
    Kim, Hyoseung
    Shin, Hyojeong
    Yoo, Jaehyun
    Yoon, Chanmin
    [J]. PROCEEDINGS OF THE SIXTH INTERNATIONAL SYMPOSIUM ON INFORMATION PROCESSING IN SENSOR NETWORKS, 2007, : 148 - 157
  • [9] Automated control synthesis for an assembly line using discrete event system control theory
    Chandra, V
    Huang, ZD
    Kumar, R
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 2003, 33 (02): : 284 - 289
  • [10] Chis A., 2009, MOB C ACM