1.1 Introduction and Overview of Wireless Sensor Networks:

A wireless sensor network (WSN) is a type of network comprised of spatially distributed autonomous sensors that monitor physical or environmental conditions, such as temperature, humidity, pressure, sound, and motion. These sensors are typically small, low-cost devices equipped with sensing, processing, and communication capabilities. They communicate wirelessly with each other and with a central node, known as a sink or base station, to collect, process, and transmit data.

WSNs are commonly used in various applications, including environmental monitoring, industrial automation, healthcare, smart agriculture, home automation, and surveillance. They offer several advantages over traditional wired sensor networks, such as flexibility, ease of deployment, scalability, and cost-effectiveness.

The architecture of a wireless sensor network typically consists of three main components:

  1. Sensor Nodes: These are the individual devices equipped with sensors to measure physical parameters. Each sensor node typically includes sensing elements, a processing unit (microcontroller or microprocessor), memory, a power source (battery or energy harvester), and a wireless communication module (such as Wi-Fi, Zigbee, Bluetooth, or LoRa).

  2. Gateway or Base Station: Also known as a sink or base station, this central node collects data from sensor nodes within the network. It may have more processing power and storage capacity than individual sensor nodes. The gateway typically acts as a bridge between the wireless sensor network and external networks or systems.

  3. Communication Infrastructure: WSNs rely on wireless communication protocols to facilitate data exchange between sensor nodes and the gateway. These protocols define how data is transmitted, received, and routed within the network. Examples of wireless communication protocols used in WSNs include Zigbee, Bluetooth Low Energy (BLE), Wi-Fi, and LoRaWAN.

The operation of a wireless sensor network involves sensor nodes collecting data from their surroundings, processing the collected data locally or transmitting it to the gateway, and possibly performing some form of collaborative processing or aggregation to reduce redundant data transmission and conserve energy.

Basic Sensor Network Architectural Elements, 

WSN CHARACTERISTICS :

  1. large sensor population
  2. large stream of data
  3. incomplete/uncertain data
  4. high potential node failure
  5. high potential link failure
  6. electrical power limitation
  7. processing power limitation
  8. multi-hop topology
  9. lack of global knowledge about the network
  10. limited administrative support for the network
