Part 2 – Software
The Illinois Structural Health Monitoring Project (ISHMP) introduced earlier is working to develop an inexpensive means for continuous and reliable SHM (Structural Health Monitoring) using dense arrays of wireless smart sensors. Researchers have designed, developed, and tested sensors to produce the high-fidelity data required for SHM that can be manufactured very cheaply. Their research has also produced an enabling customizable software framework that greatly reduces both the complexity and time for development of SHM applications for smart sensor platforms.
The ISHMP Services Toolsuite provides an open-source software library of customizable services and examples of SHM applications utilizing wireless smart sensor networks (WSSNs). The ISHMP provides users with a collection of guides to help those who are new to Crossbow’s Imote2 platform, its operating system or programming languages.
As with many wireless sensor platforms, the ISHMP Services Toolsuite on the Imote2 employs TinyOS as the operating system. TinyOS is tailored to the specific constraints of sensor network applications and occupies a small memory footprint, while efficiently supporting complex programs. TinyOS applications are implemented in NesC, a C-like programming language which supports the concurrency model of TinyOS. While TinyOS has been adopted by many sensor network applications and has quite a large user-community, it can be a daunting undertaking for engineers lacking such specific programming experience to develop code for their applications. To alleviate this problem, the ISHMP Services Toolsuite was designed assuming that the typical user will have limited background in computer science. Rather, the user is expected to be familiar with basic Windows operation and have a desire for a smart SHM system that can be installed easily and operated reliably.
The ISHMP Services Toolsuite employs a Service-Oriented Architecture (SOA) that lends itself to further expansion, customization, and development of WSSN applications for SHM. It provides complete applications that facilitate common tasks throughout the design, testing, deployment, and monitoring of the SHM system, while utilities offer a set of basic testing and debugging commands to be included with existing applications. The SHM Services Toolsuite includes utilities for resetting nodes remotely, listing the nodes within communication range of the local node, testing radio communication performance, and changing the radio channel and power for local and remote nodes. Specific services and tools currently available include the following:
Foundation Services: The foundation services provide commonly used wireless sensor functionalities that are required to support higher-level applications. These services include basic communication and sensing functionalities.
- Unified Sensing is a TinyOS-based sensing interface for Imote2 that supports various sensor boards including Crossbow ITS400 and Illinois SHM-A. Unified Sensing service provides precise, variable-resolution time stamping of sensor data that can be used to synchronize sensor data from different sensor nodes.
- Time Synchronization is a network-wide service for synchronizing the local clocks that sensor nodes in the network locally have.
- Reliable Communication ensures reliable data communication in a wireless sensor network. Data loss, a common problem in the wireless communication, is handled by the Reliable Communication service.
- Remote Command provides an efficient means for nodes to interact with each other. A command message is delivered to receiver nodes that process the designated tasks, and returns the list of responsive nodes and requested data to the sensor node. Remote Command allows the fault tolerant features to be easily implemented in sensor applications.
- Reliable Multi-Hop Communication provides the beta-implementation of any-to-any reliable multi-hop routing for sensor network applications. Multi-hop communication is essential for monitoring of large structures, where all sensors cannot be deployed within direct communication range of a small number of base stations.
Application Services: The application services provide the numerical algorithms necessary to implement SHM applications on the Imote2s and may also be used independently.
- Synchronized Sensing resamples the sensor data, providing synchronized data. Although the local clocks are synchronized by the Time Synchronization service, the sensing start time and the sampling rate vary from sensor to sensor with a certain amount of error. The unsynchronized sensor data is synchronized by retroactive resampling using the SyncSensing service.
- CFE estimates correlation functions between two arrays of synchronized data.
- CPSD estimates cross power spectral density between two array of synchronized data.
- RD performs the Random Decrement method to estimate unscaled impulse response functions.
- ERA estimates modal properties (i.e., natural frequency, damping factor, and mode shapes) using the Eigensystem Realization Algorithm (ERA). NExT allows the correlation functions estimated from the CFE service to be used in the ERA service.
- SSI performs the covariance-driven Stochastic Subspace Identification (SSI) for modal property estimation.
- FDD performs the Frequency Domain Decomposition (FDD) algorithm for modal property estimation.
- SDLV performs the Stochastic Damage Locating Vector (SDLV) method for damage localization.
- SDDLV performs the Stochastic Dynamic Damage Locating Vector (SDDLV) method for damage localization.
Tools and Utilities: The tools and utilities provide network testing and debugging capabilities that are necessary in any large-scale or long-term WSSN deployment. These tools facilitate evaluation of the network conditions at the structure to determine appropriate values of adjustable system parameters, and assess power consumption and longevity issues.
- LocalSensing collects sensor data from the single Imote2 connected to the PC. This tool is useful for testing new sensor board hardware as well as driver software.
- imote2comm is a terminal program that provides an interface between the PC and the Imote2 through the Crossbow IIB2400 interface board. This tool is frequently used to run the application in the ISHMP Toolsuite.
- TestServices combines numerical services, CFE, ERA, and SDLV, and performs damage detection from user-defined acceleration signals. TestServices is an application example that illustrates how the numerical services can be combined.
- TestRadio allows testing the raw bidirectional communication between a local node and remote nodes.
- RemoteSensing is an implementation of the centralized data acquisition approach that collects synchronized sensor data from a network of sensors to the base station. Time Synchronization and Synchronized Sensing services used in RemoteSensing for the synchronized sensor data.
- SensingUnit, a service component that performs synchronized or unsynchronized sensing, is particularly useful for SHM application development
- IndependentProcessingPSD is an implementation of the independent processing that decentrally estimates the power spectral densities in each node.
- DecentralizedDataAggregation is an application for the data acquisition and processing on decentralized hierarchical sensor network.
Continuous and Autonomous Monitoring Services: These services provide for continuous and autonomous WSSN operation while maintaining power efficiency.
- SnoozeAlarm provides sleep cycle functionality, which greatly reduces long-term power consumption. Sensors sleep for a period of time and then wake up for a relatively short period, during which they can interact with the network. The duty cycle is configurable by the user.
- ThresholdSentry allows a subset of the network to act as “sentry” nodes that are awakened periodically to sense data for a short period of time, determine if an interesting event is in progress, and notify the base station.
- AutoMonitor is a high-level network management application that coordinates each of its components in response to various events. It schedules sensing, data transfer, and ThresholdSentry operation according to a user-specified policy, allowing the network to operate unattended.
In addition, a library of supporting numerical functions that are common to many SHM algorithms is provided including Fast Fourier transform (FFT), singular value decomposition, eigenvalue analysis, etc. Documentation is provided for each service and test application, giving specific requirements and formats of the inputs and outputs for the service. More detailed information regarding the service-oriented architecture of the ISHMP Services Toolsuite can be found here.
To illustrate how SOA of the ISHMP Services Toolsuite lends itself to further expansion and in the development of WSSN applications for SHM, consider the figure below, which shows how the system identification method can be swapped out in an SHM application. In keeping with the SOA framework, these interchangeable services share the same input and output parameters.
In its current form, the ISHMP Services Toolsuite requires application programmers to simply provide the code necessary to interconnect the services and tools in a way that makes sense for their applications. In general terms, this code serves the following functions:
• Run service X at node A
• Send a control message to node B to run service Y
• Send results from B to A
• Run service Z on node A taking as inputs the outputs of services X and Y
Full-scale Integration
As described in the initial post, the software and hardware developed in this research has enabled the deployment of the smart SHM system on the Jindo Bridge in South Korea. This effort is part of a trilateral collaboration between the USA (University of Illinois at Urbana-Champaign), South Korea (Korean Advanced Institute of Science and Technology, KAIST), and Japan (University of Tokyo).
In total, 70 Imote2 sensor nodes with SHM-A sensor boards have been installed on Jindo Bridge. This SHM system constitutes the largest deployment of wireless smart sensors for civil infrastructure monitoring to date and demonstrates the suitability of the Imote2 smart sensor platform, the SHM-A sensor board, and the ISHMP software for full-scale, continuous, autonomous structural health monitoring. The figure shown below shows the measured data from WSSN on the Jindo Bridge.
The figure below compares computational model predictions (inset) with the experimentally determined frequencies and mode shapes obtained using the frequency domain decomposition method. As can be seen, the agreement is excellent.
In summary, the ISHMP Services Toolsuite provides an extensive set of middleware services, utilities, and tools that enable creation of complex, data-intensive WSSN applications for structural health monitoring. This SOA-based approach creates a framework which allows application programmers to more easily create applications for SHM systems. As a result, the framework allows more researchers, and ultimately application engineers, to design and implement successful SHM systems without the requirement of understanding how the underlying middleware and numerical services are implemented.
For information on installing the Toolsuite, visit the ISHMP site here.
For more details on the Imote2 platform, visit Crossbow's site here.



