| In recent years,with the increasing number of vehicles,urban traffic safety has become a research hotspot.The internet of vehicles communication technology is one of the core technologies of intelligent transportation By means of efficient communication,it enables vehicles to communicate with each other in real time and share resources,thereby improving communication efficiency and reducing the occurrence of traffic accidents.Due to the abundant visible spectrum resources,strong anti-interference,energy saving and environmental protection,the application of visible light communication(VLC)technology in the field of vehicle networking has important research significance.Research on VLC based vehicle to vehicle routing algorithm,where vehicles can select the optimal path through the routing algorithm to transmit information,thereby improving the reliability of communication between vehicles and solving the problem of long-distance communication in complex environments.The main contents of this paper are as follows:Firstly,a detailed analysis was conducted on the visible light communication system model from the aspects of its composition,visible light communication channel model and noise in the visible light communication system.Then,the attenuation of visible light signals under different weather conditions was discussed And the attenuation coefficients of visible light signals under different weather conditions were obtained to prodived theoretical basis for the study of visible light transmission and system performance.Secondly,a VLC path loss model was constructed based on the visible light gain model.In order to reduce signal loss during communicationm and improve the transmission quality of VLC link under the path loss model,under the pass loss model,an ant colony routing algorithm was proposed to select the communication link with the smallest path loss to transmit information from the source vehicle to the destination vehicle.The simulation results show that the proposed ant colony routing algorithm outperforms the shortest path routing algorithm in terms of loss,signal-to-noise ratio and bit error rate.Finally,in order to explore the influence of weather factors on vehicle VLC communication performance,a VLC channel model in foggy weather condition was established.In order to balance the signal transmission quality and reliability of the entire vehicle communication network from the source vehicle to the destination vehicle,the glowworm swarm optimization routing algorithm was proposed to select the path with the lowest average loss to transmit information from the source vehicle to the destination vehicle.The simulation results show that the proposed glowworm swam optimization routing algorithm has lower average loss and higher signal-to-noise ratio than the tree routing algorithm in foggy weather,and achieves reliable long-distance transmission in foggy weather. |