锐单电子商城 , 一站式电子元器件采购平台!
  • 电话:400-990-0325

无人机优化无线传感器网络matlab代码

时间:2023-04-29 08:07:00 有什么无线传感器

1 简介

In wireless sensor networks (WSNs),utilizing the unmanned aerial vehicle (UAV) as a mobile data collector for the ground sensor nodes (SNs) is an energy-efficient technique to prolong the network lifetime. Specifically,since the UAV can sequentially move close to each of the SNs when collecting data from them and thus reduce the link distance for saving the SNs transmission energy. In this letter,an efficient iterative algorithm is proposed to find a sub-optimal solution. Numerical results show that the proposed scheme achieves significant network energy saving as compared to benchmark schemes.an efficient iterative algorithm is proposed to find a sub-optimal solution. Numerical results show that the proposed scheme achieves significant network energy saving as compared to benchmark schemes.

2 部分代码

%Energy-Efficient Data Collection in UAV Enabled Wireless Sensor Network Cheng Zhan ,Member,IEEE,Yong Zeng ,Member,IEEE,and Rui Zhang ,Fellow,IEEE% Jongseok Lee,kwangwoon university,seoul,korea.% figure1.(a) and (b)clearallclosealladdpath('./src')globaluq0qFistrain=0ifistrain==1 %% Optimization Q= {}; X= {}; Theta= {}; Lo= {}; forT= [4050100]   disp(['T ='num2str(T)',start'])   [q,x,th,lo]=solveP1('T',T,'Sk',10*(10^6),'epsilon',10^-2);   disp(['T ='num2str(T)',end'])   Q=cat(1,Q,{q});   X=cat(1,X,{x});   Theta=cat(1,Theta,{th});   Lo=cat(1,Lo,{lo}); endelse load('./data/Fig1.mat') parameter_setting('Sk',10*(10^6),'epsilon',10^-2);end%% figure 1.(a)figure(11)holdon plot(Q{1}Q{1}'--b',Q{2}Q{2}'-.r',Q{3}Q{3}(2,:),'-k');scatter(u(1,:),u(2,:),'xk');legend('T=40s','T=50s','T=100s');axis([-800800-800800])gridontitle('Fig. 1.(a),UAV trajectory')xlabel('x')ylabel('y')text(q0(1),q0(2),'\leftarrow Initial point');text(qF(1)-300,qF(2),'Final point \rightarrow');fork=1:4 text(u(1,k),u(2,k),['u_{',num2str(k),」;enddrawnow %% figure 1.(b)figure(13)Xr=X{2};t=zeros(4,1);fork=1:4 t(k) =graythresh(Xr(:,k));end t=min(t)*1.2; Xr(Xr>=t) =1; Xr(Xr 
  

3 仿真结果

4 参考文献

[1] Zhan, C. ,  Y. Zeng , and  R. Zhang . "Energy-Efficient Data Collection in UAV Enabled Wireless Sensor Network." IEEE Wireless Communication Letters PP.99(2017):1-1.

部分理论引用网络文献,若有侵权联系博主删除。

5 MATLAB代码与数据下载地址

见博客主页

锐单商城拥有海量元器件数据手册IC替代型号,打造电子元器件IC百科大全!

相关文章