基于无人机的气象数据采集系统设计(Matlab代码实现)

 🍒🍒🍒欢迎关注🌈🌈🌈

📝个人主页:我爱Matlab


👍点赞➕评论➕收藏 == 养成习惯(一键三连)🌻🌻🌻

🍌希望大家多多支持🍓~一起加油 🤗

💬语录:将来的我一定会感谢现在奋斗的自己!

🍁🥬🕒摘要🕒🥬🍁

人工影响天气业务在防灾减灾工作中越来越受到重视,并且技术也愈加完善。但是人工降雨一般是以飞机播撒催化剂的方式实现增雨、降雨。人工降雨对气象条件及空气质量有前提条件,对机上指挥人员也有危险性。所以,利用无人机实现自动播撒,自动观测,可以很好地解决安全性的问题。该文主要研究基于无人机的气象数据采集系统的设计,设计无人机气象数据采集的硬件和程序。温度和湿度传感器、气压传感器和HGPS传感器分别用于传输观测数据。传输的数据从控制器写入,进入SD卡然后存储,通过无线数据传输模块,发送到地面主处理计算机进行实时显示。

✨🔎⚡运行结果⚡🔎✨

 ​

💂♨️👨‍🎓Matlab代码👨‍🎓♨️💂

close, clear, clc
format long

outfile = false;
plotdata = true;

date = '18-11-02';
log_file = 'DATA01.CSV';
pix_file = '2018-11-02 16-00-07.bin-61468.mat';

% pix_file = '2018-08-22 11-30-26.bin-101613.mat';
% date = '18-08-22';
% log_file = 'DATA05.CSV';

LUT_MET = 'MET_LUT.csv';
LUT_UCASS = 'LUT_D_water.txt';
density = 997000000;

PIXdat = PIXextract(date,pix_file);
[time_met,tfit,hfit] = calMET(date,LUT_MET,log_file);
[METrt,PIXrt] = RTCzero(log_file,pix_file,date);
alt = time2alt(PIXdat,METrt,PIXrt);
met = [time_met,alt];
met(:,2) = run_filter(met(:,2),2,20,10);

[bb,counts] = calUCASS(date,LUT_UCASS,log_file);
mass_conc = UCASSmass_conc(counts,bb,met(:,5),density);
met = [met,mass_conc];

metdat = metstruct(met);

[profiles,pindex] = detect_profile(metdat);
altitudes = [10,50,70,100,120];
slicestruct = sliceData(profiles,altitudes,pindex,counts);
intParams = colint(profiles);

if outfile == true
    genfile('SAM_DATA',log_file,pix_file,date,profiles);
end

if plotdata == true
    fig = figure(1);
    ax1 = subplot(1,2,1);
    tln1 = plot([profiles.profile_1.temperature],[profiles.profile_1.altitude],'x');
    hold on
    tln2 = plot([profiles.profile_2.temperature],[profiles.profile_2.altitude],'x');
    hold on
    ylim([10,140])
    xlabel(sprintf('Temperature%cC',char(176)));
    ylabel('Altitude (m)');
    title(['Temperature Profile ',date])
    legend(ax1,{'Ascent','Descent'},'Location','northeast')
    
    ax2 = subplot(1,2,2);
    mln1 = plot([profiles.profile_1.particle_mass_conc],[profiles.profile_1.altitude]);
    hold on
    mln2 = plot([profiles.profile_2.particle_mass_conc],[profiles.profile_2.altitude]);
    hold on
    ylim([10,140])
    xlabel('Particle Mass Concentration (kgm^-^3)');
    ylabel('Altitude (m)');
    title(['Particle Mass Concentration Profile ',date])
    legend(ax2,{'Ascent','Descent'},'Location','northeast')
    hold off
end

📜📢🌈参考文献🌈📢📜

[1]李俊杰,霍宗钰.气象探测无人机及保护装置结构设计[J].电子技术与软件工程,2022(14):80-83.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值