2. works mainly on the monitoring and pre-alarming of gas minimum covering, that means use the minimum nodes but
accidents. The system contains three main functions. One is ensure the whole region can be monitored. Based on this,
the real-time environment data collecting, processing and some redundant nodes are introduced in the region with
transmission. Another is the pre-alarming function if it is in complicated topography and bad condition considering of the
danger. The last function is the rescue assistant after the robust of the whole system.
accident happens, history data can be used to analysis the 4.3. Abbreviations andAcronyms
possible reasons.
possible______reasons._____
Data
There two kinds of nodes with different use in this
system. But they have the similar hardware components
Data Monitoring
gathering - processing center concluding sensor module, process module, wireless
system system system communication module and power, as fig 3 shows 4]. The
controlling monitoring sensor module use gas sensors, the process module use the
node
machine system micro embedded processor from ATMEL, the wireless
Wireless Wire communication module use 2.4GHZ wireless communication
communication communication method and batteries are mostly used for power supplying. As
there is particular requirements for electric under ground, so
Fig 1 The Suh systems of WMSS Wireless
Sensor
module
Processing communication
module module
The system is consisted by three sub-systems: the data s AC DC po arn
collecting sub-system, the data processing sub-system and the A _ _
monitoring sub-system. The data collecting system contains Energyproidingmodule
the sensor nodes and the wireless communication parts, using
for real-time gas concentration under ground monitoring. The Fig 3 amewor of the node
collecting nodes are divided into two parts, movable nodes we can only use battery as power for the nodes which are in
~~ ~
stti
moal.oe
and noes Th movabe nodes are responsible for the
and staticn. nodes The r epnil oh
collecting of information within its region and transmit the
the working region; however, wire electric resource can be
used as power where the nodes are close to the ground to
use aowe whrehnou
information with other nodes; the statistic nodes are used for insure long-tme working.
the summarizing of the region data and then transmit the 4.4. software designfor WMSS
summarized data to the main controlling system above As the supporting technology for wireless sensor
ground. The data processing system contains the main networks, operating system must satisfy the special
controlling computer above ground and wire communication technological need brings by WSN. In order to achieve the
network using for the gathering, processing storing and gain of high-efficiency and flexible, it should be much smaller
transmitting of the information from all the lanes. The main than traditional operating systems but to make the most of the
controlling computer then transmits the final data to remote hardware devices at the same time. There are two outstanding
monitoring system. Remote monitoring system provides well features of a signal node in WSN; one is the concurrency,
man-machine interface. It stores the information received and there may be several processors which need to be response, so
show it in web way to the users. the operating system should deal with the condition
4.2. topology architecture of WMSS effectively; the other is that it requires the operating system to
In wireless sensor network, all the nodes are deployed support the applications as the interface of software and
freely among the monitoring region; the nodes compose the hardware.
network by self-organization. WMSS system topology
architecture is given as figure 2 shows. It is designed for the Radio
particular environment under mine according to the traditional sensor jc ion
Controlling
WSN --------------------- -- ----------------------- -
machine ground
o CDH
cip
CD
0 ~~~~~~~~~~~~~~~~~~~~~~~CD
Hardware driver
nodabe noxde Fig 4 . Architecture of Software Design
According to the features of WSN, the design of operating
Fig2 Architecture of WMSS system for WSN should meets for some demands: small
account of code, modularize, low consumption, erupt
architecture. Movable nodes are deployed in the working side oprbltanrbu. '
under ground, while statistic nodes are placed in the wall of oprbltanrbu.
lanes. The deployment of nodes satisfied the principle of
149
Authorized licensed use limited to: Korea University. Downloaded on February 2, 2010 at 00:47 from IEEE Xplore. Restrictions apply.
3. TinyOS (Tiny Micro Threading Operating System) is an important. If the strategy is not suitable, it can cause more
open source embedded operating system. The component consumption instead of save.
based architecture can be quickly applied into various The principle of dynamic voltage scheduling is as
applications. As TinyOS has been designed modular, the core follows: when the computing load is low, the processor
program is very small; it can run on the nodes with limited descends its working voltage and frequency to save the
storage resource effectively and do homologous work. energy[20].
Because of the ripe technology for WSN, TinyOS is chose as 4.4.3. communication protocols
the operating system for nodes. Some modifiers will be done The consumption of communication of a sensor node is
to the core in order to fit the concrete situations. The software in a very large rate, the energy saving strategy has much to do
systems of nodes compose of operating system core and with the communication protocols. The normal energy saving
application program interface. Figure 5 gives the architecture strategy of communication module is decreasing
of the software system for nodes. The bottom layer of the communication discharge, adding dormancy time, multi-skip
operating system contains all the driven programs for the short-distance method and router selecting.
hardware instruments on the nodes; it also provides the MAC protocol deals with the using of communication
implement method of simple but high effective scheduling road and the conflict caused by information broadcasting from
mechanism, interrupt processing, consumption and neighboring nodes. In fact, MAC concerns mainly on energy
communications protocols for higher layers. efficiency problem in WSN. S-MAC is chosen as the MAC
4.4.1. scheduling mechanism protocol as the nodes' protocol in the system. During the
TinyOS is affaire-driven with two-grade scheduling: task broadcasting of data, the nodes which are neither the
and hardware affair. Task is the kind of functions which can dispatcher nor the receiver turn to sleep. When they are
be interrupting. Once a task is scheduling, other tasks can not wakening up, they broadcast their data and receive the very
interrupt it. But the hardware affair which is used to response data for them. The dispatching and receiving nodes pick the
the hardware interruption can rush to seize the processor. RTS and CTS mechanism to occupy the information road so
TinyOS keeps a task scheduling array with the simple that conflict can be less. P]
algorithm of first in first out. The scheduling process is given Routing protocol not only concerns on consumption of
by figure 5. Once if the task array is empty, the system turns a signal node but also concerns on balance consumption of the
to a mode with extremely low consumption. The daily gas whole network. WSN is data centered; the nodes in the
concentration detection is set as task while the pre-alarm is set network are node addressed according to a unified method.
as the affair. The selecting of the way is not based on the address of nodes,
Task queue awaking but according to the interested data. Energy multi-path routing
scheduling Taskl protocol is picked. It builds many paths between the original
4.4. Interrupt- node and aim node. Then the data transmits in one path
2. Taskn according to the consumption of communication and the
li + energy left in the node. Every path with different energy left
cons Task return gets different selecting probability, so the energy of the whole
ump implemenion return network can be balance, thus can extension the living cycle of
tion ~~~~~~~~processing the network.[1
man Fig 5 Scheduling Method
5. CONCLUSION
agement
TinyOS keeps the simple FIFO array with no prior. Once Due to the special working environment and complex
when the array is empty, it turns to sleep immediately unless a geological condition, mining is a industry with high-rate of
affair awakes it. This mechanism can save the power of the accidents. With the restrains under ground, current safety
system as much as possible. This is executing with two monitoring system are not effectively enough. The
methods. First is that every instrument can stop itself by the introduction of wireless sensor network technology makes it
command 'StdControl.stop'. Secondly, HPL-Power possible to estimate the condition of mine both quantitatively
Management component will turn the processor into a low and qualitatively. So, pre-alarm can be given before accidents
cost state when it's needed through detecting the 1/0 pipe feet break out to minimize the loss of personnel and propertied as
and the controlling register. great as possible. Focus on the working environment under
Dynamic consumption management and dynamic voltage ground, this paper gives a design of mine safety mentoring-
schedule mechanism are used as the consumption saving WMSS. The software design of nodes is discussed detailed
strategy in this system. with the respect of energy effective.
Dynamic consumption management works as this: when
there are no interested affairs, some modules are free, and REFERENCES
then they are turned into a low cost state or turned off. [1] L. Sun, J. Li, Y. Chen, H. Zhu, "Wireless sensor network", Beijing:
However the inverting processor can also cost some power as Publication ofTsinghua University, 2005.
[2] H. Edgar, "Wireless sensor networks: architectures and protocols",
well with some delay, so the inverting strategy iS also very Florida: CRC Press, 2004.
150
Authorized licensed use limited to: Korea University. Downloaded on February 2, 2010 at 00:47 from IEEE Xplore. Restrictions apply.
4. [3] J. Li, J. Li, S. Shi, "Concepts, issues and advance of sensor networks and [11]P. Levis, S. Madden, J. Polastre, R. Szewczyk, K. Whitehouse, A.
data management of sensor networks", Journal of Software, vol.14, Woo,D. Gay, J. Hill, M. Welsh, E. Brewer, and D. Culler, "TinyOS: an
no. 10, pp. 1717-1727, 2003. operating system for sensor networks".
[4] F. Ren, H. Huang, C. Lin, "Wireless senseor network", Journal of [12]C. Han, R. Kumar, R. Shea, E. Kohler and M. Srivastava, "A dynamic
Software, vol 14, no.7, pp.1282-1292, 2003. operating system for sensor nodes".
[5] L. Cui, H. Ju, Y. Miao, T. Li, W. Liu, Z. Zhao, "Overview of wireless [13]K. Raatikainen, "Operating system issues in future end-user systems",
sensor networks", Journal of Computer Research and Development, vol. IEEE 16th International Symposium on Personal, Indoor and Mobile
42, no.1, pp.163-174, 2005. Radio Communication, 2006.
[6] X. Ye, L. Chen, G. Hu, "Application of wireless sensor networks in [14]S. Venkita, H. Huang, D. Seema,. "Priority scheduling in tinyOS: a case
environment monitor", Computer Measurement and Control, vol. 11, study", Washington University, 2002.
pp.1033-1035, 2004. [15]W. Wang, J. Youn, H. Sharif, "The ilmplementation of an energy
[7] H. Zhan, C. Sun, S. Wu, D. Li, "The application ofthe zigBee technology balanced routing protocol with dynamic power scaling in tinyOS",
in coal mine rescue system", Computer Engineering and Application, Proceedings of the IEEE International Conference on Sensor Networks,
vol.24, pp.181-183, 2006. Ubiquitous, and Trustworthy Computering, 2006.
[8] S. Farshchi, I. Mody, and J. Judy, "A tinyOS-based wireless neural [16]P. Levis, N. Lee, M. Welsh, and D. Culler, "TOSSIM: accurate and
ilnterface", Proceedings of the 26th Annual International Conference of scalable simulation of entire tinyOS applications".
the IEEE EMBS, 2004. [17]D. Patnode, J. Dunne, A. Mahowski, D. Schertz, "WISENET-tinyOS
[9] S. Farshchi, P. Nuyujukian, A. Pesterev, I. Mody, and J. Judy., "A based wireless network of sensors", 2003 IEEE, pp.2363-2368.
tinyOS-based wireless neural sensing, archiving, and hosting system", [18]X. Chen, S. Wang, Y. Xu, "Study on scheduling strategy of operating
Proceedings of the 2 International IEEE EMBS Conference on Neural system in wireless sensor networks", China Paper on
Engineering Arlington, 2005. Line,http:/www.paper. edu. cn.
[10]S. Farshchi, P. Nuyujukian, A. Pesterev, I. Mody, and J. Judy, "A [19] J. Li, F. Wang, W. Duan, J. Wang, "Research on node operation system
tinyOS-enabled MICA2-based wireless neural interface", IEEE of wireless sensor networks", Application Research of Computers, vol.8,
Transactions on Biomedical Engineering, vol.53, no.7, pp.1416-1424, pp.28-30, 2006.
2006. [20] L. Yang, "Analysis of energy consumption and lifetime of wireless
sensor networks[Master thesis]", Tianjin: Tianjing University,2004
151
Authorized licensed use limited to: Korea University. Downloaded on February 2, 2010 at 00:47 from IEEE Xplore. Restrictions apply.