浙江大学硕士学位论文摘要摘要近年来,无人机的研究和应用在世界范围内迅速升温,我国也在无人机的研究和发展上做出了相当大的投入。无人机地面站系统是整个无人机系统的指挥控制中心,而地面站软件是地面站系统的重要组成部分。一套功能完善的无人机地面站软件,能够很好地辅助地面操作人员对无人机进行飞行状况监视和实时控制。结合作者参与某型无人飞行器系统中的地面站子系统的研制经历,本文论述了如何应用串口通信编程、组件式GIS开发和ADO数据库访问等技术手段来构建一套功能完善的无人机地面站软件。地面站利用专用数据链系统,通过读写串口来与无人机通信,而无人机下传数据帧的频率很高,因此高速实时串口通信的实现至关重要。我们在实践中采用了改进串口类CSuperSerialPort的实时性及实现一个高精度定时器等手段来满足应用需求。基于ArcGIS地理信息系统和ArcObjects组件式GIS开发技术,实现了地图导航部分的各项功能。同时通过数字高程模型的应用,很好地解决了无人机在三维空间飞行中存在的高空障碍问题。通过利用ADO技术来操作导航数据库,我们实现了地面站软件的航线规划和航迹回放功能。而动态创建数据表和读写BLOB--进制数据两项技术的运用,解决了如何高效率读写数据库以记录众多的飞行航迹的问题。实践表明,通过与地面站系统其他部分的配合使用,该无人机地面站软件的功能已经能基本满足操作员执行无人机试飞任务的需要。
关键词:无人机,串口通信,ArcGIS,航线规划浙江大学硕上学位论文Abstract
AbstractInrecentyears,therehasbeenallincreasingfocusontheresearchandapplication
ofunmannedaerialvehicle(UAV)intheworld,ourcountryisalsomakinga
considerableinvestmentontheresearchanddevelopmentofUAV.TheUAVground
stationsoftwareisallintegralpartofthegroundstationsystem,whichisthecommandandcontrolcenteroftheentireUAVsystem.Afull—featuredUAVgroundstation
soRwaresystemcallsupportthemonitoringandreal—timeremotecontroloftheUAV.
Combinedwithexperiencesoftheauthor,whoinvolvedinthedevelopmentof
a
high—speedUAV,thisarticlediscusseshowtobuildafull—featuredUAVgroundstationsoftwaresystem,byutilizingserialcommunicationprogramming,componentGIS
developmentandADO-baseddatabaseoperationtechnology.
ThegroundstationcommunicateswiththeUAVusingadedicateddatalinksystemthroughtheserialport.Becauseofthehighspeedandfrequencyofdownlink
data,therealizationofhigh—speedreal—timeserialcommunicationisveryimportant.To
meetthereal-timecommunicationrequirement,wechoosetoimprovethereal—time
performanceoftheserialportclassCSuperSerialPortandimplementa
high-precision
timer.BasedonArcGISgeographicinformation
systemsandArcObjectsComponent
GISdevelopmenttechnology,werealizevariousfunctionsofthemap-basedUAV
navigation.Meanwhile,throughtheapplicationofdigitalelevationmodel,we
implementthefunctionofprovidingthree·dimensionalflightnavigationservicefortheUAv.UsingADOtechnologytooperatethenavigationdatabase,werealizetheroute
planningandtrackplaybackfunctionoftheUAVgroundstationsothvare.Withtheuse
oftwotechnologies:DynamicallycreatingadatatableandoperatingBLOB
binary
datawithADOobjects,weachieveahighefficiencyofoperatingthedatabasetorecordalargesizeofflighttrackingdata.Practiceshowsthat,usedinconjunction晰tllotherpartsoftheUAVground浙江大学硕士学位论文Abstract
stationsystem,thebasicfunctionsofthegroundstationsoftwarehasbeenableto
meet
theneedsofthegroundoperatorexecutingUAVfli曲ttasks.
Keywords:UAV,serialcommunication,ArcGIS,flightplanning浙江人学硕士学位论文图目录图目录
图1.1无人机系统的组成……………………………………………………….2图1.2AutoPilot地面站软件的界面……………………………………………..5图1.3AP50地面控制站的界面………………………………………………….5图1.4FY-2地面站软件的界面………………………………………………….6图2.1ArcGIS9产品的体系结构………………………………………………14图2.2ArcObjects组件层次关系图……………………………………………16
图2.3ArcObjects组件对象模型………………………………………………16
图2.4左为规则格网,右为不规则三角网……………………………………17图2.5左为原始数据,右为插值得到的致密数据……………………………18图2.6数据库访问技术的层次结构……………………………………………19图2.7ADO对象模型………………………………………………………….20图3.1地面站软件各模块之间的关系…………………………………………23图3.2地面站软件的概要设计…………………………………………………23图3.3地面站软件的界面分布…………………………………………………24图3.4飞行器管理部分的界面………………………………………………….27图4.1通过串口接收数据的处理流程图………………………………………4l图4.2地面站飞行器状况显示的界面效果……………………………………42图4.3通过串口发送数据的处理流程图………………………………………43图4.4地面站发送指令界面效果………………………………………………44图5.1地图浏览效果图…………………………………………………………46图5.2绘制地图客户图层的效果图……………………………………………48图5.3显示无人机飞行轨迹的效果图…………………………………………48图5.4分层设色区分地形的中国地图…………………………………………51图5.5实时获取鼠标所指点的经度、纬度和高程的效果……………………54图6.1航点管理部分的界面……………………………………………………56图6.2航线管理部分的界面……………………………………………………57图6.3航线在地图上的表示……………………………………………………58图6.4航迹回放部分的界面……………………………………………………6l
IV浙江大学硕:t:学位论文表目录表目录表4.1串口通信实时性对比试验结果…………………………………………33表4.2上行帧的帧格式…………………………………………………………34表4.3上行帧的帧头格式………………………………………………………35表4.4下行帧的帧格式…………………………………………………………36表4.5下行帧的帧头格式………………………………………………………36表6.1WayPointTable航点表……………………………………………………56
表6.2SkyWayTable航线表……………………………………………………..58
表6.3任务管理表TaskTable……………………………………………………59表6.4任务规划航线表…………………………………………………………60表6.5航迹记录表………………………………………………………………60表7.1地面站软件功能测试结果……………………………………………….66
V