Optical module performance test method, device and system and storage medium

By connecting the optical module to be metered in the optical module test method, starting each operating mode, initializing the PRBS code, sending and querying the PRBS bit error rate, and reading the working parameters in real time, the problem that traditional testing methods cannot fully and in real time read the internal working conditions of the optical module, and a comprehensive test of the performance of the optical module is achieved.

CN120165765APending Publication Date: 2025-06-17WUXI XINGTONG HUIYI TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510228395.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

The traditional optical module aging test system cannot fully read the internal workings of the optical module in real time, and the tests are not comprehensive enough, especially in low power consumption or reset conditions.

Method used

It provides an optical module performance testing method, including connecting to the optical module to be metered, controlling the optical module to start each operating mode according to the preset operating order, obtaining initial detection data and storing; initializing the PRBS code; generating and sending the PRBS code, querying and obtaining the current PRBS bit error rate; reading and saving the working parameters of the optical module in real time, and re-querying the PRBS bit error rate after delay to judge communication performance.

Benefits of technology

It realizes the acquisition of the current value, voltage value, optical power data, register information and other data of the optical module in different modes, and can determine whether the optical module interface is good, thereby effectively checking the basic functions and code error performance of the optical module, and then determining its communication performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120165765A_ABST
    Figure CN120165765A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of optical module testing, and discloses an optical module performance testing method, device and system and a storage medium, and the method comprises the steps: controlling an optical module to start each operation mode in sequence according to a preset operation sequence after the optical module to be tested is connected, so as to obtain initial detection data, and storing the initial detection data to a preset register; after the optical module is controlled again to start each operation mode in sequence, the PRBS code is initialized; enabling to send a PRBS code to an optical module, and querying and obtaining a current PRBS bit error rate; and reading and storing the working parameters of the optical module in real time, and re-querying the current PRBS bit error rate to judge the communication performance of the optical module. According to the invention, the current value, the voltage value, the optical power data, the register information and other data of the optical module in different modes can be obtained, and whether the interface of the optical module is good or not can be judged, so that the basic function and the bit error rate performance of the optical module can be effectively detected, the communication performance of the optical module is judged, and the performance test of the optical module is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of optical module testing, and particularly relates to a method, device, system and storage medium for testing the performance of an optical module. Background Art

[0002] With the applications of technologies such as cloud computing, VR / AR, AI, and 5G, the demand for traffic is very large. The explosive growth of traffic requires higher bandwidth. Among them, the transmission distance of the data center network is usually short, but the demand for bandwidth is greater. Therefore, higher requirements are imposed on optical modules, and the stability and reliability of optical modules determine the communication quality of the entire network system.

[0003] Therefore, the screening and aging test of optical modules become increasingly important. Only through the aging test can defective optical modules with poor quality, process problems, and defective materials be screened out in advance to ensure that the quality of the optical modules leaving the factory meets the requirements.

[0004] Traditional aging test systems only screen through temperature cycling or power-on methods. During the power-on or temperature cycling test process, the internal working conditions of the optical module cannot be comprehensively and real-time read, and the general test is not comprehensive enough. For example, low power consumption or reset conditions are basically not tested. Summary of the Invention

[0005] In order to solve the problems in the related technologies, the present application provides a method, device, system and storage medium for testing the performance of an optical module, and solves the defects mentioned in the background art.

[0006] To solve the above technical problems, the present invention adopts the following technical solutions: In the first aspect of the disclosed embodiment of the present invention, a method for testing the performance of an optical module is provided, including: S100. After accessing the optical module to be tested, control the optical module to sequentially start each operating mode according to a preset operating order to obtain initial detection data and store it in a preset register; S200. After re-controlling the optical module to sequentially start each operating mode, initialize the PRBS code; S300. Generate a PRBS code according to the test requirements, enable the transmission of the PRBS code to the optical module, re-receive the PRBS code after the external optical fiber of the optical module is looped back, and query and obtain the current PRBS bit error rate; S400. Real-time read and save the working parameters of the optical module, and re-query the current PRBS bit error rate after a second delay duration to judge the communication performance of the optical module.

[0007] In some exemplary embodiments, in step S100, the operating modes of the optical module include: turning off the power supply of the optical module, turning on the power supply of the optical module, TxOff mode, low power consumption mode, and reset mode; the initial detection data includes: current value, voltage value, TX / RX optical power value, and power consumption value.

