Similarity-Based Traffic Reduction to Increase Battery Life in a Wireless Process Control

Tags

Similarity-Based Traffic Reduction to Increase Battery Life in a Wireless Process Control

A Study of Process Data Transmission Scheduling in Wireless Mesh Networks

Jianping Song, Song Han Deji Chen, Mark Nixon

Aloysius K. Mok Mike Lucas

Dept. of Computer Sciences Emerson Process Management

University of Texas at Austin 12301 Research Blvd. Building III

Austin, TX 78712 Austin, TX 78759

KEYWORDS

Wireless mesh network, Scheduling, WirelessHART

ABSTRACT

The combination of technology advances in wireless technology, low power microprocessors, integrated circuits, measurement and control techniques, and energy storage has enabled the development of low-cost, low-power, devices. Networking wireless devices together into a sensor network that is able to meet the reliability, latency, real-time, and performance requirements of process automation applications, while at the same time taking into consideration the practical limits on available resources, is a challenging task. Missing or delay of the process data by the network can severely degrade overall control performance. Wireless signal strength varies in time; wireless nodes come and go; data is routed dynamically on different paths; and batteries have a finite amount of energy. To meet these demands network management techniques must be able to form the overall network topology using information reported by the devices and the network itself and then schedule and optimize the overall network for latency, power, and throughput. We present an approach for forming the mesh network, allocating network resources, scheduling, and grooming the network. We base this approach on the emerging WirelessHART™ standard. WirelessHART is a secure networking technology operating in the 2.4GHz ISM radio band. WirelessHART utilizes IEEE 802.15.4 compatible DSSS radios with channel hopping on a packet by packet basis. WirelessHART communication is arbitrated using the WirelessHART Network to schedule link activity. A given WirelessHART Network communication slot may be dedicated to communication between a network pair or a slot may support Slotted-Aloha shared communication access.

1. INTRODUCTION

The combination of technology advances in wireless technology, low power microprocessors, integrated circuits, measurement and control techniques, and energy storage has enabled the development of low-cost, low-power, devices. Networking these devices through wireless networks allows for monitoring, control, and maintenance through multi-hop routing, frequency hopping, and time and path diversity.

Managing latency while at the same time conserving power is the dominant problem facing wireless sensor networks today. To minimize latency communications need to be organized so that packets are not delayed en-route from source to destination. To minimize the energy usage devices should be kept in a low-power mode as much as possible – this state is referred to as sleep-mode in this paper. Deployments must be easy to set up; and once deployed devices must run unattended for long periods of time, usually many years.

At the communication distances typical in sensor networks listening for information on the radio channel costs about the same as data transmission. Furthermore, the energy cost for a device in idle mode is approximately the same as for a device that is in receive mode. Thus, the biggest single action to save power is to turn the radio and the device itself off during idle times, i.e., put the device to sleep. Turning the device off implies advanced knowledge about when the device will be idle. The approach taken by WirelessHART is to configure the device with knowledge about when it should wake up, perform some function, and go back to sleep – this configuration is performed by the network manager and is called scheduling.

In WirelessHART communications are precisely scheduled using an approach referred to as Time Division Multiple Access (TDMA). The vast majority of communications are directed along graph routes. Scheduling is performed by a centralized network manager which uses overall network routing information in combination with communication requirements that devices and applications have provided. The schedule is subdivided into slots and transferred from the network manager to individual devices; devices are only provided with the slots for which they have transmit or receive requirements. The network manager continuously adapts the overall network graph and network schedule to changes in network topology and communication demand.

The key ideas behind this paper are described in the write-up on the WirelessHART™ Network Manager. The Network Manager communicates Network Management Commands through the Network Layer to the network of WirelessHART Devices. The scope of the Network Manager is illustrated below in Figure 1.

The Network Manager initializes and maintains network communication parameter values. The Network Manager provides mechanisms for devices joining and leaving the network. It is also responsible for managing dedicated and shared network resources. The network layer provides an interface through which network management functions can be invoked. The Network Manager is also responsible for collecting and maintaining diagnostics about the overall health of the network and reporting to host-based applications.

This paper describes the approach taken by WirelessHART to manage the overall network topology and perform scheduling. The discussion begins with an overview of the WirelessHART Architecture, presents details on routing and scheduling. While WirelessHART standard specifies the rules for network management, it does not spell out how to create route graph, generate network schedule, etc., so that the mesh network can support the latency, throughput, and other requirements of the application running on top of it. We spend the rest of the paper detailing one of our approaches. We give an example that illustrates how routing and scheduling can be performed.

Figure 1. Network Management Scope

2. WIRELESSHART ARCHITECTURE

Many of the desirable features of the WirelessHART Network such as self-healing, self-organization, and redundant routing are achieved through the establishment and updating of a network communication schedule. The Network Manager is responsible for the creation of this schedule and the associated connections. It is also responsible for the distribution of this schedule to the individual network devices. This scheduling function may be broken into the following phases:

  1. Support devices joining the network. As part of this the Network Manager is responsible for authenticating and orchestrating the join process.
  2. Establishment of routes. As part of this the Network Manager is responsible for the creation of routes that can be used by plant automation hosts, gateways, other devices, and the Network Manager itself to perform communications with the application layer in network devices.
  3. Schedule communications. As part of this the Network Manager is responsible for the establishment of Superframes and Slots that the user layer application of a network device may use to transfer process data, alerts, diagnostics and other traffic to the gateway for access by the plant automation host. The Superframes also include slots for network management and the join process.
  4. Scheduling control functions. For network devices that are actuators, interlocks, or any device that affects the process, the Network Manager is responsible for the establishments of Routes, Superframes, and Slots that the plant automation host may use to send setpoints and outputs to the user layer application in field devices.
  5. Adapting the network. The Network Manager will continually adapt the network. The Network Manager continually collects data from devices on the health of connections and traffic patterns and uses this information to adjust routing and scheduling.

The effectiveness of the overall network ultimately boils down to a combination of routing and scheduling. The services provided in the protocol stack allow network communications to be established in many ways.

2.1 NETWORK COMPONENTS

The WirelessHART Network supports a wide variety of devices from many manufactures. To the Wireless HART Network these devices can be classified as one of a small number of network types. Figure 2 illustrates the basic network device types.

A Network Device is any device directly connected to the WirelessHART Network. A Network Device transmits and receives WirelessHART packets and performs the basic functions necessary to support network formation and maintenance. Network device types include Field Devices, Router Devices, Gateway Devices, Adapters, and Handheld Devices. All Network Devices must support routing.

A Field Device is connected to and characterizes or controls the Process. They are a producer and consumer of WirelessHART packets and must be capable of routing packets on behalf of other Network Devices.

A Router Device is a Network Device that forwards packets from one Network Device to another.

A Gateway Device is an access point that connects the WirelessHART Network to a plant automation network, allowing data to flow between the two networks. The Gateway Device provides host applications access to the Network Devices. A Gateway Device can be used to convert from one protocol to another, as go-between two or more networks that use the same protocol, or to convert commands and data from one format to another.

A Handheld Device is used in the installation, control, monitoring, and maintenance of Network Devices. Handheld Devices are portable equipment operated by the plant personnel.

2.2 CORE NETWROK FUNCTIONS

The core network functions are shown in Figure 3 below.

2.2.1 NETWORK MANAGER

In the model shown in Figure 3, the Network Manager contains one overall Network Schedule. This schedule is further broken down into Superframes and time slots – time slots are associated with links. The Network Manager also contains a list of all devices in the network. It also contains the overall network topology including a complete graph of the network and portions of the graph that have been installed into each device. The Network Manager generates route and connection information using information that it receives from the Network Devices. The Graph of the network is built from the list of Network Devices, their reported Neighbors, and a prioritization exercise.

The Network Manager is also responsible for generating and maintaining all of the route information for the network. The Network Manager uses this route information to generate a complete graph leading from each network device back to the Network Manager. There may also be special purpose routes which are used to send commands and other settings from the Gateways to Network Devices. Finally, there are broadcast routes which are used to send broadcast messages from the Network Manager through the Gateways to all of the Network Devices.

The Network Manager is responsible for adapting the network to changing conditions and for scheduling communication resources. As devices join and leave the network, the Network Manager updates its internal model of the WirelessHART Network and uses this information to generate the schedule and routes. Network performance and diagnostic information is also used by the Network Manager to adapt the overall network to changes in topology and communication requirements. Once the overall schedule has been generated, the schedule is transferred through a series of commands from the Network Manager to the Network Devices.

2.2.2 SECURITY MANAGER

The Security Manager works with the Network Manager to secure the WirelessHART Network from adversarial threats to its operation. The Security Manager generates and manages the cryptographic material used by the network. It is responsible for the generation, storage, and management of keys.

2.2.3 NETWORK DIAGNOSTICS

As part of its system functions, the Network Manager collects network performance and diagnostic information. This information is accessible during run-time making it possible to view and analyze the behavior of the overall network. If problems are detected, reconfiguration of the network is performed while the network is operating. Network diagnostic information can be accessed through HART commands.

