visible light communication(VLC) implementation on a wireless network.

330 views
Skip to first unread message

Saad Sheikh

unread,
Mar 13, 2017, 3:28:48 PM3/13/17
to ns-3-users
Hey all. I am a beginner in NS3. My project requires me to implement VLC link in a wireless network. So i would like as help as possible as to how i can bring this project into working from scratch. I have the knowledge that What i require the most is to change the physical layer from an RF connection to an optical channel but i don't know how. I have run the built in examples in NS3 like wifi-adhoc.cc and wireless-animation.cc and found how the wireless communication is taking place. Now if i would like to implement the VLC channel on the same topology so what changes should i make to the same code. Any help will be much appreciated.

Konstantinos

unread,
Mar 14, 2017, 5:21:07 AM3/14/17
to ns-3-users
Hi,

It is not only the PHY. 
Have a look at the https://github.com/Aldalbahias/VLC which is a contributed code for VLC
However, this code is NOT supported by the ns-3, so if it is not working as expected or you have questions regarding that module, you should ask the developers.

Regards,
K

Saad Sheikh

unread,
Jul 2, 2017, 1:02:23 PM7/2/17
to ns-3-users
konstantinos this has been a great help thankyou. i want to know that if we want to identify whether our optical channel is LOS or non-LOS from the codes so what should we look for in our codes to identify this characteristic?

Konstantinos

unread,
Jul 3, 2017, 3:23:51 AM7/3/17
to ns-3-users
You would have to create a corresponding propagation model, similar to the BuildingsPropagationLossModel that can identify if nodes are within buildings, if there is a wall between them etc.

Saad Sheikh

unread,
Jul 4, 2017, 12:54:30 AM7/4/17
to ns-3-users

konstantinos i have the above attached files in my vlc module. can please take a look at these files and point out the code which shows the LOS or non-LOS characteristic of the channel?
thank you so much.
vlcMobilityModel.cc
VlcPropagationLoss.cc

Sudeepta Mishra

unread,
Jan 28, 2019, 2:08:26 PM1/28/19
to ns-3-users
Hi All,

I am trying to simulate an outdoor optical link in presence of Sunlight. Additionally, the transceiver should consume less energy, small, lightweight, and relatively inexpensive so that I can mount it on an UAV. I went through "Extending NS3 to simulate Visible light communication at network level" and "Multi-Element Free-Space-Optical Spherical Structures with Intermittent Connectivity Patterns" but found that the maximum distance of separation between tx-rx page is small. So do you happen to know any transceiver and accompanying channel model that can have a range of several hundred meters assuming that I am only looking for LOS communication? 

On a side search, I found a few papers on Free-space optical communication that have higher coverage but could not find a detailed channel model that I can use for my simulation. Hence, I think maybe I need to use FSO for my project simulation. But again it should consume less energy, small in size, lightweight, and relatively inexpensive.

I am ok with both FSO and VLC. If you know some Matlab or C or C++ code that will be great.

Thanks for any help that I may get.

Rahul Singh Gulia

unread,
Jan 11, 2021, 4:11:25 PM1/11/21
to ns-3-users
Hi all,

For the LOS ans NLOS scenarios, files like buildings-channel-condition-model.h and buildings-channel-condition-model.cc take care in NS3,  in /src/buildings/model.
Kindly look at the examples referring to these files to understand the LOS and NLOS concept.


Thanks & Regards,
Rahul

Reply all
Reply to author
Forward
0 new messages