1.问题描述:

异构网络垂直切换算法LTE/WIMAX切换

2.部分程序:

%%         the simulation of this program is for heterogeneous          %%
%%         network in vertical handoff;                                 %%
%initial the parameters of network
clear
clc
global fc_LTE fc_Wimax LTE_BS_coordinate Wimax_BS_coordinate ...
    Wimax_BS_coordinate LTE_BS_coordinate
service_type=0;                %the subscriber type of service
                               %0 refers to real time service,on the
                               % contrary,1 refers to nonreal-time service
MS_coordinate=[100,0];    
LTE_BS_coordinate=[0,0]; %the coordinate of LTE BS
Wimax_BS_coordinate=[600,0];   %the coordinate of wimaxE BS
MS_speed=10;                   %the speed of mobile station

fc_LTE=2000*10^6;              %the frequency of the carrier for LTE
fc_Wimax=2500*10^6;            %the frequency of the carrier for Wimax
Net_state=0;                   %0 refers to LTE;1 refers to Wimax
handoff_drop=1;
handoff_clock=0;
count_handoff_number=0;
Tc=0.5;                      %time of measure interval
record_time=0;                %record the number of interval time of system
countinue_run=true;

while countinue_run
    
    %#################  measure the receieved signal strength  ############ 
    %if the mobile station is in the LTE network
    if is_in_LTE_coverage(MS_coordinate)
        RSS_LTE=calculate_RSS(MS_coordinate,'LTE');
    else
        RSS_LTE=-inf;
    end
    
    %if the mobile station is in the LTE network
    if is_in_Wimax_coverage(MS_coordinate)
        RSS_Wimax=calculate_RSS(MS_coordinate,'Wimax');
    else
        RSS_Wimax=-inf;
    end
    
    %###############  decide whether to handoff according to RSS  #########
    if Net_state==0&&RSS_LTE<RSS_Wimax
        if handoff_clock>handoff_drop
            if is_network_performance_meet(service_type)==1||(...
                    ~is_in_LTE_coverage(MS_coordinate)&&...
                    is_in_Wimax_coverage(MS_coordinate))
                                             %compare the performance of 
                                             %new network with the past
                                             %network
                count_handoff_number=count_handoff_number+1;
                Net_state=1;
                handoff_clock=0;             %reset the counter
            else
               handoff_clock=0;              %stay in the past network
            end
        else
            handoff_clock=handoff_clock+Tc;
        end
    elseif Net_state==1&&RSS_LTE>RSS_Wimax
        if handoff_clock>handoff_drop
            if is_network_performance_meet(service_type)==0||(...
                    is_in_LTE_coverage(MS_coordinate)&&...
                    ~is_in_Wimax_coverage(MS_coordinate))
                                             %compare the performance of 
                                             %new network with the past
                                             %network
                count_handoff_number=count_handoff_number+1;
                Net_state=0;
                handoff_clock=0;             %reset the counter
            else
               handoff_clock=0;              %stay in the past network
            end
        else
            handoff_clock=handoff_clock+Tc;
        end
    else
        handoff_clock=0;
    end
    
    %#####################  decide whether to continue run ################
    if is_in_LTE_coverage(MS_coordinate)||...
            is_in_Wimax_coverage(MS_coordinate)  
        
        %########################  record the data ########################
        record_time=record_time+1;
        record_RSS_LTE(record_time)=RSS_LTE;
        record_RSS_Wimax(record_time)=RSS_Wimax;
        record_Net_state(record_time)=Net_state; 
        MS_coordinate(1)=MS_coordinate(1)+MS_speed*Tc;
    else
        countinue_run=false;
    end 
end

%######################## plot the simulation results  ####################
t=[1:record_time]*Tc;
plot(t,record_RSS_LTE,'--ro','MarkerEdgeColor','g','MarkerFaceColor','y',...
    'MarkerSize',2);
hold on
plot(t,record_RSS_Wimax,'-.ks','MarkerEdgeColor','b',...
    'MarkerFaceColor','c','MarkerSize',2);
hold off
grid on
xlabel('time(s)');
ylabel('RSS(dBm)');
legend('LTE','Wimax');
title('the received signal strength about two networks');
figure
plot(t,record_Net_state,'--ro','MarkerEdgeColor','g','MarkerFaceColor','y',...
    'MarkerSize',2)
grid on
xlabel('time(s)');
ylabel('mark of network');
text(0,0,'\leftarrow LTE','FontSize',10)
text(0,1,'\leftarrow Wimax','FontSize',10)
title('the state of mobile station in LTE and Wimax network')
%############################END THE PROGRAM ##############################

3.仿真结论:

D109

