Journal of Atmospheric and Environmental Optics ›› 2025, Vol. 20 ›› Issue (5): 666-675.doi: 10.3969/j.issn.1673-6141.2025.05.009

Previous Articles     Next Articles

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

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

CLC Number: