Rohit Buramvar Acn
Rohit Buramvar Acn
No F-294
A PROJECT REPORT
SUBMITTED BY:
Rohit Buramwar (2215430016)
Date:
It is our great pleasure to present this project report with all our efforts to
fulfill it in all aspects.
We would like to thank our Project Guide Miss. Aarti Vaidya H.O.D,
Department of Computer Engineering for her valuable guidance and all his
support.
We would like to thank Mr. Shrikant Goje Principal of our institute for
motivation and inspiration.
Lastly we would like to thank all the group members who took great efforts
and worked hard to complete it.
Sr.
Particulars Page Number
No.
3 Abstraction 3
4 Introduction 4
5 conclusion 5
6 Reference 6
7
7
TEACHER EVALUATION SHEET FOR MICRO-PROJECT
NAME OF STUDENT:
Marks:
Sr. Dated
Date Activity performed Remarks by
No. Signature
Project Guide
Project
Guide
9 THEN I CHECKED my
micro –project from the
Miss. Aarti Vaidya
10 Make a corrections in
project Report
Rohit Buramwar(2215430016)
Coordinator: The central node of the network, responsible for network formation,
managing devices, and routing data.
Router: Devices that extend the range of the network by relaying data between devices
and the coordinator.
End Devices: Devices that communicate with the coordinator or routers but do not relay
data for other devices, often battery-powered.
A Zigbee network is known for its reliability, low power consumption, and ease of
expansion, making it ideal for applications such as smart homes and industrial
automation.
INTRODUCTION
Zigbee is used for wireless personal area network (PAN). It support thousands of nodes in
each PAN. Zigbee devices work with low power. So energy consumption is less and
battery life is more. Zigbee technology used in many applications, such as industry,
medical applications, residential.
In this experiment, we will learn the simulation of star topology in zigbee network and
study how energy consumption vary with beacon order for different superframe order.
ZigBee Technology used in many applications [v]. Some of them are described below:
• ZigBee technology is programmed in a chip form and that chip is used in many
devices to function automatically. For example controlling and monitoring a whole
factory unit while sitting in one cabin is possible by using ZigBee technology.
• Building automation
• Consumer electronics
• Automatic meter reading
• Home automation
• Managing health care system
• Retail management
• Telecommunications
Network Topologies
A Low rate WPAN supports three different types of topologies
Star Topology
Peer-to-Peer Topology
Cluster Tree/Mesh Topology
Star Topology
In the star topology, the PAN coordinator have the primary control. In this topology
devices monitore their application and report it to the coordinator.The Figure-01 shows star
topology.
Peer-to-Peer Topology
The peer-to peer topology has a PAN coordinator and any device can communicate with
any other device.This topology allows more complex network formations.Figure-02 shows
peer-to-peer topology.
Figure-02: Peer-to-peer topology
In the above figure the possible communication scenarios are between node-to-node, node-
to-coordinator, coordinator-to-node. As is evident if two devices need to transfer data, both
have to be full function devices. A peer-to-peer network can be ad-hoc, self-organizing and
self-healing.
Cluster-Tree Topology
In cluster tree topology several small clusters are present and are able to communicate
peer-to-peer and can be controlled with a PAN coordinator. Each cluster can have its own
coordinator and the coordinators can communicate with the PAN Coordinator. We can
choose a PAN coordinator among several existing clusters. Fig ure-03 shows cluster-tree
topology.
IEEE 802.15.4 consists of PHY and the MAC layers [vi]. The upper layers are left for
application developers.
The PHY layer is responsible for activation and deactivation of the radio transceiver, ED,
LQI, channel selection, clear channel assessment (CCA), and transmitting as well as
receiving packets across the physical medium. Similarly, the MAC layer is responsible for
beacon management, channel access, guaranteed time slots (GTS) management, frame
validation, acknowledged frame delivery, association, and disassociations
The superframe structure [vi] is determined by the coordinator. IEEE 802.15.4 networks
are able to operate in two different modes of operation
Beacon mode or
Non beacon mode
In beacon mode, the coordinator sends out periodic packets or beacons. The purpose of this
is to enable all nodes to sleep between beacons and wake up when the beacon timer
expires, ready to receive the beacon
from the coordinator. The superframe structure is only applicable in beacon mode
networks. In non beacon networks the superframe structure is disabled and nodes
contend for channel access by CSMA/CA.
Contention Access Period: It is the time duration in symbols during which the devices can
compete with each other to access the channel using CSMA-CA and transmit the data.
Inactive Period: It is the time period during which the coordinator would not interact with
the PAN. Therefore, there will be no beacon transmissions. So the devices go to sleep
mode in this duration.
Superframe Duration: The total time duration of the CAP, CFP (GTS) and a Beacon. The
superframe duration doesn’t include the inactive period.
Nodes Configuration
The above command turned on the node as a device or a coordinator, if some of the
parameter is neglected than the rest of parameters will get set by default variable as defined
above.
Example:
Energy Model
At the beginning of the simulation the node has an initial energy. This is known as
initialEnergy [vii]. Energy is consumed when a node receives or transmits a packet. This
energy are called rxPower and txPower.
The basic energy model is defined by class Energy Model as shown below:
The class variable energy_ represents the level of energy in the node at any given time. The
constructor EnergyModel(energy) requires the initial-energy to be passed along as a
parameter. The other class methods are used to decrease the energy level of the node for
every packet transmitted ( DecrTxEnergy(txtime, P_tx)) and every packet received
DecrRcvEnergy (rcvtime, P_rcv)) by the node. P_tx and P_rcv are the transmitting and
receiving power (respectively) required by the node’s interface or PHY. At the beginning
of simulation, energy_ is set to initialEnergy_ which is then decremented for every
transmission and reception of packets at the node. When the energy level at the node goes
down to zero, no more packets can be received or transmitted by the node.
CONCLUSION
ZigBee is a IEEE 802.15.4 based, low power, low data rate, low cost, long battery
lifesupporting wireless networking standard, which is mainly used for two-way
communicationbetween sensors and control systems. It is a short-range communication
standard likeBluetooth and Wi-Fi, covering a range of 10 to 100 metres; however, it differs
fromBluetooth and Wi-Fi in their high data rate communications standard. The ZigBee has
threedifferent devices: coordinator, routers, and end devices, where each of these
components hasits own function in the ZigBee’s topology. For the coordinator, it is the
most indispensabledevice locates at the origin of the system but, the routers get messages
from the coordinatorto store them until their end devices are in a situation to get them,
while the end device
Reference:
https://www.javatpoint.com/computer-network-tutorial
https://www.amrita.edu/course/advanced-computer-networks/
https://www.digi.com/solutions/by-technology/zigbee-wireless-standard
https://www.techtarget.com/iotagenda/definition/ZigBee