Testing device and method of optical module and electronic equipment

By designing an optical module test device that includes an optical attenuator, an optical splitter and a flow meter, the test process is simplified, the problems of long optical module test time and high cost are solved, and more efficient testing and reduced production costs are achieved. .

CN118869073AActive Publication Date: 2024-10-29WUHAN INPHILIGHT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411348860.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-10-29
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

Optical module testing takes a long time and is costly, requiring a variety of equipment and manpower investment, making it difficult to meet the rapidly growing market demand.

Method used

An optical module test device is designed, including an optical attenuator, an optical splitter, a first optical switch, a second optical switch, a long fiber and a flow meter. The optical attenuator is controlled by the host computer to adjust the attenuation to achieve sensitivity and optical power. testing, simplifying the testing process and reducing equipment investment.

Benefits of technology

It greatly reduces the test time, reduces the equipment investment cost, increases the production capacity of the optical module and reduces the production cost of the optical module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869073A_ABST
    Figure CN118869073A_ABST
Patent Text Reader

Abstract

The invention provides an optical module testing device and method and electronic equipment, and belongs to the technical field of optical module test.The optical module testing device comprises an optical attenuator, an optical splitter, a first optical switch, a second optical switch, a long fiber, a flow instrument and a preset light source, the flow meter is used for displaying the bit error rate corresponding to a to-be-detected optical module, the RX end and the TX end of the to-be-detected optical module are connected with the optical attenuator and the long fiber respectively, the long fiber is connected with the optical branching device through the first optical switch, the optical branching device is connected with the optical attenuator, the optical branching device is further connected with the preset light source through the second optical switch, and the preset light source is connected with the optical attenuator. The preset light source is further connected with the flow instrument, and the upper computer controls the optical attenuator to adjust the attenuation amount through a USB bus. According to the scheme of the invention, the investment of manpower and equipment can be reduced, and the testing cost of the optical module is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical module testing, and in particular to an optical module testing device, method and electronic equipment. Background Art

[0002] The world is currently in an era of the simultaneous explosion of the Internet of Things, big data, and AI intelligence, and the demand for optical modules is increasing. How to increase production capacity to cope with the rapidly growing market demand has become crucial. As the speed of optical module products increases, the testing of optical modules is becoming more and more complicated, and the cost of testing is also increasing. If the test can be simplified and the manpower and material costs of the test can be reduced, the production capacity of optical modules will be greatly increased and the cost of optical modules will be reduced.

[0003] Usually, the test of optical modules includes performance test and flow test. Usually, when performing the performance test of optical modules, one end of the electrical port of the optical module needs to be connected to the bit error meter, and the TX end of the optical module needs to be connected to the oscilloscope through optical fiber. The TX end mainly tests the eye diagram indicators, optical power, etc. The RX end of the optical module is first connected to the optical attenuator and then to the light source through optical fiber. The RX end mainly tests the sensitivity indicators; usually, when performing the flow test of optical modules, one end of the electrical port of the optical module is connected to the flow meter, and the TX is directly connected to the RX end after connecting the long fiber to perform the self-loop flow test, and the actual measured bit error rate is used to determine whether the product is a good product. However, only using the above method requires two tests. At this time, it takes a long time for a single optical module to complete the performance test, and it requires a variety of test equipment such as a bit error meter and an oscilloscope. The investment in manpower and equipment is relatively large, so there will be a problem of high testing costs.

[0004] Therefore, there is an urgent need for a testing device, method and electronic equipment for an optical module. Summary of the invention

[0005] The present application aims to solve at least one of the technical problems existing in the prior art, and proposes a testing device, method and electronic equipment for an optical module.

[0006] In a first aspect of the present application, a testing device for an optical module is provided, the device comprising: an optical attenuator, an optical splitter, a first optical switch, a second optical switch, a long fiber and a flow meter, wherein the flow meter is connected to the electrical port of the optical module to be tested, the flow meter is used to display the bit error rate corresponding to the optical module to be tested, the RX end and the TX end of the optical module to be tested are respectively connected to the optical attenuator and the long fiber, the long fiber is connected to the optical splitter through the first optical switch, the optical splitter is connected to the optical attenuator, the optical splitter is also connected to a preset light source through the second optical switch, the electrical port of the preset light source is also connected to the flow meter, and the host computer controls the optical attenuator through a USB bus to adjust the attenuation amount.

[0007] In a second aspect of the present application, a method for testing an optical module is provided, the method comprising: obtaining standard parameters for testing the optical module, the standard parameters comprising a preset sensitivity specification, a preset optical power specification, a preset performance parameter, a standard optical power value corresponding to a preset light source, and an attenuation standard optical power value corresponding to the preset light source, the attenuation standard optical power value being an optical power value measured after the preset light source is connected to a corresponding long fiber; obtaining test parameters corresponding to the optical module to be tested, the test parameters comprising a first sensitivity, a second sensitivity, a TX-end optical power value, and a TX-end performance parameter, the first sensitivity and the second sensitivity being the sensitivities measured under different preset conditions for the optical module to be tested, the preset conditions being the opening / closing conditions of the first optical switch and the second optical switch; performing a first test, a second test, and a third test on the optical module to be tested according to the test parameters and the standard parameters, the first test being a sensitivity test, the second test being an optical power test, and the third test being a TX-end performance test; if it is confirmed that the first test, the second test, and the third test are all qualified, then the optical module to be tested is confirmed to be a qualified product.

[0008] Optionally, test parameters corresponding to the optical module to be tested are obtained, wherein obtaining the first sensitivity specifically includes: when the first optical switch is disconnected, the second optical switch is closed, and the optical attenuation of the preset light source by the optical attenuator is adjusted to 0, the host computer sends a first attenuation adjustment instruction to the optical attenuator through the USB bus; the optical attenuator performs a first adjustment operation according to the first attenuation adjustment instruction, and the first adjustment operation is to attenuate the optical power input from the preset light source to the RX end until the flow meter displays a preset bit error rate; according to the first adjustment instruction, a first attenuation is obtained, and the first attenuation is the optical power value attenuated by the optical attenuator from the preset light source input to the RX end; according to the standard optical power value and the first attenuation, the first sensitivity corresponding to the optical module to be tested is obtained by the following formula: ; Among them, S0 is the first sensitivity, P0 is the standard optical power value, and A1 is the first attenuation.

[0009] Optionally, test parameters corresponding to the optical module to be tested are obtained, wherein the optical power value of the TX end is obtained, specifically including: when the first optical switch is disconnected, the second optical switch is closed, and the optical attenuation of the preset light source by the optical attenuator is adjusted to 0, a first ADC value corresponding to the RX end is obtained; when the first optical switch is closed, the second optical switch is disconnected, and the optical attenuation of the RX end by the optical attenuator is adjusted to 0, a second ADC value corresponding to the RX end is obtained; according to the first ADC value, the second ADC value, the standard optical power value, and the attenuated standard optical power value, the optical power value of the TX end is obtained according to the following formula: ; Among them, P2 is the TX end optical power value, R0 is the first ADC value, R1 is the second ADC value, P0 is the standard optical power value, and P1 is the attenuated standard optical power value.

[0010] Optionally, test parameters corresponding to the optical module to be tested are obtained, wherein the second sensitivity and TX end performance parameters are obtained, specifically including: when the first optical switch is closed and the second optical switch is opened, the host computer sends a second attenuation adjustment instruction to the optical attenuator through the USB bus; the optical attenuator performs a second adjustment operation according to the second attenuation adjustment instruction, and the second adjustment operation is to attenuate the optical power input from TX to RX end until the flow meter displays a preset bit error rate; the second attenuation is obtained according to the second adjustment instruction, and the second attenuation is the optical power value attenuated by the attenuator when input from the TX end to the RX end; according to the optical power value of the TX end, the standard optical power value, the attenuated standard optical power value and the second attenuation, the second sensitivity is obtained according to the following formula: ; Where S1 is the second sensitivity, P0 is the standard optical power value, P2 is the TX end optical power value, and A2 is the second attenuation. According to the second sensitivity and the first sensitivity, the TX end performance parameters are obtained according to the following formula: ; Among them, B is the TX end performance parameter, S0 is the first sensitivity, and S1 is the second sensitivity.

[0011] Optionally, confirming that the first test is qualified specifically includes: if it is confirmed that the first sensitivity is less than or equal to a preset sensitivity specification, confirming that the first test is qualified.

[0012] Optionally, confirming that the second test is qualified specifically includes: if it is confirmed that the TX end optical power value is within the range corresponding to the preset optical power specification, confirming that the second test is qualified.

[0013] Optionally, confirming that the third test is qualified specifically includes: if it is confirmed that the TX end performance parameter is less than or equal to the preset performance parameter, confirming that the third test is qualified.

[0014] In the third aspect of the present application, an electronic device is provided, comprising one or more processors, a memory, an I / O interface and a communication bus, wherein the memory is used to store one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above methods.

[0015] In a fourth aspect of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above methods is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a testing device for an optical module provided in an embodiment of the present application; Figure 2 A schematic diagram of a process flow of a method for testing an optical module provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0017] Explanation of reference numerals: optical attenuator 11; optical splitter 12; first optical switch 13; second optical switch 14; long fiber 15; flow meter 16; preset light source 17; 301, processor; 302, memory; 303, I / O interface; 304, communication bus. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the technical solution of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0019] Unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which this application belongs. "First", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, "one", "one" or "the" and other similar words do not indicate quantity restrictions, but indicate that there is at least one. "Including" or "including" and other similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and other similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described target changes, the relative positional relationship may also change accordingly.

[0020] In each of the accompanying drawings, identical elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not all drawn to scale. In addition, some well-known parts may not be shown in the drawings.

[0021] Many specific details of the present application are described below, such as component structures, materials, dimensions, processing techniques, and technologies, in order to more clearly understand the present application. However, as those skilled in the art will appreciate, the present application may be implemented without following these specific details.

[0022] In the related art, the test of optical modules usually includes performance test and flow test. Usually, when performing the performance test of optical modules, one end of the electrical port of the optical module needs to be connected to the bit error meter, and the TX end of the optical module is connected to the oscilloscope through optical fiber. The TX end mainly tests the eye diagram indicators, optical power, etc. The RX end of the optical module is first connected to the optical attenuator and then to the light source through the optical fiber, and the RX end mainly tests the sensitivity indicators; usually, when performing the flow test of the optical module, one end of the electrical port of the optical module is connected to the flow meter, and the TX is directly connected to the RX end after connecting the long fiber to perform the self-loop flow test, and the product is judged whether it is a good product according to the actual measured bit error rate. However, only two tests are required using the above method. At this time, it takes a long time for a single optical module to complete the performance test, and it requires a variety of testing equipment such as a bit error meter and an oscilloscope. The investment in manpower and equipment is relatively large, so there will be a problem of high testing costs.

[0023] Please refer to Figure 1 , which shows a schematic diagram of a test device for an optical module provided in an embodiment of the present application, the device includes: an optical attenuator 11, an optical splitter 12, a first optical switch 13, a second optical switch 14, a long fiber 15, a flow meter 16 and a preset light source 17, wherein the flow meter 16 is connected to the electrical port of the optical module to be tested, and the flow meter 16 is used to display the bit error rate corresponding to the optical module to be tested, the RX end and the TX end of the optical module to be tested are respectively connected to the optical attenuator 11 and the long fiber 15, the long fiber 15 is connected to the optical splitter 12 through the first optical switch 13, the optical splitter 12 is connected to the optical attenuator 11, the optical splitter 12 is also connected to the preset light source 17 through the second optical switch 14, the electrical port of the preset light source 17 is also connected to the flow meter 16, and the host computer controls the optical attenuator 11 to adjust the attenuation through the USB bus.