异构网络垂直切换算法LTE/WIMAX切换相关推荐

  1. 异构网络垂直切换算法lte/wimax

    1.问题描述: 2.部分程序: clc clear all; %初始化一些参数 avethroughput=0;s=0;g=0; picothroughput=0; averagepicoput2=0 ...

  2. TD-SCDMA与TD-LTE异构网络垂直切换算法的实现

    TD-SCDMA与TD-LTE异构网络垂直切换算法的实现 在当前的移动通信领域中,TD-SCDMA和TD-LTE成为了两个主流的移动通信标准.在实际应用中,有时需要在这两种网络之间进行垂直切换以保证通 ...

  3. LTE和Wimax异构网络垂直切换matlab仿真

    目录 1.算法描述 2.仿真效果预览 3.MATLAB核心程序 4.完整MATLAB 1.算法描述 随着通信产业的迅猛发展,用户对通信有了更高的期望,不仅要求有 稳定的语音通信,而且要求能够进行数据和 ...

  4. m基于随机接入代价的异构网络速率分配算法matlab仿真

    目录 1.算法描述 2.仿真效果预览 3.MATLAB核心程序 4.完整MATLAB 1.算法描述 无线接入技术发展迅速,异构网络并存的现象普遍存在:同时,随着终端用户数量的剧增.业务类型的多样化和高 ...

  5. m基于基站休眠的LTE-A异构网络中节能算法matlab仿真

    目录 1.算法描述 2.仿真效果预览 3.MATLAB核心程序 4.完整MATLAB 1.算法描述 要求 1.开发一个软件工具,可以直观地演示如何在LTE-A异构网络中通过基站的睡眠模式节约能源 2. ...

  6. TD-SCDMA与TD-LTE异构网络垂直切换算法

    1.问题描述: TD-SCDMA与TD-LTE共覆盖的范围内覆盖半径1000m: TD-SCDMA中心坐标(0,0),覆盖半径1000m: 两个TD-LTE基站的中心坐标为(150,0)(-150,0 ...

  7. 基于随机接入代价的异构网络速率分配算法研究

    在协作传输中,把业务流分拆到不同网络进行传输可解决单一网络无法传输的问题,同时降低接入阻塞率并提高网络利用率.随机接入的退避机制决定了碰撞率随接入用户数的增多而快速增大.因此,盲目追求资源分配的公平性 ...

  8. 【论文翻译|2021】A survey on heterogeneous network representation learning 异构网络表示学习综述

    文章目录 摘要 1引言 2 相关工作 3 相关概念 4 分类 4.1 异构信息网络表示方法概览 4.2 异构信息网络嵌入算法的分类 4.3 基于路径的算法 4.3.1 传统的机器学习 5 讨论 5.1 ...

  9. mTD-SCDMA与TD-LTE双网络垂直切换matlab仿真

    目录 1.算法描述 2.仿真效果预览 3.MATLAB部分代码预览 4.完整MATLAB程序 1.算法描述 TD-SCDMA与TD-LTE共覆盖的范围内覆盖半径1000m: TD-SCDMA中心坐标( ...

最新文章

  1. 这就是为什么我们需要在React的类组件中绑定事件处理程序
  2. iOS 9应用开发教程之创建iOS 9项目与模拟器介绍
  3. MySQL查询结果复制到新表(更新、插入)
  4. Gentoo 安装日记 03 (配置网络)
  5. 软工三(5.12上课)
  6. jQuery插件ASP.NET应用之AjaxUpload
  7. RBM/DBN训练中的explaining away概念
  8. LeetCode 452. 用最少数量的箭打破气球(贪心)
  9. Mac上的一位数密码你知道吗
  10. Python I/O及FIle方法
  11. 8. JavaScript HTML DOM 事件
  12. 基于FPGA的脉冲压缩设计(Matlab+vivado)
  13. scrapy 报错401
  14. Python序列 数据类型 创建方式 Tuple元组 Str字符串 List列表 dict字典 Set集合 range,zip,map,enumerate
  15. C语言——函数(下)
  16. 夏季必不能少六道凉拌菜
  17. cmd下访问内部数据库
  18. 爬取起点中文网站原创风云榜小说排行
  19. MIFI与随身wifi、wifi共享软件,玩坏wifi的几种方法
  20. QMI8658 - 姿态传感器学习笔记 - Ⅲ

热门文章

  1. zookeeper源码
  2. 通过企业分布式缓存共享运行时数据
  3. DataView.RowFilter使用
  4. javascript this 关键字学习
  5. WPF 3D 基础学习 - 相机、裁剪、光线入门(2)
  6. 使用CFree调用Win32 LoadLibrary 简单示例
  7. opencv入门 - 显示图像学习总结
  8. 医院信息化建设历程(5)互联互通的数字化医院阶段
  9. 更新Android Studio 3.1.1碰到的问题
  10. Day24--Part2-伪Ajax(iframe)