1
The Web Sensor
Gateway Architecture
for ZIGBEE
Milan Ganesh
[1JS07EC054]
 ZigBee is the set of specs built around the IEEE
802.15.4 wireless protocol
 Intended for 2.45 Ghz , 868 Mhz and 915 Mhz Band.
 Low in cost ,complexity & power consumption as
compared to competing technologies.
 Intended to network inexpensive devices .
 Data rates touch 250Kbps for 2.45Ghz ,40 Kbps
915Mhz and 20Kbps for 868Mhz band.
2
 Standard in a fragmented market
Many proprietary solutions, interoperability issues
 Simple protocol, Global Implementation 2.4GHz
 Low Power consumption
6 months to more than 5 years battery life for most applications
 Low Cost
 High density of nodes per network
250 nodes per network, multiple co-located networks
 Data rate requirements
Few bits to 250kbps sufficient
November 9, 2022 4
868MHz /
915MHz
PHY
2.4 GHz
868.3 MHz
Channel 0
Channels 1-10
Channels 11-26
2.4835 GHz
928 MHz
902 MHz
5 MHz
2 MHz
2.4GHz
PHY
ISM Worldwide 250 kbps 16
2.4 GHz
ISM Europe 20 kbps 1
868 MHz
ISM America 40 kbps 10
915 MHz
BAND COVERAGE DATA RATE # OF CHANNEL(S)
Bluetooth ZigBee
AIR INTERFACE FHSS DSSS
PROTOCOL STACK 250KB 28KB
BATTERY rechargeable non-rechargeable
DEVICES/NETWORK 8 2^16
LINK RATE 1Mbps 250 kbps
RANGE ~10 meters ~30 meters
w/o power amp w/o power amp
7
Participants
Promoters
www.zigbee.org
 Gateway : Network point that acts as an entrance to
another network.
 Basic functionalities :
a) query-distribution
b) data-aggregation
c) message-conversion
 Internet provides flexibility and convenience of access
9
 Configure IP approach
 Internet over WSN approach
 WSN over Internet approach
10
 Connecting Heterogeneous Networks
 Web-Sensor Gateway Architecture
 Control and Data Exchange Process
11
12
Connecting Heterogeneous Networks
Gateway consists of three parts:
 Zigbee/IEEE802.15.4 protocol stack
 Embedded TCP/IP protocol stack
 gateway translation layer
13
14
 Initialize embedded web-server
 Client creates socket and initializes
 Establish connection
 Three way Handshake
 Send request
 Request_to_Send
 Retrieve result
 Response_to_Request
 Connection termination
15
16
 Setting event flags
 Event polling
17
18
 Node Model in OPNET
 Process Model in OPNET
19
Two Models for Gateway
 Set of interconnected modules
 Gateway translation layer module
◦ Connects web-server application layer and zigbee AP
application layer
◦ Interface between wired network and wireless network
20
November 9, 2022
Narayana Swamy 21
 The packet translation process details are described
further in a process model.
 In OPNET, the process domain defines the logic flow
and behavior for programmable module,
22
23
init test
extract_ip
extract_zb
PACKET_IS_IPV4
PACKET_IS_ZIGBEE
encap_to_zb
encap_to_ip
PACKET_IS_IPV4
PACKET_IS_ZIGBEE
idle
default
State Transition Diagram
PERSONAL
HEALTH CARE
HOME
AUTOMATION
CONSUMER
ELECTRONICS
TV VCR
DVD/CD
Remote
control
security
HVAC
lighting
closures
PC &
PERIPHERALS
consoles
portables
educational TOYS &
GAMES
INDUSTRIAL &
COMMERCIAL
monitors
sensors
automation
control
mouse
keyboard
joystick
monitors
diagnostics
sensors
26

zigbee.pptx