An automatic test system for optical fiber amplifier of inter-satellite laser communication terminal
By designing an automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals, the cumbersome problem of manual testing of fiber optic amplifiers was solved, and automated control and data acquisition were achieved, improving testing efficiency and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGGUANG COMM TECH (SHANGHAI) CO LTD
- Filing Date
- 2025-03-21
- Publication Date
- 2026-06-12
AI Technical Summary
Testing existing fiber optic amplifiers requires manual operation, which leads to a high risk of misoperation, complicated procedures, long time consumption, and high manpower/time costs.
Design an automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals, including fiber optic amplifiers, main control computers, routers, power meter modules, and power supply modules. The system achieves automated control and data acquisition through automated software and user interface, and has adaptive functions and safety protection mechanisms.
It simplifies the operation process, reduces manual intervention, improves testing efficiency and reliability, provides detailed operation guidelines and real-time data monitoring, and supports compatibility with multiple instrument models and long-term stable operation.
Smart Images

Figure CN120474612B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of fiber optic amplifiers, software engineering, automated testing, system integration, and data analysis and processing, and particularly to an automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals. Background Technology
[0002] In existing technologies, manual testing of fiber optic amplifiers requires manually sending control commands, setting instrument parameters, reading instrument data, and writing data into a data log. Long-term testing necessitates manual supervision. Furthermore, manual command issuance is prone to errors, the operation steps are complex, the testing is time-consuming, and the labor / time costs are high. Summary of the Invention
[0003] To address the aforementioned technical problems, this invention proposes an automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals, and the technical solution adopted is as follows:
[0004] An automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals is disclosed. The testing system includes: a fiber optic amplifier, a main control computer, a router, a power meter module, and a power supply module. The fiber optic interface of the fiber optic amplifier is connected to the fiber optic interface of the power meter module; the wire interface of the fiber optic amplifier is connected to the wire interface of the power supply module; the USB interface of the power supply module is connected to the first USB interface of the main control computer; the network cable interface of the power supply module is connected to the first network cable interface of the router; the second network cable interface of the router is connected to the network cable interface of the main control computer; and the USB interface of the power meter is connected to the second USB interface of the main control computer.
[0005] Preferably, the power meter module includes a first power meter and a second power meter.
[0006] Preferably, the power supply module includes a first power supply, a second power supply, and a third power supply. In particular, the first and second power supplies can be replaced by a spectrometer to handle different test parameters. The optical fiber end of the spectrometer is connected to the optical fiber end of the optical fiber amplifier.
[0007] Preferably, the main control computer includes: a file storage module, automation software, and a drive management module, wherein the data output terminal of the file storage module is connected to the data input terminal of the automation software, the drive signal output terminal of the automation software is connected to the drive signal input terminal of the drive management module, and the drive management module outputs the drive signal to the hardware.
[0008] Preferably, the automation software includes a control thread and a data acquisition thread, and the control thread and the data acquisition thread are set and displayed through a user interface.
[0009] Preferably, the user interface settings for the acquisition thread include setting the amount of data to be acquired, setting the acquisition interval, and setting overcurrent protection.
[0010] Preferably, the user interface settings for the control thread include selecting the process configuration file to be run.
[0011] Preferably, the main interface has a status monitoring bar at the top, with multiple data acquisition indicator lights on the left to indicate the validity of data acquisition. When the data acquisition indicator light is off, it means that no data has been acquired, and when the data acquisition indicator light is on, it means that the data has been acquired normally. On the right, there is a thread indicator light. When the thread indicator light is on, it means that the acquisition thread and the control thread are working, and when the thread indicator light is off, it means that the corresponding thread is not working normally.
[0012] Preferably, the acquisition thread includes: sending a data query command to the device under test; after the command is approved, acquiring data according to a preset acquisition interval; when the preset amount of acquired data is reached or the number of acquisitions reaches N times, integrating the acquired data into a dataset; outputting the acquired data to a visualization interface to form a real-time data change curve for monitoring; monitoring the system current in real time; when the current exceeds a set threshold, the overcurrent protection mechanism is activated, shutting off the power supply output, and notifying the test personnel of the overcurrent event via email.
[0013] Preferably, the control thread includes: selecting a process configuration file to be run, the process configuration file including all events that need to be executed in the test experiment, the trigger time and instruction set corresponding to each event, running the process, and monitoring the ongoing steps and the progress time of the events and the remaining waiting time until the end of the events in real time, and finally sending corresponding control instructions to the corresponding devices to realize automated control.
[0014] The beneficial effects of this invention are as follows: 1. The software interface is clearly designed, user-friendly, and aesthetically pleasing, featuring multiple pages with different interfaces, each implementing different functions. The software is simple and easy to use, with detailed prompts. The interface displays system logs, software version, etc. Testers can easily complete testing tasks without requiring complex operating skills. Furthermore, the system provides detailed operation guides and help documentation to facilitate quick learning for testers.
[0015] 2. The system can identify serial port and network port devices connected to the computer and configure them through hardware resource configuration software. The software can check whether the communication connection of the specified device is normal and can act as a serial port / network port debugging assistant to remotely control and test the device.
[0016] 3. The system can recognize the product's RS422 interface. On the product's remote control and telemetry interface, remote control commands can be sent manually. The product model, command type, and command parameters can be customized. The telemetry data can be observed in real time, which is intuitive and convenient.
[0017] 4. The system can poll data from designated instruments and perform corresponding data processing according to the user's data acquisition settings. The interface has real-time validity judgment for different acquired data and an indicator light for data acquisition in progress.
[0018] 5. The system can write the collected device data and telemetry data into a spreadsheet and save it in a specified path according to the user settings. During long-term data collection, the software can automatically save the data in separate files and ensure that the data is not overwritten.
[0019] 6. The system can run the preset basic instruction set, and the product can work normally according to the preset instruction set. The interface has process description, process running time, remaining time, running progress, current waiting steps, and process in progress indicator lights.
[0020] 7. The system can automatically perform corresponding telemetry interpretations in the preset process. If the interpretation fails, the process will be automatically interrupted and a warning pop-up will be displayed.
[0021] 8. The system can read and parse custom JSON scripts, making it convenient for testers to customize test steps for different models and tests. The interface displays all steps, precautions, etc. of the custom process.
[0022] 9. The system can generate real-time graphs from the collected equipment data and telemetry data according to user-defined settings for real-time data monitoring. The graphing duration, curve groups, curve colors, and styles can be customized.
[0023] 10. The system can read existing collected data spreadsheets and draw curves according to user settings. The interface allows for scaling of the curve's X and Y axes, selection of curve points using a cursor, and automatic calculation of parameters such as root mean square, mean, and maximum fluctuation percentage within a specified interval. Customizable curve colors and styles are also supported. Multiple spreadsheets can be read and plotted on the same interface.
[0024] 11. The system is compatible with multiple models of instruments, equipment and products. It can automatically identify different models of equipment and send corresponding control commands according to different models. The remote control and telemetry interface can select multiple product models and has reserved interfaces for future additions.
[0025] 12. The system features email notification functionality, enabling notifications to users via webmail under specific circumstances. The software includes shortcut menus for quick data export and interface navigation. It boasts a rich and comprehensive suite of functions and is simple to use.
[0026] 13. The system can maintain a stable operating state during long-term operation, meeting the needs of long-term testing.
[0027] 14. The system has good maintainability and automatic update function. When maintenance and modification are required, update information can be obtained through the server to realize batch updates of multiple systems to the latest version of the software. Attached Figure Description
[0028] Figure 1 This invention relates to an automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals.
[0029] Figure 2 The main control computer described in this invention;
[0030] Figure 3 The automation software described in this invention;
[0031] Figure 4 This is the user interface for setting the acquisition thread as described in this invention;
[0032] Figure 5 This is the data acquisition-real-time curve described in this invention;
[0033] Figure 6 This is the user interface for setting the control thread as described in this invention;
[0034] Figure 7 This is the remote control and telemetry interface of the product described in this invention;
[0035] Figure 8 The visual interface described in this invention
[0036] Figure 9 This is the status monitoring bar interface described in this invention;
[0037] Figure 10 This is a diagram of the acquisition thread structure described in this invention;
[0038] Figure 11 This is a top-level code structure diagram of the data acquisition thread encapsulation described in this invention;
[0039] Figure 12 This is a diagram of the control thread structure described in this invention;
[0040] Figure 13 This is a diagram of the top-level code structure for the control thread encapsulation described in this invention.
[0041] Figure 14 This is a diagram showing the code structure of the top-level encapsulation of the main interface described in this invention.
[0042] Figure 15 This is a top-level code structure diagram for the process runtime encapsulation described in this invention. Detailed Implementation
[0043] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0044] According to one embodiment of the present invention, an automated testing system for an optical fiber amplifier used in an inter-satellite laser communication terminal is provided. The testing system includes: an optical fiber amplifier, a main control computer, a router, a power meter module, and a power supply module. The optical fiber interface of the optical fiber amplifier is connected to the optical fiber interface of the power meter module; the wire interface of the optical fiber amplifier is connected to the wire interface of the power supply module; the USB interface of the power supply module is connected to the first USB interface of the main control computer; the network cable interface of the power supply module is connected to the first network cable interface of the router; the second network cable interface of the router is connected to the network cable interface of the main control computer; and the USB interface of the power meter is connected to the second USB interface of the main control computer.
[0045] The working principle and effects of the above technical solution are as follows: The fiber optic amplifier's fiber optic interface is connected to the power meter module via fiber optic cable, and the optical power transmitted through the fiber optic cable is directly measured by the power meter module. The power supply of the fiber optic amplifier is connected to the power module via its wire interface, ensuring the power supply required for the amplifier's normal operation. The main control computer is connected to the power module via USB port 1 for monitoring and adjusting the power output. Furthermore, the power module is connected to the router via a network cable, forming a local area network (LAN) power and control connection. The main control computer's USB port 2 is connected to the power meter module for receiving the collected optical power data. The main control computer analyzes the amplifier's performance using this data. The router acts as the central device for data communication in this system. It transmits control data to the power module via a network cable connection, and its second network cable interface is connected to the main control computer for data transmission and coordination between components within the system. The main control computer runs automated testing software, communicating with each module via USB and network interfaces to coordinate the entire testing process. The software loads and executes test scripts, controlling the power module to adjust power parameters to simulate different operating conditions. The power meter module detects the intensity of the optical signal output by the amplifier in real time and feeds the data back to the main control computer. The main control computer analyzes the measured data to determine the amplifier's performance and status, and records the test results. During testing, the system adjusts power supply and detection parameters to adapt to different test conditions, ensuring accuracy and efficiency. When an anomaly such as overcurrent is detected, the power module can proactively trigger a protection mechanism to prevent equipment damage and issue alarms or record fault information through the software interface. This test system tightly integrates the fiber optic amplifier, main control computer, router, power meter module, and power module, improving the automation and accuracy of the testing process through efficient data transmission and precise control. The system's advantages lie in its ability to monitor and adjust equipment operating status in real time, its adaptive function to adapt to different test conditions, and its comprehensive safety protection mechanism to prevent equipment overload and damage. This design significantly reduces manual intervention and operational errors, effectively improving testing efficiency and reliability.
[0046] In one embodiment of the present invention, the power meter module includes a first power meter and a second power meter.
[0047] The working principle and effect of the above technical solution are as follows: Power meter 1 and power meter 2 are responsible for measuring the power of the optical signal input through the fiber optic interface. Each power meter can be connected to different fiber optic paths or different points on the same path to simultaneously measure multiple input signals or different attributes of the same signal. By setting up two power meter modules, multi-point data acquisition can be achieved, improving measurement accuracy and data reliability. Furthermore, redundancy can be provided between the two power meters; if one power meter fails, the other can continue operating, ensuring the continuity of testing and the accuracy of results. Each power meter module connects to the main control computer via its USB interface, and the main control computer receives measurement data from both power meters. The main control computer compares and analyzes the data collected by power meter 1 and power meter 2 to verify the measurement accuracy of each power meter. Through comparison, the main control computer can detect inconsistencies in the measurement data and identify faults or measurement errors. The power meter module, consisting of power meter 1 and power meter 2, can provide multi-point measurement, improving the accuracy of optical signal measurement and the reliability of data. The dual-channel monitoring mechanism provides redundancy in the measurement process, ensuring testing continuity even in the event of a single power meter failure. Furthermore, the data comparison and analysis function effectively identifies measurement errors, improving test accuracy. This design not only enhances the system's flexibility and adaptability but also provides fault detection and alarm functions, further improving the system's safety and reliability.
[0048] In one embodiment of the present invention, the power supply module includes a first power supply, a second power supply, and a third power supply. In particular, the first and second power supplies can be replaced by a spectrometer to cope with different test indicators. The optical fiber end of the spectrometer is connected to the optical fiber end of the optical fiber amplifier.
[0049] The working principle and effects of the above technical solution are as follows: The power supply module consists of three power supplies (Power Supply 1, Power Supply 2, and Power Supply 3), providing the necessary power to the fiber optic amplifier and supporting flexible power output adjustment to adapt to various working conditions and testing scenarios. (Fiber Optic Amplifier Model 1) Specifically, Power Supplies 1 and 2 can be replaced by a spectrometer, which is directly connected to the fiber optic end of the fiber optic amplifier to collect and analyze the spectral characteristics of the output optical signal. (Fiber Optic Amplifier Model 2) This allows the system to not only dynamically adjust the power output to respond to real-time testing needs but also perform spectral analysis, thereby providing in-depth analysis and performance evaluation for different testing indicators. The power supply module design is highly flexible and adaptable, providing diverse testing support. By dynamically adjusting the power output, it simulates different testing conditions to meet various experimental needs. In particular, its spectrometer replacement function allows direct spectral analysis of the fiber optic amplifier output signal, enhancing the system's ability to evaluate optical characteristics. The integrated power supply and spectral measurement design not only improves the system's testing depth and accuracy but also reduces the complexity of equipment switching and reconfiguration, ultimately improving the efficiency and reliability of the automated testing system.
[0050] In one embodiment of the present invention, the main control computer includes: a file storage module, automation software, and a drive management module, wherein the data output terminal of the file storage module is connected to the data input terminal of the automation software, the drive signal output terminal of the automation software is connected to the drive signal input terminal of the drive management module, and the drive management module outputs drive signals to the hardware.
[0051] The working principle and effects of the above technical solution are as follows: The main control computer integrates a file storage module (Excel), automation software, and a drive management module. By coordinating the data storage, instruction execution, and hardware operation of the system, a complete automated test and control system is formed. The file storage module provides the data and parameters required for testing. The automation software executes the predetermined test process based on this data and controls the operation of hardware devices through drive signals. The drive management module is responsible for converting the software instructions into hardware-executable signals, ensuring that all devices in the system operate in the expected order and with the expected parameters, thereby achieving high efficiency and automation of the testing process. The design of the main control computer integrates the three major functional modules of data storage, automated control, and hardware management, providing flexibility and efficiency for the testing system. It can manage and parse complex test data in real time, execute automated instruction processes, and precisely control hardware operations to ensure smooth testing and accurate results. In addition, this design simplifies the operation process, reduces the opportunity for manual intervention, achieves full system automation, and improves overall testing efficiency and reliability.
[0052] In one embodiment of the present invention, the automation software includes a control thread and a data acquisition thread, and the control thread and the data acquisition thread are set and displayed through a user interface.
[0053] The working principle and effects of the above technical solution are as follows: The automation software integrates control and acquisition threads to achieve comprehensive management of the testing process and data acquisition functions. The control thread is responsible for executing the predetermined testing process, including sending commands and real-time monitoring of system status, while the acquisition thread is responsible for collecting test data in real time according to the set acquisition frequency and feeding it back to the user interface. Users can set and monitor these two threads through the interface, thereby flexibly adjusting test parameters and viewing real-time data. By organically combining the control and acquisition threads, the automation software achieves efficient execution of the testing process and real-time data acquisition, facilitating flexible settings and monitoring by users through the interface, making the testing process more transparent and intuitive. This architecture not only improves the system's response speed and ease of operation but also enhances the accuracy and reliability of the test. Through real-time data feedback and adjustment functions, it significantly improves the efficiency and effectiveness of the test.
[0054] In one embodiment of the present invention, the user interface settings for the acquisition thread include setting the amount of data to be acquired, setting the acquisition interval, and setting overcurrent protection.
[0055] The working principle and effects of the above technical solution are as follows: The user interface provides fine-grained settings for the acquisition threads. Users can configure the amount of data collected and the acquisition interval through the interface to optimize the efficiency and accuracy of data collection. Simultaneously, overcurrent protection can be enabled to ensure system safety. During the acquisition process, users can view real-time data curves in the Data Acquisition - Real-time Curve section. Top-level code encapsulating the acquisition threads is also included. When the set data collection amount and interval are reasonably configured, the system can acquire complete and high-quality data under optimal conditions. Once the current exceeds the safety threshold, the overcurrent protection mechanism will automatically activate, promptly cutting off the power supply and warning the user, thereby effectively preventing equipment damage and data loss. The advantage of the user interface for setting the acquisition threads lies in providing significant flexibility and safety. Users can adjust the data amount and acquisition interval according to actual needs to achieve optimal data acquisition efficiency. Simultaneously, the overcurrent protection setting ensures that the protection mechanism is activated promptly in case of abnormal current, preventing equipment damage and data loss. This not only improves the system's adaptability and stability under various working conditions but also enhances the user's control over the acquisition process, thereby ensuring the safety of the testing process and the integrity of the data.
[0056] In one embodiment of the present invention, the user interface settings for the control thread include selecting a process configuration file to be run.
[0057] The working principle and effects of the above technical solution are as follows: In the control thread, the main software operation flow is as follows: After the user sets up and checks the experimental environment, selects the corresponding process configuration file for the experiment, runs the process, and the software will automatically execute all steps according to the configuration in the file, achieving automatic control. The configuration file is in JSON format, including all events that need to be executed in the loop during the experiment. Each event has a corresponding trigger time, specific instruction set, event label, and loop label. The control thread also encapsulates the top-level code. Users can easily select and run different process configuration files, improving the system's flexibility and operational efficiency. Users can quickly switch test plans to ensure that each test strictly follows the predefined process, thereby reducing human error and configuration time, and ensuring test standardization. This function not only simplifies the preparation work for complex tests but also enhances the repeatability and reliability of the entire testing system.
[0058] In one embodiment of the present invention, the main interface has a status monitoring bar at the top, and multiple acquisition indicator lights on the left to indicate the validity of data acquisition. An off acquisition indicator light indicates that no data has been acquired, and a constantly lit acquisition indicator light indicates that the data has been acquired normally. On the right is a thread indicator light. A constantly lit thread indicator light indicates that the acquisition thread and the control thread are working, and an off thread indicator light indicates that the corresponding thread is not working normally.
[0059] The working principle and effect of the above technical solution are as follows: At the top of the main interface is a status monitoring bar, used to monitor the current running status of the software. Multiple indicator lights on the left indicate the validity of the collected data; an off light indicates that the corresponding data was not collected, the corresponding hardware communication is abnormal, or the corresponding data is invalid; an on light indicates that the data collection is normal. On the right are thread indicator lights, indicating whether the acquisition thread and control thread are working. The status monitoring bar, through its intuitive indicator light design, significantly improves the user's real-time perception of the system status, enabling the user to immediately identify the status of data acquisition and thread operation. The acquisition indicator lights on the left and the thread indicator lights on the right together provide clear visual feedback, helping users quickly determine whether the system is running normally or malfunctioning, thereby reducing troubleshooting time and improving operational efficiency.
[0060] In one embodiment of the present invention, the acquisition thread includes: sending a data query command to the device under test; after the command is approved, acquiring data according to a preset acquisition interval; when the preset amount of acquired data is reached or the number of acquisitions reaches N times, integrating the acquired data into a dataset; outputting the acquired data to a visualization interface to form a real-time data change curve for monitoring; and monitoring the system current in real time. When the current exceeds a set threshold, an overcurrent protection mechanism is activated, shutting off the power supply output and notifying the test personnel of the overcurrent event via email.
[0061] The working principle and effects of the above technical solution are as follows: The acquisition thread achieves effective data collection and system protection of the device under test by executing a series of steps: First, the acquisition thread sends a data query command to the device under test. After the command is confirmed, data is collected according to the preset acquisition interval. Data collection continues until the preset data volume or number of acquisitions reaches 5000. Then, the data is integrated into a complete dataset and output to a visualization interface, forming a real-time changing data curve for easy user monitoring. When the system detects that the current exceeds a predetermined threshold, the overcurrent protection mechanism immediately activates to shut down the power output and promptly notifies the test personnel via email, ensuring system safety and device protection. Through a systematic data collection and protection strategy, the acquisition thread achieves efficient and accurate data acquisition and dynamic current monitoring, while enhancing device safety while ensuring data quality. By setting the acquisition interval and data volume, the acquisition thread provides flexible data processing capabilities; simultaneously, its visualized trend curve provides users with a simple and easy-to-understand real-time monitoring tool. Furthermore, the overcurrent protection mechanism and automatic email notification function ensure timely protection of the device and rapid feedback to the user in case of abnormal current, achieving high operational safety and system reliability.
[0062] In one embodiment of the present invention, the control thread includes: selecting a process configuration file to be run, the process configuration file including all events to be executed in the test experiment, the trigger time and instruction set corresponding to each event, running the process, and monitoring the ongoing steps and events in real time as well as the remaining waiting time before the end of the event, and finally sending corresponding control instructions to the corresponding devices to realize automated control.
[0063] Furthermore, the automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals can adaptively optimize testing efficiency based on actual testing needs and equipment status. The formula for calculating the optimized testing efficiency is as follows:
[0064]
[0065] Where T represents the overall performance index of the automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals. Let C represent the amount of data collected by the i-th power meter, C represent the number of monitoring events in the control thread, and E represent the effectiveness of overcurrent protection triggering. This indicates the total runtime of the data collection thread. This indicates the total runtime of the control thread. This represents the adaptive optimization factor for the automated testing system of fiber optic amplifiers used in inter-satellite laser communication terminals. The range of values for is (0,1];
[0066] Furthermore, the validity of the overcurrent protection trigger is obtained using the following formula:
[0067]
[0068] Where h represents the number of times the monitoring system successfully detected and triggered overcurrent protection during the current monitoring process, and H represents the total number of times the monitoring system detected overcurrent. This indicates the average response time from when the monitoring system detects an overcurrent to when the overcurrent protection is activated. This indicates the preset maximum overcurrent protection response time of the automated testing system for the fiber optic amplifier used in the inter-satellite laser communication terminal;
[0069] The system records the T-values for each time period in real time and analyzes the trend of T-value changes. When the T-value decreases, the system adaptively optimizes the hardware corresponding to each parameter in the formula, including increasing the frequency of power meter data acquisition, incorporating more key events into the control thread, refining the control process, dynamically adjusting the overcurrent protection trigger threshold, and accelerating the data acquisition and processing speed.
[0070] The working principle and effects of the above technical solution are as follows: The control thread starts by sending control commands to relevant devices according to a preset set of automated instructions, automatically completing basic operations such as power-on, power-off, start-up, shutdown, and cold / hot start-up. The control thread can load and parse user-defined configuration files to execute action sequences for different test requirements, meeting diverse experimental needs. During the execution of the control flow, the thread not only monitors and displays the current execution steps and remaining time in real time, but also analyzes measurement data to verify the product status, ensuring accurate sending and execution of instructions. Furthermore, the control thread provides comprehensive control over the test process, such as starting, ending, interrupting, pausing, and skipping steps, ensuring the flexibility and controllability of the testing process. The control thread improves the efficiency and accuracy of the testing process. Through flexible instruction set sending and real-time monitoring, it not only completes basic device operations but also adapts to diverse testing requirements. It supports loading and parsing custom configuration files, providing high adaptability to complex testing processes. Simultaneously, the control thread has real-time status monitoring and data analysis functions, ensuring accurate execution of various instructions and reliable determination of product status. In addition, the introduction of comprehensive process control options (such as start, end, interrupt, pause, and skip steps) provides users with extremely high operational flexibility and controllability, making the testing process smoother and more efficient.
[0071] In the comprehensive performance index calculation formula of the automated testing system for fiber optic amplifiers in inter-satellite laser communication terminals, power meter data is an indicator that directly reflects the status of the system and equipment. The more data collected, the higher the monitoring accuracy and status awareness of the system. This term, as the numerator, represents the contribution of effective data acquisition to system performance. The number of monitoring events in the control thread reflects the system's coverage of the operation process. More event monitoring means more detailed control and more complete automation, improving the system's real-time response and fault handling capabilities. Multiplying the amount of data collected by the acquisition thread by the number of events in the monitoring thread reflects the amount of raw data the system must process during operation, while the number of monitoring events represents the number of management or control operations required to process this data. The product of these two reflects the system's "information processing load" within a specific time period. The effectiveness of overcurrent protection triggering measures the efficiency and accuracy of the current monitoring system. Efficient monitoring and protection triggering mechanisms can effectively prevent equipment overload and current anomalies, ensuring system stability and safety. Longer acquisition and control thread runtimes mean higher resource consumption and a higher system burden; conversely, shorter runtimes can improve efficiency. An adaptive optimization factor is introduced to adaptively optimize testing efficiency based on actual testing needs and equipment status. For example, the factor will be higher when the system is running under light load or ideal conditions, and lower otherwise. and As an addition to the denominator, it represents the negative impact on system performance, while... and The summation reflects the relationship between "information processing load" and time, converting the composite load index into an efficiency index. The result is an execution capacity value per unit time, which better reflects the system's actual performance and load management capabilities over a period of time. This formula improves the overall operating efficiency of the system by comprehensively considering data acquisition accuracy, the granularity of control threads, and the effectiveness of current monitoring; it prevents unnecessary resource consumption and system bottlenecks by reducing the total running time of data acquisition and control threads; and it avoids efficiency reduction and potential failure risks in complex operating environments by balancing the system's adaptive optimization capabilities and user configuration complexity.
[0072] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. An automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals, characterized in that, The testing system includes: an optical fiber amplifier, a main control computer, a router, a power meter module, and a power supply module. The optical fiber interface of the optical fiber amplifier is connected to the optical fiber interface of the power meter module; the wire interface of the optical fiber amplifier is connected to the wire interface of the power supply module; the USB interface of the power supply module is connected to the first USB interface of the main control computer; the network cable interface of the power supply module is connected to the first network cable interface of the router; the second network cable interface of the router is connected to the network cable interface of the main control computer; and the USB interface of the power meter is connected to the second USB interface of the main control computer. The automation software includes a control thread and a data acquisition thread, which are set and displayed through a user interface. The control thread includes: selecting a process configuration file to be run, which includes all events to be executed in the test experiment, the trigger time and instruction set corresponding to each event, the running process, and real-time monitoring of the ongoing steps, the duration of events, and the remaining waiting time before the event ends. Finally, the automation command sends corresponding control commands to the corresponding devices to achieve automated control. Furthermore, the automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals can adaptively optimize testing efficiency based on actual testing needs and equipment status. The formula for calculating the optimized testing efficiency is as follows: Where T represents the overall performance index of the automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals. Let C represent the amount of data collected by the i-th power meter, C represent the number of monitoring events in the control thread, and E represent the effectiveness of overcurrent protection triggering. This indicates the total runtime of the data collection thread. This indicates the total runtime of the control thread. This represents the adaptive optimization factor for the automated testing system of fiber optic amplifiers used in inter-satellite laser communication terminals. The range of values for is (0,1]; Furthermore, the effectiveness of the overcurrent protection triggering is obtained using the following formula: Where h represents the number of times the monitoring system successfully detected and triggered overcurrent protection during the current monitoring process, and H represents the total number of times the monitoring system detected overcurrent. This indicates the average response time from when the monitoring system detects an overcurrent to when the overcurrent protection is activated. This indicates the preset maximum overcurrent protection response time of the automated testing system for the fiber optic amplifier used in the inter-satellite laser communication terminal; The system records the T-values for each time period in real time and analyzes the trend of T-value changes. When the T-value decreases, the system adaptively optimizes the hardware corresponding to each parameter in the formula, including increasing the frequency of power meter data acquisition, incorporating key events into the control thread, refining the control process, dynamically adjusting the overcurrent protection trigger threshold, and accelerating the data acquisition and processing speed.
2. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 1, characterized in that, The power meter module includes a first power meter and a second power meter.
3. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 1, characterized in that, The power supply module includes a first power supply, a second power supply, and a third power supply. In particular, the first and second power supplies are replaced by a spectrometer to handle different test parameters. The optical fiber end of the spectrometer is connected to the optical fiber end of the optical fiber amplifier.
4. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 1, characterized in that, The main control computer includes a file storage module, automation software, and a drive management module. The data output terminal of the file storage module is connected to the data input terminal of the automation software, the drive signal output terminal of the automation software is connected to the drive signal input terminal of the drive management module, and the drive management module outputs drive signals to the hardware.
5. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 3, characterized in that, The user interface allows users to configure the acquisition thread, including setting the amount of data to be acquired, setting the acquisition interval, and setting overcurrent protection.
6. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 3, characterized in that, The user interface settings for the control thread include selecting the process configuration file to be run.
7. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 3, characterized in that, The main interface has a status monitoring bar at the top. On the left, there are multiple data acquisition indicator lights to indicate the validity of data acquisition. When the data acquisition indicator light is off, it means that no data has been acquired. When the data acquisition indicator light is on, it means that the data has been acquired normally. On the right, there are thread indicator lights. When the thread indicator light is on, it means that the acquisition thread and the control thread are working. When the thread indicator light is off, it means that the corresponding thread is not working normally.
8. The automated testing system for fiber optic amplifiers used in inter-satellite laser communication terminals according to claim 3, characterized in that, The data acquisition thread includes: sending a data query command to the device under test; after the command is approved, collecting data according to a preset acquisition interval; when the preset amount of data to be collected is reached or the number of acquisitions reaches N times, integrating the collected data into a dataset; outputting the collected data to a visualization interface to form a real-time data change curve for monitoring; and monitoring the system current in real time. When the current exceeds a set threshold, the overcurrent protection mechanism is activated, shutting off the power supply output and notifying the test personnel of the overcurrent event via email.