摘 要:文章对无人系统搭载多传感器和执行多作业任务的需求进行研究,开发了一款无人机机载计算机的通信及控制系统。首先对系统进行概述,阐述系统的软件结构和设计方案,软件中实现数据的Protobuf 编解码和传输方式,设计服务器与客户端之间数据的注册机制,以及实现多任务和控制机制。实验结果表明,无人系统能最大限度地利用CPU 资源,提高系统在多任务模式下的运行效率和运行稳定性。
关键词:无人系统;机载计算机系统;Protobuf;客户端与服务器;多任务
DOI:10.19850/j.cnki.2096-4706.2021.21.019
基金项目: 广东省科技计划项目(2017A020208063); 广州市科技计划项目(201804010384)
中图分类号:TP273+.4 文献标识码:A 文章编号:2096-4706(2021)21-0074-05
Design and Implementation of Multiple Tasks-oriented Unmanned System Communication and Control System
HE Penghui1, SU Chengyue1,2, SHI Zhenhua2, HE Jiajun2
(1.School of Information Engineering, Guangdong University of Technology, Guangzhou 510006, China; 2.School of Physics & Optoelectronic Engineering, Guangdong University of Technology, Guangzhou 510006, China)
Abstract: This paper studies the requirements that unmanned systems carry multiple sensors and perform multiple tasks, and develops a communication and control system of UAV airborne computer. Firstly, the system is outlined, the software structure and design scheme of the system are described, the Protobuf codec and transmission mode of data are implemented in the software, the data registration mechanism between server and client is designed, and multiple tasks and control mechanism are implemented. The experimental results show that the unmanned system can make maximum use of CPU resources and improve the operation efficiency and stability of the system in multiple tasks mode.
Keywords: unmanned system; airborne computer system; Protobuf; client and server; multiple task
参考文献:
[1] 代波,何玉庆,谷丰,等. 结合滤波与优化的无人机多传感器融合方法 [J]. 中国科学:信息科学,2020,50(12):1919-1931.
[2] 章明. 资源受限的安全关键实时嵌入式系统的设计优化技术 [D]. 杭州:浙江大学,2020
[3] 赵薇,邓夏唯,付睿翎,等. 一种基于JSON 格式的网络信息安全系统数据传输方法 [J]. 中国传媒大学学报(自然科学版),2020,27(3):22-28.
[4] GLIGORIĆ N,DEJANOVIĆ I,KRČO S. Performance evaluation of compact binary XML representation for constrained devices [C]//2011 international conference on distributed computing in sensor systems and workshops (DCOSS). Barcelona:IEEE,2011:1-5.
[5] TISDALE J,RYAN A,ZENNARO M,et al. The Software Architecture of the Berkeley UAV Platform [C] // 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control. Munich:IEEE,2006:1420-1425.
[6] 李纪欣,王康,周立发,等.Google Protobuf 在Linux Socket 通讯中的应用 [J]. 电脑开发与应用,2013,26(4):1-5.
[7] 丁电宽,赵晨浩,贾天光. 基于STM32 的四旋翼无人机控制系统设计 [J]. 现代电子技术,2021,44(19):113-118.
[8] 杜晋华,杜刚,张虎.Ubuntu 下ROS 变种ROCOS 的系统架构 [J] 计算机系统应用,2021,30(7):70-79.
作者简介:何鹏晖(1995—)男,汉族,广东梅州人,硕士研究生在读,研究方向:无人机、嵌入式系统;通讯作者:苏成悦(1961—),男,湖南长沙人,教授,博士,研究方向:应用物理、光电技术。