[0008] In some exemplary embodiments, in step S100, after each operating mode is completed, register data is read after a first delay duration. The register data includes: alarm register, SN number register, package information register, firmware version register, manufacturer information register, and module PN register.

[0009] In some exemplary embodiments, in step S200, initializing the PRBS code includes: clearing the PRBS code and clearing the PRBS bit error rate.

[0010] In some exemplary embodiments, in step S300, when receiving the PRBS code, the total number of codes sent and the number of bit errors received are obtained, and the bit error rate is calculated based on the total number of codes and the number of bit errors.

[0011] In some exemplary embodiments, in step S400, the operating parameters of the optical module include: voltage value, current value, TX / RX optical power value, power consumption value, and DDMI information.

[0012] In some exemplary embodiments, it further includes: S500. Set the test duration and the cycle duration. After executing step S400, determine whether the test duration is reached; S501. If so, step S400 is cyclically executed within the cycle duration; S502. If the cycle duration is reached, step S200 is executed again, and the cycle duration is recalculated; S503. If the test duration has been reached, the test is completed.

[0013] In the second aspect of the disclosed embodiments of the present invention, an optical module performance test device is provided, including: An initial test unit, configured to control the optical module to sequentially start each operating mode according to a preset operating order after connecting the optical module to be tested, so as to obtain initial detection data and store it in a preset register; An initialization unit, configured to initialize the PRBS code after re-controlling the optical module to sequentially start each operating mode; A bit error rate acquisition unit, configured to generate a PRBS code according to the test requirements, enable the transmission of the PRBS code to the optical module, re-receive the PRBS code after the external optical fiber of the optical module is looped back, and query and obtain the current PRBS bit error rate; A test and judgment unit is configured to read and save the working parameters of the optical module in real time, and re-query the current PRBS bit error rate after a second delay duration to judge the communication performance of the optical module.

[0014] In a third aspect of the disclosed embodiments of the present invention, an optical module performance test system is provided, including: A control unit, where the control unit includes an FPGA module and an MCU control module connected by communication. The FPGA module is connected with a plurality of optical module interfaces for connecting with the optical module to be tested, and the FPGA module is also connected with an optical module detection unit respectively corresponding to each optical module interface. The optical module detection unit is configured to supply power to the optical module interface or collect the working parameters of the optical module to be tested; and, A memory, where computer-readable instructions are stored in the memory. When the computer-readable instructions are executed by the control unit, the control unit is caused to execute the steps of the optical module performance test method as described in the first aspect.

[0015] In a fourth aspect of the disclosed embodiments of the present invention, a storage medium storing computer-readable instructions is provided. When the computer-readable instructions are executed by one or more control units, the one or more control units are caused to execute the steps of the optical module performance test method as described in the first aspect.

[0016] By adopting the above technical solutions, compared with the prior art, the beneficial effects of the technology of this patent are: In the embodiments of the present invention, by providing an optical module performance test method, device, system and storage medium, wherein, the method includes: S100, after accessing the optical module to be tested, controlling the optical module to sequentially start each operation mode according to a preset operation sequence to obtain initial detection data and store it in a preset register; S200, after re-controlling the optical module to sequentially start each operation mode, initializing the PRBS code; S300, generating a PRBS code according to the test requirements, enabling the transmission of the PRBS code to the optical module, re-receiving the PRBS code after the external optical fiber of the optical module is looped back, and querying to obtain the current PRBS bit error rate; S400, reading and saving the working parameters of the optical module in real time, and re-querying the current PRBS bit error rate after a second delay duration to judge the communication performance of the optical module. The present invention can obtain data such as current values, voltage values, optical power data, register information, etc. of the optical module in different modes, and can judge whether the optical module interface is good, so as to effectively test the basic functions and bit error performance of the optical module, and then judge its communication performance, realizing the performance test of the optical module. Description of the Drawings

[0017] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.

[0018] Figure 1 It is the flowchart of the optical module performance testing method in the first embodiment of the present invention.

[0019] Figure 2 It is the flowchart of a specific example of the optical module performance testing method in the first embodiment of the present invention.

[0020] Figure 3 It is the flowchart of the optical module performance testing method in the second embodiment of the present invention.

[0021] Figure 4 It is the flowchart of a specific example of the optical module performance testing method in the second embodiment of the present invention.

[0022] Figure 5 It is the schematic structural diagram of the optical module performance testing device in the third embodiment of the present invention.

[0023] Figure 6 It is the schematic structural diagram of the optical module performance testing system in the fourth embodiment of the present invention. Specific Embodiments

[0024] Hereinafter, the preferred embodiments of the present application will be described in more detail with reference to the accompanying drawings. Although the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present application will be more thorough and complete, and will fully convey the scope of the present application to those skilled in the art.

[0025] Embodiment 1

[0026] As Figure 1 shown, an optical module performance testing method includes: S100. After connecting the optical module to be tested, control the optical module to start each operating mode in a preset operating order to obtain initial detection data and store it in a preset register.

[0027] Specifically, the optical module to be tested is connected to the system through an optical module interface. In step S100, the operating modes of the optical module include: turning off the power supply of the optical module, turning on the power supply of the optical module, TxOff mode, low-power mode, and reset mode. When executing each operating mode, a certain delay duration can also be set for intervals; the initial detection data includes: current value, voltage value, TX / RX optical power value, power consumption value, where the TX / RX optical power value refers to the outgoing optical power value and the incoming optical power value. Of course, in some embodiments, the initial detection data may also include the temperature data of the optical module.

[0028] Among them, after powering off the optical module and powering on the optical module, the current value is read once respectively. When operating in the TxOff mode, low-power mode, and reset mode, the current value and power consumption value are read once respectively.

[0029] Further, in the step S100, after each operating mode is completed, the register data is read after delaying for a first delay duration. The first delay duration can be set to 10 - 20 s as needed, for example. The register data includes: alarm register, SN number register, package information register, firmware version register, manufacturer information register, module PN register. Each register can be used to store alarm information, SN information, package information, firmware version information, manufacturer information, and module PN information respectively.

[0030] S200. After re-controlling the optical module to start each operating mode in sequence, initialize the PRBS code.

[0031] Specifically, re-controlling the optical module to start each operating mode in sequence means running modes such as powering off the optical module, powering on the optical module, TxOff mode, low-power mode, and reset mode again. The running order and delay duration can be the same as those in step S100. Among them, initializing the PRBS code includes: clearing the PRBS code and clearing the PRBS error rate.

[0032] S300. Generate the PRBS code according to the test requirements, enable the transmission of the PRBS code to the optical module, re-receive the PRBS code after the external optical fiber of the optical module is looped back, and query and obtain the current PRBS error rate.

[0033] Specifically, in the step S300, when receiving the PRBS code, the total number of transmitted codes and the number of error codes received are obtained, and the bit error rate BER is calculated based on the total number of bits total_bit and the number of error bits error_bit.

[0034] S400. Read and save the working parameters of the optical module in real time, and re-query the current PRBS error rate after delaying for a second delay duration to judge the communication performance of the optical module.

[0035] Specifically, the working parameters of the optical module include: voltage value, current value, TX / RX optical power value, power consumption value, and DDMI information. Among them, DDMI (Digital Diagnostic Monitoring Interface) information refers to the temperature information of the optical module. When reading the working parameters of the optical module, the register storing the corresponding data is also read. For example, when specifying that the alarm register stores the working parameter, the alarm register is read first, and then the working parameter is read. In some embodiments, after reading the working parameters, the alarm register can be checked after delaying for a certain duration.

[0036] After the above steps, the current value, voltage value, optical power data, register information and other data of the optical module can be obtained in different modes, and whether the optical module interface is good can be judged, so as to effectively test the basic functions and bit error performance of the optical module, and then judge its communication performance, realizing the performance test of the optical module.

[0037] To further illustrate this embodiment, a specific example is given below: Before the test, power on the system first and configure the corresponding clock circuit, as Figure 2 shown. The optical module performance test method of this example includes: S101. Insert the optical module into the optical module interface, power on the test board normally, and there is no abnormality in the board status. After turning off the power supply of the optical module, delay for 1 s, read the current monitored by the chip, and save the C_OFF current to the corresponding register.

[0038] S102. After turning on the power supply of the optical module, delay for 1 s, read the current monitored by the chip, and save the C_ON current to the corresponding register.

[0039] S103. Communicate with the optical module through the I2C interface, write an instruction to the specified register to turn off the laser, delay for 1 s, read the output optical power (OFF_TxP) and input optical power (OFF_RxP) of the module, and save them to the corresponding registers.

[0040] S104. Communicate with the optical module through the I2C interface, write an instruction to the specified register to turn on the laser, delay for 1 s, and read the output optical power (ON_TxP) and input optical power (ON_RxP) of the module.

[0041] S105. Control the level of the mode pin of the optical module, pull up the low-power pin, delay for 1 s, read the current and power consumption, and save them.

[0042] S106. Control the level of the reset pin of the optical module, pull down the reset pin, delay for 1 s, read the current and power consumption, and save them.

[0043] S107. Control the level of the reset pin of the optical module, pull up the reset pin, delay for 1 s, read the current and power consumption, and save them.

[0044] S108. Read the internal alarm register, SN number register, package information register, firmware version register, manufacturer information register, and module PN register of the optical module, and save the read values to the preset registers respectively.

[0045] S201. Repeat steps S101 to S105.

[0046] S202. Initialize the PRBS code, enable the transmission of the PRBS code pattern; and clear the number of received PRBS codes and the bit error rate to zero.

[0047] S300. Query the total number of codes total_bit, the number of error bits error_bit, and the bit error rate received by each channel and save them.

[0048] S400. Read the alarm register, read and save the optical module voltage, current, power, and DDMI information, check the module alarm register, and query and save the bit error rate after 10s.

[0049] Embodiment 2

[0050] The embodiment of the present invention provides an optical module performance test method. The difference between this embodiment and Embodiment 1 is that as Figure 3 shown, it further includes: S500. Set the test duration and the cycle duration. After executing step S400, determine whether the test duration is reached; among them, the test duration and the cycle duration can be set according to specific requirements. Usually, the test duration is greater than the cycle duration. For example, the cycle duration can be set to 90 min to 150 min.

[0051] S501. If so, loop and execute step S400 within the cycle duration to form a small loop test; it can be understood that the small loop test runs continuously during a test process. By running for a long time, the working parameters of the optical module to be tested are monitored in real time and recorded and saved in the specified register, so as to judge the operation situation of the optical module, and then test the quality of the optical module to achieve the purpose of aging test.

[0052] S502. If the cycle duration is reached, re - execute step S200 once and recalculate the cycle duration to form a large loop test. Specifically, re - execute step S200, step S300, and step S400, and the cycle duration is recalculated from zero; it can be understood that after the small loop test is completed, a full - coverage test is performed on the optical module, and after effectively testing many times of small loops, it is checked whether some states inside the optical module have changed, and the stability of the optical module is judged according to the test results.

[0053] S503. If the test duration has been reached, the test is completed.

[0054] Through the above steps, the aging and full - performance test of the optical module are realized, and the purpose of screening out optical modules with poor stability and poor communication quality is achieved.

[0055] To further illustrate this embodiment, as Figure 4 shown, the following is an illustration with a specific example: The small loop test is to test whether the current, voltage, and power meet the design requirements during long-term operation, whether the bit error rate is less than the set requirement, and whether it can remain stable without significant deviation. Let the test duration be \(T_S\) and the loop duration be \(T_{S\_S}\). Specifically, it includes: S5011. During the set test duration, read the alarm register, read the current, voltage, power consumption, read the DDMI information, and read the PRBS bit error rate; 5012. Determine whether the preset test duration \(T_S\) has been reached; 5013. If \(T_S\) has not been reached, then determine whether the loop duration \(T_{S\_S}\) has been reached; 5014. If the loop duration \(T_{S\_S}\) has not been reached, enter step S5011 to continue the test. If the loop duration \(T_{S\_S}\) has been reached, perform the large loop test; 5015. If \(T_S\) has been reached, end the test process.

[0056] The large loop test is to test the following items: the current of the power supply optical module when it is turned off / on, the output power and input power of the laser when it is turned off / on, the current and power consumption in the low-power mode, and the current and power consumption in the reset mode; The steps are as follows: When the loop duration \(T_{S\_S}\) is reached, re-execute step S201 and continue the loop test.

[0057] Through the large loop test, tests such as turning on / off the laser, low power consumption, and reset mode can verify the voltage, input / output optical power of the optical module in the case of external power supply abnormality and internal laser abnormality, and can effectively and comprehensively test the performance of the optical module.

[0058] Embodiment 3

[0059] As Figure 5 shown, an optical module performance test device provided by an embodiment of the present invention includes: an initial test unit, configured to control the optical module to start each operating mode in sequence according to a preset operating order after connecting the optical module to be tested, obtain initial detection data, and store it in a preset register; an initialization unit, configured to re-control the optical module to start each operating mode in sequence and then initialize the PRBS code; a bit error rate acquisition unit, configured to generate a PRBS code according to the test requirements, enable the transmission of the PRBS code to the optical module, re-receive the PRBS code after the external optical fiber of the optical module is looped back, and query and obtain the current PRBS bit error rate; a test judgment unit, configured to read and save the working parameters of the optical module in real time, and re-query the current PRBS bit error rate after a second delay duration to judge the communication performance of the optical module.

[0060] Among them, the operating modes of the optical module include: turning off the power supply of the optical module, turning on the power supply of the optical module, TxOff mode, low-power mode, and reset mode. The initial detection data includes: current value, voltage value, TX / RX optical power value, and power consumption value. The operating parameters of the optical module include: voltage value, current value, TX / RX optical power value, power consumption value, and DDMI information. Initializing the PRBS code includes: clearing the PRBS code and clearing the PRBS bit error rate. When querying and obtaining the bit error rate, the total number of transmitted codes and the number of received error codes are obtained when receiving the PRBS code, and the bit error rate BER is calculated based on the total number of codes total_bit and the number of error codes error_bit.

[0061] Meanwhile, when the device is running, the test duration and the cycle duration are also configured. The test duration is greater than the cycle duration. Within the cycle duration, the test judgment unit repeats a certain number of times until the cycle duration is reached. When the cycle duration is reached, the initialization unit, the bit error rate acquisition unit, and the test judgment unit will execute a new cycle once again.

[0062] Through this optical module performance test device, data such as the current value, voltage value, optical power data, and register information of the optical module in different modes can be obtained, and it can be determined whether the optical module interface is good. Thus, the basic functions and bit error performance of the optical module can be effectively tested, and then its communication performance can be judged, realizing the performance test of the optical module; and at the same time, the aging and full performance test of the optical module can be realized, achieving the purpose of screening out optical modules with poor stability and poor communication quality.

[0063] Embodiment 4

[0064] As Figure 6 shown, an optical module performance test system provided by an embodiment of the present invention includes: a control unit, the control unit includes an FPGA module and an MCU control module connected by communication. The FPGA module is connected with a plurality of optical module interfaces for connecting with the optical module to be tested. The FPGA module is also connected with an optical module detection unit respectively corresponding to each optical module interface. The optical module detection unit is used to supply power to the optical module interface or collect the operating parameters of the optical module to be tested; and a memory, in which computer-readable instructions are stored. When the computer-readable instructions are executed by the control unit, the control unit executes the steps of the optical module performance test method described in Embodiment 1 or Embodiment 2.

[0065] It can be understood that the FPGA module communicates with the MCU control module through the I2C bus. The MCU control module issues control commands, and the FPGA module receives the commands for parsing and controls the program operation. The optical module detection unit is used to monitor the current, voltage, transceiver power, and power consumption in the optical module, read the alarm register of the optical module, set the enable transmission of the PEBS code, read the bit error rate, etc. The optical module detection unit is connected to the optical module interface one by one. In some embodiments, the MCU control module is also used to read the corresponding register and upload the test results to the computer software through the network interface in a timely manner, and can display the monitored current, voltage, power, and bit error rate curves of the optical module operation in real time, intuitively and reliably test the quality of the optical module, and achieve the purpose of aging.

[0066] In a specific embodiment, 6 groups of optical module interfaces are correspondingly set for each optical module performance test system, so that 6 groups of optical modules to be tested can be correspondingly accessed. During the test experiment, 15 groups of optical module performance test systems are used, and a total of 90 optical modules are tested simultaneously. When tested simultaneously, the system can obtain the data of 90 optical modules stably and reliably, and continuously runs on the production line, testing nearly 30,000 optical modules, and successfully realizes the aging test of the optical module.

