Research Article

[Retracted] Smart Grid Security Based on Blockchain with Industrial Fault Detection Using Wireless Sensor Network and Deep Learning Techniques

Algorithm 2

Cluster formation algorithm.
INPUT: sends packet packet to the .
OUTPUT: CH sends Cluster member to the hub and TDMA slots to each .
Device a receives the packet from the Device , where
             
Device a selects the with the maximum received signal intensity as its after receiving
all packets.
Device sends the packet to the selected .
Device a receives the packet from the Device , where
             
if then
Device sends the Cluster momier to the hub after receiving all the packets.
Device a sends the TDMA slots to each CM.
Else
Discard the packet.
end if