 Research
 Open access
 Published:
A maximum likelihood routing algorithm for smart grid wireless network
EURASIP Journal on Wireless Communications and Networking volumeÂ 2014, ArticleÂ number:Â 75 (2014)
Abstract
A maximum likelihood routing algorithm for smart grid wireless networks is proposed in this paper. It is designed to select the meters as relays in smart grid wireless networks and to calculate the probability of being selected based on the battery levels and the transmission distances. After describing the applied environment, the routing principle and the system model are explained in details. Finally, the proposed algorithm is compared with other two simple methods: a random method and a maximum method. The comparison results show that the maximum likelihood method can extend the lifetime of smart grid wireless network.
1 Introduction
Smart grid (SG) is the nextgeneration electric power system. One of its important features is the integration of communication networks, and its advanced communication abilities can increase the efficiency of the system, save energy consumption, and improve the reliability of services [1]. Due to the unique deployed environment and other characteristics of SG, the routing protocol is a critical problem in the design of its communication networks [2].
A comprehensive survey of routing protocols was provided in [3] and it focused on two different network components of the smart grid communication infrastructure, namely, home area networks (HANs) and neighborhood area networks (NANs). The protocols for HANs are categorized based on the underlying network using wireless communication, power line communications (PLC), or a combination of these. Their design, cost, and performance are affected by the underlying MAC protocols. In addition to the underlying communication used for routing, the application requirements are used as another criteria to classify the routing protocols for NANs, including reliability, security, and QoS. The most challenging application of smart grid utilizing NANs is the advanced metering infrastructure (AMI) application, and the routing protocols designed for this type of application have attracted wide attention from the research community. IETF proposed the IPv6 Routing Protocol for low power and lossy networks (PRL) in 2008 and completed its standardization recently in March 2012 [2]. The new release has been designed to meet the requirements of typical AMI application [4]. RPL organizes the network topology into a directed acyclic graph (DAG) structure and utilize two mechanisms for DAG repairs: one is global repair and the other is local repair. The performance of the local repair mechanism in smart grid was presented in [5]. Another performance evaluations of PRL in [6] indicates that RPL nodes may suffer from severe unreliability problems. The basic RPL was enhanced in [7] by applying the expected transmission time (ETX) as the link metric to construct and maintain the DAG.
The remaining of this paper is organized as follows. Section 2 describes the applied environment of the proposed algorithm. Routing principles are enumerated in Section 3, and system model is presented in Section 4. The simulation of the proposed algorithm is presented in Section 5 and Section 6 with its flow diagram and results analysis. Finally, Section 7 concludes the paper.
2 Application environment
The routing algorithms is designed for the SG wireless network using radio frequency (RF) mesh, which is more energy efficient than a singlehop network for the same distance due to the attenuation of RF signals [8]. Energy efficiency on wireless and sensor networks has been extensively studied (for example, [9â€“12]). In this paper, we focus on energy efficiency in smart grid wireless network using a new routing algorithm.
Specifically, the SG wireless network considered in this paper is deployed in the area consist of several specific districts. Within every district, there are a number of homes H_{ i } (i>0) and one base station H_{0}. Smaller i means that H_{ i } is nearer to the base station. Each home H_{ i } has a few batteryoperated meters M_{i a} used respectively for gas, water, electricity, and so on.
Each meter acts as a wireless transmitter/relay node and transmits its readings to others via RF. The reading of all the meters at H_{ i } should be transmitted locally to a selected relay meter M_{i a} at H_{ i } first, then appended with the packets of readings transmitted from H_{i+1}, all the local readings at H_{ i } is transmitted from M_{i a} to another selected relay meter M_{(i1)b} at H_{i1}. Finally, the readings of all the meters within the same district are accumulated at H_{1} and then transmitted to the base station H_{0}. The transmission of packets consumes energy, and a meter will not be selected as a relay if it is estimated to be out of battery after the transmission. When a home has no selected relay meter, the routing process will be terminated.
3 Routing principle
The algorithm proposed in this paper uses maximum likelihood approach, and its goal is to balance the energy consumption for every meter to extend the lifetime of SG as long as possible.
As described in Section 2, the selected relay meters are responsible for receiving and transmitting the readings, so routing in a district is a process of selecting the relay meters for each home. Specifically, the meter with highest probability among all the meters at the same home is selected as the relay, and the probability is the product of three sigmoid functions calculated based on different criteria. One is the battery level of each meter and the other is the transmission distance between two meters which determines the energy consumption for RF communication of a specific system. The following are the basic principles of this algorithm:

1.
A meter M _{i b} has a higher probability f B _{i b} if its battery level is higher.