ARCHITECTIRAL ELEMENTS

  1. Sensor
    Each of the distributed sensor nodes typically has the capability to collect data, analyze them, and route them to a (designated) sink point.
    A sensor node typically has embedded processing capabilities and onboard storage;
    The node can have one or more sensors operating in different domains.
    The node has communication interfaces, typically wireless links, to neighboring domains.
    The sensor node also often has location and positioning knowledge that is acquired through a global positioning system (GPS) or local positioning algorithm.
    Sensor nodes are scattered in a special domain called a sensor field.
    Sensor nodes are densely deployed.
    Sensor nodes are prone to failures.
    The topology of a sensor network changes very frequently.
    Sensor nodes are limited in power, computational capacities, and memory.
    Sensor nodes may not have global identification because of the large amount of overhead and the large number of sensors.
    sensor nodes may be deployed in an open space
    acoustic, seismic, radio (radar), infrared, optical, magnetic, and chemical or biological domains.
    Categorization of sensors
    1. Size  :  small medium large 
    2. Mobility : stationary or mobile
    3. Type : Passive  :seismic-, acoustic-, strain-, humidity-, and temperature-measuring devices. or Active : radar and sonar

    The components of a (remote) sensing node include
    a. sensing and actuation unit
    b. A processing unit
    c. Communication unit
    d. A power unit
    e. Other application dependent unit

  2. Software(operating system and Middleware)
    To support node operation, it is important to have open source OS designed specifically for WSN.
    A Wireless Sensor Network (WSN) operating system is a specialized software platform designed to facilitate the development, deployment, and management of applications on WSN nodes. These operating systems provide an abstraction layer that simplifies programming and resource management for sensor node developers. 
    WSN operating systems often provide real-time scheduling and event-driven execution mechanisms to meet application timing requirements.
    Such operating systems typically utilize a component-based architecture that enables rapid implementation and innovation while minimizing code size as required by the memory constraints endemic in sensor networks.
    TinyOS is one such example of a de facto standard. other examples include RIOT, Contiki.
    TinyOS provides a variety of built-in network protocols that facilitate communication between sensor nodes in a WSN. 
    TinyOS includes distributed services that enable collaboration and coordination among sensor nodes in the network. These services may include time synchronization, localization, data aggregation, and group communication services.
    TinyOS offers a comprehensive set of sensor drivers that interface with various types of sensors commonly used in WSNs, such as temperature sensors, humidity sensors, light sensors, accelerometers, and more.
    TinyOS includes tools and libraries for acquiring, processing, and analyzing sensor data collected by sensor nodes in the network. These tools may include data logging libraries, signal processing algorithms, and visualization tools for interpreting sensor data.
    TinyOS adopts an event-driven execution model, where applications respond to events triggered by sensor inputs, network events, or timer expirations. This model enables fine-grained power management by allowing sensor nodes to enter low-power sleep modes when idle.

  3. Standards for transport Protocol
    Researchers have developed many new protocols specifically designed for WSNs, where energy awareness is an essential consideration; focus has been given to the routing protocols, since they might differ from traditional networks


    Physical medium: communication channel, sensing, actuation, and signal processing
    Link layer (contention): channel sharing (MAC), timing, and locality
    Networking, including adaptive topology management and topological routing
    Transport, including data dissemination and accumulation, caching, and storage
    In-network applications, including application processing, data aggregation, external querying query processing, and external database

  4. Routing and data dissemination
    Routing and data dissemination in large-scale wireless networks involve various mechanisms such as directed diffusion, data-centric routing, adaptive routing, and others. These mechanisms aim to efficiently disseminate data across the network while minimizing redundancy and energy consumption.
    Types of Routing Protocols:
    Data-Centric Routing: Focuses on finding routes from multiple sources to a single destination, allowing for in-network consolidation of redundant data. This approach is different from traditional address-centric routing, which aims to find short routes between pairs of addressable end nodes.
    Hierarchical Routing: Involves organizing nodes into a hierarchical structure to facilitate data aggregation and routing efficiency.
    Location-Based Routing: Routes data based on the physical location of nodes, which can be useful for applications requiring spatial awareness.

    Data aggregation involves combining data from different sources along the route to eliminate redundancy and minimize the number of transmissions. This helps conserve energy by reducing the amount of data transmitted over the network.
    In-network processing refers to performing data processing tasks within the network, close to the source of the data. This allows for the aggregation, fusion, and synthesis of data before forwarding it to its destination.
    By processing data in-network, unnecessary transmissions and bandwidth usage can be minimized, leading to energy-efficient operation.

  5. Sensor Network Organization and Tracking
    In sensor networks, we focus on organizing and tracking efficiently. We manage groups of sensors, help them organize themselves, and track specific areas or objects. We deal with factors like sensor reliability and coverage. We make sure sensors can detect events and share data reliably. We also decide where to place sensors for the best coverage and how to move them if needed.
    Mechanisms self-organization, including authentication, registration, and session establishment; and entity tracking: target detection, classification, and tracking are done.

  6. computation
    Computation in wireless sensor networks involves tasks like combining data from multiple sensors (aggregation), integrating information to improve accuracy (fusion), analyzing data for insights, organizing computational tasks, leveraging distributed resources for decision making, and processing signals to enhance data quality. This helps in extracting useful information from the network efficiently, enabling better decision-making and enhancing network capabilities.

  7. data management
    Data management deals with data architectures; database management, including querying mechanisms; and data storage and warehousing
    Traditionally, data is collected centrally but, for real-time querying, distributed storage and querying mechanisms are essential.
    Data indexing is crucial for quick temporal and spatial searches

  8. security
    Security deals with confidentiality (encryption), integrity (e.g., identity
    management, digital signatures), and availability (protection from denial of service).

  9. network design issues
    Issues in sensor networks encompass reliable transport, bandwidth, and power-limited transmission, data-centric routing, in-network processing, and self-configuration. Design considerations include operating environment constraints, hardware limitations, network architecture, and protocols. Sensor networks are often self-configuring to adapt to unpredictable situations, requiring acceptable information accuracy, low latency, and optimal resource utilization

Advantage and challenges, 

ADVANTAGES

Wireless Sensor Networks (WSNs) offer several advantages, making them valuable for a wide range of applications. Here are some of the key advantages:

  1. Remote Monitoring: WSNs enable the remote monitoring of physical environments, allowing data collection from inaccessible or hazardous locations without the need for human intervention.

  2. Cost-Effective Deployment: Compared to traditional wired sensor systems, WSNs often involve lower installation and maintenance costs, especially in large-scale deployments, due to reduced infrastructure requirements.

  3. Scalability: WSNs can easily scale to accommodate varying numbers of sensors and network nodes, making them adaptable to different deployment scenarios and application requirements.

  4. Flexibility and Mobility: WSNs support dynamic network topologies and can easily adapt to changes in the environment or network conditions, making them suitable for mobile and dynamic applications.

  5. Real-Time Data Acquisition: WSNs enable real-time data collection and transmission, allowing for timely decision-making and response to events or changes in the environment.

  6. Energy Efficiency: WSNs often employ energy-efficient protocols and algorithms to prolong the lifespan of sensor nodes, making them suitable for applications where power sources are limited or inaccessible.

  7. Distributed Processing: WSNs support distributed data processing and analysis, allowing for data aggregation, fusion, and local decision-making within the network itself, reducing the need for centralized processing.

  8. Fault Tolerance: WSNs can exhibit fault tolerance and self-healing capabilities, where the network can adapt to node failures or communication disruptions, ensuring reliable operation even in harsh or unreliable environments.

  9. Versatility: WSNs can be deployed in diverse application domains, including environmental monitoring, industrial automation, healthcare, agriculture, and smart cities, demonstrating their versatility and applicability across various sectors.

  10. Reduced Environmental Impact: By enabling more efficient resource management and environmental monitoring, WSNs contribute to reducing waste, energy consumption, and environmental pollution, leading to a more sustainable future.

CHALLENGES