[0024] Specifically, the flow meter 16 is connected to the optical module to be tested to obtain the bit error rate corresponding to the optical module to be tested in real time. The optical module to be tested can be any optical module to be tested. The RX end and the TX end of the optical module to be tested are respectively connected to the optical attenuator 11 and the long fiber 15. The long fiber 15 is connected to the optical splitter 12 through the first optical switch 13. The optical splitter 12 is connected to the optical attenuator 11. In addition, the optical splitter 12 is also connected to the optical attenuator 11. The host computer controls the open / closed state of the first optical switch 13 and the second optical switch 14, and controls the optical attenuator 11 through the USB bus to adjust the attenuation amount, so as to achieve different tests on the optical module. In this embodiment, the length of the long fiber 15 connected to the optical module to be tested is not limited. Since optical modules with different transmission distances need to be connected to long fibers 15 of different lengths, for example, the optical module used in the 10km application scenario is connected to a 10km long fiber 15. Therefore, the length of the long fiber 15 is determined by the transmission distance of the optical module to be tested. Moreover, in this embodiment, the optical splitter 12 is also connected to the preset light source 17 through the second optical switch 14. The preset light source 17 can provide light source input to the RX end of the optical module to be tested when the first optical switch 13 is optically disconnected and the second optical switch 14 is closed, wherein the preset light source 17 is an optical module of the same model as the optical module to be tested. For example, when the optical module to be tested is a 10G LR product, the preset light source 17 can be a 10G LR product. The traditional solution requires performance testing and flow testing. The performance test takes at least five minutes, and the flow test takes at least 2 minutes, which takes a total of 7 minutes. However, the test device in this embodiment only needs to perform a flow test, and the test time is at most 3 minutes. In addition, there is no need to connect an oscilloscope in the above device, which saves the cost of equipment investment and solves the problem of high test cost.

[0025] Please refer to Figure 2 , which shows a flow chart of an optical module testing method provided in an embodiment of the present application, the flow chart mainly includes the following steps: step S101 to step S104.

[0026] Step S101, obtain standard parameters for testing the optical module, the standard parameters include preset sensitivity specifications, preset optical power specifications, preset performance parameters, a standard optical power value corresponding to the preset light source 17, and an attenuation standard optical power value corresponding to the preset light source 17, the attenuation standard optical power value is the optical power value measured after the preset light source 17 is connected to the corresponding long fiber 15.

[0027] Specifically, before conducting the test, standard parameters for the test are first obtained, and the standard parameters include a preset sensitivity specification, a preset optical power specification, a preset performance parameter, a standard optical power value corresponding to the preset light source 17, and an attenuation standard optical power value corresponding to the preset light source 17, wherein the preset sensitivity specification, the preset optical power specification, and the preset performance parameter are all pre-set test reference standard parameters, and the standard optical power value refers to the original optical power value of the light source 17 measured when the attenuation value of the optical attenuator 11 is 0 and the optical module to be tested is not connected, which can be measured in advance by an optical power meter, and the attenuation standard optical power value is the optical power value measured after the preset light source 17 is connected to the corresponding long fiber, which can also be measured in advance by an optical power meter. This embodiment does not limit the length of the above-mentioned corresponding long fiber, and it needs to be determined according to the actual application transmission distance of the preset optical module to be tested.

[0028] Step S102, obtaining test parameters corresponding to the optical module to be tested, the test parameters including a first sensitivity, a second sensitivity, a TX-end optical power value, and a TX-end performance parameter, the first sensitivity and the second sensitivity are sensitivities measured under different preset conditions for the optical module to be tested, and the preset conditions are the opening / closing conditions of the first optical switch 13 and the second optical switch 14.

[0029] Specifically, by opening / closing the first optical switch 13 and the second optical switch 14, multiple test parameters required for testing the optical module to be tested are obtained, and the test parameters include a first sensitivity, a second sensitivity, a TX-end optical power value, and a TX-end performance parameter. The first sensitivity and the second sensitivity are the sensitivities measured under different preset conditions for the optical module to be tested.

