Ad Hoc MODULE-4
Ad Hoc MODULE-4
Single node architecture: hardware and software components of a sensor node - WSN
Network architecture: typical network architectures-data relaying and aggregation
strategies -MAC layer protocols: self-organizing, Hybrid TDMA/FDMA and CSMA based
MAC- IEEE 802.15.4
● Hinglish: WSN ek aisi wireless network hai jo chhoti chhoti sensor devices se bani hoti
hai. Ye sensors environment ki information (jaise temperature, pressure, ya motion)
collect karke wirelessly ek base station tak bhejte hain jahan data analyze hota hai.
🔍 2. Real-Life Example
● 🏥 Healthcare Monitoring: Sensors on a patient's body continuously send temperature,
heartbeat, or oxygen level to a hospital computer.
● 🌾 Agriculture: Soil moisture sensors send data to farmers for smart irrigation.
● 🌆 Smart Cities: Pollution sensors in traffic lights monitor air quality and send data to
government control centers.
STRUCTURE OF WSN :
🛠️ 4. Functions of WSN
● 🟢 Sensing – Detect changes in environment
● 📤 Data Communication – Send sensed data wirelessly
● 🧠 Data Aggregation – Combine similar data to reduce traffic
● 🎯 Target Tracking – Monitor moving objects
● ⚡ Energy Efficiency – Work on low power for long time
Terrestrial Nodes placed on land Zameen par lagaye gaye Forest fire detection
surface sensors
Underwater Nodes under water, use Pani ke andar wale Ocean pollution
acoustic signals sensors monitoring
Mobile Nodes that can move with Chalne wale ya attach Animal movement
object sensors tracking
✔️ 7. Advantages of WSN
Advantage Description
❌ 8. Disadvantages of WSN
Disadvantage Description
🔋 Limited battery life Nodes can die quickly
1. Contention-Based Protocols
Feature Description
Real-Life: Like people shouting randomly in a room—some get heard, some don't.
2. Schedule-Based Protocols
Feature Descriptio
n
No collision
Feature Descriptio
n
+--------------+ +---------------+
| |
v v
+-----------+ +-------------+
+------------+
| MAC Layer |
+------------+
+-------------+
| Transmitter |
+-------------+
● Aggregation
● Data Transfer
● Adaptive Routing
● Tracking
● Schedule (TDMA)
● Hybrid (Z-MAC)
● Hinglish:
Single node architecture ek sensor node ke andar ke design ko dikhata hai. Isme har
wo part hota hai jo data sense, process aur wirelessly transmit karta hai jaise ki
sensor unit, microcontroller, memory, radio unit, aur battery.
🧩 Main Components (with Functions)
Component Function (काम)
| Sensor Node |
+---------------------------+
|---------------------------|
|---------------------------|
|---------------------------|
|---------------------------|
|---------------------------|
+---------------------------+
💡 Real-Life Example
● In a smart home, a sensor node placed near the door detects motion, converts the
signal using ADC, processes it using a microcontroller, and transmits the data
wirelessly to a control hub — all done by this single node architecture.
❌ Disadvantages
Disadvantage Explanation
⚙️ Working Principle
1. Sensor senses the physical environment (e.g., temperature).
● S – Sensor
● M – Microcontroller
● A – ADC
● R – Radio (Transceiver)
● T – Transmission (Comm.)
● P – Power Supply
🎓 Example Sentence:
"SMART-P se bana hai WSN node!"
📘 Sample Answer
A single node architecture is the internal design of a wireless sensor node. It
includes components like a sensor unit, ADC, microcontroller, memory,
transceiver, and power supply. The sensor collects environmental data, which is
converted by the ADC, processed by the microcontroller, stored in memory, and
transmitted wirelessly by the transceiver. This architecture is compact, low-power,
and suitable for real-time monitoring in applications like agriculture and smart
homes. Despite limitations in power and processing, it plays a vital role in WSN
systems.
📘 Hardware and Software Components of
a Sensor Node
🔷 1. Hardware Components
The hardware components are the physical parts of a sensor node that allow it to sense,
process, and communicate data. These components are essential for the operation of the
sensor node in a WSN.
🔹 Key Hardware Components
Component English Definition Hinglish Definition Function (काम)
📍 Sensor Unit The sensor detects Sensor unit jo Sense the physical
physical or environment ke data world (e.g.,
environmental data (jaise temperature, temperature,
(e.g., temperature, humidity) ko detect karta pressure)
humidity). hai.
💾 Memory Stores both program Memory jo program aur Stores data and
code and sensor data. sensor data ko store program code
Memory can be of karta hai. temporarily (RAM)
different types (RAM, or permanently
ROM, Flash). (ROM/Flash).
🔋 Power Supply Provides energy for the Power supply jo node Powers the sensor
operation of the sensor ko power provide karta node, can be
node (typically battery hai (battery ya solar se). battery or
or solar-powered). solar-powered.
🧠 Analog to Converts analog signals ADC jo analog signals Converts analog
Digital Converter (e.g., from a ko digital format mein signals to digital
(ADC) temperature sensor) to convert karta hai, taaki signals for
digital form that the microcontroller usse processing.
microcontroller can process kar sake.
process.
| Sensor Node |
+-------------------------+
|-------------------------|
| Converter (ADC) |
|-------------------------|
|-------------------------|
|-------------------------|
|-------------------------|
+-------------------------+
✅ Real-Life Example
● Agriculture: A sensor node placed in the soil detects moisture (sensor), converts the
data (ADC), processes it (microcontroller), and then sends the data wirelessly
(transceiver) to a control center for irrigation scheduling. The sensor node works on solar
power (power supply).
● ✅ Microcontroller: The brain of the node, controls all operations and processes the
data.
🔋 Low Power Designed to consume minimal power for longer operational life.
Consumption
🔋 Limited Battery Life Battery-powered nodes can run out of power quickly in
energy-heavy tasks.
🔷 2. Software Components
The software components control the behavior of the sensor node, ensuring that data is
sensed, processed, and communicated properly. It also allows the sensor node to manage
energy consumption, monitor network status, and adapt to changing conditions.
📡 Network Flexibility Software protocols adapt to network changes and optimize data
flow.
🧠 Limited Computational Software must be optimized to work with the low power of the
Power microcontroller.
🔄 Complex Algorithms Some complex algorithms may lead to slower data processing
or higher power consumption.
🧑💻 Dependency on If the firmware is outdated, the node may fail to perform
Firmware optimally.
2. Sensor detects the environment and sends data to the Microcontroller.
3. Data Processing algorithms filter and process the sensed data.
4. Routing Protocol decides the best path to send data to the base station.
5. Energy Management Software ensures minimal energy use during idle times.
6. Data is sent via the Transceiver to other nodes or the base station.
● S – Sensor Unit
● M – Microcontroller
● M – Memory
● T – Transceiver
● P – Power Supply
● F – Firmware/OS
● R – Routing Protocol
● E – Energy Management
● A – Application Layer
📘 Sample Exam Answer
The sensor node in a Wireless Sensor Network (WSN) consists of both hardware
and software components. The hardware components include the sensor unit,
which detects physical data (e.g., temperature), the microcontroller, which
processes the data, memory for storing data, transceiver for communication, and
power supply for energy. The software components include the
firmware/operating system, which controls node operations, routing protocols,
which determine how data is forwarded, and energy management software, which
optimizes battery usage. Together, these components allow the sensor node to
function efficiently in remote monitoring applications.
● Hinglish:
Wireless Sensor Network (WSN) ka network architecture woh design hai jo batata
hai ki sensor nodes kis tarah se ek doosre se communicate karte hain aur data ko
process aur transmit karte hain. Is architecture kaafi important hai kyunki yeh network ki
efficiency aur performance ko define karta hai.
🔑 Key Components of WSN Architecture
1. Sensor Nodes
○ These are the basic building blocks of the network. Each node senses the
environment and communicates with other nodes or a base station.
○ These are central nodes that collect data from the sensor nodes and
communicate with the outside world (e.g., internet, user devices).
○ Example: A base station collects data from all nodes in a farm and sends it to a
cloud server for analysis.
○ These nodes bridge the sensor nodes with the base station, usually providing an
interface between different networks.
○ Example: A gateway node connects the wireless sensor network to a local area
network (LAN) for easier communication.
○ All nodes have the same capabilities and roles. There is no central control.
○ Example: In an agricultural setting, every node monitors different environmental
factors, and all nodes communicate with each other.
○ Nodes are organized in different levels, where some nodes may have more
powerful capabilities (e.g., base stations) and others are simple sensor nodes.
○ Example: In smart homes, certain sensor nodes (like base stations) manage
multiple smaller sensor nodes (e.g., temperature, humidity sensors).
○ Nodes are organized into clusters with a leader node (cluster head) that
aggregates data from its cluster and forwards it to the base station.
○ Nodes are arranged in a tree structure, with leaf nodes sending data to higher
nodes, which act as relays to the base station.
+------------+------------+
| |
Cluster 1 Cluster 2
| |
Sub-nodes Sub-nodes
In this example:
● Nodes are grouped into clusters, each cluster sending data to the base station.
✅ Real-Life Example
● Smart Home:
In a smart home, sensor nodes monitor various things like temperature, light, and
motion. These nodes send data to a base station (sink node) that communicates with
the homeowner's smartphone, providing real-time data about the home environment.
● Agriculture:
In precision farming, multiple sensor nodes placed in the soil monitor moisture levels,
temperature, etc. These nodes send data to a central base station for analysis, helping
farmers make data-driven decisions.
✅ Key Advantages
Advantage Explanation
🔋 Low Power Consumption Optimized for low power to extend network lifetime.
❌ Disadvantages
Disadvantage Explanation
⚡ Limited Power Battery limitations of sensor nodes may lead to energy depletion.
💾 Limited Storage Sensor nodes have limited memory, so large-scale data storage is
difficult.
2. Data Processing: The node processes the data locally (simple algorithms to filter or
aggregate).
3. Data Communication: The sensor node either transmits the data directly or via a
gateway node to the base station.
4. Data Aggregation: Data can be aggregated by cluster heads in cluster-based
architecture.
5. Final Data Transmission: The base station or sink node transmits the data to external
systems or servers for further analysis or control actions.
● In a flat architecture, all nodes have equal capabilities. To remember, think of “flat =
equal”.
● In hierarchical architecture, there are high-level (base stations) and low-level (sensor
nodes). Think of it as “Hierarchical = High and Low”.
Cluster-Based Trick: "Cluster Head"
● English:
In Star Network Architecture, all sensor nodes communicate directly with a central
base station (sink node). There are no intermediate nodes between them. The base
station is the main controller that collects data from the nodes and may relay this
information to external systems.
● Hinglish:
Star Network mein saare sensor nodes directly ek base station (sink node) se
connected hote hain. Har sensor node apna data directly base station ko bhejta hai.
Base station is data ko collect kar ke baaki systems ko forward karta hai.
Key Features
● Simplicity: Easy to implement as only one connection point (base station) is needed.
● Energy-efficient: Because the base station handles most communication, sensor nodes
consume less energy.
● Smart Home:
In a smart home, sensor nodes like temperature sensors, humidity sensors, and motion
detectors are connected directly to a central base station (controller) that monitors the
entire home’s environment.
Advantages
Advantage Explanation
🔋 Low Energy Sensor nodes only need to communicate with the central base
Consumption station, reducing overall energy consumption.
📡 Simple Design The architecture is easy to design and implement with minimal
components.
Disadvantages
Disadvantage Explanation
⚡ Single Point of If the base station fails, the entire network becomes non-functional.
Failure
🌍 Limited Range This architecture may not work well for large-scale networks
because the base station can only handle a limited range.
🧠 Data Congestion All data must be transmitted to the base station, causing potential
congestion if there are many nodes.
🔹 2. Tree Network Architecture
Definition (English + Hinglish)
● English:
In Tree Network Architecture, sensor nodes are arranged in a tree-like structure.
There is a root node (base station) at the top, and intermediate nodes relay data to the
base station. Each node forwards data to its parent, forming a hierarchical structure.
● Hinglish:
Tree Network Architecture mein sensor nodes ek tree-like structure mein arranged
hote hain. Root node (base station) sabse upar hota hai, aur baaki nodes data ko
parent node tak bhejte hain. Yeh architecture ek hierarchical structure create karta
hai.
Key Features
● Hierarchical Structure: Data flows from the leaf nodes to the root node (base station) in
a tree-like pattern.
● Efficient Data Aggregation: Intermediate nodes aggregate and forward data, reducing
the amount of data sent to the base station.
● Better Scalability: More nodes can be added without overloading the base station.
Real-Life Example
● Smart Agriculture:
In precision farming, soil moisture sensors (leaf nodes) send data to a parent node
which aggregates data from multiple sensors before sending it to the base station for
analysis.
Advantages
Advantage Explanation
⚡ Reduced Data Intermediate nodes aggregate data, reducing the traffic to the
Traffic base station.
🌍 Scalability The tree structure allows for better scalability and efficient data
routing.
📊 Better Efficiency Data aggregation at intermediate nodes makes the system more
efficient.
Disadvantages
Disadvantage Explanation
💥 Single Point of Failure If the root node fails, the entire tree network can be disrupted.
(Root Node)
● English:
In Cluster-Based Network Architecture, the sensor nodes are grouped into clusters.
Each cluster has a cluster head responsible for gathering data from the nodes in the
cluster and forwarding it to the base station. The cluster heads are typically more
powerful nodes.
● Hinglish:
Cluster-Based Architecture mein sensor nodes ko clusters mein divide kiya jata hai.
Har cluster ka apna cluster head hota hai jo apne cluster ke sensor nodes se data
collect karke base station ko bhejta hai. Cluster heads zyada powerful nodes hote hain.
●
Key Features
● Data Aggregation: Cluster heads aggregate data from their cluster nodes before
sending it to the base station.
Real-Life Example
● Industrial Monitoring:
In an industrial facility, temperature, humidity, and pressure sensors are placed in
different sections. Each section forms a cluster, and a cluster head collects and sends
the data to a central control station.
Advantages
Advantage Explanation
Disadvantages
Disadvantage Explanation
⚡ Cluster Head Overload If the cluster head fails or gets overloaded, the whole
cluster communication can break down.
🧠 Data Loss Loss of communication between the cluster head and base
station can result in data loss.
English:
In Mesh Network Architecture, each sensor node communicates with multiple neighboring
nodes, and data can take multiple paths to reach the base station. This architecture provides
redundancy and increases network reliability.
● Hinglish:
Mesh Network Architecture mein har sensor node apne neighboring nodes ke
saath communicate karta hai. Data ko base station tak pahuchne ke liye multiple paths
hote hain, jo redundancy aur reliability increase karte hain.
Key Features
● Redundant Communication Paths: Data can follow multiple routes, ensuring network
reliability.
● Self-Healing: If one path fails, the network can reroute data through other nodes.
● High Reliability: Multiple communication paths reduce the risk of complete network
failure.
Real-Life Example
● Disaster Recovery:
After a disaster, rescue teams use a mesh network of communication devices to
ensure that information can still be relayed, even if some devices are down.
Advantages
Advantage Explanation
🌍 High Reliability Multiple paths ensure the network continues to work even if one
path fails.
📡 No Single Point of The failure of a node does not affect the entire network due to the
Failure availability of alternative paths.
Disadvantages
Disadvantage Explanation
2. Tree Network: Picture a tree with a root at the top. Nodes act like branches, sending
data to the root.
3. Cluster-Based: Imagine a team of workers where one leader (cluster head) collects
data from team members and reports to the main office (base station).
4. Mesh Network: Think of a web where every node is connected to multiple other nodes,
ensuring no single point of failure.
In Wireless Sensor Networks (WSNs), data relaying and data aggregation are crucial
strategies for efficient communication and energy management. These strategies play a key
role in ensuring that the sensor nodes transmit useful data with minimal energy
consumption and optimal performance.
Let's break down data relaying and aggregation strategies with real-life examples, English +
Hinglish definitions, important points, advantages, disadvantages, working principles,
and tips for easy understanding and memory retention.
🔹 1. Data Relaying
Definition
● English:
Data relaying refers to the process where a sensor node forwards the data it receives
from other nodes to a base station or destination node. This helps extend the range
and reliability of the network by passing data through multiple nodes.
● Hinglish:
Data relaying mein ek sensor node jo data receive karta hai, usse base station ya kisi
destination node tak forward kar deta hai. Isse network ka range aur reliability
improve hota hai kyunki data ko kai nodes ke through pass kiya jata hai.
Key Features
● Multiple Hops: The data travels through multiple nodes until it reaches the destination.
● Energy Consumption: Each relaying node consumes energy to forward the data.
● Reliability: It ensures that data reaches the base station, even if some nodes fail.
Real-Life Example
● Military Surveillance:
In a military surveillance system, sensor nodes deployed in remote areas relay data
about enemy movements to a central command station. The data passes through
multiple relay nodes to extend the network's coverage.
Advantages
Advantage Explanation
🔋 Energy Efficiency Nodes forward only relevant data, reducing energy consumption.
📡 Improved Data can be routed through multiple paths, reducing the risk of
Reliability losing information.
Disadvantages
Disadvantage Explanation
⚡ Energy Consumption Each node consumes energy to relay data, leading to potential
battery drain.
💻 Network Congestion Relaying data through multiple nodes may increase traffic and
congestion.
🧠 Complexity in Routing and relaying data through many nodes can complicate
Management the network management.
🔹 2. Data Aggregation
Definition
● English:
Data aggregation is the process of collecting and combining data from multiple sensor
nodes before transmitting it to the base station. The goal is to reduce the amount of data
transmitted by sending summarized or fused data rather than raw data from each node.
● Hinglish:
Data aggregation mein multiple sensor nodes se data collect karke summarize ya
fuse kiya jata hai, phir is combined data ko base station tak bheja jata hai. Iska goal hai
ki raw data ko bhejne ke bajaye summarized data bheja jaye, jisse communication
efficient ho.
Key Features
● Data Fusion: Combining similar data from different nodes to create a single packet.
Real-Life Example
● Environmental Monitoring:
In an environmental monitoring network, temperature and humidity sensors collect
data from multiple locations. The data is aggregated by intermediate nodes to send a
single report on environmental conditions to the central server.
Advantages
Advantage Explanation
📉 Reduced Data Less data sent to the base station reduces network congestion.
Traffic
Disadvantages
Disadvantage Explanation
⚠️ Data Loss Risk Important data might be lost during the aggregation
process if not handled correctly.
2. Aggregation Strategies
○ Example: In a smart grid, some nodes act as aggregators of data from home
electricity meters and send summarized information to the central system.
○ A sensor node receives data from either its environment or from other nodes.
○ It then forwards this data to a neighboring node or directly to the base station,
depending on the network topology.
○ The multi-hop process continues until the data reaches the destination.
○ It aggregates this data with that of other nodes in its cluster or network, reducing
the amount of transmitted data.
○ The aggregated data is then sent to a central sink node or base station.
🎯 Memory Retention Tips
1. Relaying:
Think of relaying as playing "Chinese whispers": One node whispers data to the next
node, and it keeps going until the last node (base station).
2. Aggregation:
Picture aggregation as collecting data from different sources and putting it together
into a single report. Less information, but more useful.
Summary:
● Data Relaying helps in forwarding data from sensor nodes to the base station,
extending the network’s coverage and reliability.
● Data Aggregation reduces the amount of data transmitted, improving energy efficiency
by combining data before sending it to the base station.
Both strategies are essential for efficient communication and optimal performance in
Wireless Sensor Networks (WSNs), especially in environments with limited resources.
____________________________________________________________________________
Let’s break down self-organizing MAC protocols in detail with real-life examples, English +
Hinglish definitions, key features, advantages, disadvantages, working principles, and
memory retention tips for semester exam preparation.
🔹 Definition
● English:
A self-organizing MAC protocol is one in which nodes autonomously manage their
access to the wireless medium without needing a centralized controller or base
station. This protocol allows nodes to adjust to the network's dynamics, such as node
density and traffic load, by making real-time decisions about channel access.
● Hinglish:
Self-organizing MAC protocol ek aisa protocol hota hai jisme nodes apne aap
medium ko access karte hain bina kisi centralized controller ke. Nodes apne aap
channel access ka decision lete hain, aur network ke dynamics ko samajhte hue kaam
karte hain (jaise node density aur traffic load ko dekhte hue).
○ Each node can decide on when to send data, how to access the medium, and
how to resolve conflicts, without relying on a centralized base station.
○ In this protocol, the network is divided into time slots, and each node is given a
specific time to send its data, ensuring no collisions. The allocation of time slots
is done dynamically based on the number of active nodes.
🌍 Scalability Can scale to large networks without the need for central control.
○ Nodes use techniques like random backoff to avoid collisions with other nodes.
If two nodes try to send data simultaneously, they will wait for a random period
before attempting again.
○ Nodes adjust their transmission patterns based on the network load and node
activity. For example, if too many nodes are trying to access the medium, the
protocol may reduce the transmission rate.
○ Nodes coordinate with neighboring nodes to avoid interference and ensure that
data flows smoothly. In some protocols, nodes negotiate with each other to
allocate timeslots.
○ Imagine a classroom where each student gets their own time to answer
questions. TDMA ensures everyone gets their fair share of time to transmit data.
🎯 Conclusion
Self-organizing MAC protocols provide flexibility and autonomy to nodes in wireless
networks, especially in environments like Ad-hoc networks or sensor networks where
centralized control is impractical. They improve energy efficiency, scalability, and
adaptability to changing conditions, though they may suffer from issues like collisions and
variable performance.
These protocols allow nodes to work independently while ensuring the network remains
functional, which is crucial for efficient data transmission in resource-constrained
environments.
____________________________________________________________________________
Let’s break down the Hybrid TDMA/FDMA protocol with definitions in English + Hinglish,
real-life examples, key features, advantages, disadvantages, working principles, and tips
for memory retention.
🔹 Definition
● English:
Hybrid TDMA/FDMA is a combination of two multiple access techniques—TDMA
(Time Division Multiple Access) and FDMA (Frequency Division Multiple Access).
In this protocol, the communication channel is divided into both time slots (TDMA) and
frequency bands (FDMA). This hybrid method optimizes the use of time and
frequency resources for data transmission in wireless networks.
● Hinglish:
Hybrid TDMA/FDMA ek protocol hai jisme TDMA (Time Division Multiple Access)
aur FDMA (Frequency Division Multiple Access) ko combine kiya jata hai. Isme
channel ko time slots (TDMA) aur frequency bands (FDMA) me divide kiya jata hai,
taaki time aur frequency dono ka efficient use ho sake wireless networks me data
transmission ke liye.
○ The communication channel is split into both time slots (for TDMA) and
frequency bands (for FDMA). This allows nodes to use both time and frequency
resources simultaneously.
○ By combining time and frequency division, the protocol efficiently utilizes both
time and frequency resources, reducing the likelihood of collisions and
improving network throughput.
🔋 Improved By using both time slots and frequency bands, the channel is utilized
Efficiency more efficiently, leading to higher throughput.
📉 Reduced The combination of time and frequency allocation reduces the chance of
Collisions collision between nodes, ensuring more reliable communication.
🔄 Better The hybrid approach allows for better flexibility in managing resources
Flexibility based on the traffic load and network conditions.
🔋 Energy If the protocol is not well-optimized, the energy required for managing
Consumption time slots and frequency bands can increase, which may affect the
battery life of sensor nodes.
○ The available channel is divided into time slots, and each node is assigned a
specific time slot during which it can transmit its data. The time slots are allocated
in a way that each node gets a turn to communicate without causing collisions.
○ In addition to time slots, the channel is also divided into multiple frequency
bands. Each node is assigned a specific frequency band for communication.
This prevents nodes from interfering with each other when transmitting data at
the same time.
○ The combination of time and frequency division results in each node being
assigned both a time slot and a frequency band. Nodes transmit their data
during their assigned time slot and frequency band, ensuring efficient and
collision-free communication.
🎯 Conclusion
Hybrid TDMA/FDMA combines the strengths of both Time Division and Frequency Division
techniques, providing a flexible, scalable, and efficient solution for communication in wireless
networks. By allocating both time slots and frequency bands, it ensures better resource
utilization, collision avoidance, and improved throughput.
This approach is especially beneficial for environments with high node density and complex
traffic patterns, where a single protocol might not be efficient enough.
____________________________________________________________________________
One of the key protocols used in IEEE 802.15.4 for medium access is CSMA (Carrier Sense
Multiple Access). This approach helps determine how nodes in a network access the shared
communication channel while avoiding collisions.
Let's break down CSMA-based MAC in IEEE 802.15.4 with English + Hinglish definitions,
real-life examples, key features, advantages, disadvantages, working principles, and
memory retention tips.
🔹 Definition
● English:
CSMA-based MAC in IEEE 802.15.4 refers to the use of the Carrier Sense Multiple
Access (CSMA) technique to manage access to the communication channel. In this
protocol, a node first senses the channel for activity. If the channel is idle, the node
transmits its data. If the channel is busy, the node waits for a random backoff period
before attempting again.
● Hinglish:
CSMA-based MAC IEEE 802.15.4 mein ek technique hai jisme node pehle carrier
sense karke channel ko dekhte hain. Agar channel idle hai, toh node apna data bhejta
hai. Agar channel busy hai, toh node random backoff time ke baad dubara
transmission try karta hai.
○ If the channel is busy, nodes wait for a random backoff period before
attempting to transmit again. This helps avoid collisions and reduces network
congestion.
○ IEEE 802.15.4 is designed for low power communication. CSMA helps minimize
the power consumed during channel sensing and transmission by allowing nodes
to sleep when the channel is idle.
🔄 Performance in In networks with high traffic or dense nodes, collisions can still
High Traffic occur, leading to delays and reduced performance.
⚠️ Hidden Node If two nodes cannot directly sense each other (i.e., they are outside
Problem each other's transmission range), they might try to transmit
simultaneously, leading to collisions.
○ Each node first senses the channel to determine whether the medium is idle or
busy. The node does this by checking if there is an ongoing transmission.
2. Transmission:
○ If the channel is idle, the node immediately starts sending data. It transmits the
data in small frames or packets.
○ If the channel is busy, the node waits for a random backoff period before
attempting to transmit again. This random wait time ensures that multiple nodes
do not transmit at the same time, avoiding collisions.
○ Example: If two nodes sense the channel is busy at the same time, they will wait
for a random amount of time before retrying. This minimizes the chance of them
retrying at the same time.
○ Once the channel is free, the node sends its data. The transmission continues
until all the data is sent or the time window expires.
🎯 Conclusion
CSMA-based MAC in IEEE 802.15.4 offers a simple yet efficient way to manage channel
access in low-rate wireless networks. By utilizing carrier sensing and a random backoff
mechanism, it ensures that nodes can access the channel without causing collisions, while
also minimizing power consumption. This makes it an ideal choice for low-power
applications like sensor networks and IoT devices.
While the protocol works well in low-density networks, it may face challenges in high-density
environments where collisions and network congestion can increase.