Docsity

A complete study notes for wireless sensor networks. Easy to get through all basic concept, Study notes of Wireless Sensor Networks

Toggle sidebar
bg1
Unit I: Introduction to Wireless Sensor
Networks and its Applications
โ– WSN / Basics of WSN Technology / Overview:
# Overview (covers everything of WSN)
1. Wireless Sensor Network (WSN) is a group of small, wireless devices
called sensor nodes or motes that collect and share data about the
environment.
2. WSN is self-configuring and works without fixed infrastructure,
making it ideal for remote or large-scale monitoring.
3. Each sensor node typically has a sensor, microcontroller, radio
transceiver, and battery for operation.
4. Sensor nodes communicate with each other using radio signals and
pass data through multi-hop communication to a central sink or base
station.
5. WSNs are used to monitor conditions like temperature, humidity,
pressure, sound, motion, and pollutants.
6. The base station (sink) collects data from all nodes and acts as a
bridge between users and the network.
7. WSN nodes perform various tasks such as data sensing, aggregation,
routing, synchronization, and target tracking.
8. WSN nodes are resource-constrained with limited power, processing
capability, storage, and communication bandwidth.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download A complete study notes for wireless sensor networks. Easy to get through all basic concept and more Study notes Wireless Sensor Networks in PDF only on Docsity!

Unit I: Introduction to Wireless Sensor

Networks and its Applications

โ– WSN / Basics of WSN Technology / Overview:

# Overview (covers everything of WSN)

  1. Wireless Sensor Network (WSN) is a group of small, wireless devices called sensor nodes or motes that collect and share data about the environment.
  2. WSN is self-configuring and works without fixed infrastructure, making it ideal for remote or large-scale monitoring.
  3. Each sensor node typically has a sensor, microcontroller, radio transceiver, and battery for operation.
  4. Sensor nodes communicate with each other using radio signals and pass data through multi-hop communication to a central sink or base station.
  5. WSNs are used to monitor conditions like temperature, humidity, pressure, sound, motion, and pollutants.
  6. The base station (sink) collects data from all nodes and acts as a bridge between users and the network.
  7. WSN nodes perform various tasks such as data sensing, aggregation, routing, synchronization, and target tracking.
  8. WSN nodes are resource-constrained with limited power, processing capability, storage, and communication bandwidth.
  1. Sensor nodes can operate in either continuous mode or event-driven mode depending on the application.
  2. WSN technology is widely used in industrial automation, smart cities, environmental monitoring, defence, and healthcare systems.

โ– Characteristics of WSN:

  1. Dense Node Deployment Sensor nodes are placed very close to each other in the area of interest to ensure good data coverage.
  2. Battery-Powered Nodes Sensor nodes usually run on batteries and are placed in areas where changing batteries is hard.
  3. Limited Resources Nodes have very low energy, limited processing power, and small memory capacity.
  4. Self-Configurable Nodes organize themselves into a network automatically after deployment, without human help.
  5. Application Specific WSNs are designed for specific tasks (like pollution monitoring, temperature sensing, etc.). Network design depends on the use case.
  6. Unreliable Nodes Nodes are often placed in rough environments, so they can get damaged or stop working easily.
  7. Frequent Topology Change The network structure keeps changing due to node failures, energy loss, or new nodes being added.
  8. No Global ID Because there are many sensor nodes, giving each a unique global ID is hard and increases overhead.

โ– Classification of WSN:

  1. Static and Mobile WSN
    • Static WSN: Sensor nodes are fixed and do not move.
  • Heterogeneous WSN: Some nodes have higher power and capabilities compared to others. Processing and communication tasks are distributed accordingly.

โ– Commercial and Scientific Approach of WSN:

  • Commercial Approach of WSN:
  • This refers to how Wireless Sensor Networks (WSNs) are used in real- world industries and services for automation, monitoring, safety, and efficiency.
  • It focuses on improving daily life, business operations, and infrastructure through smart technologies.
  1. Smart Homes and Buildings:
  • Used for automation like lighting, heating, cooling, and security systems.
  1. Industrial Monitoring:
  • Monitors machinery health, factory automation, and production line efficiency.
  1. Environmental Monitoring:
  • Detects pollution levels, temperature, humidity, and weather conditions.
  1. Agricultural Applications:
  • Tracks soil moisture, crop health, and optimizes irrigation.
  1. Health Care Monitoring:
  • Supports patient health tracking, remote diagnostics, and elderly care systems.
  • Scientific Approach of WSN:
  • This refers to how WSNs are used in research and academic fields to gather precise data, conduct experiments, and monitor environmental or biological phenomena.
  • It helps scientists in data-driven analysis, simulations, and discoveries in various domains like space, climate, and health. 1. Remote Environmental Research:
  • Collects data from deserts, glaciers, oceans, or volcanoes.
    1. Wildlife and Habitat Monitoring:
  • Studies animal movement and natural ecosystems.
    1. Climate Change Studies:
  • Gathers long-term data on temperature, COโ‚‚, and weather patterns.
    1. Medical Research:
  • Monitors patient vitals in experimental treatments and trials.
    1. Structural Health Monitoring:
  • Tracks stress or damage in bridges, tunnels, and buildings.

