Next Article in Journal
Multi-Sensor Building Fire Alarm System with Information Fusion Technology Based on D-S Evidence Theory
Next Article in Special Issue
Fusion of Multiple Pyroelectric Characteristics for Human Body Identification
Previous Article in Journal
Power Cable Fault Recognition Based on an Annealed Chaotic Competitive Learning Network
Previous Article in Special Issue
Algorithm Based on Heuristic Strategy to Infer Lossy Links in Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A CR Spectrum Allocation Algorithm in Smart Grid Wireless Sensor Network

State Key Laboratory of Power Transmission Equipment & System Security and New Technology, Chongqing University, Chongqing 400044, China
*
Author to whom correspondence should be addressed.
Algorithms 2014, 7(4), 510-522; https://0-doi-org.brum.beds.ac.uk/10.3390/a7040510
Submission received: 7 May 2014 / Revised: 21 September 2014 / Accepted: 23 September 2014 / Published: 13 October 2014
(This article belongs to the Special Issue Algorithms for Wireless Sensor Networks)

Abstract

:
Cognitive radio (CR) method was introduced in smart grid communication systems to resolve potential maladies such as the coexistence of heterogeneous networks, overloaded data flow, diversity in data structures, and unstable quality of service (QOS). In this paper, a cognitive spectrum allocation algorithm based on non-cooperative game theory is proposed. The CR spectrum allocation model was developed by modifying the traditional game model via the insertion of a time variable and a critical function. The computing simulation result shows that the improved spectrum allocation algorithm can achieve stable spectrum allocation strategies and avoid the appearance of multi-Nash equilibrium at the expense of certain sacrifices in the system utility. It is suitable for application in distributed cognitive networks in power grids, thus contributing to the improvement of the isomerism and data capacity of power communication systems.

1. Introduction

The next generation of electrical power grids is known as Smart Grid [1], which is characterized by high security, intellectuality, autonomy, and efficiency. To achieve intellectuality and autonomy in Smart Grids, an integrated, high-speed communication system with a real time two-way transmission network is crucial [2]. As shown in Figure 1, the communication system of the Smart Grid is a three-layer architecture, which includes home area network (HAN), neighborhood area network (NAN), and wide area network (WAN), respectively.
Figure 1. Three-layer architecture of the Smart Grid communication system.
Figure 1. Three-layer architecture of the Smart Grid communication system.
Algorithms 07 00510 g001
At present, the wire transmission method remains widely used in NAN and WAN communication systems because of the method’s wide transmission range and outstanding transmission reliability [3]. However, with the increase in the demand for automatic distribution networks and smart work environments, the wireless sensor network would gain more attention depending on its speedy deployment, lower cost, and excellent expansibility in HAN. The IEEE 802.15.4g suggested that a home area network can utilize a 900 MHz frequency band as its wireless channel [4]. However, with the growing number of existing wireless sensors, this working band will become increasingly crowded. Thus, cognitive radio (CR) has been regarded as an effective solution for extending the utilization of wireless spectrum resources [5]. CR technology dynamically changes the transmission frequency of the transceivers by sensing the variations in the ambient environment. Therefore, a CR user can communicate with a gateway and other users through the free primary channel at a different frequency [6].
In CR technology, the allocation of licensed free channels to unlicensed users is a primary concern. Recently, a competitive method is proposed to solve this problem. That is, the users should contend for the limited free licensed transmission channels based on the needful target. This idea resembles game theory in mathematics [7]. Hence, the application of game theory used in the spectrum allocation model is proposed. In [8], Lu et al. have introduced a CR spectrum allocation algorithm based on the potential game theory. In this algorithm, potential function is used to achieve the optimization of the spectrum allocation problem. In [9], a CR spectrum allocation model based on prisoner’s dilemma has been proposed to analyze the spectrum sharing problem in competing channels. Additionally, the literature [10] has analyzed the performance of the CR spectrum allocation algorithm based on non-cooperative game theory. However, both these existing algorithms have calculated without the multi-Nash equilibrium, which may cause misconvergence in the CR network. In this article, a modified CR spectrum allocation algorithm based on Teng et al. non-cooperative game theory in Reference [10] will be proposed. Subsequently, a micro smart grid spectrum allocation model will be built. The computing simulation consequence by testing software is used to demonstrate that this modified algorithm can achieve stable spectrum allocation strategies and avoid the appearance of multi-Nash equilibrium at the expense of certain sacrifices in the system utility in the smart grid communication system.

2. Theoretical Analysis

2.1. CR Spectrum Allocation

In CR spectrum allocation, the gateway allocates free channels to secondary users by the allocation algorithm [11]. At present, the patterns of CR spectrum allocation can be divided into three categories [12], as shown in Figure 2.
Figure 2. Three categories of cognitive radio (CR) spectrum allocation pattern.
Figure 2. Three categories of cognitive radio (CR) spectrum allocation pattern.
Algorithms 07 00510 g002
Different patterns of CR spectrum allocation techniques may be incorporated in the same network in practical applications to make the data transmission more efficient and reliable. At present, two CR spectrum allocation models have been primarily used: the model based on graph theory [13] and the model based on auction theory [14]. However, when CR is used in the smart grid, these two conventional models may not match because the smart grid communication system requires a high transmission rate and rapid time varying network environment to meet the huge amount of data that was generated during the power exchange and transmission. In this case, a new spectrum allocation model for use in a smart grid communication system is necessary [15]. Thus, this paper introduced a new CR spectrum allocation model based on non-cooperative game theory.

2.2. Game Theory

In mathematics, game theory focuses on the interaction of the strategic decisions made by multiple participants. Given that a decision of one participant may affect others’ decisions or be affected by others’ decisions, game theory is thus used to determine a set of strategies that can maximize the total benefits of participants [16]. This topic has been used in many different areas such as military, economics, and politics [17]. From another angle, game theory can be seen as a tool in terms of transforming actual optimization problems into mathematical situation.

3. System Model

In CR communication, transceivers can dynamically modify their transmission parameters to operate in a different frequency band [18]. Thus, CR can improve the utilization of useless bands and facilitate the coexistence and cooperation among heterogeneous networks.
In a home area network, CR spectrum allocation will be activated when HAN authorization frequency bands are saturated. Thus, the gateway must detect the ambient environment to find other free bands to employ [18]. Commonly, the free bands that are found are unauthorized channels for CR users. In this paper, the process that the secondary users of HAN employ in these free bands via competition can be abstracted into a mathematical model using game theory, in which participants are the CR users (such as meter, sensor) in HAN, the strategy is to compete for the free channel, and utility refers to maximizing the communication quality and reducing the interference. As such, the CR spectrum allocation problem can be expressed as follows:
= { N , { S i } i N , { U i } i N }
Where N is the set of participants, which in this model pertains to CR users; Si is the set of strategies of user i, and Ui is the set of utility functions.
In game theory, optimal solutions are commonly obtained by computing for the NASH equilibrium [19], which can be expressed as:
When a participant’s strategic set S = {S1, S2 ... SN}, satisfies the boundary condition
U i ( S ) U i ( S i , S i ) , i N , S i S
Where Si′ is the strategy of the ith participant, S−i is the strategy of other participants. Then, S can be defined as a NASH equilibrium solution.
Assuming N CR users in a HAN, which has K available free unlicensed channels, where K < N. Then the ith user’s utility function can be expressed as:
U i ( S i , S i ) = j = 1 , j i N P j G j i I ( S j , S i ) j = 1 , j i N P i G i j I ( S i , S j )
Where Pi is the ith user’s transmission power, Gij is the transmission loss between user i and j, and I(Si, Sj) is the interference function between user i and j, which is defined as follows:
I ( S i , S j ) = { 1        S i = S j 0        S i S j
Equation (3) consists of two parts: the former part, expressed by U1, indicates the ith user’s interference caused by other users in the corresponding channel; the latter part, expressed by U2, indicates the interference caused by the user i. Thus, Equation (3) can be simplified as
U i ( S i , S i ) = U 1 + U 2
where
U 1 = j = 1 , j i N P j G j i I ( S j , S i )
and
U 2 = j = 1 , j i N P i G i j I ( S i , S j )
As the cognitive users select the spectrum strategies only to maximize their own utility, there is probability that multi-Nash equilibrium [20] exists, and the spectrum allocation algorithm cannot achieve the stable convergence. Considering the actual situation of HAN, in order to deal with the multi-Nash equilibrium problem of non-cooperative game based spectrum allocation in CR networks, the variation of utility of cognitive users is used to judge the stability after several iterations, and design an improved non-cooperative spectrum allocation algorithm. When the system achieves stable convergence, the gradient of the utility function should level off to 0. Thus, the modified utility function can be expressed as:
U i t ( S i t , S i t ) = j = 1 , j i N P j t G j i I ( S j t , S i t ) j = 1 , j i N P i t G i j I ( S i t , S j t ) 1 t k k = 1 t k U i t t k ( S i t t k , S i t t k )
Where tk refers to the kth timeslot. The above formula is composed of three parts: the former part, expressed by U1′, indicates the ith user’s interference caused by other users in the corresponding channel in iteration time t; the middle part, expressed by U2′, indicates the interference caused by the user i in iteration time t; and the latter part indicates the average utility in a timeslot and expressed by U3′. Thus, Equation (8) can be simplified as
U i t ( S i t , S i t ) = U 1 ' + U 2 ' + U 3 '
By substituting Equation (4) into Equation (8), it can be found that the minimum value of Uit(Sit, St−i) is 0, and according to the theorems in [10], it is clear that:
(1)
The set of participants, which means the set of CR users, is a finite set;
(2)
The set of strategies of each user is a bounded set;
So the existence of the Nash equilibrium is proven in this proposed model. Furthermore, in the proposed algorithm, when the strategic profile (Si, S-i) satisfies the boundary conditions:
( S i * , S i * ) = argmax U i t ( S i t , S i t )
and
U i t ( S i t , S i t ) 0
According to the theorem 2 in [21], for σ i , σ j S and ( 0 , 1 ) , when the utility functions meet:
U [ σ i + ( 1 ) σ j , σ i ] > min [ U ( σ i , σ i ) , U ( σ j , σ i ) ]
It can be said that the utility function U i t ( S i t , S i t ) is strictly quasi-concave. Then, based on theorem 3 in [21], when the utility functions of players are strictly quasi-concave, the equilibrium of proper mixed strategies is stable. Afterwards, the system achieves stable convergence.
The training process of the proposed algorithm is shown in Figure 3.
Figure 3. Algorithm flow chart.
Figure 3. Algorithm flow chart.
Algorithms 07 00510 g003
To minimize the system interference, signal to interference ratio is likewise necessary to measure the interference, which is expressed as:
S I R i j = P i G i j k = 1 , k i N P k G k j I ( S k , S j )

4. Simulation

Based on the above CR spectrum allocation model of HAN, a corresponding simulation is implemented in this section. Furthermore, the commonly used spectrum allocation method in [10] is used as a comparison to provide a more intuitive explanation of the stable convergence.
As shown in Figure 4, assuming HAN has covered a rectangular region measuring 100 m × 100 m, the central red star represents the gateway of HAN, and 15 secondary users (CR terminal) are randomly distributed in the rectangular area. Each user employs self-adaption modulation to communicate, and one user can only use one channel for transmission at any given time. Four, six and eight free CR channels, respectively, that are licensed by 750 MHz TV band are available for gateway allocation, assuming that the ability for receiving signal is equal for all CR users.
Figure 4. Simulative HAN with random distributed users.
Figure 4. Simulative HAN with random distributed users.
Algorithms 07 00510 g004
The following Table 1 shows the simulative parameters of the simulation:
Table 1. Simulative parameters.
Table 1. Simulative parameters.
Primary channel source750 MHz TV band
Number of free channels4, 6, 8
Number of CR users15
Coverage100 m × 100 m
Number of iterations50
After initialization, the initial transmission efficiency of each user is calculated by:
k = log 2 ( 1 + K τ i )
Where τ i is the SNR value of ith user and K is a constant given by
K = 1.5 ln ( 0.2 / B E R t a r )
In Equation (15), BERtar is the objective bit error rate, which can be expressed as
B E R t a r = 0.2 exp ( 1.5 τ i 2 k 1 )
In the proposed model, the threshold value of the target bit error rate was set at 10−3. Thus, the initial transmission efficiency of the 15 CR users is shown in Figure 5.
In Figure 5, the horizontal coordinates signifies the index of 15 CR users, whereas the vertical coordinates signifies the transmission efficiency. After obtaining the results of initial transmission efficiency, the CR users that were demonstrated to have higher transmission efficiency are chosen to allocate the free spectrum channel. Equation (3) is used to proceed with the first iteration. From the second iteration, the utility function is given by Equation (8) instead of (3). After several iterations, the NASH equilibrium points are determined. Finally, a unique NASH equilibrium point is obtained by judging the gradient of the utility function and time complexity. This spectrum allocation method successfully prevents the appearance of multi-NASH equilibrium and enormously improves system performance. The results of the simulation are shown below.
Figure 5. The initial transmission efficiency of the 15 CR users.
Figure 5. The initial transmission efficiency of the 15 CR users.
Algorithms 07 00510 g005
Figure 6 shows the convergent results of the general spectrum allocation algorithm used in HAN without a critical function judging the convergence of utility function, the horizontal coordinates signifies the number of iterations, and the vertical coordinates signifies the index of the four free TV band channels. As the cognitive users accomplish the spectrum allocation by maximization of the private utility, there is probability of multi-Nash equilibrium. As a result, the spectrum allocation strategies are constantly switched. In the above figure, user 4 is unstable and divergent, continuously switching between channels 2 and 4 in the entire iteration process, which is a result of the existence of multi-NASH equilibrium.
Figure 6. The simulation result of general CR spectrum allocation algorithm with four channels.
Figure 6. The simulation result of general CR spectrum allocation algorithm with four channels.
Algorithms 07 00510 g006
Figure 7, Figure 8 and Figure 9 show the convergent results of the proposed CR spectrum allocation algorithm used in HAN. The modified algorithm has made the system become stable and convergent, and the Figures likewise indicate that the new proposed model consumes less time compared with the conventional algorithm. So, it can be concluded from the above figures that the proposed improved spectrum allocation algorithm can achieve stable convergence within the limits of complexity requirements of power grid with only calculation of its private utility.
Figure 7. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with four channels.
Figure 7. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with four channels.
Algorithms 07 00510 g007
Figure 8. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with six channels.
Figure 8. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with six channels.
Algorithms 07 00510 g008
Figure 9. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with eight channels.
Figure 9. The simulation results of proposed CR spectrum allocation algorithm based on non-cooperative game theory with eight channels.
Algorithms 07 00510 g009
Figure 10 shows the variation of the total utility along with the iteration proceeding. Evidently, the proposed algorithm has a higher utilization rate and a better convergence property compared with the fair spectrum allocation algorithm.
Figure 10. Utilization rate of free channels between two algorithms.
Figure 10. Utilization rate of free channels between two algorithms.
Algorithms 07 00510 g010
As shown in Figure 11, after the execution of the proposed CR spectrum allocation algorithm, the average signal to interference ratio (SIR) of HAN’s users attained a higher level, which means that the interference condition had been optimized.
Figure 11. (a) The signal to interference ratio (SIR) value before algorithm execution; (b) The SIR value after algorithm execution.
Figure 11. (a) The signal to interference ratio (SIR) value before algorithm execution; (b) The SIR value after algorithm execution.
Algorithms 07 00510 g011
Figure 12 shows the total utility variation while the iteration is in progress. With the iteration ongoing, the utility value showed an uptrend and became smooth and steady, which means that the CR system has become stably convergent. In summary, the simulation results demonstrated the efficiency of the proposed algorithm.
Figure 12. The value of total utility (four channels).
Figure 12. The value of total utility (four channels).
Algorithms 07 00510 g012

5. Conclusions

An integrated, high-speed communication system is essential in a smart grid, and improving its communication performance can aid in providing better services. In this paper, the game theory based on non-cooperative spectrum allocation algorithm used in a wireless communication system in a home area network of Smart Grid is analyzed. In order to solve the multi-Nash equilibrium that may exist in the spectrum allocation of cognitive radio networks, the non-cooperative spectrum allocation is divided into two stages, the utility variation is used to analyze the convergence. If the cognitive users have not achieved stable convergence, the utility of previous time slots is used to improve the utility function. The proposed modified CR spectrum allocation algorithm has higher utility performance, faster convergence speed, and lower error probability while competing for the unlicensed 750 MHz TV band. The simulation results have satisfied expectations. This phase of the work is helpful for further research, and has contributed to the improvement of isomerism and the data capacity of power communication systems.

Acknowledgments

The authors thank the anonymous reviewers for their insightful comments.

Author Contributions

All the authors contributed to the content of this paper. The idea for this research work was proposed by Wei He, the writing of this paper and the design of the algorithm were achieved by Ke Li. Qiang Zhou and Songnong Li analyzed the simulation data. Both authors discussed the results of the paper before publishing them.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gungor, V.C.; Sahin, D.; Kocak, T.; Ergut, S.; Buccella, C.; Cecati, C.; Hancke, G.P. Smart grid technologies: Communication technologies and standards. IEEE Trans. Ind. Inform. 2011, 7, 529–539. [Google Scholar] [CrossRef]
  2. Ghosh, D.; Ghose, T.; Mohanta, D.K. Communication feasibility analysis for smart grid with phasor measurement units. IEEE Trans. Ind. Inform. 2013, 9, 1486–1496. [Google Scholar] [CrossRef]
  3. Xie, K.; Liu, Y.; Zhu, Z; Yu, E. The vision of future smart grid. J. Electr. Power 2008, 41, 19–22. [Google Scholar]
  4. Miao, X.; Zhang, K.; Chen, X.; Zhang, X.; Yu, H. Development countermeasure of constructing smart grid. J. Electr. Power Constr. 2009, 30, 6–10. [Google Scholar]
  5. Mitola, J. Cognitive radio for flexible mobile multimedia communications. In Mobile Multimedia Communications, 1999. Proceedings of the (MoMuC ’99) 1999 IEEE International Workshop on, San Diego, CA, USA, 15–17 November 1999; pp. 3–10.
  6. Liang, Q.; Wang, X.; Tian, X. Route-switching games in cognitive radio networks. In Proceedings of the Fourteenth ACM International Symposium on Mobile Ad Hoc Networking and Computing, Bangalore, India, 29 July–1 August 2013.
  7. Yang, C.G.; Li, J.D.; Li, W.Y.; Chen, D.; Shi, H. Power allocation based on non-cooperative game theory in cognitive radio. J. Xidian Univ. 2009, 36, l–4. [Google Scholar]
  8. Lu, Y.; Hui, X. The Application of Game Theory in Spectrum Allocation in the Cognitive Radio. Microcomput. Inf. 2010, 26, 221–222. [Google Scholar]
  9. Tian, F.; Yang, Z. An Analysis of Competitive Spectrum Sharing Based on Prisoners’ Dilemma in Cognitive Radios. J. Nanjing Univ. Posts Telecommun. (Nat. Sci.) 2008, 28, 1–6. [Google Scholar]
  10. Teng, Z.; Han, X.; Yang, X. Spectrum allocation algorithm based on game theory in cognitive radio. Appl. Res. Comput. 2011, 28, 2660–2664. [Google Scholar]
  11. Zhou, X.; Zhang, H. Principle and Applications of Cognitive Radio; Beijing University of Posts and Telecommunications Press: Beijing, China, 2007. [Google Scholar]
  12. Ganesan, G.; Li, Y. Cooperative spectrum sensing in cognitive radio networks. In New Frontiers in Dynamic Spectrum Access Networks, 2005. Proceedings of the 2005 First IEEE International Symposium on, Baltimore, MD, USA, 2005; pp. 137–143.
  13. Jia, J.; Wang, C.; Zhang, Z. Dynamic spectrum assignment based on graph coloring in cognitive radio network. J. Northeast. Univ. (Nat. Sci.) 2012, 33, 336–339. [Google Scholar]
  14. Xu, Y.; Gao, L. Dynamic spectrum allocation in cognitive radio networks based on multi-auctioneer progressive auction. J. Univ. Sci. Technol. China 2009, 39, 1604–1609. [Google Scholar]
  15. Liu, X.; Li, Y.B.; Meng, W. Multi-Node Spectrum Detection Based on the Credibility in Cognitive Radio System. In Proceedings of the Wireless Communications, Networking and Mobile Computing; 5th International Conference on IEEE WiCOM, Beijing, China, 24–26 September 2009.
  16. Zu, Y.; Li, P. Study on spectrum allocation of primary users for cognitive radio based on game theory. In Proceedings of the Wireless Communications, Networking and Mobile Computing; 6th International Conference on IEEE WiCOM, Chengdu, China, 23–25 September 2010; pp. 1–4.
  17. Frienmand, D. Evolutionary economics goes mainstream: A Review of the theory of learning in games. J. Evol. Econ. 1999, 8, 423–432. [Google Scholar]
  18. Li, D. Research on Spectrum Sharing Techniques in Cognitive Radio Systems. Ph.D. Thesis, Guangzhou Sun Yat-sen University, Guangdong, China, 2010. [Google Scholar]
  19. Liu, H. The CR spectrum allocation based on game theory. Commun. Technol. 2012, 41, 107–109. [Google Scholar]
  20. Facchinei, F.; Kanzow, C. Generalized Nash equilibrium problems. Ann. Oper. Res. 2010, 175, 177–211. [Google Scholar] [CrossRef]
  21. Peiyu, L.I.; Guihua, L.I.N. Solving a Class of Generalized Nash Equilibrium Problems. J. Math. Res. Appl. 2013, 33, 372–378. [Google Scholar]

Share and Cite

MDPI and ACS Style

He, W.; Li, K.; Zhou, Q.; Li, S. A CR Spectrum Allocation Algorithm in Smart Grid Wireless Sensor Network. Algorithms 2014, 7, 510-522. https://0-doi-org.brum.beds.ac.uk/10.3390/a7040510

AMA Style

He W, Li K, Zhou Q, Li S. A CR Spectrum Allocation Algorithm in Smart Grid Wireless Sensor Network. Algorithms. 2014; 7(4):510-522. https://0-doi-org.brum.beds.ac.uk/10.3390/a7040510

Chicago/Turabian Style

He, Wei, Ke Li, Qiang Zhou, and Songnong Li. 2014. "A CR Spectrum Allocation Algorithm in Smart Grid Wireless Sensor Network" Algorithms 7, no. 4: 510-522. https://0-doi-org.brum.beds.ac.uk/10.3390/a7040510

Article Metrics

Back to TopTop