




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、LTE系統(tǒng)級下行仿真平臺軟件項(xiàng)目詳細(xì)設(shè)計(jì)說明書北京郵電大學(xué)無線理論與技術(shù)實(shí)驗(yàn)室2008年1月作者版本修改原因修改日期曾 理V0.8編寫初搞王志杰V0.9修訂黃 帆V1.0完成正式稿目錄1.引言11.1編寫目的11.2項(xiàng)目背景11.3定義11.4參考資料22.總體設(shè)計(jì)42.1 功能概述4鏈路級與系統(tǒng)級接口模塊4業(yè)務(wù)模型模塊4調(diào)度模塊4小區(qū)模塊4移動模型模塊52.1.6 差錯重傳模塊62.2 模塊結(jié)構(gòu):6鏈路級與系統(tǒng)級接口模塊7業(yè)務(wù)模型模塊7調(diào)度模塊7移動模型模塊92.3類關(guān)系說明9鏈路級與系統(tǒng)級接口模塊9業(yè)務(wù)模型模塊10調(diào)度模塊10小區(qū)模塊112.4算法說明:11鏈路級與系統(tǒng)級接口模塊11簡化V
2、-BLAST系統(tǒng)模型11二發(fā)二收V-BLAST系統(tǒng)SINR計(jì)算13多小區(qū)V-BLAST系統(tǒng)SINR計(jì)算13同簇子載波SINR的合并14業(yè)務(wù)模型模塊 VoIP Best effort服務(wù)類型-FTP業(yè)務(wù)18交互式傳輸模型:HTTP業(yè)務(wù)19視頻流業(yè)務(wù)(Video Streaming)21交互式實(shí)時(shí)業(yè)務(wù):實(shí)時(shí)游戲( Mobile Network Gaming)23調(diào)度模塊243.類定義263.1 scm函數(shù)26函數(shù)功能描述26函數(shù)說明26函數(shù)使用方法示例273.2 SHADOW_FADING類27類功能描述27類方法說明27方法127方法227類使用方法示例283
3、.3 SCMEmain函數(shù)28函數(shù)功能描述28函數(shù)說明28函數(shù)使用方法示例293.4 SCMEmainSectorization函數(shù)29函數(shù)功能描述30函數(shù)說明30函數(shù)使用方法示例313.5 pilotSINR_DL函數(shù)31函數(shù)功能描述31函數(shù)說明31函數(shù)使用方法示例333.6 servingSINR_DL函數(shù)33函數(shù)功能描述33函數(shù)說明33函數(shù)使用方法示例353.7 Controler35類功能描述35類方法說明35方法1:WorkSlot()353.7.3 類使用方法示例363.8 Scheduler363.8.1 類功能描述363.8.2 類方法說明36方法1:virtual doubl
4、e CalPriority(MSS&, int, int)36方法2:DoControl()373.8.3 類屬性說明37屬性1: AntennaID37屬性2: CarrierClusterID37屬性3: CellID383.8.4 類使用方法示例383.9 SchedulerRoundRobin383.9.1 類功能描述383.9.2 類方法說明38方法1:CalPriority()383.9.3 類使用方法示例383.10 SchedulerMaxC2I383.10.1 類功能描述393.10.2 類方法說明39方法1:CalPriority()393.10.3 類使用方法示例
5、393.11 SchedulerPF393.11.1 類功能描述393.11.2 類方法說明40方法1:CalPriority()403.11.3 類使用方法示例403.12 SchedulerM_LWDF403.12.1 類功能描述403.12.2 類方法說明40方法1:CalPriority()403.12.3 類使用方法示例413.13 DistributeMSAlgoDiamond413.13.1 類功能描述413.13.2 類性能描述413.13.3 類的方法說明41方法:DistributeMS(MSManager& _msm, BSManager& _bsm)41
6、3.13.4 類使用方法示例413.14 DistributeMSAlgoFile423.14.1 類功能描述423.14.2 類性能描述423.14.3 類的方法說明42方法:DistributeMS(MSManager& _msm, BSManager& _bsm)423.14.5 類使用方法示例423.15 DistributeMSAlgoFix423.15.1 類功能描述423.15.2 類性能描述423.15.3 類的方法說明42方法:DistributeMS(MSManager& _msm, BSManager& _bsm)423.13.4 類使用方
7、法示例433.16 DistributeMSAlgoHex7433.16.1 類功能描述433.16.2 類性能描述433.16.3 類的方法說明43方法:DistributeMS(MSManager& _msm, BSManager& _bsm)433.13.4 類使用方法示例433.17 DistributeMSAlgoHexagon443.17.1 類功能描述443.17.2 類性能描述443.17.3 類的方法說明44方法:DistributeMS(MSManager& _msm, BSManager& _bsm)443.13.4 類使用方法示例443.
8、18 MSS443.18.1 類功能描述44類性能描述443.18.3 類的方法說明45方法1:void Move()45方法2:double GenerateNewDirection()45方法3:void UpdateActiveSet( vector<vector<double> >&)45方法4:void FrameEnd()45方法5:double RatePrediction(int i,int j);46方法6:void FlagChannelIndex(int bsid,int i,int j,double _FrameRate,double _
9、SINR_dB);46方法7:void RecieveRI (int i,int j);46方法8:RecieveTF(int mcs,double payloadsize);47方法9:struct HARQBUFFER47方法10:void PowerControlProcess();48方法11:void UpdateActiveSet( vector<vector<double> >&);48類屬性說明:48屬性1: m_dDirection48屬性2: m_iHomeSector49屬性3: HARQBUFFER49屬性4:TimetoTrans49屬
10、性5:int m_ID;49屬性6: vector<pair<int,int> > m_ActiveSet;49屬性7:pair<int,int> m_MainServBTS;49屬性8:bool m_bIsSoftHandOff;50屬性9:bool m_bIsOutSector;50屬性10:int m_iChannelType50屬性11:deque<pair<int, bool> > m_PCQueue;50屬性12:int m_bPC;50屬性13:int m_iTxFormat;50屬性14:int m_iFrameOff
11、Set;50屬性15:double m_dTotalTxPowerMw;51屬性16:double m_dPilotTxPowerMw;51屬性17:double m_dDRCTxPowerMw;51屬性18:double m_dTrafficTxPowerMw;51屬性19:long m_lDataQueueSizetemp;513.19 WrapMS751類功能描述:52類方法說明:52方法1:Point WrapMS(MSS& _ms, const BS& _bs)52方法2:Point WrapBS(const MSS& _ms, const BS& _
12、bs)52類屬性說明:52屬性1:WrapMSTable7752屬性2:WrapBSTable77523.20 Service52類功能描述:53類方法說明:53方法1:WorkSlot()533.20.3 類使用方法示例533.21 ServiceFullQueue533.21.1 類功能描述:533.21.2 類方法說明:54方法1:WorkSlot()543.22 ServiceVoIP543.22.1 類功能描述:543.22.2 類方法說明:54方法1:WorkSlot()543.23 ServiceFTP543.23.1 類功能描述:543.23.2 類方法說明:55方法1:Wor
13、kSlot()553.24 ServiceHTTP553.24.1 類功能描述:553.24.2 類方法說明:55方法1:WorkSlot()553.25 ServiceVideo553.25.1 類功能描述:553.25.2 類方法說明:56方法1:WorkSlot()563.26 ServiceGaming563.26.1 類功能描述:563.26.2 類方法說明:56方法1:WorkSlot()563.27 BS56類功能描述:56類方法說明:57方法1:void AddBTSs();57方法2:void HARQProcess(int _msid)57方法3:void Reset();
14、57方法4:void ConnectMS(int _msid, pair<int,int> _btsid)57方法5:void HARQEntity(int _msid)58方法6:void DisconnectMS(int _msid, pair<int,int> _btsid)58方法7:void WorkSlot()58類屬性說明:59屬性1: vector<int> m_RetransMS59屬性2: vector<int> m_NewtransMS59屬性3: vector<int> m_ActiveSet59屬性4: ma
15、p<int,MSRXBUFFER> m_RxBufferBS59屬性5:vector<BTS> m_BTSs59屬性6: BSID m_ID60屬性7: vector<BTS> m_BTSs60類使用方法示例603.28 MSRXBUFFER60類功能描述:60類方法說明:60方法1:MSRXBUFFER(int _id):m_iMSID(id)60類屬性說明:61屬性1: m_PilotC2I61屬性2: m_iMSID61屬性3:m_iChannelType613.29 Statistician61類功能描述:61類方法說明:61方法1:void Pre
16、Process()61方法2:void PrintTable()62類屬性說明:62屬性1:m_MSData62屬性2: m_BTSData623.30 NetWorkDrive623.30.1 類功能描述623.30.2 類方法說明62方法1:void UniformReady()62方法2:void SimulateRun()63方法3:void SystemInitialize();63方法4:void SystemEnd()63方法5:void DropInitialize();64方法6:void SlotRun();64方法7:NetWorkDrive& NetWorkDr
17、ive:Instance()64方法8:void DropEnd()65類屬性說明:65屬性:static NetWorkDrive* m_pNetWorkDrive;653.31 BsManager653.31.1 類功能描述653.31.2 類方法說明65方法:void DistributeBSs();65類屬性說明:66屬性:vector<pair<int, bool> > m_FrameRecord; 訪問屬性:公用;663.32 MsManager663.32.1 類功能描述663.32.2 類方法說明66方法:void DistributeMSs(BSMan
18、ager& _anm)66類屬性說明:66屬性:shared_ptr<DistributeMSAlgo> m_pDMSA;663.33 MapRoutBtsSINR_DL函數(shù)663.32.1 函數(shù)功能描述673.32.2 函數(shù)說明67函數(shù)使用方法示例683.34 MapRoutRelaySINR_DL函數(shù)68函數(shù)功能描述68函數(shù)說明68函數(shù)使用方法示例693.35 RouterSINR_DL函數(shù)69函數(shù)功能描述70函數(shù)說明70函數(shù)使用方法示例724文件格式734.1 文件BTS_Parameters734.2文件FERTABLE734.3文件Link_Parameters7
19、44.4 文件msposx,msposy744.5 文件MSS_Parameters744.6文件Simulate_Parameters754.7文件BSResults764.8文件BSTotalResults764.9文件MSResults764.10文件MSTotalResults774.11文件ParametersRecord774.12文件SimulationTime774.13 其他文件77附錄79A RELAY介紹80A1 Relay引入背景80A2 Relay的網(wǎng)絡(luò)架構(gòu)81A2.1 固定無線中繼83A2.2 可移動中繼85A3 無線中繼在移動網(wǎng)絡(luò)中的應(yīng)用場景85A3.1 固定覆蓋
20、場景85A3.2 大型建筑物室內(nèi)覆蓋86A3.3 臨時(shí)性覆蓋和應(yīng)急通信86A3.4 對交通工具的覆蓋86A4 無線中繼涉及的關(guān)鍵技術(shù)86A4.1 幀結(jié)構(gòu)87A4.1.1 透明中繼的幀結(jié)構(gòu)87A4.1.2 非透明中繼的幀結(jié)構(gòu)88A4.2 ARQ/HARQ88A4.3 協(xié)作中繼與虛擬MIMO89A4.4 切換技術(shù)90A4.5 多級調(diào)度算法91A5 無線中繼技術(shù)的應(yīng)用前景92B 基于RELAY的系統(tǒng)評估方法94B1 多跳系統(tǒng)簡介94B2 MIMO協(xié)同中繼95B3 多跳系統(tǒng)的評估97B4 仿真平臺實(shí)現(xiàn)方案99B5 系統(tǒng)級仿真結(jié)果100AF Amplify-and-Forward DF Decode-a
21、nd-ForwardRS Relay StationWMN Wireless Mesh Network9IEEE 802.16j, “Multi-hop Relay System Evaluation Methodology (Channel Model and Performance Metric),” Sep.200610Markus Herdin, ”A Chunk Based OFDM Amplify-and-Forward Relaying Scheme for 4G Mobile Radio Systems,” proceedings of ICC2006, 200611Shian
22、g-Jiun Lin, Wern Ho Sheen, et al, “Resource Scheduling with Directional Antennas for Multi-hop Relay Networks in Manhattan-like Environment,” proceedings of IEEE12 IST WINNER. Deliverable 3.2: description of identified new relay based radio network deployment concepts and first assessment by compari
23、son against benchmarks of well known deployment concepts using enhanced radio interface technologies13 IST WINNER. Deliverable 3.5: proposal of the best suited deployment concepts for the identified scenarios and related RAN protocols14 IEEE 802.16j-06_015. Harmonized contribution on 802.16j (mobile
24、 multi-hop relay) Usage Models, 200616 無線中繼在下一代移動通信系統(tǒng)中的應(yīng)用 張霄競 ( 華為技術(shù)有限公司上海201206 )17 IST-2003-507581 WINNER , D3.1 Description of identified new relay based radio network deployment concepts and first assessment by comparison against bench marks of well known deployment concepts using enhanced radio
25、 interface technologies,October200418IST-2003-507581 WINNER, D3.2 Description of deployment concepts for future radio scenarios integrating different relaying technologies in a cellular infrastructure including definition, assessment and performance comparison of RAN protocols for relay based system
26、s, February 20053.1 scm函數(shù)3.2 SHADOW_FADING類3.3 SCMEmain函數(shù)int MsNumAll, const int msId, Vec<complex<double> > MsBsXY,Vec<double> MsVelocity, Vec<double> MsDirection, Vec<double> MsBsDistance,Vec<double> ThetaBs, bool isFirstTime, int U, int S,int numSubcar, int K,A
27、rray<Array<Array<Mat<complex<double> > > > > &H_f, double Slot_duration,int Site_distanceint MsNumAll, const int msId, Vec<complex<double> > MsBsXY,Vec<double> MsVelocity, Vec<double> MsDirection, Vec<double> MsBsDistance,Vec<double&
28、gt; ThetaBs, bool isFirstTime, int U, int S,int numSubcar, int K,Array<Array<Array<Mat<complex<double> > > > > &H_f, double Slot_duration,int Site_distancedouble Slot_duration:一個(gè)時(shí)隙的持續(xù)時(shí)間int Site_distance:基站站距RunSCME_DL.cpp3.4 SCMEmainSectorization函數(shù) double Slot_durat
29、ion,int Site_distance double Slot_duration,int Site_distancedouble Slot_duration:一個(gè)時(shí)隙的持續(xù)時(shí)間int Site_distance:基站站距RunSCME_DL.cpp3.5 pilotSINR_DL函數(shù)3.6 servingSINR_DL函數(shù)3.7 Controler3.8 Scheduler3.9 SchedulerRoundRobin3.10 SchedulerMaxC2I3.11 SchedulerPF3.12 SchedulerM_LWDF3.13 DistributeMSAlgoDiamond3.1
30、4 DistributeMSAlgoFile3.15 DistributeMSAlgoFix3.16 DistributeMSAlgoHex73.17 DistributeMSAlgoHexagon3.18 MSS完整類名:移動臺類void Move()void UpdateActiveSet( vector<vector<double> >&)m_iMCS2Rate函數(shù)方法6:void FlagChannelIndex(int bsid,int i,int j,double _FrameRate,double _SINR_dB);記錄移動臺每一幀被給與的總速率
31、以及分配的基站ID、天線ID、載波簇ID基站ID、天線ID、載波簇ID,幀速率,信噪比算法說明:利用deque和vector對數(shù)據(jù)進(jìn)行儲存。;功能說明: 記錄移動臺每一幀的天線ID、載波簇ID天線ID、載波簇ID算法說明:利用vector對數(shù)據(jù)進(jìn)行儲存。方法8:RecieveTF(int mcs,double payloadsize);功能說明: 記錄移動臺每一幀的mcs,payload size等級,負(fù)載大小算法說明:利用deque和vector對數(shù)據(jù)進(jìn)行儲存。deque<int> m_AvaiID; int m_iAckToID;int m_iCurID; bool m_bNe
32、w; struct DownLinkSignalbool AckNack;/反饋vector<pair<int,int> > PRB;map<pair<int,int>,int> MCS;map<pair<int,int>,double> TB;map<pair<int,int>,double> SINRofPRB;map<pair<int,int>,int>PRB_RV; DownLinkSignal m_DLSignalID4; 訪問屬性:私有;結(jié)構(gòu)體數(shù)據(jù)成員說明:處于閑
33、置狀態(tài)的HARQ進(jìn)程標(biāo)示,反饋的ACK對應(yīng)的ID指示當(dāng)前將傳輸?shù)倪M(jìn)程號指示,當(dāng)前是否重傳指示,以HARQ進(jìn)程號分組的信令結(jié)構(gòu)體算法說明:利用結(jié)構(gòu)體對數(shù)據(jù)進(jìn)行儲存。功能說明: 功率控制流程算法說明:通過各個(gè)函數(shù)分別把0、1值的功率控制指令變?yōu)?1、1;計(jì)算功率變化的步長;調(diào)整總發(fā)射功率;限定總發(fā)射功率的范圍;計(jì)算T2P值;計(jì)算導(dǎo)頻信道的發(fā)射功率;計(jì)算DRC信道的發(fā)射功率;計(jì)算業(yè)務(wù)信道的發(fā)射功率功能說明: 更新激活集以及與基站建立連接算法說明:對于每個(gè)用戶來說,初始時(shí)刻確定激活集只考慮本小區(qū)和周圍一圈六個(gè)小區(qū),只按地理位置更新激活集,記錄已經(jīng)進(jìn)入激活集的BTS的個(gè)數(shù),記錄WrapAround:Wr
34、apSector()返回的BTSm_iHomeSectorHARQBUFFERTimetoTransint m_ID; 移動臺的ID號訪問屬性:保護(hù);數(shù)據(jù)類型:vector<pair<int,int> >型;移動臺的激活集,存儲BTS的ID屬性7: 訪問屬性:保護(hù);主服務(wù)基站移動臺是否處于軟交換的標(biāo)志位移動臺是否處于更軟交換標(biāo)志信道模型的標(biāo)志位功率控制指令隊(duì)列屬性12:int m_bPC;當(dāng)前接收到的功率控制指令移動臺使用的傳輸格式(速率)訪問屬性:保護(hù);移動臺的幀偏置移動臺的總發(fā)射功率。移動臺的導(dǎo)頻發(fā)射功率DRC信道的發(fā)射功率業(yè)務(wù)信道的發(fā)射功率緩存區(qū)數(shù)據(jù)量,隨著移動臺
35、被調(diào)度而減少,業(yè)務(wù)更新時(shí)更新,用來估計(jì)速率3.19 WrapMS7 3.20 Service3.21 ServiceFullQueue3.21.1 類功能描述:3.21.2 類方法說明:方法1:WorkSlot()3.22 ServiceVoIP3.22.1 類功能描述:3.22.2 類方法說明:方法1:WorkSlot()3.23 ServiceFTP3.23.1 類功能描述:3.23.2 類方法說明:方法1:WorkSlot()3.24 ServiceHTTP完整類名:HTTP業(yè)務(wù)3.24.1 類功能描述:3.24.2 類方法說明:方法1:WorkSlot()3.25 ServiceVid
36、eo3.25.1 類功能描述:3.25.2 類方法說明:方法1:WorkSlot()3.26 ServiceGaming3.26.1 類功能描述:3.26.2 類方法說明:方法1:WorkSlot()3.27 BS3.27.1類功能描述:3.27.2類方法說明:為基站增加新的BTS清空BTS數(shù)組;按照輸入?yún)?shù)的規(guī)定增加一定數(shù)量的BTS 方法2:void HARQProcess(int _msid)重置基站,清空有關(guān)移動臺的所有數(shù)據(jù)。在Drop初始化或者Drop結(jié)束的時(shí)候被調(diào)用。先重置本基站管轄的所有BTS,然后再依次清空接收緩存,基站的激活集,重新發(fā)送的信息將移動臺加入基站的激活集中移動臺ID
37、和BTS的ID算法說明:如果本基站的激活集為空,或者在激活集中還不存在這個(gè)移動臺的ID的話,就把這個(gè)移動臺的ID加入激活集和緩存將移動臺從基站的激活集中去掉先取得該移動臺對應(yīng)的接收緩存,在該移動臺的更軟切換的分支中尋找對應(yīng)的BTS的ID。如果在更軟切換分支中找不到BTS的ID,說明從本基站斷開與該移動臺的連接命令是錯誤的,表明這個(gè)移動臺根本沒有接入本基站。如果更軟切換的分支為空,說明移動臺和本基站的所有BTS都沒有聯(lián)系,去除在本基站中,該移動臺對應(yīng)的接收緩存。與時(shí)間驅(qū)動者的接口,完成BS在每個(gè)Slot應(yīng)該完成的工作讀取當(dāng)前的系統(tǒng)時(shí)間,清除所要重傳和新傳的MS信息3.27.3類屬性說明:屬性1:
38、 vector<int> m_RetransMS屬性2: vector<int> m_NewtransMS訪問屬性:私有;激活集,存儲本基站正在服務(wù)的移動臺的ID訪問屬性:私有;接收緩存列表,從移動臺ID到接收緩存的映射屬性5:vector<BTS> m_BTSsvector<BTS>本基站所管轄的BTS屬性6: BSID m_IDBSID基站的ID號本基站所管轄的BTS3.27.4類使用方法示例3.28 MSRXBUFFER3.28.1類功能描述:3.28.2類方法說明:方法1:MSRXBUFFER(int _id):m_iMSID(id) 3
39、.28.3類屬性說明:屬性1: m_PilotC2I屬性2: m_iMSID屬性3:m_iChannelType3.29 Statistician3.29.1類功能描述:3.29.2類方法說明:方法1:void PreProcess() 方法2:void PrintTable()3.29.3類屬性說明:屬性1:m_MSDatavector<MSData>屬性2: m_BTSDatamap<pair<int,int>,BSData>3.30 NetWorkDrive完整類名:移動網(wǎng)絡(luò)驅(qū)動系統(tǒng)驅(qū)動模塊隨機(jī)數(shù)準(zhǔn)備算法說明:因?yàn)楸酒脚_使用的是偽隨機(jī)數(shù),所以每一次平臺
40、啟動后都使用了同一個(gè)隨機(jī)數(shù)序列。本函數(shù)的作用是,根據(jù)當(dāng)前的系統(tǒng)時(shí)間,先使用一部分隨機(jī)數(shù),這使得每一次仿真的過程可以使用不同的隨機(jī)數(shù)序列。仿真過程啟動的入口點(diǎn) ,推動時(shí)鐘前進(jìn),運(yùn)行整個(gè)平臺,到達(dá)了程序的預(yù)熱時(shí)間點(diǎn)后,就要重置統(tǒng)計(jì)模塊的統(tǒng)計(jì)數(shù)據(jù),最后依次完成每個(gè)時(shí)隙的工作,Drop結(jié)束時(shí),完成Drop結(jié)束后的清理,統(tǒng)計(jì)和輸出工作,系統(tǒng)結(jié)束后,完成程序結(jié)束之前的清理工作系統(tǒng)初始化流程算法說明:添加基站,配置基站的位置,初始化基站最后打印輸出表的表頭系統(tǒng)結(jié)束打印數(shù)據(jù)Drop初始化過程依次對時(shí)鐘實(shí)例進(jìn)行初始化,添加移動臺,對統(tǒng)計(jì)數(shù)據(jù)實(shí)例進(jìn)行初始化,對移動臺進(jìn)行初始分布時(shí)隙仿真流程如果平臺是剛開始,先對鏈
41、路矩陣進(jìn)行初始化,再更新每個(gè)時(shí)隙;否則就直接更新每個(gè)時(shí)隙。是實(shí)現(xiàn)Singleton模式的組成部分之一。算法說明:在第一次調(diào)用時(shí)初始化唯一的一個(gè)指向NetWorkDrive對象的指針。函數(shù)返回NetWorkDrive類對象的引用而不是指針是為了避免返回的指針被用戶做delete操作。訪問屬性:私有;Drop結(jié)束算法說明:對Drop進(jìn)行重置3.30.3類屬性說明:;數(shù)據(jù)用途: Singleton設(shè)計(jì)模式,提供指向類的指針。3.31 BsManager 基站管理者類管理基站配置基站的具體位置算法說明:分為19小區(qū)或7小區(qū),循環(huán)配置基站的位置坐標(biāo)及BTS的位置坐標(biāo) 訪問屬性:公用;數(shù)據(jù)用途:移動臺的I
42、D與數(shù)組的下標(biāo)對應(yīng),int數(shù)記錄移動臺的傳輸格式。3.32 MsManager移動臺管理者類管理移動臺訪問屬性:公有;將移動臺撒入服務(wù)區(qū)中算法說明:將撒點(diǎn)任務(wù)交給具體的算法類完成數(shù)據(jù)用途: 移動臺的撒點(diǎn)算法的指針。3.33 MapRoutBtsSINR_DL函數(shù)計(jì)算每個(gè)BTs的信噪比,選擇合適路由。void MapRoutBtsSINR_DL(vector<vector<vector<double> > > & _mapSINR,int _Nr, int _Nt, int _btsLinkNum, int _Nc, double _subCarSpa
43、ce, int _carStart, int _carEnd, int _numCarPerClu, int _samInterval, double _No, double _tfPower, const vector<double>& _pathLossToBTS, const vector<double>& _H_f2BtsRe, const vector<double>& _H_f2BtsIm, int _serveBtsID, vector<double> _beta)_Nr number of Rx anten
44、na_Nt number of Tx antennabtsLinkNum number of all BTS_Nc FFT size_subCarSpace frequency space between two adjacent subcarrier, Unit: Hz_carStart where the BTS's carrier that is used for computing SINR begin from (range of BW)_carEnd where the BTS's carrier that is used for computing SINR en
45、d at_numCarPerClu number of carrier in a cluster_samInterval frequency sampling interval when computing SINR_No noise power spectrum density:W/Hz_tfPower tx power of the BTS used for computing SINR, unit: W_pathLossToBTS path loss from all BTS to MS, _pathLossToBTS < 1,dimension: _btsLinkNum_H_f2
46、BTSRe frequency domain channel impulse response H_f2BTS's real part, dimension:_Nr*_Nt*_btsLinkNum*Nc_H_f2BTSIm frequency domain channel impulse response H_f2BTS's imaginary part, dimension:_Nr*_Nt*_btsLinkNum*Nc_serveBtsID the ID of UE's serving sector_beta EESM _beta parameters_mapSINR
47、 on each cluster of all antennas, dimension: numMCS_NtnumCluster, in dB;mapSINR is generated as follow:vector<vector<vector<double>>>mapSINR(numMCS,vector<vector<double> >(_Nt,vector<double>(carEnd-carStart+1)/numCarPerClu);3.34 MapRoutRelaySINR_DL函數(shù)計(jì)算每個(gè)BTs的信噪比,選擇
48、合適路由。void MapRoutRelaySINR_DL(vector<vector<vector<double>> > & _mapSINR, int _Nr, int _Nt, int _relayLinkNum, int _Nc, double _subCarSpace, int _carStart, int _carEnd, int _numCarPerClu, int _samInterval, double _No, double _tfPower, const vector<double>& _pathLossTo
49、Relay,const vector<double>& _H_f2RelayRe, const vector<double>& _H_f2RelayIm, int _serveRelayID, int _numOfRelayPerSector, vector<double> _beta)_Nr number of Rx antenna_Nt number of Tx antenna_relayLinkNum number of Relay_Nc FFT size_subCarSpace frequency space between two
50、adjacent subcarrier, Unit: Hz_carStart where the Relay's carrier that is used for computing SINR begin from (range of the BW of all relays)_carEnd where the Relay's carrier that is used for computing SINR end at_numCarPerClu number of carrier in a cluster_samInterval frequency sampling inter
51、val when computing SINR_No noise power spectrum density:W/Hz_tfPower tx power of the Router used for computing SINR, unit: W_pathLossToRelay path loss from all Relay to MS, pathLoss < 1,dimension: _relayLinkNum_H_f2RelayRe frequency domain channel impulse response H_f2Relay's real part, dimen
52、sion:Nr*Nt*_relayLinkNum*Nc_H_f2RelayIm frequency domain channel impulse response H_f2Relay's imaginary part, dimension:Nr*Nt*_relayLinkNum*Nc_serveRelayID the ID of UE's serving relay_numOfRelayPerSector the number of relays in the sector_beta EESM beta parameters_mapSINRSINR:on each cluste
53、r of all antennas, dimension: numMCSNtnumCluster, in dB,mapSINR is generated as follow:vector<vector<vector<double>>>mapSINR(numMCS,vector<vector<double> >(Nt,vector<double>(carEnd-carStart+1)/numCarPerClu);3.35 RouterSINR_DL函數(shù)計(jì)算每個(gè)Router的信噪比,選擇合適路由。void RouterSINR
54、_DL( vector<vector<double> >& _routerSINR, int _Nr, int _Nt, int _btsLinkNum, int _relayLinkNum, int _Nc, double _subCarSpace, int _carBTSStart, int _carBTSEnd, vector<int> _carRelayStart, vector<int> _carRelayEnd, int _numCarPerClu, int _samInterval, double _No, double _tfPowerOfBTS, double _tfPowerOfRelay,const vector<double>& _pathLossToBTS, const vector<double>& _pathLossToRelay,const vector<double>& _H_f2BTSRe, const vector<doub
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 產(chǎn)業(yè)數(shù)字化科技創(chuàng)新園市場分析與需求評估
- 2025年度酒水專賣店加盟連鎖經(jīng)營合同
- 2025年度餐飲業(yè)股權(quán)入股合作協(xié)議
- 2025年度美容美發(fā)專業(yè)人才勞務(wù)招聘合同
- 二零二五年度寵物用品品牌授權(quán)協(xié)議
- 二零二五年度衛(wèi)浴產(chǎn)品專利技術(shù)許可使用合同
- 二零二五年度工程欠款債權(quán)追償及清收協(xié)議
- 2025年度航空航天裝備制造就業(yè)勞動合同
- 二零二五年度區(qū)塊鏈技術(shù)應(yīng)用入股協(xié)議書
- 2025年度車輛事故理賠與車輛救援保險(xiǎn)合同
- 外研版(三起)小學(xué)英語三年級下冊Unit 1 Animal friends Get ready start up 課件
- (新版)廣電全媒體運(yùn)營師資格認(rèn)證考試復(fù)習(xí)題庫(含答案)
- 保安員資格考試復(fù)習(xí)題庫及答案(800題)
- 《公路建設(shè)項(xiàng)目文件管理規(guī)程》
- 2024年法律職業(yè)資格考試(試卷一)客觀題試卷與參考答案
- 春節(jié)文化研究手冊
- 2016-2023年婁底職業(yè)技術(shù)學(xué)院高職單招(英語/數(shù)學(xué)/語文)筆試歷年參考題庫含答案解析
- 安全生產(chǎn)重大事故隱患排查報(bào)告表
- 鋼琴基礎(chǔ)教程1教案
- 上海科技版(滬科版)初中數(shù)學(xué)八年級下冊全冊教案
- 小學(xué)音樂課后服務(wù)教學(xué)設(shè)計(jì)方案計(jì)劃
評論
0/150
提交評論