โ– Architecture of WSN / layered network architecture:

  • The most common wireless sensor network architecture follows the OSI architecture Model.
  • The architecture of the WSN includes five layers and three cross layers.
  • Mostly in sensor n/w, we require five layers, namely application, transport, n/w, data link & physical layer.
  • These layers of the WSN are used to accomplish the n/w and make the sensors work together to raise the complete efficiency of the network.
  • The architecture used in WSN is sensor network architecture.
  • There are 2 types of wireless sensor architectures: Layered Network Architecture, and Clustered Architecture.
  • Can use single-hop (direct) or multi-hop (via intermediate nodes) communication.
  • Must handle: o Efficient path selection o Energy savings o Long-range vs. short-range communication trade-offs
  1. Data Link Layer
  • Manages data framing, error control, medium access, and data transmission.
  • Ensures reliable point-to-point and point-to-multipoint communication.
  • Key feature: MAC (Medium Access Control) protocols o Share communication medium efficiently o Balance energy use, throughput, and delay
  1. Physical Layer
  • Converts bit streams to signals suitable for transmission.
  • Deals with: o Medium and frequency selection o Carrier generation o Signal modulation and detection o Data encryption
  • Also handles electrical and mechanical interfaces of sensors.

โ– Sensor Node Structure / Block diagram of sensor node:

  • A wireless sensor node is the core component of a Wireless Sensor Network (WSN).
  • Each node is equipped with essential components that allow it to sense, process, and communicate data.
  • Due to energy constraints, especially in battery-powered nodes, efficient operation is vital for prolonged network lifetime.
  • A typical wireless sensor node consists of four main components:
  1. Sensing Unit:
  • The sensing unit consists of various types of sensors such as: o Thermal sensors o Magnetic sensors o Vibration sensors o Chemical sensors o Biosensors o Light sensors
  • These sensors detect physical parameters from the surrounding environment.
  • The sensors generate analog signals, which are converted into digital signals using an Analog-to-Digital Converter (ADC).
  • These digital signals are then forwarded to the processing unit for further analysis.
  1. Processing Unit:
  • This is the central unit responsible for executing tasks and controlling the operations of other components.
  • It consists of a microcontroller or microprocessor.
  • It processes the data collected by the sensing unit using pre-loaded algorithms and decision-making codes.
  • The processor is responsible for: o Managing communication with other nodes o Running sensing applications o Controlling energy-efficient operations
  • The energy usage of the processor depends on the complexity of tasks being performed.
  1. Communication Unit:
  • The communication unit is responsible for transmitting and receiving data between sensor nodes and the base station.
  • It typically consists of an RF transceiver.

o Low processing power makes it hard to use strong encryption. o Vulnerable to attacks.

โ– Basic Sensor network architectural elements:

  • Sensor networks consist of both hardware and software components.
  • These components work together to sense data from the environment, process it, and transmit it efficiently while conserving energy.
  • Hardware Elements The basic hardware components of a wireless sensor network include: 1. Sensor Unit-
  • Detects data (like temperature, gas, sound, light).
  • Can be passive (low power, like humidity sensor) or active (high power, like radar). 2. Processing Unit-
  • Small microcontroller to process the sensed data.
    1. Memory-
  • Stores program and temporary data.
    1. Communication Unit-
  • Wireless module (like ZigBee, Wi-Fi, Bluetooth) to send/receive data.
    1. Power Unit-
  • Battery or solar panel.
  • Most energy is used in communication, so power-saving is important.
    1. ADC (Analog to Digital Converter)-
  • Converts analog signals from sensors into digital signals for processing.
  • Software Elements The software architecture of sensor networks is designed to handle limited resources and dynamic environments. It consists of: 1. Operating System-
  • Special lightweight OS like TinyOS.
  • Uses very less memory and is energy efficient.
    1. Middleware-
  • Helps with coordination between nodes (like time sync, data sharing, etc.) 3. Transport Protocols-
  • For secure, low-energy, and reliable data sending.
    1. Routing Protocols-
  • Data-centric routing: Routes based on data type, not node address.
  • Includes in-network data aggregation to reduce extra messages.
    1. Computation & Data Processing-
  • Nodes do basic processing, fusion, and filtering of data themselves.
  • Saves energy and reduces unnecessary data transfer.
    1. Data Management-
  • Stores data locally or sends important info to a central sink.
  • Supports queries, indexing, and global summaries.
    1. Security-
  • Lightweight encryption, signatures to keep data safe and accurate.

