Deploy Sensor Nodes Inside a Circle with n_sectors
Show older comments
I want to randomly deploy N sensor nodes inside circle with radius R=500, that is divided evenly into n_sectrors. Also I want the distance between any two adjacent nodes not exceed 50m. How can I do this?
2 Comments
Walter Roberson
on 13 Apr 2018
What shape are the sectors?
Is N, number of sensor nodes, the same as n for n_sectrors -- that is, is exactly one node to go into each sector?
When you say "adjacent nodes" do you mean "nearest neighbour", or do you mean "adjacent sectors" ?
If the requirement is for adjacent sectors, then you are biasing the nodes to be near the center of the circle. For example with 8 nodes, the widest separation for adjacent nodes would be if you were to construct a regular octagon with edge length 50. According to https://rechneronline.de/pi/octagon.php that would fit within a circumcircle of radius 65.328, using up only about 1/57th of the available area of the circle of radius 500.
Eman Bany Salameh
on 14 Apr 2018
Edited: Eman Bany Salameh
on 14 Apr 2018
Answers (2)
Walter Roberson
on 15 Apr 2018
0 votes
There is a discussion with code at https://www.mathworks.com/matlabcentral/answers/324920-scatter-randomized-points-with-circles in which the points are placed with a minimum distance; you could reverse the test to get maximum distance.
Tamoor Shafique
on 31 Aug 2020
0 votes
Could this sectoring work be done in a 3D WSN deployment? is there any code for Balanced load distribution in 3D WSN deployment
4 Comments
Tamoor Shafique
on 1 Sep 2020
Dear Walter,
Thank you very much that was very helpful. has anyone tried to balance load in a 3D WSN converge cast communication? I have seen a lot of work in square and rectangular and circular networks but I cannot find any for 3D. I was wondering has it been done or is there nothing different for 3D?
Walter Roberson
on 1 Sep 2020
I have no idea. It is not a topic that I have looked at.
Tamoor Shafique
on 1 Sep 2020
Thanks for your response anyway
Categories
Find more on WSNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!