2.
A meter M _{i b} has a higher probability f D _{i ab} if the distance from relay meter at H _{i+1} to M _{i b} at H _{ i } is shorter.

3.
A meter M _{i b} has a higher probability f T _{i b} if the average transmission distance from relay meter M _{i b} at H _{ i } to every meter at H _{i1} is shorter.

4.
The probability f _{i b} of a meter M _{i b} to be selected is f _{i b}= f B _{i b}âˆ—f D _{i ab}âˆ—f T _{i b}.

5.
A meter M _{i b} is selected as a relay when its f _{i b} is maximum among all the candidate meters at H _{ i }.

6.
A meter M _{i b} can be a candidate meter if the energy consumed for transmission from M _{(i+1)a} to M _{i b} is smaller than B _{(i+1)a}, and all the other meters at H _{ i } have enough energy for local reading transmission.

7.
Once there is no more candidate meter at any one of the homes, the routing process will terminate and the SG wireless network will stop working.
4 System model
The algorithm uses a model proposed in [13] to calculate the energy consumption. In this model, the total average power consumption along the signal path has two main components: the power consumption of all the power amplifiers P_{PA} and the power consumption of all other circuit blocks P_{c}. P_{PA} depends on the transmit power P_{out}, which is calculated based on a squarelaw path loss model, and P_{c} is estimated using the model introduced in [14]. The total average energy consumption per bit E_{bt} for a fixedrate R_{bt} system can be calculated as
For a specific smart grid network, the values of all the parameters used in the model except d are the same for all the meters. And, the number S of bits encoded in a packet is also fixed for every home. So the relation between the total energy consumption E to transmit a packet and the transmission distance d can be simplified as
According to (2), we can obtain that the total energy consumption for any meter at a home is linearly related to the square of the transmission distance. Thus, the argument x of the sigmoid functions to calculate the probability f D_{i ab} and f T_{i ab} is the normalized square of the transmission distance.
The probability f B_{i b} is calculated by the sigmoid function with the normalized battery level as its argument x.
5 Simulation diagram
To simulate the proposed routing algorithm, the metersâ€™ battery levels B_{ i j } and their positions P_{i a} are first initialized using normal distribution and discrete uniform distribution, respectively. Then, the transmission distance between every 2 m at different homes are calculated. After initialization, the probability f_{i b} to be selected for each meter can be generated with the normalized battery levels and transmission distances. The detailed routing process of the SG is clarified in the following flow diagram.
6 Simulation result
The topology of a district for one simulation is shown in Figure 1. The interval between every two homes is set to 25 m and the base station is located at the original point. The blue points represent the meters which are circled with a red square if they belong to the same home. For one simulation, there were six homes within the district and every home had 3 m.
Figure 2 shows the battery variation trend for every meter during one simulation of the proposed routing algorithm from the last 25th lifetime cycle. Every subfigure represents a home with 3 meters plotted using lines in different styles. The last lifetime index is 1,019 and the battery level is plotted by red dots in the first subfigure. Therefore, for the simulation shown in the figure, 1,019 packets of readings collected from all the six homes can be sent to the base station before the routing process terminates at H_{1}.
The proposed algorithm is compared with two simple methods to evaluate its performance: one is a simple random selection process and the other selects the meter with maximum battery level as a relay. All the three methods are simulated with 1,000 groups of different battery and position initializations. The lifetimes of the proposed algorithm and the random method shown in Figure 3 indicate that the proposed algorithm has longer lifetime than the random method for all the groups. To compare with the maximum method, the differences between their lifetimes are plotted in Figure 4. It shows that the proposed algorithm has longer lifetime than the maximum one for most groups. Even though the maximum oneâ€™s lifetimes are occasionally longer, the increment is very small.
The variation trends of the battery level for one group routing by different methods are shown in Figure 5. For that group, the routing process of the proposed algorithms is terminated at H_{1}, while the maximum one is terminated at H_{3}. The proposed algorithms can transmit 56 more packets than the maximum one.
7 Conclusion
We proposed a maximum likelihood routing algorithm by taking consideration of the battery level and the transmission distance. Compared to two other approaches, random selection process and maximum battery level selection approach, our proposed maximum likelihood algorithms can extend the lifetime of SG by balance the energy consumption of the meters.
Abbreviations
 Bia:

Battery level of M_{i a}
 Diab:

Distance from M_{(i+1)a} at H_{i+1} to M_{ i b } at H_{ i }
 H0:

Base station
 Eiab:

Energy consumed related to the transmission distance D_{i ab}
 f Bia:

Probability to select M_{i a} based on its battery level B_{i a}
 f Diab:

Probability to be selected of meter M_{i b} based on the square of D_{i ab}
 fib:

Probability to be selected of meter M_{i b} at H_{ i }
 f Tib:

Probability to be selected of meter M_{i b} based on the square of T_{i b}
 Gt:

Transmitter antenna gain
 Gr:

Receiver antenna gain
 Hi:

The i th home located uniformly from the base station H_{0}, and smaller i means H_{ i } is nearer to the base station
 Mia:

Meters at H_{ i }
 Ml:

Link margin compensating the hardware process variations and other additive background noise or interference
 Mt:

Number of transmitter antennas
 Nf:

Receiver noise figure
 N0:

Singlesided thermal noise PSD at room temperature
 Nr:

PSD of the total effective noise at the receiver input
 PC:

Power consumption of all other circuit blocks
 PPA:

Power consumption of all the power amplifiers
 Pout:

Transmit power
 Rb:

Bit rate
 S:

Number of bits encoded in a packet
 Î»:

Carrier wavelength.
References
Sabbah AI, ElMougy A, Ibnkahla M: A survey of networking challenges and routing protocols in smart grids. IEEE Trans. Ind. Inform 2014, 10(1):210221.
Winter T, Thubert P, Brandt A, Hui J, Kelsey R, Levis P, Pister K, Struik R, Vasseur J, Alexander R: RPL: IPv6 routing protocol for lowpower and lossy networks. RFC 6550, Available at . Accessed March 2012 http://www.ietf.org/rfc/rfc6550.txt RFC 6550, Available at . Accessed March 2012
Saputro N, Akkaya K, Uludag S: A survey of routing protocols for smart grid communications. Comput. Network 2012, 56(11):27422771. 10.1016/j.comnet.2012.03.027
Ancillotti E, Bruno R, Conti M: The role of the RPL routing protocol for smart grid communications. IEEE Comm. Mag 2013, 51(1):7583.
Tripathi J, de Oliveira J, Vasseur J: Applicability study of rpl with local repair in smart grid substation networks. In 2010 First IEEE International Conference on Smart Grid Communications (SmartGridComm). IEEE; 2010:262267.
Ancillotti E, Bruno R, Conti M: RPL routing protocol in advanced metering infrastructures: an analysis of the unreliability problems. In Sustainable Internet and ICT for Sustainability (SustainIT), 2012. IEEE; 2012:110.
Wang D, Tao Z, Zhang J, Abouzeid AA: RPL based routing for advanced metering infrastructure in smart grid. In 2010 IEEE International Conference on Communications Workshops (ICC). IEEE; 2010:16.
Zhao F, Guibas LJ: Wireless Sensor Networks: an Information Processing Approach. Morgan Kaufmann; 2004.
Liang Q, Wang L, Ren Q: Faulttolerant and energy efficient crosslayer design for wireless sensor networks. IEEE Comm. Mag 2007, 2(3):248257.
Liang Q: Designing power aware selfreconfiguring topology for mobile wireless personal area networks using fuzzy logic. IEEE Trans. Syst. Man Cybern. C Appl. Rev 2003, 33(3):390394. 10.1109/TSMCC.2003.817356
Liang, Q: A design methodology for wireless personal area networks with power efficiency. In Wireless Communications and Networking, 2003. WCNC 2003. IEEE; 2003:14751480.
Ren Q, Liang Q: Throughput and energyefficiencyaware protocol for ultrawideband communication in wireless sensor networks: a crosslayer approach. IEEE Trans. Mobile Comput 2008, 7(6):805816.
Cui S, Goldsmith AJ, Bahai A: Energyefficiency of MIMO and cooperative MIMO techniques in sensor networks. IEEE J. Sel. Area Comm 2004, 22(6):10891098. 10.1109/JSAC.2004.830916
Cui S, Goldsmith AJ, Bahai A: Energyconstrained modulation optimization. IEEE Trans. Wireless Comm 2005, 4(5):23492360.
Acknowledgements
This work was supported in part by US Office of Naval Research under Grants N000141310043, N000141110865, US National Science Foundation under Grants CNS1247848, CNS1116749, and CNS0964713, and National Science Foundation of China (NSFC) under Grant 61372097.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authorsâ€™ original submitted files for images
Below are the links to the authorsâ€™ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0), which permits use, duplication, adaptation, distribution, and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Li, X., Liang, Q. & Lau, F.C. A maximum likelihood routing algorithm for smart grid wireless network. J Wireless Com Network 2014, 75 (2014). https://doi.org/10.1186/16871499201475
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/16871499201475