โ– ISSUES AND CHALLENGES IN DESIGNING WSN / factors

influencing WSN:

1. Random Node Deployment (No Fixed Topology)-

  • Sensor nodes are scattered randomly, so thereโ€™s no neat network structure.
  • Makes planning and communication hard.
  • Key Challenges in Wireless Sensor Networks (WSNs)-
  1. Limited Power o Sensor nodes have small batteries that cannot be recharged or replaced. o Power-saving is important.
  2. Weak Communication o Limited speed (bandwidth) o Noisy or unreliable signals o Security concerns
  3. Less Computing Power o Sensor nodes have limited memory and processing power. o They can't run complex algorithms.
  4. Uncertain Data o Data may be mixed with noise or affected by environment. o Sensor placement may impact accuracy.
  • Key Components of a Wireless Network--
  1. Wireless Devices o End Devices: Smartphones, laptops, tablets, IoT devices, and sensors. o Adapters: Devices like Wi-Fi dongles that help non-wireless devices connect to a wireless network.
  2. Access Points (APs) o Access Points: Connect wireless devices to a wired network. o Router: Directs data between the wireless network and the internet. In homes, a router usually has a built-in access point.
  3. Communication Protocols o Wi-Fi (IEEE 802.11): Used for home and office networks. o Bluetooth: Short-range communication (like headphones and smartwatches). o Zigbee and Z-Wave: For low-power devices in home automation. o Cellular Networks (3G, 4G, 5G): For mobile devices over large areas.
  4. Wireless Security o Encryption: Protects the data being transmitted (e.g., WPA2, WPA3).

o Authentication: Only authorized devices can connect (e.g., passwords, certificates).

  1. Network Topologies o Infrastructure Mode: Devices connect through a central router or access point. o Ad-Hoc Mode: Devices communicate directly with each other.

โ– Sensor Taxonomy:

  • Sensor taxonomy refers to the classification of sensors based on various characteristics such as the type of data they measure, their power source, functionality, mobility, communication mode, and application area.
  • This classification helps in choosing the appropriate sensor for a specific purpose in a wireless sensor network. 1. Based on the Physical Quantity Measured This is the most common way to classify sensors. Sensors are chosen based on the type of physical parameter they are designed to sense.
  • Temperature sensors measure heat or temperature. Example: LM35, DHT11.
  • Pressure sensors detect force or pressure applied on a surface.
  • Light sensors measure the intensity of light. Example: Light Dependent Resistor (LDR).
  • Humidity sensors measure the moisture content in the air. 2. Based on Power Source Sensors can be categorized by whether they require an external power source or not.
  • Active sensors need an external power source to operate. For example, ultrasonic sensors send out a signal and measure its reflection.
  • Passive sensors do not require external power. They detect natural energy such as infrared or sound from the environment. Thermocouples are an example. 3. Based on Output Type Sensors are also classified by the type of output they generate.
  1. Communicating: Transmits the processed data to other nodes or a central system in the network.
  • Key Components of a Mote:
  1. Sensor(s): o Function: Measures environmental factors (e.g., temperature, light, humidity). o Examples: Temperature sensor, light sensor, motion sensor.
  2. Analog-to-Digital Converter (ADC): o Function: Converts the analog signals from sensors into digital values so that the microcontroller can process them.
  3. Microcontroller: o Function: The "brain" of the mote. It controls everything, including processing sensor data, managing power, and handling communication. o Key Role: Executes logic for data processing and network communication.
  4. Memory:

