- Open Access
- Authors : Ankit Gaur , Rosy Verma
- Paper ID : IJERTV9IS050853
- Volume & Issue : Volume 09, Issue 05 (May 2020)
- Published (First Online): 05-06-2020
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
SPIN Protocol in Wireless Sensor Network
Department of Computer Science, CDAC, NOIDA,
New Delhi, India
2Ms. Rosy Verma
Department of Computer Science, CDAC, NOIDA,
New Delhi, India
Abstract—Wireless Sensor network has become the most researched area due to its huge importance in the area of IOT. In this technique the nodes sends only the useful information to the base station. This increase the communicational overhead and affects the networks lifetime. Since energy conservation is the key issue in WSN, proper data dissemination should be incorporated in order to save energy. The main aim is to route the data on the network in an energy efficient manner, so that network lifetime is enhanced. In this paper, we present Sensor Protocol for Information via Negotiation where both energy value of sensor node as well as hop count is considered for selection among the neighbor node to whom data is to be forwarded. Through this technique the data is send to all the nodes in the network. The issues focused here are minimizing of energy consumption and maximizing the network lifetime of the Wireless Sensor Network.
Keywords—Wireless Sensor Network, Flooding, LEACH, SPIN, ADV, REQ ,DATA
Wireless Sensor Network consists of sensor nodes which are scattered over a region for monitoring the various physical phenomena like temperature, humidity, vibrations and so on. The energy constraint problem which arises in wireless sensor network is solved by using SPIN protocol. Previously LEACH protocol was implemented, which communicate by forming cluster head of sensor nodes but it is not energy efficient as SPIN protocol is. So we are implementing SPIN protocol in wireless sensor network to reserve the energy of the sensor nodes and increase the lifetime of the network. Nodes can deplete due to defected batteries and environment factors and one node can damage the whole network. Node failure, node mobility and environmental obstructions can cause a high degree of mobility in WSN. WSN may have large number of sensor nodes. All nodes are not of same computation power and it provides Redundancy.
It transfers all the useful data only from each node to every node in the network assuming that all the nodes in the network are Base Station. SPIN node uses three types of messages for communication.
ADV- It is used to advertise new data.
REQ- REQ is used to receive the actual data.
DATA- DATA is the actual message itself.
Fig 1. Working of SPIN
Working of SPIN protocol
Node A starts by Advertising its data to the node B.
Node B responds by sending a request to the node A.
As soon as node B receives the request it sends the original data to its neighbor nodes and similarly the process goes on till all the nodes in the network receives the data.
This process continues till all the nodes receives the data.
ADVANTAGES OF SPIN
SPIN solves the problem of Implosion, Overlap and thus achieve a lot of energy efficiency.
Node A starts by flooding the data to its two neighbours
i.e B and C. These nodes store the data received from A and send a copy of it to their neighbor D. The protocol thus wastes energy and bandwidth by sending one extra copy of A to D.
Fig 2. Implosion
The sensor area of node A and node B are overlapping and the neighbour node of A and B are same therefore node C receives 2 copies of Y and energy is wasted.
Fig 3. Overlap
COMPONENTS OF WSN
Fig 4. Components of Sensor node
Sensing Unit:- Sensing units are made up of two units Sensor and ADC. ADC transforms Analog signal to Digital signal and transfer the information to the processing unit.
Processing Unit:- It processes the sensor nodes and store the information which is send by the sensing unit and then send it back to the transceiver.
Transceiver:- Transceiver connects the node to the network.
Power Unit:- Power Units consists of solar cells which sends the power to the whole network.
Power Generator:- It gives power to the whole WSN.
PROTOCOL STACK OF WSN
Fig 5. Protocol stack of WSN
Application layer:- Application layer uses many types of software which can be made and implement on this layer.
Transport layer:- It provide need in maintaining and processing of the data.
Network layer:- It provide routing of the data by end to end delivery layer.
Data link layer:- It uses the Mac protocol which can reduce collision with the other node.
Physical layer:- It is used for simple broadcasting and transmission techniques.
Power, Mobility and Task Management planes helps in coordinating Sensing data of the WSN and lowers the overall power consumption.
Sensor nodes has a limitation for power supply, as it is provided by the battery.
So we need to work in order to minimize the energy consumption of the sensor nodes.
DISADVANTAGES OF SPIN
The sending of data towards the sink node from the source node takes very long time.
If a node has more computation power then it will consume more energy as compared to other node in the network.
If a node is used many times then it will lose energy early then the other nodes in the network.
If a node is sitting idle then its energy will be reduced without transmission of data.
The Initial Phase: – I have read about my topic from the papers like IEEE, Springer etc which has helped me a lot to understand and implement my project.
The Implementation Phase: Matlab software will be used for the implementation of my project using SPIN algorithm.
The Testing Phase: At last we will conduct a analysis for the various network parameters.
Number of Nodes
Transmit Amplifier(E amp)
Initial Energy of Sensor node(Eo)
Control Message Size
Data Message Size
Table 1. Simulation parameters
An area of 100m*100m is taken where 100 sensor nodes are randomly distributed on it.
Graph of Live nodes verses No. of Round: This graph shows number of live nodes in the network.
3 Graph of Dead Node verses No. of Round: This graph shows Number of Dead nodes in the network.
Graph showing Residual Energy versus No of Rounds In ISPIN, SPIN, MSPIN, Flooding.
The paper entitled SPIN Protocol in Wireless Sensor Networks has been studied in detail. This paper contains introduction about the Wireless Sensor Network, SPIN protocol, components of WSN, Protocol Stack of WSN, basc concepts about WSN. This research mainly focuses on efficient routing algorithm in Wireless Sensor Network. The aim is to minimize the energy consumption of the sensor node and enhance the lifetime of the network. For this an efficient routing algorithm SPIN is proposed. In WSN, the routing protocols are used to increase the life cycle of the network and to decrease the consumption energy. The basis of our proposed protocol is the selection of minimum path by using minimum spanning tree concept to send the data from the source to the destination with minimum cost, minimum time and minimum path. To select the minimum path we have taken both residual energy and the hop count. The proposed protocol is implemented and compared with flooding. The proposed protocol shows a better performance in terms of residual energy and number of dead nodes.
Graph showing Dead nodes versus No of Rounds in ISPIN, SPIN, MSPIN, Flooding.
Q. Wang, D. Lin, and Z. Zhang, "An Energy-Efficient Compressive Sensing-Based Clustering Routing Protocol for WSN," in IEEE Sensors Journal, vol. 19, no. 10, pp. 3950-3960, 2019.
Jabbar S, Ahmad M, and Ahmad S.H, A Novel Energy-Aware Design for Clustered Wireless Sensor Networks, in Recent Trends and Advances in Wireless sensor Networks, pp. 119-127, 2019.
Y. Yuan, W. Liu, and H. Song, "Compressive Sensing-Based Clustering Joint Annular Routing Data Gathering Scheme for Wireless Sensor Networks," in IEEE Access, vol. 7, pp. 114639- 114658, 2019.
T. M. Behera, S. K. Mohapatra, and A. H. Gandomi, "Residual Energy-Based Cluster-Head Selection in WSN," in IEEE Internet of Things Journal, vol. 6, pp. 5132-5139, 2019.
N. Wang and J. Li, "Shortest Path Routing with Risk Control for Compromised Wireless Sensor Networks," in IEEE Access, vol. 7, pp. 19303-19311, 2019.
Y. Zhang, X. Zhang, and Y. Liu, "Energy-Efficient Multilevel Heterogeneous Routing Protocol for Wireless Sensor Networks," in IEEE Access, vol. 7, pp. 55873-55884, 2019.
Kulik, J., Heinzelman, W. & Balakrishnan, H. Negotiation-Based Protocols for Disseminating Information in Wireless Sensor Networks, in IEEE Communication Magazine, pp. 169185, 2002.
Z. Rehena, S. Roy and N. Mukherjee, "A Modified SPIN for Wireless Sensor Networks," Third International Conference on Communication Systems and Networks, pp. 1-4, 2011.
Luwei Jing, Feng Liu and Yuling Li, "Energy Saving Routing Algorithm based on SPIN Protocol in WSN," International Conference on Image Analysis and Signal Processing, pp. 416-419, 2011.
Akyildiz,I.F.; Weilian Su; Sankarasubramaniam,Y.; Cayirci,E., A Survey on Sensor Networks, A survey on sensor networks, Communications Magazine, IEEE Volume: 40 , Issue: 8 , 2002.