在NS3平臺上IEEE802.15.7協(xié)議的程序設(shè)計和實現(xiàn)
發(fā)布時間:2018-12-28 07:03
【摘要】:可見光通信設(shè)備工作在波長為380-780nm的可見光譜范圍內(nèi),利用LED或LD光源的強度調(diào)制發(fā)出光信號進行數(shù)據(jù)傳輸。隨著RF域的頻譜資源越來越緊張,可見光通信因具備成本低、對人體安全、保密、低能耗等優(yōu)點逐漸成為一個新的熱門研究領(lǐng)域。 在現(xiàn)有可見光通信研究中,主要集中在光電收發(fā)、信道建模、信道容量、調(diào)制、編碼、復(fù)用等物理層技術(shù),而對于可見光通信鏈路層和物理層協(xié)議研究較少,現(xiàn)有的可見光通信協(xié)議只有2011年的IEEE802.15.7——使用可見光的短距離無線光通信協(xié)議。本課題主要工作便是利用NS3離散隨機事件調(diào)度器搭建一個IEEE802.15.7協(xié)議仿真平臺。 現(xiàn)有通信協(xié)議有關(guān)的研究中,大部分文獻主要針對協(xié)議提出的某種資源分配或者調(diào)度相關(guān)的算法進行建模分析,而與通信協(xié)議有關(guān)的專利中,,研究者主要集中在對協(xié)議某種通信機制進行優(yōu)化或者改進。本課題不針對協(xié)議中的某個算法或者通信機制進行研究,而將重點放在搭建一個可以模擬現(xiàn)實網(wǎng)絡(luò)運行的協(xié)議仿真平臺,仿真過程中程序按照協(xié)議標準運行。課題完成的系統(tǒng)仿真平臺可用于后續(xù)與IEEE802.15.7的協(xié)議優(yōu)化或改進相關(guān)的仿真驗證。 本課題使用運行在Linux操作系統(tǒng)上的NS3軟件進行仿真平臺的搭建,NS3是一個開放的可擴展的網(wǎng)絡(luò)仿真軟件,為仿真平臺的開發(fā)提供了調(diào)度器、節(jié)點、NetDevice、智能指針等基本的組件。本文利用NS3軟件提供的這些抽象組件開發(fā)一個可用的IEEE802.15.7協(xié)議仿真模塊。搭建的是運行于NS3軟件之上的系統(tǒng)仿真平臺,NS3提供的抽象網(wǎng)絡(luò)組件與真實的網(wǎng)絡(luò)環(huán)境并不完全相同,所以程序的實現(xiàn)與真實的網(wǎng)絡(luò)協(xié)議開發(fā)有所不同,但仿真程序的執(zhí)行過程盡量與協(xié)議規(guī)定標準一致。程序的設(shè)計思想和具體實現(xiàn)過程可以為后續(xù)類似的協(xié)議仿真平臺搭建提供一定的參考。 本文首先對使用的NS3軟件架構(gòu)、核心模塊及其提供的對真實網(wǎng)絡(luò)進行抽象的各網(wǎng)絡(luò)組件進行介紹。并簡要對IEEE802.15.7協(xié)議PHY、MAC層整體結(jié)構(gòu)進行概述,給出程序的主要框架。 然后主要對PHY層和MAC層程序架構(gòu),各層數(shù)據(jù)封裝和讀取、數(shù)據(jù)收發(fā)過程、各功能處理模塊的具體實現(xiàn)進行詳細敘述。 最后聯(lián)合測試平臺PHY層和MAC層各功能模塊,截取部分NS3運行日志對各模塊程序執(zhí)行邏輯進行驗證,輸出系統(tǒng)通信過程中的各項統(tǒng)計結(jié)果對系統(tǒng)性能進行評估。
[Abstract]:The visible light communication equipment works in the visible spectrum range of the wavelength of 380-780nm. The optical signal is transmitted by the intensity modulation of the LED or LD light source. With the increasing shortage of spectrum resources in RF domain, visible light communication has become a new hot research field because of its advantages of low cost, security to human body, low energy consumption and so on. In the present research of visible light communication, it mainly focuses on the physical layer technology, such as photoelectric transceiver, channel modeling, channel capacity, modulation, coding, multiplexing and so on, but there are few researches on the link layer and physical layer protocol of visible light communication. The existing visible light communication protocol only uses the visible light short-range wireless optical communication protocol in 2011 IEEE802.15.7--. The main work of this paper is to use NS3 discrete random event scheduler to build a IEEE802.15.7 protocol simulation platform. In the existing research on communication protocols, most of the literatures mainly focus on the modeling and analysis of some resource allocation or scheduling algorithms proposed by the protocol, while in the patents related to the communication protocols, Researchers mainly focus on optimizing or improving the protocol communication mechanism. This topic does not focus on some algorithm or communication mechanism in the protocol, but focuses on building a protocol simulation platform that can simulate the operation of real network, and the program runs according to the protocol standard in the process of simulation. The system simulation platform can be used to verify the protocol optimization or improvement of IEEE802.15.7. This subject uses NS3 software running on Linux operating system to build the simulation platform. NS3 is an open and extensible network simulation software, which provides the basic components such as scheduler, node, NetDevice, intelligent pointer and so on for the development of simulation platform. In this paper, we use the abstract components provided by NS3 software to develop an available IEEE802.15.7 protocol simulation module. The system simulation platform running on the NS3 software is built. The abstract network components provided by NS3 are not exactly the same as the real network environment, so the implementation of the program is different from the real network protocol development. However, the implementation process of the simulation program is as consistent as possible with the standard stipulated in the protocol. The design idea and implementation process of the program can provide some reference for the subsequent similar protocol simulation platform. In this paper, we first introduce the NS3 software architecture, core modules and the various network components that abstract the real network. The overall structure of PHY,MAC layer of IEEE802.15.7 protocol is briefly summarized, and the main framework of the program is given. Then the program architecture of PHY layer and MAC layer, the data encapsulation and reading of each layer, the process of data receiving and sending, and the realization of each functional processing module are described in detail. Finally, each function module of PHY layer and MAC layer of joint test platform is used to intercept part of the NS3 running log to verify the execution logic of each module program, and the system performance is evaluated by outputting the statistical results in the process of system communication.
【學(xué)位授予單位】:吉林大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2015
【分類號】:TN929.1
本文編號:2393638
[Abstract]:The visible light communication equipment works in the visible spectrum range of the wavelength of 380-780nm. The optical signal is transmitted by the intensity modulation of the LED or LD light source. With the increasing shortage of spectrum resources in RF domain, visible light communication has become a new hot research field because of its advantages of low cost, security to human body, low energy consumption and so on. In the present research of visible light communication, it mainly focuses on the physical layer technology, such as photoelectric transceiver, channel modeling, channel capacity, modulation, coding, multiplexing and so on, but there are few researches on the link layer and physical layer protocol of visible light communication. The existing visible light communication protocol only uses the visible light short-range wireless optical communication protocol in 2011 IEEE802.15.7--. The main work of this paper is to use NS3 discrete random event scheduler to build a IEEE802.15.7 protocol simulation platform. In the existing research on communication protocols, most of the literatures mainly focus on the modeling and analysis of some resource allocation or scheduling algorithms proposed by the protocol, while in the patents related to the communication protocols, Researchers mainly focus on optimizing or improving the protocol communication mechanism. This topic does not focus on some algorithm or communication mechanism in the protocol, but focuses on building a protocol simulation platform that can simulate the operation of real network, and the program runs according to the protocol standard in the process of simulation. The system simulation platform can be used to verify the protocol optimization or improvement of IEEE802.15.7. This subject uses NS3 software running on Linux operating system to build the simulation platform. NS3 is an open and extensible network simulation software, which provides the basic components such as scheduler, node, NetDevice, intelligent pointer and so on for the development of simulation platform. In this paper, we use the abstract components provided by NS3 software to develop an available IEEE802.15.7 protocol simulation module. The system simulation platform running on the NS3 software is built. The abstract network components provided by NS3 are not exactly the same as the real network environment, so the implementation of the program is different from the real network protocol development. However, the implementation process of the simulation program is as consistent as possible with the standard stipulated in the protocol. The design idea and implementation process of the program can provide some reference for the subsequent similar protocol simulation platform. In this paper, we first introduce the NS3 software architecture, core modules and the various network components that abstract the real network. The overall structure of PHY,MAC layer of IEEE802.15.7 protocol is briefly summarized, and the main framework of the program is given. Then the program architecture of PHY layer and MAC layer, the data encapsulation and reading of each layer, the process of data receiving and sending, and the realization of each functional processing module are described in detail. Finally, each function module of PHY layer and MAC layer of joint test platform is used to intercept part of the NS3 running log to verify the execution logic of each module program, and the system performance is evaluated by outputting the statistical results in the process of system communication.
【學(xué)位授予單位】:吉林大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2015
【分類號】:TN929.1
【參考文獻】
相關(guān)期刊論文 前5條
1 楊鳴亮;張嘉毅;孫振;趙穎;;關(guān)于NS3中GRE仿真的研究[J];電子測量技術(shù);2011年01期
2 洪文昕;禹忠;韋瑋;彭波;;短距離可見光通信技術(shù)進展與IEEE802.15.7[J];光通信技術(shù);2013年07期
3 朱健;;網(wǎng)絡(luò)仿真中的多核技術(shù)[J];電信快報;2010年09期
4 張登銀;張保峰;;新型網(wǎng)絡(luò)模擬器NS-3研究[J];計算機技術(shù)與發(fā)展;2009年11期
5 吳承治;;可見光通信技術(shù)及應(yīng)用初探[J];現(xiàn)代傳輸;2012年03期
相關(guān)博士學(xué)位論文 前1條
1 何勝陽;室內(nèi)可見光通信系統(tǒng)關(guān)鍵技術(shù)研究[D];哈爾濱工業(yè)大學(xué);2013年
本文編號:2393638
本文鏈接:http://sikaile.net/kejilunwen/wltx/2393638.html
最近更新
教材專著