[0030] Step S103, performing a first test, a second test and a third test on the optical module to be tested according to the test parameters and the standard parameters, wherein the first test is a sensitivity test, the second test is an optical power test, and the third test is a TX end performance test.

[0031] Specifically, the first test, the second test and the third test are respectively performed on the optical module to be tested using the test parameters and the standard parameters. The first test is a sensitivity test, the second test is an optical power test, and the third test is a TX end performance test.

[0032] Step S104: If it is confirmed that the first test, the second test, and the third test are all qualified, then the optical module to be tested is confirmed to be a qualified product.

[0033] Specifically, when the optical module to be tested passes the first test, the second test, and the third test, and all the tests are qualified, it is confirmed that the optical module to be tested is a qualified product.

[0034] In a possible implementation, step S104 further includes: the first optical switch 13 is disconnected, the second optical switch 14 is closed, and the host computer sends a first attenuation adjustment instruction to the optical attenuator 11 through the USB bus; the optical attenuator 11 performs a first adjustment operation according to the first attenuation adjustment instruction, and the first adjustment operation is to attenuate the optical power input to the RX end by the preset light source 17 until the flow meter 16 displays a preset bit error rate; according to the first adjustment instruction, a first attenuation is obtained, and the first attenuation is the optical power value attenuated by the optical attenuator 11 when the preset light source 17 is input to the RX end; according to the standard optical power value and the first attenuation, the first sensitivity corresponding to the optical module to be measured is obtained by the following formula: ; Wherein, S0 is the first sensitivity, P0 is the standard optical power value, and A1 is the first attenuation; if it is confirmed that the first sensitivity is less than or equal to the preset sensitivity specification, it is confirmed that the first test is qualified.

[0035] Specifically, the specific steps of obtaining the first sensitivity and performing the first test are as follows: control the first optical switch 13 to be in an open state, the second optical switch 14 to be in a closed state, and adjust the optical attenuation of the preset light source 17 by the optical attenuator 11 to 0, and the host computer sends a first attenuation adjustment instruction to the optical attenuator 11 through the USB bus to adjust the optical attenuation of the preset light source 17 by the optical attenuator 11, that is, attenuate the optical power input to the RX end by the preset light source 17 until the flow meter 16 displays the preset bit error rate, and the preset bit error rate is 5e-5. When the flow meter 16 displays the preset bit error rate, obtain the optical power value attenuated when the preset light source 17 is input to the RX end at this time, that is, the first attenuation, and obtain the first sensitivity corresponding to the optical module to be tested according to the standard optical power value and the first attenuation through the following formula: ; Among them, S0 is the first sensitivity, P0 is the standard optical power value, and A1 is the first attenuation. The host computer determines whether the first sensitivity is less than or equal to the preset sensitivity specification. If the first sensitivity is less than or equal to the preset sensitivity specification, it is confirmed that the first test is qualified; if the first sensitivity is greater than the preset sensitivity specification, it is confirmed that the first test is unqualified.

[0036] In a possible implementation, step S104 further includes: when the first optical switch 13 is disconnected, the second optical switch 14 is closed, and the optical attenuation of the preset light source 17 by the optical attenuator 11 is adjusted to 0, obtaining a first ADC value corresponding to the RX end; when the first optical switch 13 is closed, the second optical switch 14 is disconnected, and the optical attenuation of the optical attenuator 11 is adjusted to 0, obtaining a second ADC value corresponding to the RX end; and obtaining the optical power value of the TX end according to the following formula based on the first ADC value, the second ADC value, the standard optical power value, and the attenuated standard optical power value: ; Wherein, P2 is the optical power value at the TX end, R0 is the first ADC value, R1 is the second ADC value, P0 is the standard optical power value, P1 is the attenuated standard optical power value. If it is confirmed that the optical power value at the TX end is within the range corresponding to the preset optical power specification, it is confirmed that the second test is qualified.

[0037] Specifically, the specific steps for obtaining the optical power value at the TX end and performing the second test are as follows: when the first optical switch 13 is disconnected, the second optical switch 14 is closed, and the attenuation value of the optical attenuator 11 is adjusted to 0, the first ADC value corresponding to the RX end at this time can be obtained for subsequent tests; control the first optical switch 13 to be in the closed state, the second optical switch 14 to be in the disconnected state, and the optical attenuation of the optical attenuator 11 to be adjusted to 0. At this time, the second ADC value corresponding to the RX end is obtained. Both the first ADC value and the second ADC value can be obtained through the registers inside the optical module under test. Then, according to the first ADC value, the second ADC value, the standard optical power value, and the attenuated standard optical power value, the optical power value at the TX end can be obtained according to the following formula: ; Wherein, P2 is the optical power value at the TX end, R0 is the first ADC value, R1 is the second ADC value, P0 is the standard optical power value, P1 is the attenuated standard optical power value. The host computer judges whether the optical power value at the TX end is within the range corresponding to the preset optical power specification. Let the preset optical power specification be (a, b), (a < b), then it is necessary to judge whether P2 ∈ (a, b) is satisfied. If P2 ∈ (a, b), it is confirmed that the second test is qualified; if P2 ∉ (a, b), it is confirmed that the second test is unqualified.

[0038] In a possible implementation manner, step S104 further includes: when the first optical switch 13 is closed and the second optical switch 14 is disconnected, the host computer sends a second attenuation adjustment instruction to the optical attenuator 11 through the USB bus; the optical attenuator 11 performs a second adjustment operation according to the second attenuation adjustment instruction. The second adjustment operation is to attenuate the optical power input from the TX end to the RX end until the flowmeter 16 displays a preset bit error rate; obtain the second attenuation amount according to the second adjustment instruction. The second attenuation amount is the optical power value attenuated by the optical attenuator 11 when the light is input from the TX end to the RX end; according to the optical power value at the TX end, the standard optical power value, the attenuated standard optical power value, and the second attenuation amount, the second sensitivity is obtained according to the following formula: ; Where S1 is the second sensitivity, P0 is the standard optical power value, P2 is the optical power value at the TX end, and A2 is the second attenuation amount; according to the second sensitivity and the first sensitivity, the performance parameter at the TX end is obtained according to the following formula: ; Wherein, B is the TX end performance parameter, S0 is the first sensitivity, and S1 is the second sensitivity; if it is confirmed that the TX end performance parameter is less than or equal to the preset performance parameter, it is confirmed that the third test is qualified.

[0039] Specifically, the specific steps of obtaining the second sensitivity and TX end performance parameters and performing the third test are as follows: The third test is a test that is performed directly after the second test. At this time, the first optical switch 13 is still in the open state, the second optical switch 14 is still in the closed state, and the optical attenuation of the attenuator to the preset light source 17 is 0. At this time, the host computer sends a second attenuation adjustment instruction to the optical attenuator 11 through the USB bus to adjust the optical attenuation of the optical attenuator 11 to the TX end, that is, to attenuate the optical power input from TX to RX until the flow meter 16 displays the preset bit error rate, and the preset bit error rate is 5e-5. When the flow meter 16 displays the preset bit error rate, the optical power value attenuated when the TX end is input to the RX end is obtained, that is, the second attenuation, and according to the optical power value of the TX end, the standard optical power value, the attenuated standard optical power value and the second attenuation, the second sensitivity is obtained according to the following formula: ; Where S1 is the second sensitivity, P0 is the standard optical power value, P1 is the attenuation standard optical power value, and A2 is the second attenuation amount; then, according to the second sensitivity and the first sensitivity, the TX end performance parameters are obtained according to the following formula: ; Among them, B is the TX end performance parameter, S0 is the first sensitivity, S1 is the second sensitivity, and the preset performance parameter is obtained. The preset performance parameter is 1. When it is confirmed that B≥1, it is confirmed that the third test is qualified; when it is confirmed that B<1, it is confirmed that the third test is unqualified.

[0040] By adopting the above method, the present application greatly reduces the time spent on performance testing in traditional solutions through the first test, the second test and the third test, and saves equipment investment costs by reducing the access of oscilloscopes, thereby solving the problem of high testing costs.

[0041] Based on the same inventive concept, an embodiment of the present application also provides an electronic device. Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 3As shown, an embodiment of the present application provides an electronic device including: one or more processors 301, a memory 302, and one or more I / O interfaces 303. The memory 302 stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement a test method for an optical module as described in any of the above embodiments; the one or more I / O interfaces 303 are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.

[0042] Among them, the processor 301 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 302 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 303 is connected between the processor 301 and the memory 302, and can realize information interaction between the processor 301 and the memory 302, including but not limited to a data bus (Bus), etc.

[0043] In some embodiments, the processor 301 , the memory 302 , and the I / O interface 303 are connected to each other via a communication bus 304 , and further connected to other components of the computing device.

[0044] In some embodiments, the one or more processors 301 include a field programmable gate array.

[0045] According to an embodiment of the present application, a computer readable medium is further provided, wherein a computer program is stored on the computer readable medium, wherein when the program is executed by a processor, the steps in the optical module testing method in any of the above embodiments are implemented.

[0046] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, including a computer program carried on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the system of the present application are executed.

[0047] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0048] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0049] The circuits or subcircuits involved in the embodiments of the present application may be implemented by software or hardware. The described circuits or subcircuits may also be provided in a processor, for example, may be described as: a processor comprising: a receiving circuit and a processing circuit, the processing module comprising a writing subcircuit and a reading subcircuit. The names of these circuits or subcircuits do not, in certain cases, constitute limitations on the circuits or subcircuits themselves, for example, a receiving circuit may also be described as "receiving a video signal".

[0050] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.

Claims

1. A testing device for an optical module, characterized in that: The device comprises: an optical attenuator, an optical splitter, a first optical switch, a second optical switch, a long fiber, a flow meter and a preset light source, wherein: The flow meter is connected to the electrical port of the optical module to be detected, and the flow meter is used to display the bit error rate corresponding to the optical module to be detected. The RX end and the TX end of the optical module to be detected are respectively connected to the optical attenuator and the long fiber, and the long fiber is connected to the optical splitter through the first optical switch, and the optical splitter is connected to the optical attenuator. The optical splitter is also connected to a preset light source through the second optical switch, and the electrical port of the preset light source is also connected to the flow meter. The host computer controls the optical attenuator through the USB bus to adjust the attenuation amount.

2. A method for testing an optical module, characterized in that: The method is applied to the device in claim 1, and the method comprises: Obtain standard parameters for testing the optical module, the standard parameters including preset sensitivity specifications, preset optical power specifications, preset performance parameters, a standard optical power value corresponding to the preset light source, and an attenuated standard optical power value corresponding to the preset light source, the attenuated standard optical power value being the optical power value measured after the preset light source is connected to the corresponding long fiber; Acquire test parameters corresponding to the optical module to be tested, where the test parameters include a first sensitivity, a second sensitivity, a TX end optical power value, and a TX end performance parameter, where the first sensitivity and the second sensitivity are sensitivities measured by the optical module to be tested under different preset conditions, and the preset conditions are opening / closing conditions of the first optical switch and the second optical switch; According to the test parameters and the standard parameters, the optical module to be tested is respectively subjected to a first test, a second test and a third test, wherein the first test is a sensitivity test, the second test is an optical power test, and the third test is a TX end performance test; If it is confirmed that the first test, the second test and the third test are all qualified, then the optical module to be tested is confirmed to be a qualified product.

3. The method according to claim 2, characterized in that The method is applied to the device in claim 1, wherein obtaining the test parameters corresponding to the optical module to be tested, wherein obtaining the first sensitivity specifically includes: When the first optical switch is opened, the second optical switch is closed, and the optical attenuation of the preset light source by the optical attenuator is adjusted to 0, the host computer sends a first attenuation adjustment instruction to the optical attenuator through the USB bus; The optical attenuator performs a first adjustment operation according to the first attenuation adjustment instruction, wherein the first adjustment operation is to attenuate the optical power input from the preset light source to the RX end until the flow meter displays a preset bit error rate; Acquire the first attenuation according to the first adjustment instruction, where the first attenuation is the optical power value attenuated by the optical attenuator when the preset light source is input to the RX end; According to the standard optical power value and the first attenuation, the first sensitivity corresponding to the optical module to be measured is obtained by the following formula: ; Among them, S0 is the first sensitivity, P0 is the standard optical power value, and A1 is the first attenuation.

4. The method according to claim 1, characterized in that: The method is applied to the device in claim 1, wherein obtaining the test parameters corresponding to the optical module to be tested, wherein obtaining the TX end optical power value specifically includes: When the first optical switch is opened, the second optical switch is closed, and the optical attenuation of the preset light source by the optical attenuator is adjusted to 0, a first ADC value corresponding to the RX end is obtained; When the first optical switch is closed, the second optical switch is opened, and the optical attenuation of the RX end by the optical attenuator is adjusted to 0, a second ADC value corresponding to the RX end is acquired; According to the first ADC value, the second ADC value, the standard optical power value and the attenuated standard optical power value, the TX end optical power value is obtained according to the following formula: ; Among them, P2 is the TX end optical power value, R0 is the first ADC value, R1 is the second ADC value, P0 is the standard optical power value, and P1 is the attenuation standard optical power value.

5. The method according to claim 4, characterized in that The method is applied to the device in claim 1, wherein obtaining the test parameters corresponding to the optical module to be tested, wherein obtaining the second sensitivity and the TX end performance parameter specifically includes: When the first optical switch is closed and the second optical switch is open, the host computer sends a second attenuation adjustment instruction to the optical attenuator through the USB bus; The optical attenuator performs a second adjustment operation according to the second attenuation adjustment instruction, wherein the second adjustment operation is to attenuate the optical power input from the TX to the RX end until the flow meter displays a preset bit error rate; Acquire the second attenuation according to the second adjustment instruction, where the second attenuation is the optical power value attenuated by the attenuator when input from the TX end to the RX end; According to the TX end optical power value, the standard optical power value, the attenuation standard optical power value and the second attenuation amount, the second sensitivity is obtained according to the following formula: ; Wherein S1 is the second sensitivity, P0 is the standard optical power value, P2 is the TX end optical power value, and A2 is the second attenuation; According to the second sensitivity and the first sensitivity, the TX end performance parameter is obtained according to the following formula: ; Among them, B is the TX end performance parameter, S0 is the first sensitivity, and S1 is the second sensitivity.

6. The method according to claim 3, characterized in that The method is applied to the device in claim 1 to confirm that the first test is qualified, specifically comprising: If it is confirmed that the first sensitivity is less than or equal to the preset sensitivity specification, it is confirmed that the first test is qualified.

7. The method according to claim 4, characterized in that The method is applied to the device in claim 1 to confirm that the second test is qualified, specifically comprising: If it is confirmed that the TX end optical power value is within the range corresponding to the preset optical power specification, it is confirmed that the second test is qualified.

8. The method according to claim 5, characterized in that The method is applied to the device in claim 1 to confirm that the third test is qualified, specifically comprising: If it is confirmed that the TX end performance parameter is less than or equal to the preset performance parameter, it is confirmed that the third test is qualified.

9. An electronic device, wherein: It includes one or more processors, a memory, an I / O interface and a communication bus, wherein the memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in any one of claims 2 to 8.

10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps in the method according to any one of claims 2 to 8 are implemented.

Citation Information

Patent Citations

  • A multi-channel fiber optic modem tuning test system and a tuning test method thereof

    CN109039445A

  • WDM wavelength division multiplexing optical module multifunctional debugging and testing device and method

    CN112422182A

  • Automatic test system and test method for multiple optical modules

    CN117318803A

  • Laser lithography light source with beam delivery

    US20020191654A1

  • Light Source for Frequency-Modulated Continuous Wave (FMCW) LiDAR Device

    US20220334225A1