Satellite-borne laser communication payload master control system and method using SOC FPGA
By adopting the SOC FPGA system in the satellite-based laser communication payload master system, combined with the embedded operating system and message queue management of ARM and FPGA terminals, the problem of interface number and real-time response is solved, and multi-task parallel processing and flexible interface configuration are realized. , improves the real-time and reliability of the system.
Patent Information
- Application Number
- CN202411081600.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The satellite-based laser communication payload master system is difficult to meet the needs of multiple interfaces, and the software architecture of bare metal plus interrupts causes control instructions to be unable to respond in real time, resulting in response delays or command loss.
Using SOC FPGA system, integrating ARM and FPGA terminals, connecting through APB3 bus, using embedded freeRTOS operating system plus interrupt processing functions, creating tasks for management through message queues, and FPGA terminal instantiates multiple interface controllers to realize multi-task parallelism Process and respond in real time.
Multi-task parallel processing is realized, data frame loss rate is reduced, task processing is enhanced, and interface quantity needs are met through flexible configuration of interfaces, solving the problems of response delay and instruction loss.
Smart Images

Figure CN118626232B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of satellite communications. Background Art
[0002] Compared with microwave communication, laser communication uses optical links to transmit data. It has the characteristics of large available bandwidth, low power consumption, and strong anti-interference ability. It can support high-speed data transmission and large-capacity data transmission needs, and is considered to be the most promising space communication technology.
[0003] Since laser communication technology uses light waves as information carriers, the compressed light beam ensures the security and privacy of communication. Currently, laser communication technology has begun to be applied in the field of satellite communications, namely, satellite-borne laser communication technology. The satellite-borne laser communication payload main control system is the only channel for the satellite-borne laser communication payload to interact with the satellite platform and is an essential component of the satellite-borne laser communication payload.
[0004] There are multiple physical and information interfaces between the satellite-borne laser communication payload and the satellite platform, such as mechanical, electrical, thermal, orbital, attitude, and time. There are many types of interfaces, complex content, and high precision requirements. At present, the satellite-borne laser communication payload lacks industry interface design specifications and standards for communication. Therefore, the design of the satellite-borne laser communication payload main control system must consider the interaction methods with multiple interactive interfaces such as CAN, UART, and SPI. The existing satellite-borne laser communication payload main control system design using ARM or DSP often cannot meet the interface quantity requirements; although FPGA chips can instantiate multiple interface controllers internally to solve the interface quantity problem, due to their own programming characteristics, hardware description languages are not suitable for describing the workflow of satellite-borne laser communication payloads compared to C / C++.
[0005] In addition, the existing satellite laser communication payload main control system is a bare metal plus interrupt software architecture, which adds all tasks to be executed in a main loop. Each time the program loops, it judges the task execution conditions in turn. However, since there is no task scheduler in the bare metal environment, only one task can be executed at any time. In some situations where the main control system needs to respond in real time, the bare metal environment will cause the main control system to respond with delays or lose instructions. Summary of the invention
[0006] In order to solve the technical problems that the demand for the number of satellite-borne laser communication payload interfaces is difficult to meet and the bare metal plus interrupt software architecture cannot respond to control instructions in real time, the present invention proposes a "satellite-borne laser communication payload main control system and method using SOC FPGA".
[0007] The present invention adopts the SOC FPGA satellite laser communication payload main control system, such as Figure 1As shown, the ARM side and the FPGA side are integrated internally, and the internal control commands and data interactions are completed through the APB3 bus connection. The ARM side is an embedded freeRTOS operating system module plus an interrupt processing function system architecture. The created tasks receive remote control commands or remote control parameters through the message queue for task management, which can realize multi-task parallel processing of the main control system. The FPGA side instantiates multiple interface controllers to realize peripheral interaction.
[0008] The UART1 interface is connected to the capture and tracking module of the onboard laser communication payload and is used for payload telemetry information framing;
[0009] The SPI interface is connected to the external storage module of the onboard laser communication payload for interaction with the payload reconstruction program;
[0010] The UART2 interface is connected to the autonomous management module of the satellite platform and is used to program the payload reconstruction data packet to achieve on-orbit reconstruction of the payload;
[0011] The CAN interface is connected to the satellite platform and serves as an interactive interface for the satellite platform to send remote control commands and telemetry information;
[0012] The remote control command is sent by the satellite platform to the main control system through the CAN bus to control the working mode or specific working parameters of the satellite-borne laser communication payload. After the CAN interface controller instantiated on the FPGA side receives the remote control command message frame, it is sent to the ARM side through the internal APB3 bus and generates an interrupt signal. After receiving the interrupt signal, the ARM side triggers the CAN interface interrupt function, performs data parsing in the interrupt processing function, and sends the parsed remote control command or remote control parameter to the message queue of the freeRTOS operating system module. The freeRTOS operating system module reads the storage queue in real time and parses the information in the remote control command. The remote control command includes setting the working mode or working parameters of the satellite-borne laser communication payload, realizing the payload telemetry information framing or payload on-orbit reconstruction, and sending the satellite-borne laser communication payload telemetry information to the satellite platform through the CAN interface.
[0013] The present invention adopts a satellite-borne laser communication payload master control method using SOC FPGA. The remote control command is sent from the satellite platform to the master control system through the CAN bus to control the working mode or specific working parameters of the satellite-borne laser communication payload. After the CAN interface controller instantiated on the FPGA side receives the remote control command message frame, it is sent to the ARM side through the internal APB3 bus and generates an interrupt signal. After receiving the interrupt signal, the ARM side triggers the CAN interface interrupt function, performs data parsing in the interrupt processing function, and sends the parsed remote control command or remote control parameter to the message queue of the freeRTOS operating system module. The freeRTOS operating system module reads the storage queue in real time and parses the information in the remote control command. The remote control command includes setting the working mode or working parameters of the satellite-borne laser communication payload, realizing the payload telemetry information framing or payload on-orbit reconstruction, and sending the satellite-borne laser communication payload telemetry information to the satellite platform through the CAN interface.
[0014] Technical effects:
[0015] The present invention adopts a low-power SmartFusion2 SOC FPGA chip as the carrier of the satellite-borne laser communication payload main control system. The chip integrates a Cortex-M3 ARM hard-core processor and rich FPGA resources. By adopting an embedded freeRTOS operating system module plus an interrupt processing function system architecture on the ARM side, a priority is assigned to each task, and a unified task scheduler is used to allocate running resources to each task. A time slice rotation algorithm is adopted to perform task switching, and tasks communicate through message queues, thereby ensuring that the main control system has multi-task parallel processing capabilities, enhancing the real-time performance of task processing and reducing the data frame loss rate, thereby solving the technical problem that the existing bare metal plus interrupt software architecture cannot respond to control instructions in real time.
[0016] By instantiating multiple interface controllers on the FPGA side, the main control system can flexibly configure various different interfaces, solving the technical problem that the existing satellite laser communication payload interface quantity requirements using ARM or DSP are difficult to meet. At the same time, the ARM side and the FPGA side are connected through the APB3 bus to reduce the delay in the data interaction stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is the overall structure diagram of the satellite-borne laser communication payload main control system and peripheral interface interaction.
[0018] Figure 2 Flowchart for writing the reconstruction data packet for the payload on-orbit reconstruction into the external storage module.
[0019] Figure 3 Flowchart for burning reconstruction data to the corresponding processor during on-orbit reconstruction of the payload. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in the field without creative work by adopting the embodiments of the present invention are within the scope of protection of the present invention.
[0021] The payload telemetry information framing and payload on-orbit reconstruction proposed in this embodiment are used as application examples of the satellite-borne laser communication payload master control method using SOC FPGA.
[0022] Application Example 1: The specific process of the payload telemetry information framing is as follows: the satellite-borne laser communication payload main control system periodically sends a telemetry request instruction to the capture and tracking module through the UART1 interface. After receiving the telemetry request instruction, the capture and tracking module sends telemetry parameters such as pointing angle, working status, working temperature and working power to the satellite-borne laser communication payload main control system through the UART1 interface. After receiving the telemetry parameters, the main control system periodically sends the telemetry parameters to the satellite platform through the CAN interface according to the telemetry parameter communication protocol defined in the laser payload telemetry set.
[0023] The basic design idea of the on-orbit reconstruction of the payload is: to prevent incomplete or abnormal work due to algorithm design defects, space environment or other reasons, without changing the hardware structure of the equipment, by uplinking configuration data to the onboard processing equipment, loading different configuration programs to achieve different functions, and then adapt to various communication business needs, taking into account the space radiation environment factors, and responding to random single-particle effects (SEU) in space.
[0024] Application Example 2: The specific process of the payload on-orbit reconstruction is as follows: the laser communication payload main control system receives the payload reconstruction configuration parameters sent by the satellite platform through the CAN interface, such as the reconstruction device identification, program storage area, number of reconstruction file segments, reconstruction file length, etc. After the satellite platform sends the payload reconstruction configuration parameters, it continues to send the reconstruction data packet through the UART2 interface via the autonomous management module, such as Figure 2As shown, the main control system performs segment number, packet number and CRC verification on each data packet, and after the verification is correct, the reconstructed data packet is written into the three FLASH chips of the external storage module through the SPI interface in three independent backup modes as the program burning data source for on-orbit reconstruction, completing the on-orbit updating of program data. If a verification error occurs, a "resend instruction" is sent to the satellite platform to wait for re-injection. After the satellite platform completes the injection of the reconstructed data packet, the payload reads back data from the three FLASH chips for the address, and performs CRC verification on the complete program burning data source. If the verification is correct, the "reconstructed data packet is successfully written" information is sent to the satellite platform. If the verification is wrong, the verification error status is reported to the satellite platform.
[0025] When the main control system receives the reconstruction command of the satellite platform and the payload reconstruction configuration parameters, Figure 3 As shown, the corresponding processor is erased and the configuration parameters are set. At the same time, three program burning data are read from the same address in the three FLASH chips by frame, and the data is compared by bit using the "3 judge 2" method, and the number of abnormal bits in the data is recorded. According to the processor burning protocol, the corresponding processor is burned and controlled. After the configuration parameters are set, the processor program burning working status such as three-mode comparison and configuration status is fed back to the satellite platform through telemetry information.
[0026] The main control system of the present invention has a certain self-judgment ability and monitors the working status of the payload in real time. When the satellite-borne laser communication payload works abnormally, the main control system can automatically find a suitable idle time point to reconstruct the payload on orbit, thereby improving the reliability of the equipment operation.
[0027] This article specifically describes the principles and implementation methods of the present invention through application example 1 "payload telemetry information framing" and application example 2 "payload on-orbit reconstruction". The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It is not necessary and impossible to list all implementation methods here. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. The main control system of the satellite-borne laser communication payload adopts SOC FPGA, It is characterized in that The main control system integrates an ARM end and an FPGA end, and completes the interaction of internal control commands and data through the APB3 bus connection. The ARM end is an embedded freeRTOS operating system module plus an interrupt processing function system architecture. The created tasks receive remote control instructions or remote control parameters through a message queue for task management, which can realize multi-task parallel processing of the main control system. The FPGA end instantiates multiple interface controllers to realize peripheral interaction. The UART1 interface is connected to the capture and tracking module of the onboard laser communication payload and is used for payload telemetry information framing; The SPI interface is connected to the external storage module of the onboard laser communication payload for interaction with the payload reconstruction program; The UART2 interface is connected to the autonomous management module of the satellite platform and is used to program the payload reconstruction data packet to achieve on-orbit reconstruction of the payload; The CAN interface is connected to the satellite platform and serves as an interactive interface for the satellite platform to send remote control commands and telemetry information; The remote control command is sent from the satellite platform to the main control system through the CAN bus to control the working mode or specific working parameters of the satellite-borne laser communication payload. After the CAN interface controller instantiated on the FPGA side receives the remote control command message frame, it is sent to the ARM side through the internal APB3 bus and generates an interrupt signal. After receiving the interrupt signal, the ARM side triggers the CAN interface interrupt function, performs data parsing in the interrupt processing function, and sends the parsed remote control command or remote control parameter to the message queue of the freeRTOS operating system module. The freeRTOS operating system module reads the storage queue in real time and parses the information in the remote control command. The remote control command includes setting the working mode or working parameters of the satellite-borne laser communication payload, realizing payload telemetry information framing or payload on-orbit reconstruction, and sending the satellite-borne laser communication payload telemetry information to the satellite platform through the CAN interface; The specific process of the payload on-orbit reconstruction is as follows: the laser communication payload main control system receives the payload reconstruction configuration parameters sent by the satellite platform through the CAN interface. After the satellite platform sends the payload reconstruction configuration parameters, it continues to send the reconstruction data packet through the UART2 interface via the autonomous management module. The main control system performs segment number, packet number and CRC verification on each data packet. After the verification is correct, the reconstruction data packet is written into the three FLASH chips of the external storage module through the SPI interface in three independent backup modes as the data source for the program burning of the on-orbit reconstruction. If a verification error occurs, a "resend instruction" is sent to the satellite platform to wait for re-injection. After the satellite platform completes the reconstructed data packet injection, the payload reads back data from the three FLASH chips for the address and performs CRC check on the data source that saves the complete program burning data. If the check is correct, the "reconstructed data packet is successfully written" message is sent to the satellite platform. If the check is wrong, the check error status is reported to the satellite platform.
2. Main control method of satellite-borne laser communication payload using SOC FPGA, It is characterized in that The remote control command is sent from the satellite platform to the main control system through the CAN bus to control the working mode or specific working parameters of the satellite-borne laser communication payload. After the CAN interface controller instantiated on the FPGA side receives the remote control command message frame, it is sent to the ARM side through the internal APB3 bus and generates an interrupt signal. After receiving the interrupt signal, the ARM side triggers the CAN interface interrupt function, performs data parsing in the interrupt processing function, and sends the parsed remote control command or remote control parameter to the message queue of the freeRTOS operating system module. The freeRTOS operating system module reads the storage queue in real time and parses the information in the remote control command. The remote control command includes setting the working mode or working parameters of the satellite-borne laser communication payload, realizing payload telemetry information framing or payload on-orbit reconstruction, and sending the satellite-borne laser communication payload telemetry information to the satellite platform through the CAN interface; The specific process of the payload on-orbit reconstruction is as follows: the laser communication payload main control system receives the payload reconstruction configuration parameters sent by the satellite platform through the CAN interface. After the satellite platform sends the payload reconstruction configuration parameters, it continues to send the reconstruction data packet through the UART2 interface via the autonomous management module. The main control system performs segment number, packet number and CRC verification on each data packet. After the verification is correct, the reconstruction data packet is written into the three FLASH chips of the external storage module through the SPI interface in three independent backup modes as the data source for the program burning of the on-orbit reconstruction. If a verification error occurs, a "resend instruction" is sent to the satellite platform to wait for re-injection. After the satellite platform completes the reconstructed data packet injection, the payload reads back data from the three FLASH chips for the address and performs CRC check on the data source that saves the complete program burning data. If the check is correct, the "reconstructed data packet is successfully written" message is sent to the satellite platform. If the check is wrong, the check error status is reported to the satellite platform.
3. According to claim 2, the main control method of the satellite-borne laser communication payload using SOC FPGA, It is characterized in that The specific process of payload telemetry information framing is as follows: the satellite-borne laser communication payload main control system periodically sends telemetry request instructions to the capture and tracking module through the UART1 interface. After the capture and tracking module receives the telemetry request instructions, it sends telemetry parameters to the satellite-borne laser communication payload main control system through the UART1 interface. After the main control system receives the telemetry parameters, it periodically sends the telemetry parameters to the satellite platform through the CAN interface according to the telemetry parameter communication protocol defined in the laser payload telemetry set.
Citation Information
Patent Citations
FPGA (Field Programmable Gate Array)-based on-orbit reconfiguration system and method for satellite on-board computer
CN104239090A
Multi-channel satellite-borne embedded system software on-orbit reconstruction control system and control method
CN113867210A
