【无人机】基于博弈论的无人机授权应急网络中用户设备关联模拟器附matlab代码

简介: 【无人机】基于博弈论的无人机授权应急网络中用户设备关联模拟器附matlab代码

✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

智能优化算法       神经网络预测       雷达通信      无线传感器        电力系统

信号处理              图像处理               路径规划       元胞自动机        无人机

⛄ 内容介绍

The availability of communication channels able to offer a good level of quality of service is pivotal after theoccurrence of a disaster in order to share critical info or to coordinate search and rescue operations.

With the developments in both Smart City and 5G paradigms new communication opportunities arise thanks to ad-hoc networks among smartphones and surviving IoT devices, cellular networks as well as wireless networks based on vehicles.

With all these opportunities, the choice of the communication medium to use to access the Internet by the user equipment must consider the quality of service achievable through each of them, while reducing the amount of energy consumed for communicating, given that it might not be possible to have access to energy sources.

This work evaluates the adoption of Game Theory to find association strategies that maximize the quality of service perceived in post-disaster scenarios in which UAVs have been deployed to support the cellular network.

⛄ 部分代码

% Add functions to path

addpath('association', 'constants', 'data', 'evaluation', 'disruption', 'performance', 'placement', 'utils');


% Set random number generator seed for reproducibility

% rng(6);


% Definition of the area of interest

vertex_1 = [40.77405, 14.79425];

vertex_2 = [40.76728, 14.80319];


altitude = 280;


origin = [min(vertex_1(1), vertex_2(1)) + (max(vertex_1(1), vertex_2(1)) - min(vertex_1(1), vertex_2(1))) / 2, ...

         min(vertex_1(2), vertex_2(2)) + (max(vertex_1(2), vertex_2(2)) - min(vertex_1(2), vertex_2(2))) / 2, altitude];


% Selection of network operator and technology

radio = ["LTE", "UMTS"];

mcc = 222;

mnc = [10, 6];


fprintf('Getting towers in the area ...');

towers_table = tower_placement(vertex_1, vertex_2, origin, altitude, radio, mcc, mnc);

fprintf('done!\n');


% User placement

number_of_users = 500;


fprintf('Placing users in the area ...');

users_table = user_placement(vertex_1, vertex_2, altitude, number_of_users);

fprintf('done!\n');


% Signal-based user association before disaster

fprintf('Performing signal-based user association before disaster ...');

[base_stations_info_table_sbbd, user_association_table_sbbd] = signal_based_association(users_table, towers_table, empty_uavs_table, true);

user_association_plot(users_table, towers_table, empty_uavs_table, user_association_table_sbbd, 'Signal-based pre-disaster');

fprintf('done!\n');


% Natural disaster simulation

center = [0, 0];

radius = 250;

destruction_probability = 0.4;

damage_probability = 0.8;


fprintf('Simulating disaster ...');

towers_table_ad = natural_disaster(center, radius, destruction_probability, damage_probability, towers_table);

fprintf('done!\n');


% Signal-based user association after disaster without UAVs

fprintf('Performing signal-based user association before disaster ...');

[base_stations_info_table_sbad, user_association_table_sbad] = signal_based_association(users_table, towers_table_ad, empty_uavs_table, true);

user_association_plot(users_table, towers_table_ad, empty_uavs_table, user_association_table_sbad, 'Signal-based post-disaster');

fprintf('done!\n');


% UAV placement

cell_size = 20;

max_uavs = 48;


fprintf('Placing UAVs in the area (this may take a while) ...\n');

uavs_table = uav_placement(vertex_1, vertex_2, origin, altitude, cell_size, max_uavs, users_table, towers_table_ad);


% Signal-based user association after disaster with UAVs deployed

fprintf('Performing signal-based user association after UAV deployment ...');

[base_stations_info_table_sbadwu, user_association_table_sbadwu] = signal_based_association(users_table, towers_table_ad, uavs_table, true);

user_association_plot(users_table, towers_table_ad, uavs_table, user_association_table_sbadwu, 'Signal-based post-disaster with UAVs deployed');

fprintf('done!\n');


% Game-theoretic user association after disaster with UAVs deployed

game_learning_rate = 0.05;


fprintf('Performing game-theoretic user association after UAV deployment ...');

[base_stations_info_table_gtadwu, user_association_table_gtadwu, changes_history] = game_theoretic_association(users_table, towers_table_ad, uavs_table, true, game_learning_rate);

user_association_plot(users_table, towers_table_ad, uavs_table, user_association_table_gtadwu, 'Game-theoretic post-disaster with UAVs deployed');

fprintf('done!\n');


% Plot user throughput distributions

throughput_distributions = [user_association_table_gtadwu.throughput user_association_table_sbadwu.throughput user_association_table_sbad.throughput user_association_table_sbbd.throughput];

labels = {'Ottimizzato', 'Post-disastro con UAV', 'Post-disastro', 'Pre-disastro'};

throughput_distribution_plot(throughput_distributions, labels);


% Plot the number of strategy changes for each round of the game

game_changes_history_plot(changes_history);

⛄ 运行结果

⛄ 参考文献


⛳️ 完整代码

❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料


相关文章
|
机器学习/深度学习 传感器 算法
【无人车路径跟踪】基于神经网络的数据驱动迭代学习控制(ILC)算法,用于具有未知模型和重复任务的非线性单输入单输出(SISO)离散时间系统的无人车的路径跟踪(Matlab代码实现)
【无人车路径跟踪】基于神经网络的数据驱动迭代学习控制(ILC)算法,用于具有未知模型和重复任务的非线性单输入单输出(SISO)离散时间系统的无人车的路径跟踪(Matlab代码实现)
863 2
|
传感器 机器学习/深度学习 算法
【无人机协同】动态环境下多无人机系统的协同路径规划与防撞研究(Matlab代码实现)
【无人机协同】动态环境下多无人机系统的协同路径规划与防撞研究(Matlab代码实现)
564 0
|
机器学习/深度学习 数据采集 存储
概率神经网络的分类预测--基于PNN的变压器故障诊断(Matlab代码实现)
概率神经网络的分类预测--基于PNN的变压器故障诊断(Matlab代码实现)
1810 92
|
机器学习/深度学习 人工智能 算法
【基于TTNRBO优化DBN回归预测】基于瞬态三角牛顿-拉夫逊优化算法(TTNRBO)优化深度信念网络(DBN)数据回归预测研究(Matlab代码实现)
【基于TTNRBO优化DBN回归预测】基于瞬态三角牛顿-拉夫逊优化算法(TTNRBO)优化深度信念网络(DBN)数据回归预测研究(Matlab代码实现)
570 0
|
传感器 机器学习/深度学习 数据采集
【航空发动机寿命预测】基于SE-ResNet网络的发动机寿命预测,C-MAPSS航空发动机寿命预测研究(Matlab代码实现)
【航空发动机寿命预测】基于SE-ResNet网络的发动机寿命预测,C-MAPSS航空发动机寿命预测研究(Matlab代码实现)
730 0
|
机器学习/深度学习 边缘计算 算法
【无人机】无人机群在三维环境中的碰撞和静态避障仿真(Matlab代码实现)
【无人机】无人机群在三维环境中的碰撞和静态避障仿真(Matlab代码实现)
542 0
|
机器学习/深度学习 算法 机器人
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
1181 0
|
算法 定位技术 计算机视觉
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
1369 0
|
算法 机器人 计算机视觉
【图像处理】水下图像增强的颜色平衡与融合技术研究(Matlab代码实现)
【图像处理】水下图像增强的颜色平衡与融合技术研究(Matlab代码实现)
467 0
|
新能源 Java Go
【EI复现】参与调峰的储能系统配置方案及经济性分析(Matlab代码实现)
【EI复现】参与调峰的储能系统配置方案及经济性分析(Matlab代码实现)
483 0

热门文章

最新文章