Limited functional capabilities, including problems of size
 Power factors
 Node costs
 Environmental factors
 Transmission channel factors
 Topology management complexity and node distribution
 Standards versus proprietary solutions
 Scalability concerns
Hardware Constraints: Sensor nodes must fit into small modules, often as small as 1x1x1 cm or 2x5x1 cm. A typical sensor node consists of key components such as power units, sensing units, processing units, and transceiver units, along with optional components like location-finding systems and control actuators. The challenge lies in reliable packaging of sensors despite these hardware constraints.
Power Consumption: Sensor node lifetime is closely tied to battery life, often limited to <500 mAh, 1.2 V. Power management and conservation are crucial for sensor networks, requiring optimization in sensing, communication, and data processing domains. Excessive rerouting and retransmission can lead to additional power consumption.
Node Unit Costs: Cost-effectiveness is essential for sensor networks, with individual node costs targeted to be less than $1, compared to current Bluetooth-based systems costing about $10.
Environment: Sensor networks operate in varied environments, from dispersed and remote locations to densely deployed areas. This necessitates robust management mechanisms to handle harsh conditions.
Transmission Channels: Sensor networks use bandwidth- and performance-constrained wireless communication mediums like radio, infrared, or optical ranges. Various transmission methods and standards are employed based on application requirements and global availability.
Connectivity and Topology: Deploying and managing a large number of nodes in bounded environments requires specialized techniques, with ad hoc networking techniques being essential. Topology changes may occur due to various factors like node position changes, power availability, malfunctioning, or reachability impairments.
Standards: Standardization is crucial for sensor networks, with protocols and open standards needed across physical, link, network, and transport layers. Incorporating standards facilitates cost-effective commercial deployment and interoperability. Various standards like ZigBee/IEEE802.15.4, IEEE 802.11, IEEE 802.16, and free-space optics are employed based on specific application needs.
Scalability issues in Wireless Sensor Networks (WSNs) arise due to the challenges associated with expanding the network size while maintaining its efficiency, performance, and manageability. 

Applications, 

  1. Wireless Sensor Networks (WSNs) have traditionally been utilized in various high-end applications such as military surveillance, environmental monitoring, health care, and home automation. However, recent advancements have expanded their scope to include consumer applications and commercial sectors. Here are some key application areas:

    1. Military Applications:

      • Monitoring inimical and friendly forces
      • Battlefield surveillance
      • Targeting and battle damage assessment
      • Detection of nuclear, biological, and chemical threats
    2. Environmental Applications:

      • Monitoring microclimates and weather conditions
      • Detecting forest fires and floods
      • Precision agriculture for crop management
    3. Health Applications:

      • Remote monitoring of physiological data
      • Tracking doctors and patients in hospitals
      • Drug administration and elderly assistance
    4. Home Applications:

      • Home automation for controlling appliances and lighting
      • Instrumented environments for enhanced living spaces
      • Automated meter reading for energy efficiency
    5. Commercial Applications:

      • Industrial monitoring and control
      • Process control in manufacturing
      • Building automation for commercial structures
      • Automatic meter reading and load management
      • Metropolitan operations such as traffic management and automatic tolls

    Additionally, WSNs play a crucial role in national security, including chemical, biological, radiological, and nuclear threat detection, as well as military surveillance. The integration of sensors into commercial products is expected to improve performance, reduce life-cycle costs, and offer consumers new conveniences such as remote-controlled home systems and automated maintenance telemetry. Near-term commercial applications encompass industrial monitoring, building automation, process control, home automation, wireless meter reading, and national security solutions.

Sensor Node Texonomy, 

Sensor taxonomy categorizes sensors based on various criteria such as their sensing principles, applications, physical properties, and operational characteristics. Here's a basic taxonomy of sensors:

  1. Sensing Principle:

    • Mechanical Sensors: Measure mechanical quantities such as force, pressure, displacement, and acceleration.
    • Electrical Sensors: Measure electrical quantities such as voltage, current, resistance, capacitance, and inductance.
    • Optical Sensors: Utilize light or electromagnetic radiation to measure parameters such as intensity, wavelength, and polarization.
    • Chemical Sensors: Detect and quantify chemical substances or compounds in gases, liquids, or solids.
    • Biological Sensors: Detect and measure biological parameters such as DNA, proteins, enzymes, or specific biological molecules.
    • Thermal Sensors: Measure temperature variations or thermal properties of materials.
    • Acoustic Sensors: Detect sound waves or vibrations in a medium.
  2. Applications:

    • Environmental Monitoring: Sensors used for monitoring parameters like temperature, humidity, air quality, and pollution levels.
    • Industrial Automation: Sensors employed in industrial processes for control, monitoring, and quality assurance.
    • Biomedical Sensors: Sensors utilized for medical diagnostics, patient monitoring, and biometric identification.
    • Automotive Sensors: Sensors integrated into vehicles for engine management, safety systems, navigation, and driver assistance.
    • Agricultural Sensors: Sensors for monitoring soil moisture, crop health, weather conditions, and environmental factors in agriculture.
  3. Physical Properties:

    • Active Sensors: Generate their own signal or energy to measure a physical quantity.
    • Passive Sensors: Measure external stimuli without the need for an internal power source.
    • Analog Sensors: Provide a continuous output signal proportional to the measured quantity.
    • Digital Sensors: Output discrete digital values corresponding to specific measurement levels.
  4. Operational Characteristics:

    • Contact Sensors: Require physical contact with the measured object or medium.
    • Non-contact Sensors: Measure parameters without physically touching the object, often using electromagnetic waves.
    • Single-Point Sensors: Measure a single parameter at a specific location.
    • Distributed Sensors: Provide spatially distributed measurements over a large area or volume.

