大气与环境光学学报 ›› 2025, Vol. 20 ›› Issue (5): 666-675.doi: 10.3969/j.issn.1673-6141.2025.05.009

• 光电技术 • 上一篇    下一篇

月球土壤水分子分析仪地面检测系统软件的设计

唐晨 1, 王煜 1*, 林方 2,3, 刘国华 1   

  1. 1 安徽大学物质科学与信息技术研究院, 安徽 合肥 230601; 2 中国科学院合肥物质科学研究院安徽光学精密机械研究所, 中国科学院环境光学与技术重点实验室, 安徽 合肥 230031; 3 中国科学技术大学, 安徽 合肥 230026
  • 收稿日期:2022-11-11 修回日期:2022-12-12 出版日期:2025-09-28 发布日期:2025-09-24
  • 通讯作者: Email: yuwang@aiofm.ac.cn E-mail:yuwang@aiofm.ac.cn
  • 作者简介:唐晨 (1997- ), 安徽六安人, 硕士研究生, 主要从事航天载荷地面检测系统的软件实现方面的研究。Email: 945430971@qq.com
  • 基金资助:
    安徽省自然科学基金 (2108085QF283)

Design of a software applied in ground-test-system for lunar soil moisture analyzer

TANG Chen 1, WANG Yu 1*, LIN Fang 2,3, LIU Guohua   

  1. 1 Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China; 2 Key Laboratory of Environmental Optics and Technology, Anhui Institute of Optics and Fine Mechanics, HFIPS, Chinese Academy of Sciences, Hefei 230031, China; 3 University of Science and Technology of China, Hefei 230026, China
  • Received:2022-11-11 Revised:2022-12-12 Online:2025-09-28 Published:2025-09-24
  • Contact: yu wang E-mail:yuwang@aiofm.ac.cn

摘要: 月壤水分子分析仪是中国拟发射的“嫦娥七号”搭载的飞跃探测器的一个有效载荷。在月壤水分子分析仪研 制过程中, 需要配套的地面检测系统模仿飞跃器测试和调试该分析仪。该地面检测系统由软硬件构成, 软件部分主 要包括实现水分子分析仪的通讯接口、模拟数据发生、实现人机交互界面等功能。为了确保数据的完整性, 分析仪与 飞跃器之间的通讯要求执行一种纠错重发的通信协议, 其中分析仪端协议的实现由现场可编程门阵列 (FPGA) 完成。 为了验证FPGA的设计, 地面检测系统要求在通讯过程中的指定字节的指定位置, 能够产生不同方式的错误, 包括奇 偶位、校验和等问题。本文详细介绍了该软件系统的设计和实现过程。最终设计的软件具有造错功能, 能够在通信过 程中在指定的数据包中以不同的比特位生成错误代码。基于此功能, 分析仪通信端口的设计错误都可以被发现, 该 机制可以更方便地实现对通讯接口的完备测试。

关键词: 地面检测系统, 通讯协议, 通信造错, 数据完整性

Abstract: The lunar soil moisture analyzer is a payload of the flying probe carried by Chang'e-7, which will be launched to the moon by China. In the development process of the lunar soil water molecule analyzer, a ground-test-system is required to simulate the flying probe to test and debug the lunar soil moisture analyzer. The ground-test-system consists of hardware and software, and the software part is responsible for communicating with the analyzer, feeding data to the analyzer, and building a human-machine-interface. To ensure the integrity of the transimitted data, a communication protocol with correction and repeat mechanism is required to be implemented in the communication between the analyzer and the probe. In analyzer side, the protocol is fulfilled by a field programmable gate array (FPGA). To verify the design of the FPGA, the ground-test-system is required to generate different types of errors, including parity bit and checksum and so on, in different positions and different modes during communication. This article descripts the design and implementation of the software of the ground-test-system. It is shown that the final designed software has error making function, which is capable of generating error codes at different bits in a specified data package during communication. With this function, any design faults in the communication port of the analyzer can be detected, which greatly faciliates the complete testing of the communication interface.

Key words: ground-test-system, communication protocol, error code generator, integration of data

中图分类号: