基于LTE和GMR异构网络的垂直切换算法matlab仿真

目录

1.LTE和GMR异构网络模型

2.异构网络中的垂直切换原理

3.MATLAB程序

4.仿真结果


       随着无线通信技术的迅速发展,长期演进技术(LTE)和全球微波互联接入(WiMAX)、通用移动通信系统(UMTS)等无线接入技术共存,形成了异构无线网络环境。在这种环境中,用户设备(UE)可以根据不同的业务需求和网络条件,在多个网络之间无缝切换,以提供连续的服务。其中,LTE和基于地面的移动通信网络(GMR)之间的垂直切换是一个重要的研究方向。垂直切换算法的目标是在保证服务质量(QoS)的前提下,实现网络间的平滑切换。这需要考虑到多种因素,如网络覆盖范围、信号强度、用户移动性、业务需求等。

1.LTE和GMR异构网络模型

       在LTE和GMR异构网络中,UE可以同时接入LTE网络和GMR网络。LTE网络提供高速的数据传输服务,而GMR网络则提供广泛的覆盖范围和稳定的通信服务。UE根据网络条件和业务需求,在这两个网络之间进行切换。

      切换决策需要考虑多个因素,包括接收信号强度(RSS)、网络负载、用户移动性等。为了量化这些因素,我们定义以下变量:

  • (R_{LTE}(t)) 和 (R_{GMR}(t)) 分别表示UE在时刻 (t) 接收到LTE网络和GMR网络的信号强度;
  • (L_{LTE}(t)) 和 (L_{GMR}(t)) 分别表示LTE网络和GMR网络在时刻 (t) 的负载情况;
  • (V(t)) 表示UE在时刻 (t) 的移动速度。

2.异构网络中的垂直切换原理

       在LTE和GMR(这里假设为另一种无线接入技术)构成的异构网络中,垂直切换是指UE(User Equipment)从一种无线接入技术(RAT)的服务小区切换到另一种RAT的过程。以下是垂直切换的基本步骤和涉及的关键决策过程:

       UE定期测量服务小区和其他邻区(包括不同RAT类型)的信号质量,如RSRP(Reference Signal Received Power)、SINR(Signal-to-Interference-plus-Noise Ratio)等:

其中:

  • RSRPn​ 是第n个小区的参考信号接收功率。
  • Pr​(n) 是接收到的第n个小区参考信号的功率。
  • η 是一个修正因子,用于考虑接收机噪声等影响。

判决准则通常涉及比较目标RAT与当前RAT的性能指标,例如:

若满足上述条件,则认为可以发起切换请求,其中:

  • RSRPtarget​ 是目标RAT小区的RSRP。
  • γ 和 θ 是预设的切换门限参数。

       网络侧通过X2接口或者S1接口获取UE上报的测量信息,并根据系统间切换策略进行决策。核心网元如MME(Mobility Management Entity)结合负荷均衡、QoS要求等因素作出是否进行垂直切换的决定。

一旦决定进行垂直切换,网络将执行以下步骤:

  • 在目标RAT中为UE分配资源。
  • 通过信令交互通知UE执行切换,包括释放源RAT连接及建立目标RAT连接所需的相关指令。
  • 安全上下文转移以确保数据安全性和会话连续性。

为了减少不必要的切换和提高切换成功率,可以采用动态优化算法调整切换参数。

       综上所述,在基于LTE和GMR的异构网络中,实现高效的垂直切换算法需要综合考虑多种因素,并通过实时测量、精确判决和灵活优化来确保切换的成功率和用户体验。实际应用中,更复杂的切换算法可能还包括协同决策、跨层优化等内容。

3.MATLAB程序

.............................................................................
while countinue_run
    
    %#################  measure the receieved signal strength  ############ 
    %if the mobile station is in the GMR network
    if is_in_GMR_coverage(MS_coordinate)
        RSS_GMR=calculate_RSS(MS_coordinate,'GMR');
    else
        RSS_GMR=-inf;
    end
    
    %if the mobile station is in the GMR network
    if is_in_LTE_coverage(MS_coordinate)
        RSS_LTE=calculate_RSS(MS_coordinate,'LTE');
    else
        RSS_LTE=-inf;
    end
    
    %###############  decide whether to handoff according to RSS  #########
    if Net_state==0&&RSS_GMR<RSS_LTE
        if handoff_clock>handoff_drop
            if is_network_performance_meet(service_type)==1||(...
                    ~is_in_GMR_coverage(MS_coordinate)&&...
                    is_in_LTE_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_GMR>RSS_LTE
        if handoff_clock>handoff_drop
            if is_network_performance_meet(service_type)==0||(...
                    is_in_GMR_coverage(MS_coordinate)&&...
                    ~is_in_LTE_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_GMR_coverage(MS_coordinate)||...
            is_in_LTE_coverage(MS_coordinate)  
        
        %########################  record the data ########################
        record_time=record_time+1;
        record_RSS_GMR(record_time)=RSS_GMR;
        record_RSS_LTE(record_time)=RSS_LTE;
        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;
 

%% figure 1--- one 
plot(t,record_RSS_GMR,'r->',...
    'MarkerEdgeColor','r',...
    'MarkerFaceColor','r',...
    'MarkerSize',2)

hold on
 
plot(t,record_RSS_LTE,'-bs',...
    'MarkerEdgeColor','b',...
    'MarkerFaceColor','b',...
    'MarkerSize',2)

hold off
grid on
xlabel('time(s)');
ylabel('RSS(dBm)');
legend('GMR','LTE');
%axis([300 700 -115 -85])
axis([300 700 -120 -80])
title('the received signal strength about two networks');
%% figure 1---- tow
figure
plot(t,record_RSS_GMR,'r->',...
    'MarkerEdgeColor','r',...
    'MarkerFaceColor','r',...
    'MarkerSize',2)

hold on
 

plot(t,record_RSS_LTE,'-bs',...
    'MarkerEdgeColor','b',...
    'MarkerFaceColor','b',...
    'MarkerSize',2)

hold off
grid on
xlabel('time(s)');
ylabel('RSS(dBm)');
legend('GMR','LTE');
axis([0 1000 -125 -80])
title('the received signal strength about two networks');

%% figure 2--- one
figure
 

plot(t,record_Net_state,'b--^',...
    'MarkerEdgeColor','b',...
    'MarkerFaceColor','b',...
    'MarkerSize',3)


grid on
xlabel('time(s)');
ylabel('mark of network');
text(300,0,'\leftarrow GMR','FontSize',10)
text(300,1,'\leftarrow LTE','FontSize',10)
axis([300 700 0 1])
title('the state of mobile station in GMR and LTE network')

%% figure 2---- tow
figure
%plot(t,record_Net_state,'--ro','MarkerEdgeColor','k','MarkerFaceColor','g',...
 %   'MarkerSize',2)

plot(t,record_Net_state,'b--^',...
    'MarkerEdgeColor','b',...
    'MarkerFaceColor','b',...
    'MarkerSize',3)


grid on
xlabel('time(s)');
ylabel('mark of network');
text(0,0,'\leftarrow GMR','FontSize',10)
text(0,1,'\leftarrow LTE','FontSize',10)
axis([0 1000 0 1])
title('the state of mobile station in GMR and LTE network')


count_handoff_number
up4043

4.仿真结果

        基于LTE和GMR(Geostationary Mobile Radio)异构网络的垂直切换算法是一个设计用于在不同类型的网络之间无缝切换的技术,确保通信的连续性和服务质量(QoS)。这种切换主要在LTE(长期演进)网络和GMR网络之间进行,后者通常用于卫星通信。这个算法的核心目的是在不牺牲用户体验的情况下,根据网络条件和用户需求,智能选择最佳网络。

  • 13
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

fpga和matlab

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值