Building Large-Scale ZigBee Systems with Web Services
May 1, 2005 By: Tim Enwall, Venkat Bahl SensorsWeb services promise to help developers create applications for large sensor networks.
Creating applications for large, diverse sensor networks is difficult due to the volume and varying longevity and dynamics of the sensor nodes. When node volume and sensor/actuator diversity increases, the complexity of the entire system increases exponentially. While standards such as ZigBee address the need for an industry-driven open standard, they don't define the tools required to build these systems.
As a result, developers of large sensor networks face investing dozens of man-years into developing common "foundational" software services that are unrelated to the application they seek to build. They are forced to code services to access groups of sensor nodes, manage and aggregate data, build abstractions to represent those node groups, build event-driven rules, and simulate the network's behavior.
Web services are a way to solve this problem. Developers can tap Web service "brokers" to provide the network discovery, extraction, commissioning, configuration, management, security, event/rule logic, and data management functions for large, diverse ZigBee systems. Rather than having to learn embedded/network programming skills or master the intricacies of the ZigBee networking stack, the developers can quickly build applications in familiar, higher-level languages such as Java or C++, using Web services or native interfaces to automatically extract and manage data transactions across the ZigBee network.
Making the Case
As ZigBee adoption accelerates (see "ZigBee's Next Steps, and Figure 1), users will face systems of a hundred to a thousand nodes. How do you interface with such a system, where each of the thousand nodes lacks any form of user interface? How do you control them?
![]() Figure 1. ZigBee is the only standards-based wireless technology that addresses the unique needs of low-power, low-data-rate networks for remote monitoring and control. |
Consider the example of a large shipping company using a large ZigBee-based sensor network to detect all sorts of environmental data on a cargo ship and to control various equipment. The system would require hundreds of highly constrained sensor and control nodes creating self-forming, self-healing, and self-coordinating networks. You'd need vibration and stress-sensing sensors attached to the hull to monitor structural integrity, cracking, and stress; vibration and temperature sensors on the equipment in the engine room; temperature and humidity sensors connected throughout the ship to check overall conditions for both personnel and equipment; and accelerometers attached to the hull to detect normal and extreme movements. You'd need fan controls to monitor the ship's ventilation system; motor and valve controls attached to almost all engine room equipment and in other critical machine rooms; fuel and energy supply valve controls to restrict fuel flow in case of dangerous conditions; and RFID and other tracking sensors on each cargo container to monitor movement, internal/external temperature, and tampering.
The developer just wants to write an interface program for the ship's maintenance people, engineers, captain, and other company personnel. Let's say that the acceleration sensors on the left-hand side of the ship have exceeded a threshold, indicating stormy seas or dangerous situations. The application the developer wants to write would send broadcast control messages to the engine room equipment to put it into "safe" mode and close down the fuel supply valves until given an "all clear" message. The latter message is most likely an application-generated event from data gathered by the hull acceleration sensors.
It would be unwieldy for a developer to write a program that places C code on each sensor. Let's continue with our hull sensor example. Addressing (not to mention authenticating and registering) the 50 or so hull acceleration sensors, managing messages to the group, aggregating data, and performing calculations to detect abnormal behavior, in addition to triggering control events to a larger group of sensor nodes promises enormous complexity and development overhead for the developer. After all, he or she just wants to perform a series of safety maneuvers in the event of rough seas.
1 2 3 4
| sensorsonline: David Gaber: David Gaber is Product Marketing Manager, Inertial Sensing Products, at Epson Electronics America... http://t.co/QK5PY41i | |
| sensorsonline: David Gaber: David Gaber is Product Marketing Manager, Inertial Sensing Products, at Epson Electronics America... http://t.co/QK5PY41i | |
|
|
|
| sensorsonline: EtherNet/IP Absolute Encoders from TR Electronic: TR Electronic, Troy, MI, offers the CEx58 Series of absolute e... http://t.co/acdzvH4K | |
| sensorsonline: EtherNet/IP Absolute Encoders from TR Electronic: TR Electronic, Troy, MI, offers the CEx58 Series of absolute e... http://t.co/acdzvH4K | |
|
|
|
| sensorsonline: Capacitive Accelerometers from Silicon Designs: The Model 2266 from Silicon Designs Inc., Kirkland, WA, is a hig... http://t.co/hpsQ2L2K | |
| sensorsonline: Capacitive Accelerometers from Silicon Designs: The Model 2266 from Silicon Designs Inc., Kirkland, WA, is a hig... http://t.co/hpsQ2L2K | |
|
|
|
| sensorsonline: Signal Conditioning Board from Fredericks: The Fredericks Co., Huntingdon Valley, PA, offers the RS-485 Mini-Sig... http://t.co/OgK0CY5a | |
| sensorsonline: Signal Conditioning Board from Fredericks: The Fredericks Co., Huntingdon Valley, PA, offers the RS-485 Mini-Sig... http://t.co/OgK0CY5a | |
|
|
|
| sensorsonline: Sensors Expo Exhibitor Inquiry: Sensors Expo Exhibitor Inquiry read more http://t.co/YQ9z3CeH | |
| sensorsonline: Sensors Expo Exhibitor Inquiry: Sensors Expo Exhibitor Inquiry read more http://t.co/YQ9z3CeH | |
|
|
|
| sensorsonline: Sensors Expo & Conference Attendee Inquiry: Sensors Expo & Conference Attendee Inquiry read more http://t.co/nqum9XX9 | |
| sensorsonline: Sensors Expo & Conference Attendee Inquiry: Sensors Expo & Conference Attendee Inquiry read more http://t.co/nqum9XX9 | |
|
|
|
| sensorsonline: Creativity and Problem Solving: Engineers are creative; I don't think it's possible to be a problem solver witho... http://t.co/GiO0fIYR | |
| sensorsonline: Creativity and Problem Solving: Engineers are creative; I don't think it's possible to be a problem solver witho... http://t.co/GiO0fIYR | |
|
|
|
| sensorsonline: M2M WiFi Access Point from B&B Electronics: The embeddable APMG-Q551 and external APXG-Q5420 from B&B Electronic... http://t.co/bSk7WnYM | |
| sensorsonline: M2M WiFi Access Point from B&B Electronics: The embeddable APMG-Q551 and external APXG-Q5420 from B&B Electronic... http://t.co/bSk7WnYM | |
|
|
|
| sensorsonline: WiFi-Enabled Lighting Control from Acuity Brands: The nWifi system from Sensor Switch has been added to the nLig... http://t.co/VI3uVlCg | |
| sensorsonline: WiFi-Enabled Lighting Control from Acuity Brands: The nWifi system from Sensor Switch has been added to the nLig... http://t.co/VI3uVlCg | |
|
|
|
| sensorsonline: MEMS Industry Group Explores Product Realization at Sensors Expo & Conference 2012: MEMS Industry Group Explores... http://t.co/aQt7Hz88 | |
| sensorsonline: MEMS Industry Group Explores Product Realization at Sensors Expo & Conference 2012: MEMS Industry Group Explores... http://t.co/aQt7Hz88 | |
|
|
|
| sensorsonline: Keynote: A Human-Computer-City Interface: Cities are facing unparalleled opportunities now that distributed digi... http://t.co/ZreUVMEq | |
| sensorsonline: Keynote: A Human-Computer-City Interface: Cities are facing unparalleled opportunities now that distributed digi... http://t.co/ZreUVMEq | |
|
|
|
| sensorsonline: Joshua Dennis: http://t.co/74eYv1kW | |
| sensorsonline: Joshua Dennis: http://t.co/74eYv1kW | |
|
|
|
| sensorsonline: IEEE 802.15.4 IC Market Expected to Expand: According to ABI Research, 850 million IEEE 802.15.4 chipsets, which... http://t.co/EC1mttMz | |
| sensorsonline: IEEE 802.15.4 IC Market Expected to Expand: According to ABI Research, 850 million IEEE 802.15.4 chipsets, which... http://t.co/EC1mttMz | |
|
|
|
| sensorsonline: RT @SensorsExpo: sessions added to the @sensorsonline live theater at #sensors12 included with all passes. register in advance for FREE! ... | |
| sensorsonline: RT @SensorsExpo: sessions added to the @sensorsonline live theater at #sensors12 included with all passes. register in advance for FREE! ... | |
|
|
|
| sensorsonline: check out #sensorsweekly featuring @OrthoSensor_ @THINERGY @ATT @Freescale @MiFi @Plantronics @Cymbet http://t.co/6lHQ8eJd | |
| sensorsonline: check out #sensorsweekly featuring @OrthoSensor_ @THINERGY @ATT @Freescale @MiFi @Plantronics @Cymbet http://t.co/6lHQ8eJd | |
|
|
|
| sensorsonline: #sensorsmag whats new is out featuring @Endress_Hauser in "the proper use of guided-wave radar in steam loops" http://t.co/ccOdeo4Y | |
| sensorsonline: #sensorsmag whats new is out featuring @Endress_Hauser in "the proper use of guided-wave radar in steam loops" http://t.co/ccOdeo4Y | |
|
|
|
| sensorsonline: The Future of Context-Interactive Devices: Context awareness has become a hot topic in mobile devices. The idea ... http://t.co/9olhd6td | |
| sensorsonline: The Future of Context-Interactive Devices: Context awareness has become a hot topic in mobile devices. The idea ... http://t.co/9olhd6td | |
|
|
|
| sensorsonline: Expo Floor Pavilions: Expo Floor Pavilions read more http://t.co/pGCLGaSc | |
| sensorsonline: Expo Floor Pavilions: Expo Floor Pavilions read more http://t.co/pGCLGaSc | |
|
|
|
| sensorsonline: Concurrent Events: Concurrent Events to be held at Sensors Expo & Conference read more http://t.co/MmGjwE4N | |
| sensorsonline: Concurrent Events: Concurrent Events to be held at Sensors Expo & Conference read more http://t.co/MmGjwE4N | |
|
|
|
| sensorsonline: Connecting Sensors to the Cloud Made Easy!: read more http://t.co/XXKxznjZ | |
| sensorsonline: Connecting Sensors to the Cloud Made Easy!: read more http://t.co/XXKxznjZ | |
|
|
|
| sensorsonline: 01-May-2012: 01-May-2012 read more http://t.co/JSqONRv7 | |
| sensorsonline: 01-May-2012: 01-May-2012 read more http://t.co/JSqONRv7 | |
|
|
|
| sensorsonline: HTA to Advance Organic Electronics Production: The European alliance aims to revolutionize the way printed elect... http://t.co/CsPbGVoz | |
| sensorsonline: HTA to Advance Organic Electronics Production: The European alliance aims to revolutionize the way printed elect... http://t.co/CsPbGVoz | |
|
|
|
| sensorsonline: OrthoSensor Secures Series B Financing: The company has closed on an additional $15 million in financing, bringi... http://t.co/24KSehgO | |
| sensorsonline: OrthoSensor Secures Series B Financing: The company has closed on an additional $15 million in financing, bringi... http://t.co/24KSehgO | |
|
|
|
| sensorsonline: RT @Sensorsportal: Smart Sensors Systems Design - one day tutorial at Sensors Expo & Conference: 5 June 2012: 9:00-17:00.: http://t. ... | |
| sensorsonline: RT @Sensorsportal: Smart Sensors Systems Design - one day tutorial at Sensors Expo & Conference: 5 June 2012: 9:00-17:00.: http://t. ... | |
|
|
|
| sensorsonline: #productpicks is out w/ @ABBMeasurement @analog_ic_news @LinearTech @Cognex_Corp @GoodrichCorp @picotech @monnitsensors http://t.co/Fn1LOtK9 | |
| sensorsonline: #productpicks is out w/ @ABBMeasurement @analog_ic_news @LinearTech @Cognex_Corp @GoodrichCorp @picotech @monnitsensors http://t.co/Fn1LOtK9 | |
|
|
|
| sensorsonline: Cloudera: Cloudera read more http://t.co/6Welk86y | |
| sensorsonline: Cloudera: Cloudera read more http://t.co/6Welk86y | |
|
|
|
| sensorsonline: Developing an Ultra Low Power CO2 Sensor: Enhanced building automation in relation to air quality control & moni... http://t.co/piIzBqon | |
| sensorsonline: Developing an Ultra Low Power CO2 Sensor: Enhanced building automation in relation to air quality control & moni... http://t.co/piIzBqon | |
|
|
|
| sensorsonline: May R&D Round Up: This month we have a mini sensor that measures the magnetic activity that happens inside your ... http://t.co/JzQPNONF | |
| sensorsonline: May R&D Round Up: This month we have a mini sensor that measures the magnetic activity that happens inside your ... http://t.co/JzQPNONF | |
|
|
|
| sensorsonline: Sensors Alumni Club 2: Sensors Alumni Club 2 read more http://t.co/dzUwk2HK | |
| sensorsonline: Sensors Alumni Club 2: Sensors Alumni Club 2 read more http://t.co/dzUwk2HK | |
|
|
|
| sensorsonline: CEA-Leti Promotes LETI-3S Concept: The latest addition to CEA-Leti’s extensive range of collaboration offers on ... http://t.co/6CYvqb6u | |
| sensorsonline: CEA-Leti Promotes LETI-3S Concept: The latest addition to CEA-Leti’s extensive range of collaboration offers on ... http://t.co/6CYvqb6u | |
|
|
|
| sensorsonline: Ethernet Adapter from WAGO: The 756 Series M12 Socket Ethernet Adapter from WAGO Corp., Germantown, WI, is a tra... http://t.co/uoD6Qy3t | |
| sensorsonline: Ethernet Adapter from WAGO: The 756 Series M12 Socket Ethernet Adapter from WAGO Corp., Germantown, WI, is a tra... http://t.co/uoD6Qy3t | |
|
|
|
| sensorsonline: Host Test Suite from HART Communication Foundation: The new enhanced HART DDL/EDDL Host Test Suite v2.0 from the... http://t.co/DrDDPjpR | |
| sensorsonline: Host Test Suite from HART Communication Foundation: The new enhanced HART DDL/EDDL Host Test Suite v2.0 from the... http://t.co/DrDDPjpR | |
|
|
|
| sensorsonline: Bio-Inspired Smart Camera from Brain Vision Systems: The BIPcam from Brain Vision Systems, Paris, France, is a b... http://t.co/V0FpnMJI | |
| sensorsonline: Bio-Inspired Smart Camera from Brain Vision Systems: The BIPcam from Brain Vision Systems, Paris, France, is a b... http://t.co/V0FpnMJI | |
|
|
|
| sensorsonline: Integration of Thin-Film Thermoelectrics in New Energy Harvesting Sensor Applications: Advances in distributed s... http://t.co/Ib6URW8T | |
| sensorsonline: Integration of Thin-Film Thermoelectrics in New Energy Harvesting Sensor Applications: Advances in distributed s... http://t.co/Ib6URW8T | |
|
|
|
| sensorsonline: Tim Worst: http://t.co/1Dr69rS8 | |
| sensorsonline: Tim Worst: http://t.co/1Dr69rS8 | |
|
|
|
| sensorsonline: GEMAC expands its reach with innovative sensor technologies: German sensor specialist focuses on growing US dema... http://t.co/9AHfwbCJ | |
| sensorsonline: GEMAC expands its reach with innovative sensor technologies: German sensor specialist focuses on growing US dema... http://t.co/9AHfwbCJ | |
|
|
|



