Abstract: This paper describes the design and imple- technology can be implemented in new trains, but most of
mentation of a wireless sensor network in a commuter train the trains used every day are old ones.
environment. First, we analyze the applications the sensor Besides this, the electrical system of trains in general is
network is used in, which is then used to propose a solution heavily regulated and cannot be changed easily. Once a
specifically designed for train applications. The solution change has been made, every train has to be re-inspected
introduces a number of measures into the communication which consumes much time and money. A solution to this
protocol of the sensor network meant to increase the reli- problem is the usage of a wireless sensor network (WSN),
ability of the communication between the different nodes consisting of sensor nodes for condition monitoring. These
of the network. These measures will be implemented and nodes can be installed without violating the current regula-
tried out in practice in an actual train environment to eval- tion on the electrical system on commuter trains.
uate their effectiveness. There are a number of papers published on this topic. Pre-
vious research has mainly focused on developing the the-
oretical infrastructure to enable WSNs for condition mon-
itoring, rather than on their practical implementation [4].
1 Introduction Practical research, on the other hand, has not been focused
on implementing sensor networks for train applications [2].
Public transport in general and commuter trains specifical-
This paper discusses the design and implementation of a
ly provide affordable, environmentally-friendly means of
WSN in a commuter train environment. Emphasis in this
transportation to millions of people all over the world, ev-
project lies on the reliability of the WSN. Sensor nodes
ery day. Even more people would use this kind of trans-
have limited energy sources and therefore data loss has to
port if commuter trains would run on time more often. For
be minimized. We develop a metric that tells us how reli-
example, in the Netherlands alone, 20% of all trains run
able the WSN implementation is and implement solutions
late [1]. Of course, delay due to external factors, such
that further improve this reliability.
as weather conditions can never be avoided. On the other
This paper is structured as follows. First, an introduction
hand, delay due to material breakdown can.
into the background of WSNs is given in Section 2. Fol-
Modern technology provides enough measures to prevent
lowing this, an overview of the condition monitoring appli-
trains from breaking down by performing condition mon-
cations where we can use a sensor network is given in Sec-
itoring. In condition monitoring, certain train properties
tion 3. Section 4 discusses the reliability model, which we
are monitored and an alarm is signaled if a certain criti-
will use to evaluate the sensor network. Section 5 discusses
cal threshold has been crossed. In this way, material wear
the approach for implementing the WSN in a commuter
down is recognized in time and action can be taken as a re-
train environment. Following this, Section 6 discusses the
sult, instead of causing a train to break down in the middle
solutions, that will be implemented. Section 7 concludes
of the day, with many commuters aboard. Example prop-
this paper.
erties in trains that can be monitored include brake temper-
atures or wheel vibrations.
There are issues, however, that prevent using condition
monitoring inside commuter trains. First of all, not all 2 Wireless sensor networks
modern technology is suitable for implementation in a
train. Commuter trains tend to be used for a very long time. A WSN is a collection of sensor nodes, capable of com-
Their life cycle stretches over 30 years. Therefore, modern municating with each other in such a way that they create
a network amongst themselves. This network is connected is done by monitoring vibrations or temperatures. This
to a gateway, which is the interface between the sensor net- gives a good indication of the current status of the brakes.
work and the outside world. Some of these principles are already implemented on mod-
Major constraint in a sensor network is the fact that the sen- ern trains, but many old trains are still running every day.
sor nodes have a limited amount of energy available. The Both applications are good examples of problems that can
source of this energy can be either be from a small bat- be solved by implementing a sensor network. The sensor
tery or by using energy harvesting in which sensor nodes nodes will transmit the status of either the door or the con-
extract energy from their immediate surroundings. Since dition of the train brake. This information will be sent to
this amount of energy is limited, it is very likely to hap- the train staff, who can take appropriate measures.
pen that nodes will stop functioning at undefined moments Besides these two applications, there is also some very
- and can start functioning again when they have regained valuable information that can be retrieved from a sensor
new energy. network. Passenger seats can be equipped with a sensor
The sensor network that will be implemented inside a com- node and used for monitoring the number and the position
muter train has the following characteristics: of passengers inside a train. This provides railway compa-
nies with valuable information on traffic load and can be
• The sensor nodes used are Crossbow Mica2 sensor used to inform passengers where there are still free seats
nodes [5], which use the TinyOS operating system [6]. left. This will help reduce the time it takes for people to
A Mica2 sensor node is shown in Figure 1. board a train, since they know where to board beforehand.
• The sensor nodes are on a fixed position. Of course,
the train itself is moving, but the nodes are not - with
respect to each other.
• The sensor nodes have a position known a priori.
4 Reliability model
1. Routing
Routing finds the paths in a network along which to References
send data to the intended destinations and provides
information on the status of the path followed by dif- [1] Dutch Railways - Key points: running on time. www.
ferent packets. Routing uses the information on the ns.nl.
topology to find out which node is connected to which [2] On the application of WSNs in condition monitoring
node. If there is no physical connection to a node, it and energy usage evaluation for electric machines. B.
cannot route any data to it. Based on this topology Lu et. al. Sch. of Electr. & Comput. Eng., Georgia
information, it determines by which path to route the Inst. of Technol. IEEE Conference Industrial Electron-
data. ics Society. 2005.
2. Link quality [3] Wireless sensor network based model for secure rail-
The other goal of the network layer is to provide in- way operations. E. Aboelela et. al. Comput. & Inf. Sci.
formation to the transport layer on the link quality. Dept., Univ. of Massachusetts Dartmouth. 2006.
If data has not been received this indicates there is a [4] Energy efficient MAC protocol for condition monitor-
problem. This can indicate a topology change - mean- ing sensor networks. Boscardin, T.; Songlin Cai; Gao,
ing that the node the data is sent to is no longer active, R.X.; Weibo Gong; 43rd IEEE Conference on Deci-
e.g. because it has no energy left or because it is dam- sion and Control, Volume 2, 2004. . 14 - 17 Dec. 2004.
aged. On the other hand, it can also indicate that the Page(s):1496 - 1501.
network is congested and the node receives more data
than it can process. The transport layer will find out [5] Crossbow MICA2 2.4 GHz product page. http://www.
that the level-of-quality of the link will fall below a xbow.com.
threshold and initiate an improvement process.
[6] TinyOS: Open Source Operating System for sensor
networks. http://www.tinyos.net.
6.2.3 Layer 2: Data link layer [7] D. J. Smith. Reliability, maintainability and risk :
practical methods for engineers. Elsevier Butterworth-
1. Shared medium access Heinemann. 2005.
Multiple nodes are not allowed to send data at
the same time over the same transmission medium. [8] Zimmermann, H. OSI Reference Model - The ISO
Therefore, Medium Access Control (MAC) must be Model of Architecture for Open Systems Interconnec-
implemented that decides which node gains access to tion. IEEE Transactions on Communications. 1980.
the shared medium at which moment.
2. Topology control
Topology control involves having knowledge of the
initial topology and the ability to react to a changing
topology, based on a certain topology type.