Professional Documents
Culture Documents
Regi Project
Regi Project
Regi Project
Abstract— We report the development of a network of wireless much more serious consequences can be prevented, according
ultralow-power sensors to be deployed on freight railway cars, to the data of the European Railway Agency [1]. However, it
with the main purpose of detecting derailment events and alerting is essential to limit the occurrence of false positives and to
the engineer in the cab of the leading locomotive. Because no
power bus is available on freight cars, we plan to rely on energy contain the costs of the equipment to be added to freight cars;
scavenging from vibrations; therefore, minimization of the power otherwise, a large-scale adoption is unlikely. Many efforts have
consumption has been one of our main priorities. We have, been spent in designing and implementing devices that can
therefore, focused on ultralow-power hardware and strived to detect the derailment condition and, in most existing solutions,
reduce the time intervals during which it is in active mode, initiate an emergency brake application.
achieving an average power consumption of ∼0.5 mW with an
active cycle of ∼20 ms every 2 s. We discuss the overall concept The traditional approach is based on a mechanical device
that we propose, including the self-initialization protocol and the attached to the two ends of a car and connected with the train
communication strategy that we have developed, and present the brake line [2]: if, as a result of derailment, the amplitude
results of measurements on a prototype network that we have of vibrations overcomes a given threshold, air is released
implemented. from the brake line, resulting in an immediate emergency
Index Terms— Ad hoc networks, energy harvesting, stop. There are several disadvantages associated with this
measurement, railway safety, wireless sensor networks. type of detectors, which have severely limited their diffusion.
First of all, the mechanical implementation leads to costs
I. I NTRODUCTION of the order of thousands of Euros; furthermore, installation is
relatively complex, because the detector becomes part of the
vertical component of the acceleration, and, if a derailment needed and because of the requirements in terms of reliability
condition is recognized, an alarm signal is sent to the train and lifetime. Indeed, each sensor node should have a
driver. On modern passenger trains, where a data bus and a lifetime of at least 10 years, preferably 20 years, without
power source are available on all cars, the implementation is any maintenance. In addition, a proper optimized two-stage
rather straightforward and has been successfully achieved in dc–dc converter must be designed in order to make the energy
Japan: a report by Kato and Terada [6] presents three criteria harvester work in the load condition yielding the largest
that can be applied to the accelerometer output to decide possible power at any train speed and, at the same time,
whether a derailment has occurred. Such criteria have been delivering a constant voltage to the load. Such a converter will
thoroughly tested on the Keiyo line in Japan, with successful also fully charge the supercapacitors (or batteries) to prepare
results. them for the network initialization and configuration phase.
The difficulty in extending this concept to freight trains A search that we have performed on the existing patents
derives from the fact that on freight trains there is no has turned up an idea [17] that has some analogy with our
availability of power or of a data communication line. main concept, as far as the creation of a wireless sensor
We address these issues with energy scavenging from network along a train is concerned, but differs under several
vibrations and wireless radio communication. other points of view and appears to be mainly the result of a
The power needed for the operation of the sensor node purely theoretical study, without an effort to produce and test
can be obtained from mechanical vibrations, which do have a prototype. The proponents of [17] have conceived a wireless
a significant amplitude during the normal motion of a network of acceleration sensors included in the bearing cover
freight car. In the literature, several approaches can be of each wheel, which have the purpose of monitoring the
found to the conversion into electrical power of mechanical mechanical conditions of the bearing itself. In this case,
vibrations: electromagnetic (inductive) [7]–[11], electrostatic power is obtained from an embedded generator exploiting
(capacitive) [12], and piezoelectric [13], [14]. All of these the axle rotation, and a relatively complex processing of the
techniques have been used to power both sensors and actuators. information from the accelerometers is needed to provide
A difficulty, which may affect the type of application we are accurate data. They suggest to use information from the
interested in, in particular, when the train moves at reduced spectral content to determine the speed at which each car
speed, is represented by the fact that the maximum voltage is moving, to gather information about the bearing status
and the generated power drop dramatically at low vibration and to detect anomalies. Due to our requirements about the
frequency. There are, however, techniques that have been ease of installation and the low cost, we cannot follow this
proposed to overcome this problem, based on mechanically approach, in particular, because it requires a relatively complex
up-converting the ambient vibration frequency, as suggested action on the bearing.
by Külah and Najafi [15]. For our application, the best solution Furthermore, it would involve a relatively complex certi-
appears to be that of the electromagnetic harvester, based fication process, because modifications to mechanical parts
on a magnetic mass moving within a solenoid as a result that are critical to the safety of operation would take place.
of vibrations. Perpetuum Ltd. [7] produces electromagnetic We focus instead on the development of a system characterized
energy scavengers that they apply to the collection of vibration by an extremely simple installation procedure that can be
and temperature data from a train axle and wireless transfer performed by unskilled personnel. In addition, we propose
of this information to a data collection system on the train. a complete system, including both the derailment sensors
They install the scavenger directly on the unsprung mass, and a communication network covering the whole length of
where vibrations are maximum and, for their model PMG-37, the train, and which can also be used for carrying addi-
obtain >90 mW of output for a root mean square (rms) tional information, such as readings of humidity/temperature
acceleration of 1 g. In our case, it is much preferable to attach sensors or of payload tags, to mention just a few
the nodes to the car body, in order to make the installation examples.
quicker, less expensive, and requiring much less effort for its There are alternative energy scavenging approaches that
certification. Although, on the car body, the rms amplitude could be exploited, in order to increase the amount of energy
of the vibration is reduced, significant power can still be available, but it is not easy to establish their long-term
obtained, as shown in [8], where 80 mW is shown to be reliability without extensive testing. A possibility could be
achievable for a freight car traveling at 80 km/h. Energy the exploitation of the air flow resulting from the motion
harvesters based on the piezoelectric effect are, in general, of the train, with a propeller connected to a generator or
cheaper and smaller, but supplying less power compared with with the conversion of vibrations induced by such an air
electromagnetic units. Some piezoelectric harvester could, flow in a properly designed cavity. An interesting solution
however, match the requirements for our nodes, because they for wireless sensors powered by air flow has been proposed
can deliver an average power of the order of 10 mW [16]. by Sardini and Serpelloni [18], who have designed and
Any energy scavenging approach must be supplemented implemented self-powered wireless sensors located in a duct
with some form of energy storage, capable of compensating where an air flow is present. Although this is certainly an
the unavoidable fluctuations in power output. Such a storage interesting possibility, in a railway environment there is a
can consist in rechargeable batteries or in supercapacitors: for risk of dust and dirt accumulation, which could cause failure
the specific application we are considering, supercapacitors of the sensor power supply in a few years or even in a few
appear as preferable, because of the short-term storage that is months.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
propagated toward the train tail. Only one node at a time can The last node holding the token cannot receive valid
hold the token. At the startup of the network, the token is held announce packets in the allotted time. Hence, the token expires
by the master node. The other nodes are in the uninitialized and the node assumes to be the last in the train (tail node).
mode, and start transmitting announce packets as soon as their In general, the larger the energy stored for the initialization
supercapacitors are fully charged (so that they will be able phase, the longer such a phase can last. However, in order
to operate continuously for several seconds) at pseudorandom to have a larger amount of stored energy, the beginning
(a simple linear congruent generator is enough) intervals, in of the initialization phase has to be delayed until such energy
order to minimize collisions. The announce packets contain the becomes available. Therefore, the duration of the initialization
sender UID. The token holder receives the announce packets phase should be a trade-off between the acceptable delay after
and stores the sender UIDs and the received signal strength. the train reaches a speed sufficient to charge the energy storage
After receiving a given number of packets or after a given elements and the initialization time needed for the largest
amount of time, it selects the strongest [i.e., the one with the number of cars that are expected to be in the train.
largest value of received signal strength indication (RSSI)],
thereby probably belonging to the nearest node, and passes
the token on to the corresponding node. Because the reliable B. Network Operation
transmission of the token is essential for the correct network After the initialization phase, the network begins the
initialization, the receiver node sends back an acknowledgment ordinary operation (see the rightmost section of Fig. 2). The
packet to confirm token reception. tail node sends information packets with the derailment status
Every time the token is handed over to the next node, the information (just a single bit would be sufficient, at zero
ED is incremented; hence, every node has a unique ED, which in normal conditions and at 1 when a derailment is taking
reflects the order in which it received the token, which, in place). The node with the next-to-last ED receives the packets,
turn, is related to the distance from the locomotive. In order updates the status information, and retransmits the packets.
to prevent errors resulting from the fact that the signal arriving In this way, the information is transported all the way to
from the opposite side of the train may be significantly weaker the master node. Every packet has a sequence number, and,
and, therefore, lead to nodes being skipped, each node of the hence, the master node can detect missing packets. However,
pair installed on the same car knows the UID of the other the frequency of the information packets (one per second) is
node, and forces its inclusion as nearest neighbor. large enough to tolerate the sporadic loss of some packets.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
C. Handling of Network Failures finally, a node corresponding to the master node to be located
Many network anomalies can lead to the presence of stray in the locomotive.
uninitialized nodes. For most of the time, each node is in the ultralow-power
sleeping mode, waking up only once within each cycle, in
1) A node misses the token during the initialization phase.
order to read the accelerometer information and to transmit
2) The token expires at mid train leaving uninitialized
a message to be received and propagated by the other
nodes at the tail.
nodes. The current choice for the duration of the cycle has
3) A node is restarted after a power shortage.
been 1 s, this interval can be decreased at higher speeds,
4) A node does not receive packets for a while, times out
when plenty of energy is available from the harvesters,
and restarts.
and the timeliness of the derailment warning is more
If properly configured nodes receive announce packets from important.
stray nodes, they will add this knowledge to the information There are two accelerometers (the LIS3DH and the
packets, to relay it to the master node, which can trigger a ADXL362) on the test board for the purpose of evaluating
global reconfiguration. both of them, in order to decide which one to install in the
In order to trigger this reconfiguration, the master node final node design: the LIS3DH has a definitely lower cost
sends a few reset packets. Every node receiving a reset packet (1.63 Euro versus 8.06 Euro), but a higher current in sleep
resends it after a small random time and then resets. The mode (0.5 μA versus 10 nA) and does not have a motion
reset packets are launched with a time-to-live counter, which activated wake-up mode. This latter feature is, however, not
is decremented at every retransmission. Hence, they trigger particularly useful in our application, because acceleration
a “reset storm,” which extinguishes itself after some time, measurements require only a small portion of the overall
leaving every node in the uninitialized state. Afterward, the dissipated energy and operation of the network of sensors
master node sends a new token. requires them to be performed with a given periodicity anyway.
The problem of nodes belonging to a nearby train being The fact that the energy used up by the accelerometer is (as
erroneously included in the initial network configuration is will be shown in the following) negligible compared with
addressed in [17] on the basis of an evaluation of the speed that necessary for the CC1110 operation, makes the cheaper
of each node: nodes belonging to the same train will have LIS3DH a preferred choice, also considering that it has a wider
the same speed. We do not intend to spend a relatively measurement range (up to 16 g), which covers the activation
important computational effort for the evaluation of the speed threshold (11.5 g) used for mechanical derailment detectors,
(for example, performing a fast Fourier transform of the such as the EDT101 [2].
accelerometer output), because we believe that the inclusion In the active phase of each node, timing is guaranteed by
of spurious nodes is not a real problem in practice. Since the the 26-MHz main clock crystal, but when the sleep-mode
configuration procedure takes place when the train has already is entered, the time interval before returning to the active
reached a speed sufficient to charge the supercapacitors with mode is measured based on the internal RC oscillator of the
the needed amount of energy, it is unlikely that another train microcontroller. This involves that such an interval is affected
whose nodes are also performing the configuration process by some fluctuations, which make it necessary to program
will be on a nearby track. Furthermore, even if such an event each node in such a way that it will start listening in reception
occurred, the spurious nodes will be dropped a short time mode somewhat in advance, and, therefore, the overall power
later, when the two trains will be at a distance such that radio budget will be slightly increased. Thus, in order to warrant
communication between their nodes will not be possible any the correct reception of the packet from its nearest neighbor,
longer. each node will be switched on into receive mode, and it
The packets consist of a byte, which specifies the packet will remain active until a packet is actually received and
type, and a variable length payload (the length depends then passed onto the next node (with the same information
on the packet type). For example, information packets are as in the received packet or with an emergency message if
made up of: packet type, sender ED, 2-byte serial number, the local accelerometer has measured a large enough vertical
and derailment status byte. They can be longer if additional acceleration that makes a derailment likely to have occurred).
functionalities are included, such as relaying temperature or In order to reduce the wait time in reception mode and to
humidity information, as discussed in the following. The avoid possible losses of synchronization due to the effect on
maximum packet length is 16 byte. the internal RC oscillator of the large temperature variations
The serial number is important, because it allows the master possible in a freight train environment, the final boards will
node to determine whether any packet loss has taken place. be equipped with a 32 768-Hz crystal for the operation of the
A reconfiguration can be forced after a nonnegligible number sleep-mode timer.
of packets has been lost. All of our nodes share the same hardware, for which
detailed schematics can be found in Fig. 3. The different
functionalities of the nodes are obtained by uploading
III. I MPLEMENTATION AND D ETECTION C RITERIA
different versions of the software. The main component is
We have implemented a prototype network consisting the CC1110 System-on-Chip from Texas Instruments, which
of three nodes: the first corresponds to the one located at the includes a microcontroller with an ultralow-power sleep
end of the train, then there is one intermediate node, and, mode and a transceiver operating in the 915-MHz ISM
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
Bernardo Tellini (M’05) was born in Pisa, include characterization of magnetic materials and metamaterials,
Italy, in 1969. He received the M.S. (Laurea) electromagnetic emission associated with fast electromagnetic
and Ph.D. degrees in electrical engineering from transients, sensors and transducers for pulsed power applications, and
the Università di Pisa, Pisa, in 1993 and 1999, Magnetohydrodynamics problems. Dr. Tellini is a member of the IEEE
respectively. Instrumentation and Measurement Society and of the IEEE Magnetics
He has been with the Università di Pisa since 2000. Society. He is the Vice Chair of the IEEE Instrumentation and Measurement
He is currently a Full Professor of Electrical Society Italian Chapter and a Conference Coordinator of the IEEE Italy
Measurements with the Department of Energy, Section. He was the Chair of European Pulsed Power Laboratories from
Systems, Territory and Construction Engineering, 2010 to 2014, and the General Chair of the International Instrumentation and
Università di Pisa. His current research interests Measurement Technology Conference in 2015.