Sensor Technology

At the design level, WSNs intersect various disciplines like database query processing, networking, algorithms, and distributed systems. The fundamental functionality of a WSN includes:

  1. Parameter Measurement: Determining parameter values at specific locations, such as temperature, pressure, sunlight, and humidity.

  2. Event Detection: Detecting events of interest and estimating event parameters, like vehicle movement through an intersection.

  3. Object Classification: Classifying detected objects, such as identifying different types of vehicles in a traffic sensor network.

  4. Object Tracking: Tracking objects within the network's coverage area, like monitoring the movement of enemy tanks in a military context.

  5. there are real-time or near-real-time requirements;

Typical sensor parameters include physical measurements like temperature and pressure, chemical and biological measurements, and event measurements for detecting human-made or natural events.

Typical sensor parameters (measurands) include:

 Physical measurement. Examples include two-axis magnetometers; light and ultraviolet intensity (photo resistor); radiation levels, radio, and microwave; humidity, temperature(thermistor), atmospheric pressure, fog, and dust; sound and acoustics; two-axis accelerometers, shock wave, seismic, physical pressure, and motion; video and image (visible or infrared); and location (GPS) and locomotion measurements.
Chemical and biological measurements. Examples include the presence or concentration of a substance or agent at specified concentration levels (there are no less than 50 biological agents of interest.
Event measurement. Examples include determination of the occurrence of human-made or natural events, including cyber-level events; tracking of internal and external events.

Hardware Components of Sensors

In Wireless Sensor Network (WSN) design, several key functionalities must be supported, including intrinsic node functionality, signal processing, control and actuation, clustering, communication, routing, forwarding, and connectivity management. These functionalities rely on various hardware components:

  1. Power Unit: Provides energy to support node operation for varying durations, from hours to months or years, depending on the application.

  2. Computational Logic and Storage: Handles onboard data processing, storage, encryption, forward error correction, modulation, and transmission. This ranges from simple microcontrollers to more powerful microprocessors, with storage capacities from 0.01 to 100 gigabytes (GB).

  3. Sensor Transducer(s): Interfaces between the environment and the WSN, detecting parameters like acceleration, humidity, light, magnetic flux, temperature, pressure, and sound.

  4. Communication Unit: Enables communication in mesh-based systems (C1WSN) with multihop radio connectivity among nodes or point-to-point systems (C2WSN) with single-hop radio connectivity. Communication protocols, transmission range, impairments, modulation techniques, routing, and network topologies are key considerations. Distances range from meters to kilometers, with throughput typically between 10 to 256 kbps, depending on the application.


Software Components of Sensors

Sensors in a Wireless Sensor Network (WSN) typically incorporate five basic software subsystems:

  1. Operating System (OS) Microcode: Also known as middleware, this is board-common microcode used by all high-level node-resident software modules to support various functions. The OS shields the software from the machine-level functionality of the microprocessor. Open-source operating systems designed specifically for WSNs, like TinyOS, are preferred for their rapid implementation and minimized code size.

  2. Sensor Drivers: These software modules manage basic functions of the sensor transceivers. They handle tasks such as configuration, settings, and data management for different types of sensors. Sensor drivers shield the application software from the low-level functionality of the sensor or other peripherals.

  3. Communication Processors: This code manages communication functions such as routing, packet buffering and forwarding, topology maintenance, medium access control, encryption, and forward error correction. It ensures reliable data transmission and network management.

  4. Communication Drivers (Encoding and Physical Layer): These software modules handle the details of the radio channel transmission link. They manage tasks like clocking, synchronization, signal encoding, bit recovery, signal levels, and modulation to ensure effective communication over the wireless medium.

  5. Data Processing Mini-Apps: These are small applications that handle numerical data processing, signal value storage, manipulation, and other basic tasks at the node level for in-network processing. They enable local data analysis and decision-making, reducing the need for transmitting raw data to central processing units.


WN Operating Environment, 

Operating in the environment of Wireless Sensor Networks (WSNs) presents several challenges and constraints that need to be addressed in the design and engineering of sensor nodes:

  1. Resource Constraints:

    • Power Consumption: WSNs typically have limited energy, necessitating energy conservation in system design.
    • Communication: Limited bandwidth, noisy channels, and unprotected frequency bands result in limited reliability, poor quality of service, and security vulnerabilities.
    • Computation: Limited computing power and memory resources restrict the types of algorithms and volume of data processing that can be performed on sensor nodes.
  2. Uncertainty in Measured Parameters:

    • Data collected by sensor nodes may have intrinsic uncertainty due to noise, interference, and node malfunction.
  3. Intrinsic Design Factors:

    • Communication Complexity: Dense deployment of sensor nodes increases communication complexity for packet forwarding and topology management.
    • Deployment Requirements: WSNs for military and national security applications must support rapid deployment in dynamic environments.
    • Reliability and Resilience: Sensor nodes are prone to failure and must be long-lived and environmentally resilient.
    • Limited Resources: Constraints in power, computational capacity, memory, and communication circuitry.
    • Dynamic Topology: The topology of WSNs may change frequently, requiring adaptive routing mechanisms.
    • Addressing: WSNs may not have global addresses due to the large number of sensors.
    • Routing and Data Dissemination: Specialized routing mechanisms like data-centric, hierarchical, and location-based routing are required.
    • In-Network Processing: Data processing within the network proximity to the data source to forward summarized results, involving signal processing, data aggregation, fusion, and analysis.
    • Database Management: Querying mechanisms, data storage, and warehousing are needed for efficient data management.
    • Integration with Processing Centers: Ultralow-power wireless nodes may be incorporated into reconfigurable networks with high-speed connectivity to processing centers for decision-making and responsive action.

Radio Technology, 

Introduction, 934.2 Radio Technology Primer, 944.2.1 Propagation and Propagation Impairments, 944.2.2 Modulation, 101

Network architecture,

  • Types of sources and sinks 

A source is any entity in the network that can provide information, that is, typically a sensor node; it could also be an actuator node that provides feedback about an operation. 
A sink, on the other hand, is the entity where information is required. There are essentially three options for a sink: it could belong to the sensor network as such and be just another sensor/actuator node or it could be an entity outside this network.
  • Single-hop versus multihop networks
  Wireless Sensor Networks (WSNs) can be structured in different ways to facilitate communication between sensor nodes. Two common architectures are single-hop and multihop networks
  • single hop
In a single-hop network, every sensor node communicates directly with the base station (sink) without any intermediate nodes.
Single-hop networks are easier to design and manage since there are no intermediate nodes.
Since there is only one hop between each sensor node and the base station, the latency is generally lower compared to multihop networks.
single-hop networks are constrained by the transmission range of sensor nodes, limiting the coverage area.
Higher energy consumption: Sensor nodes closer to the base station may exhaust their energy resources faster due to increased communication activities.
  • multihop
In a multihop network, sensor nodes communicate with each other to relay data towards the base station, which might be located far away.
Extended coverage: Multihop networks can cover larger geographical areas since data can be relayed through multiple hops.
Improved scalability: As the network size increases, multihop communication allows for better scalability since new nodes can join without directly impacting the base station.
Energy efficiency: Intermediate nodes can act as relays, reducing the energy consumption of sensor nodes closer to the base station.
Higher complexity: Multihop networks are more complex to design and manage due to the need for routing protocols and coordination among nodes.
Increased latency: Data transmission may take longer in multihop networks due to multiple intermediate hops, leading to higher latency compared to single-hop networks.
Reliability challenges: The reliability of multihop networks heavily depends on the stability of intermediate nodes and the efficiency of routing protocols. Failure of one node can disrupt communication between other nodes.
  • Three types of mobility
In wireless sensor networks, mobility can appear in three main forms. Mobility can significantly impact network design, communication protocols, and application requirements.
  1. NODE
    The wireless sensor nodes themselves can be mobile. Nodes move randomly within a defined area. The meaning of such mobility is highly application dependent. This type of mobility is common in applications such as wildlife tracking or environmental monitoring. Nodes move according to a predefined pattern or trajectory. For example, in agricultural monitoring, sensor nodes may move along rows of crops.
    In the face of node mobility, the network has to reorganize itself frequently enough to be able to function correctly.
  2. SINK
    The base station or sink node moves within the network area. Mobile sinks are often used to collect data from sensor nodes in a more energy-efficient manner, reducing the energy consumption of sensor nodes.
    While this can be a special case of node mobility, the important aspect is the mobility of an information sink that is not part of the sensor network.
    Dynamic routing protocols are needed to adapt to changes in the sink's location. Efficient routing algorithms must be employed to ensure data reaches the sink node efficiently.

  3. EVENT
    Event mobility refers to the movement of events or changes in the physical phenomena that sensor nodes are tasked with monitoring. Events could include phenomena such as fire propagation, gas leaks, intrusion detection, object tracking, etc
    In applications like event detection and in particular in tracking applications, the cause of the events or the objects to be tracked can be mobile. In such scenarios, it is (usually) important that the observed event is covered by a sufficient number of sensors at all time. Hence, sensors will wake up around the object, engaged in higher activity to observe the present object, and then go back to sleep. As the event source moves through the network, it is accompanied by an area of activity within the network – this has been called the frisbee model.
    Sensor nodes may need to dynamically adjust their sensing parameters (e.g., sampling frequency, sensing range) to detect and track the mobile event accurately.

Optimization goals and figures of merit, 

  • Quality of Service
    1. Event detection/reporting probability :  What is the probability that an event that actually occurred is not detected or, more precisely, not reported to an information sink that is interested in such an event?
    2. Event classification error :  If events are not only to be detected but also to be classified, the error in classification must be small.
    3. Event detection delay : What is the delay between detecting an event and reporting it to any/all interested sinks?
    4. Missing reports : In applications that require periodic reporting, the probability of undelivered reports should be small.
    5. Approximation accuracy : For function approximation applications (e.g. approximating the temperature as a function of location for a given area).
    6. Tracking accuracy Tracking applications must not miss an object to be tracked, the reported position should be as close to the real position as possible, and the error should be small. Other aspects of tracking accuracy are the sensitivity to sensing gaps.
  • Energy efficiency :
    Much of the discussion has already shown that energy is a precious resource in wireless sensor networks and that energy efficiency should therefore make an evident optimization goal.
    Following goals are optimized for better energy efficiency. 
    1. Energy per correctly received bit :  How much energy, counting all sources of energy consumption at all possible intermediate hops, is spent on average to transport one bit of information (payload) from the source to the destination?
    2. Energy per reported (unique) event :  what is the average energy spent to report one event? Since the same event is sometimes reported from various sources, it is usual to normalize this metric to only the unique events (redundant information about an already known event does not provide additional information).
    3. Delay/energy trade-offs :  Some applications have a notion of “urgent” events, which can justify an increased energy investment for a speedy reporting of such events. Here, the trade-off between delay and energy overhead is interesting.
    4. Network lifetime : The time for which the network is operational or  the time during which it is able to fulfill its tasks (starting from a given amount of stored energy).  However, It is not quite clear when this time ends. This can be defined as
            a.  Time to first node death : When does the first node in the network run out of energy or fail and stop operating?
            b. Network half-life : When have 50 % of the nodes run out of energy and stopped operating? 
            c. Time to partition :  When does the first partition of the network in two (or more) disconnected parts occur? This can be as early as the death of the first node (if that was in a pivotal position) or occur very late if the network topology is robust.
            d. Time to loss of coverage :  the time when for the first time any spot in the deployment region is no longer covered by any node’s observations.  If k redundant observations are necessary (for tracking applications, for example), the corresponding definition of loss of coverage would be the first time any spot in the deployment region is no longer covered by at least k different sensor nodes.
            e. Time to failure of first event notification :  A network partition can be seen as irrelevant if the unreachable part of the network does not want to report any events in the first place. A possibly more application-specific interpretation of partition is the inability to deliver an event.

  • Scalability
    The ability to maintain performance characteristics such as communication efficiency, energy consumption, data reliability, and overall network management, irrespective of the size of the network is referred to as scalability.
    Scalability is crucial for ensuring that WSNs can support various applications ranging from small-scale deployments to large-scale, densely populated networks.
    As the number of sensor nodes increases, communication overhead also rises. Scalable WSNs employ efficient communication protocols and routing algorithms to minimize overhead and ensure timely data delivery.
    Scalable WSNs aim to distribute energy consumption evenly across sensor nodes to prevent premature energy depletion in certain nodes.
    In large-scale WSNs, ensuring data reliability becomes challenging due to the increased probability of node failures, packet loss, and interference.
    Scalable WSNs employ redundancy, error detection, and recovery mechanisms to enhance data reliability and fault tolerance.
    Scalable WSNs require efficient network management techniques for tasks such as node deployment, localization, time synchronization, and topology control.

  • Robustness
    Robustness in Wireless Sensor Networks (WSNs) refers to the network's ability to maintain its functionality and performance in the face of various challenges, including node failures, environmental changes, communication disruptions, and malicious attacks.
    Robust WSNs incorporate fault tolerance mechanisms to mitigate the impact of node failures, which can occur due to hardware malfunctions, power depletion, or environmental factors.
    Robust WSNs optimize energy consumption through techniques such as low-power hardware design, efficient communication protocols, and adaptive power management strategies.
    Robust WSNs are capable of dynamically adapting to changing environmental conditions, network topology, and application requirements.
    Robust communication protocols employ error detection, error correction, and retransmission mechanisms to ensure data delivery in the presence of channel noise, interference, and packet loss.
    Robust WSNs implement robust security mechanisms to protect against various security threats, including eavesdropping, tampering, data manipulation, and denial-of-service attacks.

Design principles for WSNs,

  • Distributed Organization
  • In Network Processing
  • Adaptive Fidelity and Accuracy
  • Data Centricity
  • Exploit Location Information
  • Exploit Activity Patterns
  • Exploit Heterogeneity
  • Component based protocols stacks and cross layer optimization
  1. Distributed Organization:

    • In wireless sensor networks (WSNs), tasks and decision-making processes are distributed among network nodes.
    • This decentralized approach enhances scalability and robustness by avoiding reliance on a single point of control.
    • Nodes cooperate using distributed algorithms and protocols, reducing the risk of failure and adapting well to dynamic network conditions.
  2. In-Network Processing:

    • WSN nodes actively participate in processing and decision-making, not just data transmission.
    • Techniques like aggregation condense information at intermediate nodes, reducing the amount of data transmitted and conserving energy.
    • Distributed computation enables complex calculations to be performed locally, minimizing the need for data transmission and central processing.
  3. Adaptive Fidelity and Accuracy:

    • Applications in WSNs may require varying levels of accuracy depending on factors such as available energy and network conditions.
    • It's essential for communication protocols to adapt the fidelity of computation results based on energy availability and network status.
    • Feedback mechanisms provide information about network status, enabling applications to adjust their requirements dynamically.
  4. Data Centricity:

    • In WSNs, the focus is on addressing and processing data rather than individual nodes.
    • Applications express their requirements in terms of data types, simplifying communication and allowing for efficient data retrieval.
    • Data-centric networking enables the decoupling of communication relationships from specific node identities, improving scalability and flexibility.
  5. Exploit Location Information:

    • Knowing the physical location of nodes and events enhances network efficiency.
    • Protocols can utilize location information to optimize communication, routing, and energy usage.
    • Location-aware protocols can minimize communication overhead by targeting specific nodes or regions of interest.
  6. Exploit Activity Patterns:

    • WSNs exhibit varying activity patterns, with periods of low and high data traffic.
    • Protocols should be designed to handle bursts of activity efficiently, switching between quiescent and active modes as needed.
    • Efficient management of activity patterns improves energy efficiency and network performance.
  7. Exploit Heterogeneity:

    • Nodes in WSNs may differ in terms of energy resources, processing power, and communication capabilities.
    • Exploiting these differences allows for optimized task allocation, with nodes specializing in tasks based on their capabilities.
    • Adaptive task assignment ensures efficient resource utilization and network operation.
  8. Component-Based Protocol Stacks and Cross-Layer Optimization:

    • Implementing WSN protocols using a modular, component-based approach offers flexibility and scalability.
    • Different protocol components can be combined to tailor solutions to specific application requirements.
    • Cross-layer optimization facilitates information exchange between protocol layers, improving overall system performance and efficiency.

 Service interfaces of WSNs

Service interfaces in the context of wireless sensor networks (WSNs) refer to the set of functionalities and communication protocols that allow applications to interact with the network and access its resources. These interfaces define how applications can request data from sensors, send commands to nodes, receive notifications about events, and perform other network-related tasks.

Service interfaces typically include specifications for:

  1. Data Retrieval: Allowing applications to retrieve sensor data or node parameters.
  2. Command Execution: Enabling applications to send commands to nodes for specific actions.
  3. Event Notifications: Providing mechanisms for nodes to notify applications about specific events or conditions.
  4. Data Processing: Supporting in-network processing functionalities, such as data aggregation or fusion.
  5. Addressing and Data Centricity: Defining how applications can address specific nodes or groups of nodes, often based on factors like location or observed values.
  6. Accuracy and Timeliness: Specifying requirements for the accuracy and timeliness of data delivery.
  7. Access to Network Information: Providing access to information about node status, network topology, energy levels, etc.
  8. Security and Management: Addressing security requirements and management functionalities, such as component updates and configuration changes.


the expressibility requirements for service interfaces in wireless sensor networks (WSNs), emphasizing the functionalities that such interfaces should provide. Here are the key points highlighted:

  1. Support for Simple Request/Response Interactions:

    • The service interface should allow for synchronous interactions, such as retrieving sensor data or setting node parameters, with immediate results or periodic responses.
  2. Support for Asynchronous Event Notifications:

    • Asynchronous patterns should be accommodated, allowing nodes to request notification when specific events occur, with the option to cancel requests. It should also support periodic reporting after events.
  3. Defining Addressees and Data Centricity:

    • Interfaces should enable defining addressees explicitly or implicitly based on factors like location or observed values, similar to a publish/subscribe model. Set-theoretic operations between groups should be supported.
  4. In-Network Processing Access:

    • Access to in-network processing functionalities is crucial, especially for operations involving entire groups of nodes. Applications should specify the type of processing to be applied, including data fusion or custom processing functions.
  5. Accuracy and Timeliness Requirements:

    • Specifications for required accuracy and timeliness of results should be supported, allowing for energy-efficient data delivery with explicit trade-offs.
  6. Access to Network Information:

    • The interface should provide access to location, timing, and network status information, along with higher-level abstractions like room identifiers. Describing available node/network capabilities is essential for seamless connection and service access.
  7. Security and Management Functionality:

    • Security requirements and management functionalities, such as component updates, should be expressible, although they may not be direct parts of the service interface.
  8. Clarification on Synchronous/Asynchronous Semantics:

    • The design of synchronous or asynchronous semantics is distinct from the blocking or non-blocking nature of service invocation. Asynchronous semantics can be implemented with blocking invocations using threading mechanisms.

 Gateway concepts.

  • Need for gateway
    For practical deployment, a sensor network only concerned with itself is insufficient. The network rather has to be able to interact with other information devices.
    the WSN first of all has to be able to exchange data with such a mobile device or with some sort of gateway, which provides the physical connection to the Internet.
    the mobile device/the gateway is equipped with a radio transceiver as used in the WSN, nodes in the WSN  support standard wireless communication technologies
    Gateways act as bridges between the sensor network and these external networks, enabling interoperability and seamless integration with other systems.
    Gateways perform protocol conversion to translate data between the sensor network's protocol and the protocols used by external networks, enabling data exchange and communication with diverse systems.
    Gateways can aggregate data collected from multiple sensor nodes before transmitting it to external systems. This aggregation reduces communication overhead, conserves energy, and optimizes bandwidth utilization in the sensor network.
    Gateways may also perform data processing tasks, such as filtering, aggregation, and analysis, to extract valuable insights from sensor data before forwarding it to external systems.
    Gateways serve as gatekeepers for WSNs, enforcing security policies and implementing security mechanisms to protect the network from unauthorized access, data breaches, and cyber-attacks.
  1. Interoperability: WSNs often consist of heterogeneous devices with different communication protocols and hardware capabilities. Gateways act as intermediaries between the WSN and other networks, such as the Internet or local area networks (LANs), translating data formats and protocols to ensure seamless communication between devices.

  2. Scalability: In large-scale WSN deployments, it may not be feasible or efficient to connect all sensor nodes directly to the Internet or other networks. Gateways aggregate data from multiple nodes, reducing the number of connections required and simplifying network management.

  3. Data Aggregation and Processing: Gateways can perform data aggregation and processing tasks, reducing the amount of raw data that needs to be transmitted over the network. By pre-processing data at the gateway level, WSNs can conserve bandwidth and energy, improving overall efficiency.

  4. Security: Gateways serve as points of entry to the WSN, allowing for the implementation of security measures such as firewalls, intrusion detection systems, and encryption. By controlling access to the network and monitoring data traffic, gateways help enhance the security of WSN deployments.

  5. Integration with External Systems: Gateways enable WSN data to be integrated with external systems, such as databases, cloud platforms, and enterprise applications. This integration allows for more sophisticated data analysis, visualization, and decision-making, enhancing the value and utility of WSNs in various domains.

  6. Reliability: Gateways can provide redundant communication paths and failover mechanisms to ensure continuous operation of the WSN, even in the event of node failures or network disruptions. By buffering and retransmitting data when necessary, gateways help maintain reliable communication within the network.

  • WSN to Internet communication
    When a sensor node in a Wireless Sensor Network (WSN) needs to communicate with an Internet host, several challenges arise, 
    Finding the Gateway: The sensor node needs to determine which gateway provides access to the internet. This involves solving a routing problem within the WSN to locate a gateway node that offers the necessary service.
    Gateway Selection: If multiple gateways are available, the sensor node must decide which one to use. Factors such as gateway availability, reliability, and connectivity to the desired destination host may influence this decision.
    Gateways within the WSN need to communicate with each other to exchange routing information, coordinate service availability, and possibly share load balancing or failover responsibilities.
    Sensor nodes need to know the IP address and port number of the destination host when sending messages. This information may be provided explicitly or obtained through a mapping mechanism that translates semantic notions (e.g., "Alert Alice") into concrete IP addresses. Gateways perform tasks similar to Network Address Translation (NAT) devices, extracting information from sensor node packets and translating it into IP packets suitable for transmission over the internet.

  • Internet to WSN communication
    The scenario where an internet-based entity attempts to access services from a WSN presents several challenges :
    Service Discovery:  The first challenge is discovering the existence of a sensor network in the desired location and identifying the presence of a gateway node. Service discovery mechanisms are needed to enable remote entities to locate available sensor networks and gateways. Techniques such as service registries, broadcast announcements, or directory services can be utilized for service discovery.


    WSN tunneling
    Wireless Sensor Network (WSN) tunneling refers to the process of encapsulating and transmitting data from a WSN through a tunnel over another network, typically the internet. This technique enables communication between the WSN and remote systems or services located outside the local network boundary WSN tunneling involves encapsulating sensor data, control messages, or other network traffic within packets suitable for transmission over another network, such as the internet.
  • Encapsulation typically involves adding headers or wrappers to the original data to facilitate routing and delivery over the tunnel network.
  • A tunnel is established between the WSN and a remote endpoint, such as a gateway or a server located on the internet. The tunnel serves as a communication channel through which data can be transmitted securely and efficiently.
  • Various tunneling protocols, such as Generic Routing Encapsulation (GRE), IPsec (Internet Protocol Security), or VPN (Virtual Private Network) protocols, may be used to establish and manage the tunnel.
  • Once the tunnel is established, data packets from the WSN are routed through the tunnel to the remote endpoint. The tunneling protocol ensures that packets are forwarded securely and reliably across the tunnel network.
  • Routing decisions may be based on factors such as destination address, quality of service requirements, or network policies.
  • WSN tunneling protocols often incorporate security mechanisms, such as encryption and authentication, to protect the transmitted data from unauthorized access or tampering.
  • Encryption ensures that data exchanged between the WSN and the remote endpoint remains confidential and secure, even when transmitted over potentially insecure networks like the internet.
  • Data transmitted through the tunnel can be integrated with remote systems, such as cloud platforms, databases, or monitoring applications, located outside the WSN.
  • Remote systems can process, analyze, and visualize sensor data received through the tunnel, enabling real-time monitoring, decision-making, and control.
  • WSN tunneling provides scalability and flexibility by enabling communication between the WSN and remote systems regardless of geographical location or network topology.
  • It allows WSNs to extend their reach beyond local boundaries and integrate with global networks and services, supporting a wide range of applications and use cases.

Comments

Popular posts from this blog

3 DECT

2.3 TCP