PDF(3217 KB)
空间应用信用流控低速下行传输系统设计
羊山周, 郭林, 邹辉, 乔志宏, 吕宏宇, 郭晓晓, 郭栋
集成电路与嵌入式系统 ›› 2026, Vol. 26 ›› Issue (10) : 85-92.
PDF(3217 KB)
PDF(3217 KB)
空间应用信用流控低速下行传输系统设计
Low-speed downlink transmission design with credit flow control for space utilization
针对空间科学实验载荷高速图像采集输出(33 MHz SPI)与低速 RS422 下行链路存在约 286 倍速率失配的在轨工程难题,面向空间摩擦磨损实验箱设计并实现了一套适配航天资源约束、具备链路故障自恢复能力的邮箱式信用流控低速图像下行传输系统。系统采用数据流包、剩余空间查询信用流控包协同交互架构;实验控制FPGA主控构建SPI接口控制、应用数据邮箱复接、应用数据下行组织三级流水处理架构,成像RK3588端实现数据流突发与信用流控协同发送策略。建立标准化信用流控数学模型,完整推导缓存防溢出约束条件;针对空间在轨链路噪声、线程调度延迟引发流控包丢失、合并导致传输中断问题,设计了心跳续流包、发送端超时主动发送双重高可靠保障机制。实验结果表明:单次SPI发送256字节耗时约为92 μs,稳态发送-流控交互频率约为25 次/s,完整传输一帧 3 MB图像耗时约10 min,全流程缓存无溢出、无传输死锁。该方案已在轨应用于空间摩擦磨损性能实验箱,有效适配空间载荷高速写入与低速读出的巨大速率差,为航天、工业控制等多速率不匹配嵌入式数据传输系统提供了完整工程参考。
Aiming at the on-orbit engineering problem of about 286× rate mismatch between high-speed image acquisition output via 33 MHz SPI and low-speed RS422 downlink of space scientific experimental payloads, this paper designs and implements a mailbox-type credit flow control low-speed image downlink transmission system adapted to aerospace resource constraints and capable of link fault self-recovery for space friction and wear test boxes. The system adopts a collaborative interaction architecture composed of data packets and residual space query credit flow control packets. The FPGA main controller for experimental control constructs a three-stage pipeline processing architecture including SPI interface control, application data mailbox multiplexing and application data downlink organization, and the imaging terminal based on RK3588 realizes the coordinated sending strategy of data stream burst and credit flow control. A standardized mathematical model of credit flow control is established, and the constraint conditions for buffer overflow prevention are fully derived. A dual high-reliability guarantee mechanism consisting of heartbeat continuation packets and timeout-triggered active transmission at the transmitting terminal is developed to solve transmission interruption caused by loss or merging of flow control packets due to on-orbit link noise and thread scheduling delay. The experiment results show that the transmission of a single 256-byte SPI packet takes 92 μs, the steady-state interaction frequency of transmission and flow control is about 25 times per second, and it takes approximately 10 minutes to fully transmit a 3 MB single-frame image, with no buffer overflow or transmission deadlock in the whole process. This scheme has been applied on orbit to the space friction and wear test box, which can effectively adapt to the huge rate gap between high-speed writing and low-speed reading of space payloads, and provide complete engineering reference for embedded data transmission systems with mismatched transmission rates in aerospace, industrial control and other fields.
信用流控 / 速率失配 / 三级流水 / 心跳续流 / 空间载荷 / 嵌入式图像传输
credit-based flow control / rate mismatch / three-stage pipeline / heartbeat continuation packet / space payload / embedded image transmission
| [1] |
刘旭东, 汤松涛, 张雷鸣, 等. 基于RK3588与ZYNQ的双光图像处理平台设计与研究[J]. 电子技术应用, 2025, 51(11):10-16.
|
| [2] |
高杨, 刘荣科, 胡伟. 基于FPGA + DSP的高清视频图像系统设计与实现[J]. 电子测量技术, 2011, 34(1):69-73.
|
| [3] |
李增科, 李云鹏, 席东学. 基于SPI协议的双DSP通讯设计与实现[J]. 电子测量技术, 2020, 43(19):159-164.
|
| [4] |
华卓立, 姚若河. 一种通用SPI总线接口的FPGA设计与实现[J]. 微计算机信息, 2008, 24 (6-2):212-213.
|
| [5] |
毛建权, 季晓勇. 基于SPI 的 DSP 与 MCU双向通信的设计与实现[J]. 科学技术与工程, 2007, 7 (15):3911-3913,3918.
|
| [6] |
成都领目科技有限公司. 一种自适应数据带宽的数据缓存传输方法及系统:CN202411090004.3[P].2024-08-09.
Chengdu Lingmu Technology Co.,Ltd. A Data Cache Transmission Method and System with Adaptive Data Bandwidth:CN202411090004.3[P].2024-08-09 (in Chinese).
|
| [7] |
赵洋. 基于信用量整形的流控机制实现与验证研究[D]. 天津: 河北工业大学, 2019.
|
| [8] |
郭茜. FC-AE-1553网络的流控与存储资源调度机制的研究和设计[D]. 北京: 北京邮电大学, 2020.
|
| [9] |
边庆, 吴琳, 段小虎. 基于双缓冲和FPGA 的RS422接口电路设计[J]. 信息通信, 2017(4):55-56.
|
| [10] |
韩众, 李智中, 曹飞. 基于FPGA的图像接口的设计[J]. 现代工业经济和信息化, 2018, 8(5):37-39,97.
|
| [11] |
路遥, 孟德旭, 赵建宁, 等. 基于FPGA的机载视频处理与传输系统[J]. 集成电路与嵌入式系统, 2025, 25(10):38-46.
|
| [12] |
袁小平, 涂齐阳. 基于FPGA 与 RK3588图像分类处理系统设计与实现[J]. 实验技术与管理, 2025, 42(9):91-102.
|
| [13] |
韩金栋. 基于ARM的双目结构光三维测量图像采集系统设计[D]. 天津: 天津理工大学, 2024.
|
/
| 〈 |
|
〉 |