[0067] Embodiment Five

[0068] A storage medium storing computer-readable instructions, when the computer-readable instructions are executed by one or more control units, cause the one or more control units to execute the steps of the optical module performance test method as described in Embodiment One or Embodiment Two.

[0069] More specific examples of the storage medium will include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0070] Those skilled in the art will readily think of other embodiments of the present invention after considering the specification and practicing the invention herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not invented by the present invention. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present invention are pointed out by the appended claims.

[0071] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A method for testing the performance of an optical module, characterized in that: include: S100, after connecting to the optical module to be tested, controlling the optical module to start each operating mode in sequence according to a preset operating sequence to obtain initial detection data and store it in a preset register; S200, re-control the optical module to start each operation mode in sequence, and initialize the PRBS code; S300, generate a PRBS code according to the test requirements, enable sending the PRBS code to the optical module, re-receive the PRBS code after looping back the external optical fiber of the optical module, and query and obtain the current PRBS bit error rate; S400, reading and saving the working parameters of the optical module in real time, and re-querying the current PRBS bit error rate after delaying for a second delay time to determine the communication performance of the optical module.

2. The optical module performance testing method according to claim 1, characterized in that: In the step S100, the operation modes of the optical module include: turning off the power supply of the optical module, turning on the power supply of the optical module, TxOff mode, low power consumption mode and reset mode; the initial detection data includes: current value, voltage value, TX / RX optical power value, and power consumption value.

3. The optical module performance testing method according to claim 2, characterized in that: In the step S100, after each operation mode is completed, the register data is read after a first delay time, and the register data includes: an alarm register, an SN number register, a packaging information register, a firmware version register, a manufacturer information register, and a module PN register.

4. The optical module performance testing method according to claim 1, characterized in that: In the step S200, initializing the PRBS code includes: clearing the PRBS code and clearing the PRBS bit error rate.

5. The optical module performance testing method according to claim 1, characterized in that: In the step S300, the total number of transmitted codes and the number of received bit errors are obtained when the PRBS code is received, and the bit error rate is calculated based on the total number of codes and the number of bit errors.

6. The optical module performance testing method according to claim 1, characterized in that: In the step S400, the working parameters of the optical module include: voltage value, current value, TX / RX optical power value, power consumption value and DDMI information.

7. The optical module performance testing method according to any one of claims 1 to 6, characterized in that: Also includes: S500, setting the test duration and the cycle duration, and after executing step S400, determining whether the test duration has been reached; S501: If yes, then execute step S400 in a loop within the loop duration; S502: If the cycle time is reached, re-execute step S200 and recalculate the cycle time; S503: If the test duration has been reached, the test is completed.

8. An optical module performance testing device, characterized in that: include: The initial test unit is used to control the optical module to start each operation mode in sequence according to a preset operation sequence after the optical module to be tested is connected to obtain initial detection data and store it in a preset register; An initialization unit, used to re-control the optical module to start each operation mode in sequence and initialize the PRBS code; A bit error rate acquisition unit is used to generate a PRBS code according to the test requirements, enable the PRBS code to be sent to the optical module, re-receive the PRBS code after looping back the optical fiber outside the optical module, and query and obtain the current PRBS bit error rate; The test judgment unit is used to read and save the working parameters of the optical module in real time, and re-query the current PRBS bit error rate after delaying the second delay time to judge the communication performance of the optical module.

9. An optical module performance test system, characterized in that: include: A control unit, the control unit comprising an FPGA module and an MCU control module in communication connection, the FPGA module being connected to a plurality of optical module interfaces for connecting to the optical module to be measured, the FPGA module being further connected to an optical module detection unit corresponding to each of the optical module interfaces, the optical module detection unit being used to supply power to the optical module interface or collect working parameters of the optical module to be measured; and A memory, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the control unit, the control unit executes the steps of the optical module performance testing method as described in any one of claims 1 to 7.

10. A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more control units, the one or more control units execute the steps of the optical module performance testing method as claimed in any one of claims 1 to 7.

Citation Information

Cited By

  • Firmware function verification method and device, equipment, storage medium and program product

    CN122152613A