° 1
° p = ¦ ¦ p0, k , k
1 2
lower-priority data buffer queue. This paper also established Pi The probability a channel is idle when CCA is
performed
three priority levels of communication delay model, the The probability a channel is idle in two consecutive
effective channel throughput and packet collision rate in the Pi|i
CCA
mathematical model to measure the WSN in automatic Irom τ The probability of CCA detection
Relationships between of Markov chain model in “Fig. 1”,
λ0 , λ1 , λ2 Data arrival rates of of High-priority / Medium-
priority / Low-priority package
Service rate of High-priority / Medium-priority /
μ0 , μ1 , μ 2
Low-priority package
m0 , m1 , m2 The buffer size of High-priority / Medium-priority /
Low-priority package
The probability of having n0 with High-priority
Qn , n , n packet
0 1 2
and n1 nodes with Low-priority packet and n2
nodes with Low-priority packet in a node
Qn , n , n can be determined by (2).
0 1 2
N!
Qn , n , n = ( p 0 )n ( p1 )n ( p 2 )n ( p 3 )n
0 1 2 3
(2)
0 1 2
n0 !n1 !n2 !n3 !
1408
priority data did not detect the probability of the channel, such K 2 −1 n K 2 −1
Ts2 = ¦ (1 − P ) 2 n
⋅ Pi 2 ⋅[ ¦ (bm2 + 1) + Ttx2 ] + (1 − Pi 2 ) K ⋅ ¦ (bm2 + 1) (13)
2
as in (4). n=0
i
m=0 m =0
N − n0 − n1 N − n0 N − n0
ª Qn , n , n , n º D. The improved WSN model based on DL/T645
Pi|3i = ¦ ¦¦« 0
Q3
1 2 3
(1 − τ 0 ) n − 2 (1 − τ 1 )n (1 − τ 2 ) n −1 »
0 1 2
(4)
n0 = 2 n1 = 0 n2 =1 ¬ ¼ To measure the performance of the improved WSN, we
need to build the following three models:
(5) (6) (7) describe three priority data nodes,
• Propagation delay model.
• Network model of effective data throughput.
N N − n0 N − n0 − n1
ª Qn , n , n º
Pi|0i = ¦¦ ¦ «
0
(1 − τ 0 )n − 2 (1 − τ 1 ) n −1 (1 − τ 2 )n »
1 0 1 2
(5) • Nodes in CSMA / CA channel collision rate model.
n0 = 2 n1 =1 n2 = 0 ¬ Q0 ¼
Propagation delay is obtained from the device node to send
packets from the time difference, including queue wait time
N − n0 N N − n0 − n1
ª Qn , n , n º (priority queue data services with the total time) and the current
Pi1|i = ¦¦ ¦ «
0
(1 − τ 0 )n − 2 (1 − τ 1 )n −1 (1 − τ 2 )n »
1 2 0 1 2
(6) data packet service time. Three priority data services with the
n0 = 2 n1 =1 n2 = 0 ¬ Q1 ¼ type of transmission delay as in (14) (15) (16),
m0 m1 m2
pk , k , k
N − n0 N − n0 − n1 N
ª Qn , n , n º
(7) Td0 = ¦¦¦( k0Ts0 ) (14)
¦ ¦ ¦«
0 1 2
Pi|2i = (1 − τ 0 )n −1 (1 − τ 1 )n (1 − τ 2 )n − 2 »
¦ ¦ ¦
0 1 2 0 1 2
m0 m1 m2
n =2 ¬ Q2 k0 = 2 k1 =1 k2 = 0 p
n0 =1 n1 = 0 2 ¼ k0 = 2 k1 =1 k = 0 k ,k , k
2
0 1 2
0 n 0 0 K0 0
K 0 −1
(1 − Pi ) ⋅ Pi ⋅ (n + 1) (1 − Pi ) ⋅ K
τ0 = ¦ + (8)
¦ ¦
n 0 0 K 0 −1
n=0 (b + 1) + T (bm0 + 1) p0, k ,0
m=0 m tx m=0
+ 1
⋅ k1 ⋅ Ts1 ] + Td1 ⋅ λ0 ⋅ Ts0 (15)
¦ ¦ ¦
m0 m1 m2
k0 = 2 k1 =1 k2 = 0
pk , k , k
0 1 2
1
K 1 −1
(1 − Pi1 ) n ⋅ Pi1 ⋅ ( n + 1) (1 − Pi1 ) K ⋅ K 1
τ1 = ¦ + (9) m0
pk , k ,0 p0, k ,0
¦ ¦ ⋅ k2 ⋅ Ts2 ] (16)
n K −1
1
¦ ¦ ¦ ¦ k = 2 ¦ k =1 ¦ k = 0 pk ,k , k
m=0 m =0 m0 m1 m2 m0 m1 m2
k0 = 0
k0 = 2 k1 =1 k2
p
=0 k , k ,k0 1 2 0 1 2
0 1 2
°° Qn
® n0 = 2 n1 = 1 n2 = 0
0 1 2
Ts1
° G1 = N ·λ1
K 0 −1 n K 0 −1 ° N − n 0 N − n 0 − n1
Ts0 = ¦ (1 − Pi0 )n ⋅ Pi 0 ⋅[ ¦ (bm0 + 1) + Ttx0 ] + (1 − Pi 0 )K ⋅ ¦ (bm0 + 1)
0
(11) °
¦¦ ¦
N
Qn (n [1 − (1 − Pi 2 ) K ] L 2
)
2
n=0 m=0 m =0
° n0 = 2 n1 = 1 n2 = 0
0
, n1 , n2 2
Ts 2
°G 2 =
°̄ N ·λ 2
1409
physical channel for data packet transmission failure rate. The
failure rate for three priority packets as in (18),
F0 = (1 − Pi 0 ) K 0
° 1 K
® F1 = (1 − Pi ) 1
(18)
°̄ F2 = (1 − Pi 2 ) K 2
REFERENCES
[1] Huang Xuyong,Liu Pei1,Miao Shihong, “Application of Wireless Sensor
Networks in Power Monitoring System”.Beijing: Automation of Electric
Power Systems, vol.21,July 2007
Figure 2. 'DWD6HQGLQJ'HOD\ [2] Zhang Qiang, Sun Yugeng, “Applications of wireless sensor networks in
smart grid ,”Tianjing, Electric Power vol. 43, no. 6, Jun 2010.
[3] Chen Ju,He Yonggui, “Application of Low Voltage Power Line Carrier
Technology in Concentrated Meter Reading System,” Baoding, Electric
Power Science and Engineering vol. 24, no. 4, Jun 2008.
[4] Liu Yang, “RS485 intelligent hubs use in AMR,” Shenzhen, Science and
Technology iInformation vol. 35, no. 6, Jun 2009.
[5] Chang Yun㧘Xu Qingzhou, “The Application of GPRS in the Remote
Reading System,” Haerbing, Electrieal Meaaurement & Instrumentation
vol. 42, no. 469, Jan 2009
[6] Xiao Wen, Huang Hucheng, “ZigBee Technology Applied in Smart Grid
System,”Chengdu, Modern Electronics Technique vol.324, no.13 2010
[7] HE Bin,Yubin,“Wireless meter reading system based on Zigbee and
DL/T645,” Power System Protection and Control vol.37 no.24 2009
[8] Wei Sun, Jianping Wang㧘“Quality of Service Networking for Smart
Figure 3. Effective throughput Grid Distribution Monitoring,” IEEE Vol.10, No.4 2010.
[9] Wang Yan,Wang Kaiyu 㧘 “DCF Based on Packet Priority and Its
Consider that each node will send data respectively with Performance Analysis, ” Computer Engineering Vol.35, No.12 2009
high priority, medium priority and low priority. In the [10] Zhu Jianping, Tao Zhengsu, “Delay Analysis for IEEE 802.15.4 CSMA/
experiment, there are two different data output rate. Generally, CA Scheme with Heterogeneous Buffered” IEEE 2011
data output rate with high priority is 8kbps. In particular case, [11] Zhou Xinyun, HuangFuwei, “Mac Access Delay Analysis of EDCA
data output rate with high priority will double(that is 16kbps). Mechanism of Wireless LANs,” Journal of Software Vol.19,No.8 2008
Thus, consider data with low priority as 0.4kbps ,increasing to [12] Jeffrey W. Robinson and Tejinder S. Randhawa, “Saturation
24kbps. Throughput Analysis of IEEE 802.11e Enhanced Distributed
Coordination Function,”. IEEE Vol 22, No. 5, Jun 2004
1410