中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装

• 产品与应用 •    下一篇

无人机控制程序的无线更新方案的实现

吴忠秉,邵炜剑,郝国锋,梁坤,李秀梅   

  1. 无锡华普微电子有限公司,江苏 无锡  214035
  • 收稿日期:2025-08-11 修回日期:2025-09-01 出版日期:2025-09-08 发布日期:2025-09-08
  • 通讯作者: 吴忠秉

Implementation of Wireless Update Scheme for UAV Control Program

WU Zhongbing, SHAO Weijian, HAO Guofeng, LIANG Kun, LI Xiumei   

  1. Wuxi Hope Microelectronics Co., Ltd., Wuxi 214035, China
  • Received:2025-08-11 Revised:2025-09-01 Online:2025-09-08 Published:2025-09-08
  • Contact: Zhong-Bing WU

摘要: 为使终端无人机控制程序易于更新,依据固有架构,提出一种无人机控制程序的无线更新方案,并描述了系统方案原理、规划、设计及实现。利用主控微程序控制器单元(MCU)与控制机、各分控数字信号处理器(DSP)、现场可编程门阵列(FPGA)之间均具有直接或间接通信连接的特性,在DSP侧,利用串行外设接口启动A模式(SPI-A boot),提出并设计再次更新控制程序的方案,使主控MCU模拟DSP外部闪存(FLASH)功能,将一次引导程序(Bootloader)倒灌入DSP内部随机存取存储器(RAM)中运行,在Bootloader中设计再次更新功能;在FPGA侧,采用主控MCU接管控制FPGA侧FLASH,借用快速启动(QuickBoot)原理,提出并设计辅助更新控制程序的方案,使主控MCU模拟FPGA自身控制FLASH进行更新操作。经实际测试,该方案能够摆脱传统更新方案及专用JTAG工具的限制,通过无线数据传输将各分控单元控制程序通过设备专属编码(Identity document,ID)精准更新,且便捷、高效,节省了约20%的时间开销,对于相似工程架构具有重要的参考意义。

关键词: 无人机, 现场可编程门阵列, 数字信号处理器, 串行外设接口启动, 快速启动

Abstract: In order to make the terminal drone control program easy to update, based on the inherent architecture, a wireless update method for drone control program is proposed, and the system scheme principle, planning, and design are described. Leveraging the characteristic that the main control MCU has direct or indirect communication links with the control computer, various sub-control DSPs, and FPGAs, a program re-update scheme is proposed and designed on the DSP side. This involves initiating Mode A via the Serial Peripheral Interface, enabling the main control MCU to simulate the function of an external FLASH for the DSP, and injecting the Bootloader into the DSP's internal RAM for execution. The Bootloader is designed with a re-update function. On the FPGA side, the main control MCU takes over control of the FPGA-side FLASH, and by adopting the QuickBoot principle, an auxiliary update scheme for the control program is proposed and designed. This allows the main control MCU to simulate the FPGA's own FLASH control for update operations. After practical testing, it has been confirmed that this solution can break free from the constraints of traditional update methods and specialized JTAG tools. It enables precise updates of control programs for various sub-control units via wireless data transmission, targeting specific device IDs. This approach is not only convenient and efficient but also reduces time overhead by approximately 20%, offering significant reference value for similar engineering architectures.

Key words: unmanned aerial vehicle, FPGA, DSP, SPI-A boot, QuickBoot