28 WSN Review: Architecture and Design
28.1 Learning Objectives
By the end of this chapter, you will be able to:
- Diagram WSN Architecture: Illustrate the hierarchical organization of wireless sensor networks from physical to application layers
- Select Appropriate Topologies: Choose optimal network topologies based on deployment constraints
- Evaluate Energy Trade-offs: Analyze energy consumption patterns and quantify optimization strategies
- Apply Architecture Decision Trees: Use structured decision frameworks to guide WSN deployment choices
MVU: Minimum Viable Understanding
If you only have 5 minutes, focus on these architecture essentials:
- Four-layer architecture: Physical (sensor nodes) -> Network (cluster heads) -> Gateway (protocol bridge) -> Application (cloud)
- Topology decision: If mains-powered gateways are available, use Star topology. If sensor spacing >100m, use hierarchical clustering. Otherwise, use star with repeaters
- Energy trade-offs: Sleep mode (1-10 uA) vs. idle listening (15 mA) vs. transmission (20 mA) – idle listening is the silent battery killer
The architecture selection decision tree in this chapter is the single most valuable reference for WSN deployment planning.
Sensor Squad: Architecture Review Time!
Sammy the Sensor is building a diagram of the whole team!
“Let me draw our organization chart,” says Sammy: - Bottom: Sensor nodes like me, Lila, Max, and Bella – we collect data! - Middle: Cluster heads – they are like team captains who gather everyone’s reports - Top-ish: The Gateway – it translates our sensor language into Internet language - Top: The Cloud – where all the data gets stored and analyzed
Bella adds: “And the most important thing to remember? Choosing the RIGHT architecture saves TONS of battery! When some engineers used mesh networking for 200 sensors, batteries died in 14 HOURS. When they switched to star topology with 10 gateways, batteries lasted 36 DAYS!”
Max says: “That is 60x longer! Always ask: can we add more gateways instead of using mesh?”
28.2 Prerequisites
Required Chapters:
- WSN Overview Fundamentals - Core WSN concepts
- Wireless Sensor Networks - WSN architecture
- Sensor Fundamentals - Sensor basics
Technical Background:
- Sensor node architecture
- Energy constraints in WSNs
- Data aggregation concepts
WSN Architecture Layers:
| Layer | Function | Example |
|---|---|---|
| Application | User services | Environmental monitoring |
| Transport | Reliability | Congestion control |
| Network | Routing | RPL, AODV |
| Data Link | MAC access | CSMA/CA, TDMA |
| Physical | Radio | 802.15.4 |
Estimated Time: 15 minutes
Related Chapters
WSN Review Series:
- WSN Overview Review (Index) - Series overview
- WSN Review: Knowledge Checks - Quick assessment questions
- WSN Review: Scenario Analysis - Detailed scenario walkthroughs
- WSN Review: Comprehensive Assessment - Advanced topics and summary
WSN Overview Series:
- WSN Overview Fundamentals - Core WSN concepts
- Wireless Sensor Networks - Architecture and design
Advanced Topics:
- WSN Coverage Fundamentals - Area and target coverage
- WSN Tracking Fundamentals - Mobile target tracking
For Beginners: How to Use This Review
What is this chapter? This review chapter consolidates Wireless Sensor Network (WSN) architecture concepts. It’s designed to test and reinforce your understanding of WSN design decisions.
Key Concepts to Master:
| Concept | Why It Matters |
|---|---|
| Sensor Nodes | Basic building blocks of WSNs |
| Network Topology | How sensors connect and communicate |
| Data Aggregation | Reducing network traffic efficiently |
| Energy Efficiency | Maximizing battery life |
Recommended Path:
- Study WSN Overview Fundamentals first
- Review WSN Implementations
- Return here to test your understanding
28.3 WSN System Architecture
WSN System Architecture (Hierarchical Organization)
| Layer | Component | Function | Key Features |
|---|---|---|---|
| Physical Layer | Sensor Nodes (6 nodes shown) | Sense & transmit data | MCU + Radio + Sensors, Battery powered |
| Network Layer | Cluster Heads (2 nodes) | Data aggregation & relay | Reduce traffic with statistical summaries (min/max/avg) |
| Gateway Layer | Gateway/Sink | Protocol bridge | Network coordinator, Wi-Fi/Ethernet/Cellular |
| Application Layer | Cloud Platform | Storage & analytics | ML, user interface, command distribution |
Data Flow (Upward): Sensor Nodes → (multi-hop, 802.15.4) → Cluster Heads → (aggregated data) → Gateway → (Internet) → Cloud
Control Flow (Downward): Cloud → Gateway → Cluster Heads → Sensor Nodes (commands, configuration, actuation)
28.4 WSN Application Domains
WSN Application Domains
| Domain | Applications |
|---|---|
| Environmental | Forest Fire Detection, Air Quality Monitoring, Water Quality, Weather Stations, Flood Detection |
| Industrial | Process Monitoring, Equipment Health, Factory Automation, Supply Chain Tracking, Predictive Maintenance |
| Infrastructure | Structural Health, Bridge Monitoring, Pipeline Leak Detection, Smart Grid, Traffic Monitoring |
| Agriculture | Precision Farming, Soil Moisture, Crop Health, Livestock Tracking, Greenhouse Automation |
| Healthcare | Patient Monitoring, Vital Signs, Medication Tracking, Fall Detection, Elderly Care |
| Military | Battlefield Surveillance, Target Tracking, Intrusion Detection, Chemical Detection, Perimeter Security |
| Smart City | Parking Management, Waste Management, Street Lighting, Noise Monitoring, Public Safety |
| Wildlife | Animal Tracking, Habitat Monitoring, Migration Patterns, Population Studies, Conservation |
28.5 WSN Energy Trade-offs
Understanding energy consumption patterns is critical for WSN deployment success:
Quick Check: Energy States
Which WSN operating mode is the “silent battery killer” that consumes nearly as much power as active transmission?
28.6 WSN Energy Mode Calculator
Use this calculator to compare how different radio operating modes affect battery lifetime.
28.7 WSN Topology Selection Decision Tree
Choose the right topology based on deployment constraints:
28.8 Test Your Understanding
Test Your Understanding
Question 1: In the WSN hierarchical architecture, what is the primary function of cluster heads at the Network Layer?
- Sensing environmental data and transmitting raw readings
- Data aggregation and relay, reducing traffic with statistical summaries (min/max/avg)
- Providing Wi-Fi connectivity to end users
- Running machine learning models on sensor data
Answer
b) Data aggregation and relay, reducing traffic with statistical summaries (min/max/avg). Cluster heads sit at the Network Layer between sensor nodes and the gateway. They receive data from multiple sensor nodes, aggregate it into summaries (reducing 20 individual messages to 1 summary), and relay the compressed data to the gateway. This reduces total network traffic by 70-90%.
Putting Numbers to It
Aggregation ratio determines traffic reduction:
\[\text{Traffic Reduction} = 1 - \frac{1}{N} = \frac{N-1}{N}\]
where \(N\) is the number of sensor readings aggregated.
Worked example: A cluster head receives 20 sensor readings (each 8 bytes) and computes min/max/avg (24 bytes total): - Without aggregation: \(20 \times 8 = 160\) bytes transmitted - With aggregation: \(24\) bytes transmitted - Reduction: \((160-24)/160 = 85\%\) traffic savings
Question 2: A WSN deployment has mains power available at gateway locations and sensor spacing is within 50m. According to the topology decision tree, which topology should be used?
- Full mesh with AODV routing
- Hierarchical clustering with LEACH
- Star topology with 20-50 sensors per gateway
- Hybrid TDMA + CSMA/CA mesh
Answer
c) Star topology with 20-50 sensors per gateway. The topology decision tree starts with: “Can you deploy mains-powered gateways?” – YES leads to Star topology. Since sensor spacing is within 50m (direct communication range), no multi-hop routing is needed. Star gives 5+ year battery life with no relay burden, at the lowest operational cost.
Question 3: Which WSN application domain typically requires the highest sensing frequency and lowest latency tolerance?
- Environmental monitoring (forest fire, air quality)
- Smart agriculture (soil moisture, crop health)
- Industrial automation (vibration analysis, process monitoring)
- Smart city (parking, waste management)
Answer
c) Industrial automation. Industrial monitoring requires sensing frequencies up to 1000 Hz (for vibration analysis) and latency tolerance below 100ms (for safety-critical gas detection). Environmental monitoring tolerates minutes-to-hours latency with 5-60 minute sensing intervals. Agriculture needs 10-30 minute intervals. Smart city applications typically sense every 1-15 minutes with seconds-to-minutes latency tolerance.
28.9 Worked Example: WSN Architecture Selection for a Bridge Structural Health Monitor
Scenario: Transport Scotland needs to monitor the Forth Road Bridge (2.5 km span) for structural integrity. The system must detect micro-vibrations, tilt changes, and corrosion indicators across the bridge’s suspension cables, deck sections, and tower foundations.
Requirements:
- 80 accelerometer nodes (vibration: 200 Hz sampling)
- 40 inclinometer nodes (tilt: 1 sample/minute)
- 20 corrosion sensors (electrochemical: 1 sample/hour)
- Data must reach the monitoring centre within 5 seconds for accelerometers, 60 seconds for others
- Deployment lifetime: 10 years (bridge inspection cycles)
- No mains power on the bridge deck – solar + battery only
Architecture Options Evaluated:
| Criterion | Star (single sink) | Flat Mesh | 3-Tier Hierarchical |
|---|---|---|---|
| Range coverage (2.5 km) | Needs 10+ repeaters | Self-healing, but 15+ hops | Cluster heads every 200 m |
| Accelerometer data rate | 200 Hz x 2 bytes x 3 axes = 1.2 KB/s | Overloads intermediate nodes | Cluster head aggregates locally |
| Latency (accelerometer) | 50 ms (1 hop) | 800 ms (15 hops) | 120 ms (2 hops to CH, 1 to sink) |
| Node battery life | 3.2 years (high TX power) | 1.8 years (relay burden) | 5.1 years (short-range to CH) |
| Single point of failure | Base station = total loss | None (self-healing) | CH failure loses 1 cluster |
| Cost (140 sensors + infra) | GBP 42,000 | GBP 38,000 | GBP 52,000 |
Selected Architecture: 3-Tier Hierarchical
- Tier 1 (Sensor nodes): 140 low-power nodes with 50 m radio range, sleeping 95% of time
- Tier 2 (Cluster heads): 13 solar-powered cluster heads (one every 200 m), each managing 10-11 sensors
- Tier 3 (Base station): 2 redundant base stations (one at each tower) with 4G backhaul
Energy Budget for Accelerometer Node:
| Mode | Duration/hour | Current | Energy/hour |
|---|---|---|---|
| Sampling (200 Hz) | 60 min | 8 mA | 26.4 mWh |
| TX to cluster head (50 m) | 36 sec (1.2 KB/s bursts) | 25 mA | 0.83 mWh |
| Sleep | 0 min (always sampling) | 0.005 mA | 0.017 mWh |
| Total | 27.2 mWh |
- Battery: 19,000 mWh (2x D-cell lithium, rated for -20C to +60C)
- Solar panel: 50 mW (mini panel, 4 hrs effective sun/day in Scotland) = 200 mWh/day
- Net daily energy: +200 - (27.2 x 24) = +200 - 652.8 = -452.8 mWh/day (solar insufficient alone)
- Battery-only lifetime: 19,000 / 652.8 = 29 days (unacceptable)
Solution: Duty-cycled accelerometers sample at 200 Hz for 10 seconds every 5 minutes (3.3% duty cycle):
- Revised sampling energy: 27.2 x 0.033 = 0.9 mWh/hr
- Daily consumption: (0.9 + 0.83 + 0.017) x 24 = 41.9 mWh/day
- Solar surplus: 200 - 41.9 = +158.1 mWh/day (net positive, infinite lifetime)
- Event-triggered continuous mode activates if vibration exceeds threshold, draining battery at 652.8 mWh/day for up to 29 days of continuous monitoring during anomalies
Key Insight: The architecture selection was driven by two constraints: (1) the 2.5 km bridge span requires multi-hop communication, eliminating star topology, and (2) the high data rate of accelerometers (1.2 KB/s continuous) would collapse a flat mesh through relay burden. Hierarchical architecture with solar-powered cluster heads solves both by keeping high-traffic paths short (50 m) while solar panels at cluster heads provide indefinite operation.
28.10 Concept Relationships
| Concept | Relates To | Relationship Type | Significance |
|---|---|---|---|
| Hierarchical Architecture | Cluster Heads | Compositional | Network Layer uses cluster heads to aggregate sensor data, reducing traffic by 70-90% |
| Star Topology | Mains Power | Prerequisite | Star topology requires mains-powered gateways; without them, hierarchical clustering is needed |
| Energy Trade-offs | Idle Listening | Dominant Factor | Idle listening (15 mA continuous) drains batteries 15,000x faster than sleep mode (1 µA) |
| Cluster Head Rotation | LEACH Protocol | Energy Balancing | Random rotation ensures no single node bears aggregation burden, extending lifetime 8x |
| Data Aggregation | Transmission Energy | Reduction | 5:1 aggregation reduces long-distance transmissions by 80%, exploiting quadratic distance-energy relationship |
| Topology Decision Tree | Power Availability | Primary Constraint | Mains power availability is the first decision point that determines all downstream architecture choices |
| Mesh Routing | Battery Life | Trade-off | Mesh routing enables self-healing but creates energy hotspots where relay nodes die 60x faster than edge nodes |
28.11 See Also
Prerequisites:
- WSN Overview Fundamentals - Core concepts for wireless sensor networks
- Wireless Sensor Networks - Detailed architecture and design patterns
Related Review Chapters:
- WSN Review: Knowledge Checks - Quick assessment questions for self-testing
- WSN Review: Scenario Analysis - Detailed deployment scenario walkthroughs
Advanced Topics:
- WSN Coverage Fundamentals - Area coverage and K-coverage algorithms
- WSN Routing Fundamentals - Data-centric and hierarchical routing protocols
Common Pitfalls
1. Prioritizing Theory Over Measurement in WSN Review: Architecture and Design
Relying on theoretical models without profiling actual behavior leads to designs that miss performance targets by 2-10×. Always measure the dominant bottleneck in your specific deployment environment — hardware variability, interference, and load patterns routinely differ from textbook assumptions.
2. Ignoring System-Level Trade-offs
Optimizing one parameter in isolation (latency, throughput, energy) without considering impact on others creates systems that excel on benchmarks but fail in production. Document the top three trade-offs before finalizing any design decision and verify with realistic workloads.
3. Skipping Failure Mode Analysis
Most field failures come from edge cases that work in the lab: intermittent connectivity, partial node failure, clock drift, and buffer overflow under peak load. Explicitly design and test failure handling before deployment — retrofitting error recovery after deployment costs 5-10× more than building it in.
28.12 Summary
This chapter covered the foundational architecture concepts for WSN review:
- Hierarchical Architecture: Four-layer organization from physical sensors to cloud applications
- Architecture Selection: Decision tree approach based on power, data rate, range, and latency constraints
- Application Domains: Eight major deployment areas spanning environmental, industrial, and smart city applications
- Energy Trade-offs: Understanding sleep vs. idle vs. transmission power consumption
- Topology Selection: Choosing between star, mesh, and hierarchical based on constraints
28.13 Knowledge Check
28.14 What’s Next
| Topic | Chapter | Description |
|---|---|---|
| Scenario Analysis | WSN Review: Scenario Analysis | Quantified deployment scenario walkthroughs |
| Comprehensive Assessment | WSN Review: Comprehensive Assessment | Advanced topics and complete design guidance |
| Coverage Fundamentals | WSN Coverage Fundamentals | Area coverage and K-coverage algorithms |
| Routing Fundamentals | WSN Routing Fundamentals | Data-centric and hierarchical routing protocols |