o Function: Stores the program, sensor data, and temporary information (e.g., variables or intermediate results). o Types: Usually includes both RAM (for temporary storage) and Flash memory (for storing program code and persistent data).

  1. Transceiver: o Function: A communication module that allows the mote to send and receive data wirelessly to other nodes in the network. o Technology: Typically uses radio communication, such as Wi- Fi, Bluetooth, Zigbee, or LoRa.
  2. Power Source: o Function: Powers the mote. Most motes are battery-operated but may also include energy-harvesting methods like solar panels to extend their operation.
  • Important Aspects of Mote Design in WSN:
  1. Low Power Consumption: o Motes are usually battery-powered, so it's important to minimize energy usage. o Motes use sleep modes, optimize data transmission, and have power-saving protocols to reduce energy consumption.
  2. Small Size: o Motes are compact and lightweight, making them easy to deploy in large quantities over wide areas (e.g., across a forest or building).
  3. Robustness: o Motes must be durable to withstand different environmental conditions, such as extreme temperatures, humidity, or physical impacts, depending on where they are placed.

โ– Application of WSN:

  1. Military Applications of WSN:
    1. Battlefield Surveillance โ€“ Monitor enemy movements and detect intrusions.
    2. Border Monitoring โ€“ Track illegal crossings or smuggling activities.
    3. Landmine Detection โ€“ Deploy sensors to detect buried explosives.
  1. Inventory Management โ€“ Track stock in real-time using sensor tags.
  2. ATM Security โ€“ Detect tampering or unauthorized access.
  3. Retail Analytics โ€“ Monitor customer foot traffic patterns.
  4. Building Automation โ€“ Control HVAC, lighting, and fire alarms.
  5. Smart Hotels โ€“ Manage lighting and room service automatically.
  6. Smart Shopping Carts โ€“ Detect product selection and automate billing.
  7. Industrial Applications of WSN:
  8. Machine Monitoring โ€“ Detect vibrations or overheating in machinery.
  9. Predictive Maintenance โ€“ Alert when machines need service before failure.
  10. Energy Management โ€“ Optimize power usage in factories.
  11. Production Line Monitoring โ€“ Track speed, errors, or stops in the line.
  12. Safety Monitoring โ€“ Detect toxic gas leaks or temperature rise.
  13. Inventory Control โ€“ Monitor raw material and product movement.
  14. Remote Equipment Control โ€“ Control machines from far-off locations.
  15. Quality Control โ€“ Check parameters like temperature, humidity in real-time.
  16. Agricultural Applications of WSN:
  17. Soil Moisture Monitoring โ€“ Help decide when to irrigate.
  18. Weather Monitoring โ€“ Track rainfall, temperature, humidity.
  19. Pest Detection โ€“ Detect insect movement or plant disease early.
  20. Crop Health Monitoring โ€“ Use sensors and drones to check crop condition.
  21. Greenhouse Automation โ€“ Control light, temperature, and irrigation.
  22. Precision Farming โ€“ Apply fertilizers/pesticides only where needed.
  23. Water Level Monitoring โ€“ Check tank or canal levels automatically.
  24. Livestock Tracking โ€“ Monitor animal movement and health.

โ– Various WSN Standards / Various Sensor network

technologies in WSN:

  1. ZigBee
    • Made for small devices that talk wirelessly.
    • Uses very low power โ€“ good for long battery life.
  • Used in smart homes and industrial machines.
  • Slower than Wi-Fi, but more energy-saving.
  • Range: around 100 meters.
  • Cheap and reliable for many connected sensors.
  1. Wi-Fi
  • Same as what we use for internet at home.
  • Sends data very fast.
  • Uses more power, so battery drains faster.
  • Good for things like security cameras, phones, or laptops.
  • Range: around 50 meters indoors.
  • Easy to connect to internet.
  1. Lora WAN
  • โ€œLoRaโ€ means Long Range.
  • Sends small amounts of data over big distances (up to 10 km).
  • Uses very little power โ€“ batteries can last years.
  • Can work without Wi-Fi or mobile network.
  • Best for rural or wide-area WSNs.
  1. RFID
  • Used to identify and track objects.
  • Works when a scanner comes close to a tag (like an ID card).
  • Very short range โ€“ usually few cm to a few meters.
  • One-way communication โ€“ tag sends ID to reader.
  • Very cheap and simple.
  1. 6LoWPAN
  • Helps tiny sensors talk to the internet using IPv6.
  • Made for small, low-power devices.
  • Adds internet features to things like ZigBee.
  • Helps sensors work like websites/devices online.
  • Uses less power and works well with limited memory.
  1. Cellular (3G, 4G, 5G, NB-IoT)
  • Same network as your phone SIM card.
  • Can send data from anywhere with signal.