2.2.4 NETWORK PERFORMANCE

The WirelessHART Network maintains very high reliability through the use of several mechanisms including multiple paths to network devices, multiple RF channels, and multiple communication tries. If improved reliability is required, more paths can be inserted by adding additional gateways and field devices. Additional devices improve path diversity. Additional gateway access points, and devices in general, increase throughput, reduce latency, and can be used to route around potential interferers.

2.3 TIME-SYNCHRONIZED COMMUNICATION

All communication on the WirelessHART Network is time-synchronized. The basic unit of measure is a time slot which is a unit of fixed time duration commonly shared by all Network Devices in a network. The duration of a time slot is sufficient to send or receive one packet per channel and an accompanying acknowledgement, including guard-band times for network-wide synchronization. The per-channel qualification indicates that more than one communication can occur in the same time slot.

Precise time synchronization is critical to the operation of networks based on time division multiplexing. Since all communication happens in time slots, the Network Devices must have the same notion of when each time slot begins and ends, with minimal variation. The WirelessHART protocol defines mechanisms for time synchronization. In a WirelessHART Network, time propagates outwards from the Gateway.

The Network Managers’ two most important functions are to setup and manage all routes used throughout the WirelessHART Network and to allocate communication resources. The allocation of communication resources is referred to as scheduling. The key components of the Network Manager are the Network Schedule, the collection of Network Devices, the collection of Neighbor Tables, the collection of Connection Tables, and the collection of Routes. The Network Manager also maintains associations to the Security Manager and Host Applications. The Network Manager and Security Manager are shown in Figure 3.

3. NETWORK ROUTING

There are two methods of routing packets in a WirelessHART Network—graph routing and source routing. When using graph routing, a Network Device sends packets with a Graph ID in the network layer header along a set of paths to the destination. All Network Devices on the way to the destination must be pre-configured with graph information that specifies the neighbors to which the packets may be forwarded. In a properly configured network, all devices will have at least two devices in the Graph through which they may send packets.

With source routing, pre-configuration of the forwarding devices is not necessary. To send a packet to its destination, the source Network Device includes in the network layer header an ordered list of devices through which the packet must travel. As the packet is routed, each routing device utilizes the next Network Device address from the packet to determine the next hop to use. Since packets may go to a destination without explicit setup of intermediate devices, source routing requires knowledge of the network topology.

The Network Manager contains a complete list of Routes, Connections, and Network Devices. When devices are initially added to the network, the Network Manager stores all Neighbor entries including signal strength information as reported from each Network Device. The Network Manager uses this information to build a complete Network Graph – the Network Graph is a not a complete map of the network – a large number of possible (but suboptimal) links have been removed. The Network Graph is put together optimizing several properties including reliability, hop count, reporting rates, power usage, and overall traffic flow. A key part of the topology is the list of Connections that connect devices together.

Every graph in a network is associated with a unique Graph Id. To send a packet on a graph, the source Network Device includes a Graph Id in the packet’s network header. The packet travels along the paths corresponding to the Graph Id until it reaches its destination, or is discarded. In order to be able to route packets along a graph, a device needs to be configured with a Connection table. The Connection table contains entries that include the Graph Id and neighbor address. Redundant paths may be setup by having more than one neighbor associated with the same Graph Id. Using Graph Routing, a device routing a packet must perform a lookup in the connection table by Graph Id, and send the packet to any of the listed neighbors. Once any neighbor acknowledges receipt of the packet (MAC level acknowledgement), the routing device may release it and remove the packet from its transmit buffer. If an acknowledgement is not received, the device will attempt to retransmit the packet at its next available opportunity.

4. NETWROK SCHEDULING

Managing latency while at the same time conserving power is the dominant problem facing wireless sensor networks today. To minimize latency communications need to be organized so that packets are not delayed en-route from source to destination. To minimize the energy usage devices should be placed into sleep mode as much as possible. Power consumption limits the utility of sensor networks, which must operate unattended on the order of years. Replacing batteries is a laborious task and extremely difficult in some environments. Conserving energy is therefore critical for prolonging the lifetime of the sensor network. Meeting both latency and power consumption requirements can be addressed through scheduling.

WirelessHART takes the approach that applications and devices specify their communication requirements and a centralized network manager in-turn allocates communication resources. The centralized network manager then distributes the schedule to each of the effected devices. When devices are not scheduled to transmit or receive they can be put into sleep mode.

Each WirelessHART Network contains exactly one overall schedule that is created and managed by the Network Manager. The schedule is subdivided into Superframes. Each Superframe is further subdivided into frame relative links that repeat as the Superframe cycles.