An OSFP optical module detection device, system and method

Through the combination of the measurement and control unit and the current detection unit, the power consumption switching process of the OSFP optical module is monitored in real time, solving the problem of inaccurate detection and achieving efficient and accurate power consumption mode conversion detection.

CN119921858BActive Publication Date: 2025-07-11SONT TECH (SHEN ZHEN) LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510418544.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-07-11
Estimated Expiration
2045-04-03

AI Technical Summary

Technical Problem

In the prior art, the time detection of the OSFP optical module from a high-power mode to a low-power mode is inaccurate, resulting in misjudgment and inefficient detection.

Method used

The measurement and control unit is used to connect it to the OSFP optical module through the IIC bus, triggering the low-power pin for power switching, and monitoring the working current in real time through the current detection unit to determine the start and end time of power switching, and controlling the power switching process of the optical module using hardware circuits.

Benefits of technology

It improves the accuracy of the detection results, reduces false detection, reduces the complexity of the detection operation, and improves the detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119921858B_ABST
    Figure CN119921858B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of optical communication technologies, and particularly to a detection device, system and method for an OSFP optical module. Among them, through the pins of the measurement and control unit and through the IIC bus, the low-power pins on the OSFP optical module to be detected are triggered, so as to perform power consumption switching, and the register information of the OSFP optical module to be detected is read through the IIC bus to obtain the starting moment of the power consumption switching, and the change of the working current of the OSFP optical module to be detected is monitored in real time by the current detection unit to obtain the ending moment of the power consumption switching, thereby realizing the detection of the OSFP optical module to be detected. The accuracy of the determined power consumption switching moment is improved, thereby improving the accuracy of the detection result, reducing the misdetection of the OSFP optical module, and at the same time, the detection of the OSFP optical module can be realized through this detection device, reducing the complexity of the detection operation and improving the detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical communication technologies, and particularly to a detection device, system and method for an OSFP optical module. Background Art

[0002] With the development of technology, optical communication technologies have developed rapidly. An optical module can convert optical signals and electrical signals, and is an important component in the field of optical communication technologies. Among them, an Octal Small Form Factor Pluggable (OSFP) optical module is applied to scenarios such as model inference and big data analysis due to its excellent data transmission rate, heat dissipation performance, etc.

[0003] Generally, the design of an OSFP optical module needs to meet the Octal Small Form Factor Pluggable Multi-Source Agreement (OSFP MSA). In the current OSFP MSA, it is stipulated that the time for an OSFP optical module to transition from a high-power consumption mode to a low-power consumption mode should be less than 200 us. Therefore, how to detect the designed and manufactured OSFP optical module to accurately determine the moment of power consumption transition of the OSFP optical module, so as to ensure that the designed and manufactured OSFP optical module meets the power consumption transition regulations of the OSFP MSA is an important issue.

[0004] Based on this, the specification of the present application provides a detection device, system and method for an OSFP optical module. Summary of the Invention

[0005] In view of the above-mentioned disadvantages and deficiencies of the prior art, the present invention provides a detection device, system and method for an OSFP optical module, which improves the accuracy of the detection result, the detection efficiency and the detection convenience when detecting the time for the OSFP optical module to transition from high power consumption to low power consumption, solves the problem of misjudging that the OSFP optical module does not meet the regulations due to inaccurate detection results, and the technical problem of low detection efficiency caused by relatively complex detection methods.

[0006] To achieve the above object, the main technical solutions adopted by the present invention include:

[0007] In a first aspect, an embodiment of the present invention provides a detection device for an OSFP optical module, where the detection device includes: a measurement and control unit, a current detection unit, and a female gold finger; the measurement and control unit, the current detection unit, and the female gold finger are located on a test board, and the OSFP optical module to be detected is plugged into the test board through the female gold finger;

[0008] The measurement and control unit is connected to the OSFP optical module to be detected through the IIC bus, and the first pin of the measurement and control unit is connected to the LPWn pin of the OSFP optical module to be detected, and the second pin of the measurement and control unit is connected to the RSTn pin of the OSFP optical module to be detected; the measurement and control unit is configured to control the OSFP optical module to be detected to perform power consumption switching according to the received power consumption switching instruction and by using a pre-set power consumption switching method corresponding to the power consumption switching instruction.

[0009] The current detection unit is configured to monitor the working current of the OSFP optical module to be detected in real time.

[0010] The measurement and control unit is configured to obtain the register information of the OSFP optical module to be detected through the IIC bus, determine the starting moment of power consumption switching of the OSFP optical module to be detected according to the register information; and, determine the ending moment when the OSFP optical module to be detected completes power consumption switching through the current detection unit; and determine the detection result of the OSFP optical module to be detected according to the starting moment and the ending moment.

[0011] Optionally, the power consumption switching instruction includes a first power consumption switching instruction; the measurement and control unit is specifically configured to initialize the first pin to a push-pull output high level state.

[0012] The measurement and control unit is specifically configured to, according to the first power consumption switching instruction, switch the push-pull output high level state of the first pin to a floating state to trigger the LPWn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

[0013] Optionally, the register information includes: the level state of the M_LPWn pin of the register corresponding to the LPWn pin in the OSFP optical module to be detected.

[0014] The measurement and control unit is specifically configured to determine the triggering moment of the M_LPWn pin of the OSFP optical module to be detected according to the register information and use the triggering moment of the M_LPWn pin as the starting moment.

[0015] Optionally, the power consumption switching instruction includes a second power consumption switching instruction; the measurement and control unit is specifically configured to initialize the second pin to a floating state.

[0016] The measurement and control unit is specifically configured to, according to the second power consumption switching instruction, switch the floating state of the second pin to a push-pull output low level state to trigger the RSTn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

[0017] Optionally, the register information includes: the level status of the M_RSTn pin of the register corresponding to the RSTn pin in the to-be-detected OSFP optical module;

[0018] Specifically, the measurement and control unit is configured to determine the trigger moment of the M_RSTn pin of the to-be-detected OSFP optical module according to the register information, and use the trigger moment of the M_RSTn pin as the starting moment.

[0019] Optionally, the power consumption switching instruction includes a third power consumption switching instruction;

[0020] Specifically, the measurement and control unit is configured to write the third power consumption switching instruction into the register corresponding to the ForceLowPwr function of the to-be-detected OSFP optical module through the IIC bus according to the third power consumption switching instruction, so as to trigger the ForceLowPwr function pin of the to-be-detected OSFP optical module and control the to-be-detected OSFP optical module to perform power consumption switching.

[0021] Optionally, the register information includes: a feedback signal generated by the register corresponding to the ForceLowPwr function of the to-be-detected OSFP optical module;

[0022] Specifically, the measurement and control unit is configured to detect, through the IIC bus, the feedback signal generated by the register corresponding to the ForceLowPwr function of the to-be-detected OSFP optical module, and use the moment when the feedback signal is detected as the starting moment; wherein, the feedback signal is generated at the moment when the writing of the third power consumption switching instruction is completed.

[0023] Optionally, the measurement and control unit is specifically configured to, through the current detection unit, monitor the working current of the to-be-detected OSFP optical module in real time, and when it is determined that the working current of the to-be-detected OSFP optical module is less than a preset current threshold, use the moment when it is determined that the working current of the to-be-detected OSFP optical module is less than the preset current threshold as the termination moment.

[0024] Optionally, the detection device further includes: an oscilloscope;

[0025] The oscilloscope is electrically connected to the to-be-detected OSFP optical module through the IIC bus, and the oscilloscope is configured to display the register information of the to-be-detected OSFP optical module obtained by the IIC bus; the oscilloscope is electrically connected to the current detection unit, and the oscilloscope is configured to display the change of the working current of the to-be-detected OSFP optical module;

[0026] Specifically, the measurement and control unit is configured to determine the start time of power consumption switching of the to-be-detected OSFP optical module based on the register information of the to-be-detected OSFP optical module displayed by the oscilloscope, and determine the end time of the to-be-detected OSFP optical module completing power consumption switching based on the change in the operating current of the to-be-detected OSFP optical module displayed by the oscilloscope.

[0027] Optionally, the current detection unit includes a current detection amplifier.

[0028] In a second aspect, an embodiment of the present invention provides a detection system for an OSFP optical module. The detection system includes the detection device described in the first aspect above. The detection system further includes: a host computer; the measurement and control unit in the detection device is communicatively connected to the host computer;

[0029] The host computer is configured to send a power consumption switching instruction to the measurement and control unit.

[0030] In a third aspect, an embodiment of the present invention provides a detection method for an OSFP optical module. The detection method is a detection method based on the detection device described in the first aspect above. The method includes:

[0031] The measurement and control unit of the detection device receives a power consumption switching instruction, and controls the to-be-detected OSFP optical module to perform power consumption switching by using a power consumption switching method corresponding to the power consumption switching instruction;

[0032] The measurement and control unit obtains the register information of the to-be-detected OSFP optical module through the IIC bus, and determines the start time of power consumption switching of the to-be-detected OSFP optical module based on the register information; and, determines the end time of the to-be-detected OSFP optical module completing power consumption switching by monitoring the operating current of the to-be-detected OSFP optical module in real time through the current detection unit;

[0033] The measurement and control unit determines the detection result of the to-be-detected OSFP optical module based on the start time and the end time.

[0034] The beneficial effects of the present invention are as follows: A detection device for an OSFP optical module according to the present invention triggers a low-power pin on the to-be-detected OSFP optical module through the pins of the measurement and control unit and through the IIC bus, so that the to-be-detected OSFP optical module performs power consumption switching. Then, the register information of the to-be-detected OSFP optical module is read through the IIC bus to obtain the start time of power consumption switching, and the change in the operating current of the to-be-detected OSFP optical module is monitored in real time through the current detection unit to obtain the end time of power consumption switching, thereby realizing the detection of the to-be-detected OSFP optical module.

[0035] Different from the current technology for determining the power consumption conversion moment of an OSFP optical module through an optoelectronic conversion device, the solution provided by the present invention controls the power consumption switching of the OSFP optical module to be detected based on the internal hardware circuit of the detection device, and reads the register information in the OSFP optical module to be detected through the IIC bus, so as to obtain an accurate power consumption switching moment, eliminate the time delay of external device communication, improve the accuracy of the detection result, and reduce the misdetection of the OSFP optical module. At the same time, the detection of the OSFP optical module can be realized through this detection device, reducing the complexity of the detection operation and improving the detection efficiency. Brief Description of the Drawings

[0036] Figure 1 It is a schematic diagram of a detection device for an OSFP optical module provided in this specification;

[0037] Figure 2 It is a circuit diagram of the connection between the pins of the measurement and control unit on a test board and the low-power pins of the OSFP optical module provided in this specification;

[0038] Figure 3 It is a circuit diagram of a current detection unit provided in this specification;

[0039] Figure 4 It is a schematic diagram of a detection system for an OSFP optical module provided in this specification;

[0040] Figure 5 It is a schematic flow diagram of a detection method for an OSFP optical module provided in this specification. Detailed Embodiments

[0041] For better explaining the present invention and facilitating understanding, the present invention will be described in detail below with reference to the drawings through specific embodiments.

[0042] As described in the background art, the design of the OSFP optical module needs to meet the specifications of the OSFP MSA. In the OSFP MSA, it is specified that the time for the M_LPWn, M_RSTn, and ForceLowPwr trigger modules to transition from high power consumption to low power consumption mode needs to be less than 200 microseconds. It should be noted that in the OSFP optical module, LPWn and RSTn are pins with power consumption switching functions, which can be called low power pins, and ForceLowPwr is a function for power consumption switching implemented through register configuration. Also, in the OSFP optical module, the LPWn pin is connected to the M_LPWn pin of its corresponding register, and the RSTn pin is connected to the M_RSTn pin of its corresponding register. Therefore, when the level state of the LPWn pin is changed, the level state of the M_LPWn pin of the register corresponding to the LPWn pin will also change, and when the level state of the RSTn pin is changed, the level state of the M_RSTn pin of the register corresponding to the RSTn pin will also change, thereby controlling the OSFP optical module to switch from high power consumption mode to low power consumption mode. In addition, the state of the register corresponding to the ForceLowPwr function can also be rewritten to trigger the ForceLowPwr function, thereby controlling the OSFP optical module to switch from high power consumption mode to low power consumption mode.

[0043] Currently, in the general method for detecting the OSFP optical module to determine its power consumption switching time, the low power pin of the test board is used as the test trigger signal to obtain the starting moment of power consumption switching, and the output level change of the optoelectronic conversion device is used as the signal indicating the completion of the transition from high power consumption to low power consumption of the OSFP optical module to obtain the ending moment of power consumption switching.

[0044] However, since the actual moment of power consumption switching is the triggering moment of the pins of the register in the OSFP optical module, it is inaccurate to use the generation moment of the test trigger signal of the low power pin of the test board as the starting moment. Moreover, there is a certain delay when the optoelectronic conversion device converts the light emission signal of the OSFP optical module into a level output. Therefore, the measured starting moment and ending moment of power consumption switching are inaccurate, resulting in misdetection of the OSFP optical module, and it is possible that an OSFP optical module that originally meets the specifications is detected as not meeting the specifications.

[0045] Based on this, a detection device, system and method for an OSFP optical module proposed in an embodiment of the present invention. In this detection device, through the female gold finger, the first pin on the measurement and control unit is connected to the LPWn pin of the OSFP optical module to be detected, and the second pin of the measurement and control unit is connected to the RSTn pin of the OSFP optical module to be detected. Moreover, the measurement and control unit is connected to the OSFP module to be detected through the IIC bus. Thus, the measurement and control unit can trigger the low-power pin of the OSFP optical module to be detected by switching the level state of its own pins, control the OSFP optical module to be detected to perform power consumption switching, read the register information of the OSFP optical module to be detected through the IIC bus to obtain the starting moment of power consumption switching, and monitor the change of the working current of the OSFP optical module to be detected in real time through the current detection unit to obtain the ending moment of power consumption switching, so as to realize the detection of the OSFP optical module to be detected, eliminate the time delay of external device communication, improve the accuracy of the determined power consumption switching moment, thereby improving the accuracy of the detection result and reducing the misdetection of the OSFP optical module. At the same time, the detection of the OSFP optical module can be realized through this detection device, reducing the complexity of the detection operation and improving the detection efficiency.

[0046] To better understand the above technical solution, the exemplary embodiments of the present invention will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more clear and thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0047] As Figure 1 shown, Figure 1 is a schematic diagram of a detection device for an OSFP optical module provided in this specification. It can be seen that this detection device includes: a measurement and control unit, a current detection unit, and a female gold finger, and the measurement and control unit, the current detection unit, and the female gold finger are all located on the test board. In one or more embodiments of this specification, the OSFP optical module to be detected can be plugged onto the test board through this female gold finger. Moreover, both the female gold finger and the measurement and control unit are equipped with IIC interfaces. Thus, through this female gold finger, the measurement and control unit and the OSFP optical module to be detected can communicate through the IIC bus, that is, the measurement and control unit can be connected to the OSFP optical module to be detected through the IIC bus. At the same time, there are a first pin and a second pin on the measurement and control unit. Through the female gold finger, this first pin is connected to the LPWn pin of the OSFP optical module to be detected, and this second pin is connected to the RSTn pin of the OSFP optical module to be detected.

[0048] It should be noted that the measurement and control unit, the current detection unit, and the female gold finger can be soldered onto the test board through currently mature electrical technologies, which will not be elaborated in detail in this specification. Alternatively, they can also be connected to the test board through circuit traces.

[0049] In one or more embodiments of this specification, the measurement and control unit can receive a power consumption switching instruction, and according to the received power consumption switching instruction, adopt a pre-set power consumption switching method corresponding to the power consumption switching instruction to control the power consumption switching of the OSFP optical module to be detected.

[0050] As mentioned above, the power consumption switching of the OSFP optical module can be controlled by changing the level state of the low-power pin on the OSFP optical module. Then, the power consumption switching instruction can be an instruction to change the level state of the low-power pin in the OSFP optical module to be detected.

[0051] In this specification, the first pin of the measurement and control unit is used to trigger the LPWn pin of the OSFP optical module to be detected, and the second pin is used to trigger the RSTn pin of the OSFP optical module to be detected. By configuring the level state of the pins of the measurement and control unit, the level state of the low-power pins of the OSFP optical module to be detected can be controlled in the way of a hardware circuit. That is, by configuring the level state of the first pin, the level state of the LPWn pin of the OSFP optical module to be detected is controlled, and by configuring the level state of the second pin, the level state of the RSTn pin of the OSFP optical module to be detected is controlled, thereby controlling the power consumption switching of the OSFP optical module.

[0052] Then, in one or more embodiments of this specification, the power consumption switching method corresponding to the power consumption switching instruction at least includes: switching the state of the target pin on the measurement and control unit. Obviously, the target pin is a pre-set pin for controlling the level state of the low-power pins in the OSFP optical module corresponding to the power consumption switching instruction, that is, the first pin and / or the second pin.

[0053] It should be noted that for each low-power pin of the OSFP optical module, the level state of the low-power pin can be controlled by one or more pins on the measurement and control unit. Specifically, how many pins on the measurement and control unit control the low-power pin is not limited in this specification, nor is which one or which several pins on the measurement and control unit control the low-power pin limited in this specification, and they can all be pre-set according to specific requirements. That is to say, this specification does not limit the specific forms of the first pin and the second pin, as long as the level state of the low-power pins on the OSFP optical module to be detected can be changed by configuring the level state of the pins on the measurement and control unit.

[0054] In one or more embodiments of this specification, the measurement and control unit may be a MUC, and the pins on the measurement and control unit may be GPIO pins. As mentioned before, the GPIO pin is used to trigger the low-power pin of the OSFP optical module, that is, the GPIO pin is used to change the level state of the low-power pin in the OSFP optical module. In this specification, the level state of the low-power pin in the OSFP optical module can be switched by configuring the level state of the GPIO pin, that is, the aforementioned LPWn and RSTn.

[0055] As Figure 2 shown, Figure 2 is a circuit diagram showing the connection between the pins of the measurement and control unit on a test board and the low-power pins of the OSFP optical module provided in this specification. The measurement and control unit is a MUC, and the MUC includes pins P0_1, P0_2, SDA, and SCL. Among them, SDA and SCL form IIC pins. P0_1 is connected to the LPWn pin in the OSFP optical module, P0_2 is connected to RSTn in the OSFP optical module, the SDA pin on the MUC is connected to the SDA pin on the optical module OSFP, and the SCL pin on the MUC is connected to the SCL pin on the OSFP optical module to be detected, that is, the IIC pins on the MUC are connected to the IIC pins in the OSFP optical module. And, the measurement and control unit further includes a peripheral circuit. In practical applications, the peripheral circuit is used to cooperate with the MUC to complete the control of the low-power pins of the OSFP optical module. As Figure 2 shown, the peripheral circuit includes: resistors R1, R2, R3, R4, and R5. Among them, RSTn is grounded through resistor R3, LPWn is connected in series with resistor R2 to P0_1, and LPWn is connected to the power supply VCC through resistor R1. The SDA bus is connected to the power supply VCC through resistor R4, and the SCL bus is connected to the power supply VCC through resistor R5. In addition, in practical applications, the test device further includes a power supply module, and the power supply module is used to supply power to the test device. As Figure 2 shown, the MUC on the test board may further include a VCC power input pin and a GND ground pin for connecting the power supply to supply power to the MUC.

[0056] It should be noted that Figure 2 the circuit diagram shown is only an example. And, the connection relationship and resistance value of the peripheral circuit for cooperating with the MUC can be preset according to actual needs.

[0057] In one or more embodiments of this specification, the power consumption switching instruction includes a first power consumption switching instruction and a second power consumption switching instruction. The first pin on the measurement and control unit is used to trigger the LPWn pin, and the second pin on the measurement and control unit is used to trigger the RSTn pin.

[0058] In one or more embodiments of this specification, the measurement and control unit may initialize the first pin to a push-pull output high level state and initialize the second pin to a floating state.

[0059] Furthermore, when the power consumption switching instruction received by the measurement and control unit is the first power consumption switching instruction, the measurement and control unit may, according to the power consumption switching method corresponding to the first power consumption switching instruction, that is, switch the push-pull output high level state of the first pin to a floating state, so as to trigger the LPWn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

[0060] When the power consumption switching instruction received by the measurement and control unit is the second power consumption switching instruction, the measurement and control unit may, according to the power consumption switching method corresponding to the second power consumption switching instruction, that is, switch the floating state of the second pin to a push-pull output low level state, so as to trigger the RSTn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

[0061] In one or more embodiments of this specification, the power consumption switching instruction may further include a third power consumption switching instruction. As mentioned above, since the OSFP optical module also has the ForceLowPwr function, which is a function for performing power consumption switching of the OSFP optical module implemented through register configuration, therefore, in one or more embodiments of this specification, the power consumption switching method corresponding to the power consumption instruction further includes: an instruction for writing the power consumption switching instruction into the register of the OSFP optical module to be detected.

[0062] Thus, when the power consumption switching instruction received by the measurement and control unit is the third power consumption switching instruction, the measurement and control unit may write the third power consumption switching instruction into the register corresponding to the ForceLowPwr function of the OSFP optical module to be detected through the IIC bus, so as to trigger the ForceLowPwr function of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching. In one or more embodiments of this specification, the measurement and control unit may convert the third power consumption switching instruction into an instruction based on the IIC protocol, and the instruction based on the IIC protocol refers to an instruction for triggering the ForceLowPwr function based on the IIC protocol, so that through the IIC bus, the OSFP optical module to be detected writes the converted instruction based on the IIC protocol into the register corresponding to the ForceLowPwr function, triggers the ForceLowPwr function, and controls the OSFP optical module to be detected to perform power consumption switching.

[0063] Generally speaking, the measurement and control unit can receive the target power consumption switching instruction, and determine the power consumption switching method corresponding to the target power consumption switching instruction in the pre-set corresponding relationship between the power consumption switching instruction and the power consumption switching method, so as to control the power consumption switching of the OSFP optical module to be detected by using the power consumption switching method corresponding to the target power consumption switching instruction. Among them, the target power consumption switching instruction includes: an instruction to trigger a target pin, and an instruction to trigger a target function. The target pins include the aforementioned RSTn and LPWn, and the target function includes ForceLowPwr. Among them, the power consumption switching method corresponding to the target power consumption switching instruction includes: configuring the level state of a specified pin on the measurement and control unit, and the specified pin is a pin pre-set for controlling the level state of the target pin in the OSFP optical module corresponding to the target power consumption switching instruction, and an instruction to write the target power consumption switching instruction into the register of the OSFP optical module to be detected, specifically an instruction to write the instruction to trigger the ForceLowPwr function into the register corresponding to the ForceLowPwr function in the OSFP optical module to be detected. Among them, the specified pins include a first pin and a second pin.

[0064] When the measurement and control unit controls the power consumption switching of the OSFP optical module to be detected according to the power consumption switching instruction, the measurement and control unit can read the register information of the OSFP optical module to be detected through the IIC bus, and the register information includes: the level state of the M_LPWn pin of the register corresponding to the LPWn pin, the level state of the M_RSTn pin of the register corresponding to the RSTn pin, and the feedback signal of the register corresponding to the ForceLowPwr function. Therefore, the measurement and control unit can determine the starting moment of the power consumption switching of the OSFP optical module to be detected according to the level state of the M_LPWn pin, the level state of the M_RSTn pin and the feedback signal in the register information of the OSFP optical module to be detected read.

[0065] Specifically, when the power consumption switching instruction is the first power consumption switching instruction, the measurement and control unit can determine the triggering moment of the M_LPWn pin of the OSFP optical module to be detected according to the level state of the M_LPWn pin in the register information of the OSFP optical module to be detected read, that is, the change moment of the level state of the M_LPWn pin, and use the triggering moment of the M_LPWn pin as the starting moment.

[0066] When the power consumption switching instruction is the second power consumption switching instruction, the measurement and control unit can determine the triggering moment of the M_RSTn pin of the OSFP optical module to be detected according to the level state of the M_RSTn pin in the register information of the OSFP optical module to be detected read, that is, the change moment of the level state of the M_RSTn pin, and use the triggering moment of the M_RSTn pin as the starting moment.

[0067] When the power consumption switching instruction is the third power consumption switching instruction, the measurement and control unit can detect, through the IIC bus, the feedback signal generated by the register corresponding to the ForceLowPwr function in the OSFP optical module to be detected, and use the moment when the feedback signal is detected as the starting moment. Among them, the feedback signal is generated at the moment when the third power consumption switching instruction is written and completed.

[0068] In one or more embodiments of the present specification, the current detection unit can monitor the operating current of the OSFP optical module to be detected in real time. Determine the termination moment of the power consumption switching of the OSFP optical module to be detected through the change in the operating current of the OSFP optical module to be detected detected by the current detection unit. Specifically, based on the operating current of the OSFP optical module to be detected monitored in real time by the current detection unit, when it is determined that the operating current of the OSFP optical module to be detected is less than the preset current threshold, the moment when the operating current of the OSFP optical module to be detected is less than the preset current threshold is determined as the termination moment.

[0069] Among them, the preset current threshold represents the operating current of the OSFP optical module in the preset low power consumption mode, and its specific value can be preset according to specific requirements and relevant protocol standards.

[0070] Therefore, the detection result of the OSFP optical module to be detected can be determined according to the obtained starting moment and termination moment of the power consumption switching of the OSFP optical module to be detected. Specifically, in one or more embodiments of the present specification, the difference value between the starting moment and the termination moment can be determined. When this value is less than the preset time threshold, it is determined that the OSFP optical module to be detected is qualified. When this value is not less than the preset time threshold, it is determined that the OSFP optical module to be detected is unqualified.

[0071] Among them, the preset time threshold can be 200 microseconds specified in the OSFP MSA protocol.

[0072] Based on Figure 1 the detection device shown, this solution realizes the power consumption switching of the OSFP optical module through a hardware circuit, without going through an external optoelectronic conversion device, and determines the moment of power consumption switching according to the register information of the OSFP optical module read, improving the accuracy of determining the moment of power consumption switching. At the same time, through this detection device, it is possible to realize the detection of whether the OSFP optical module meets the power consumption switching requirements specified in the OSFP MSA, reducing the complexity of the detection operation and improving the detection efficiency.

[0073] In addition, in one or more embodiments of this specification, the power consumption switching instruction received by the measurement and control unit may be sent by other electronic devices. The measurement and control unit may be communicatively connected to other electronic devices, such as through a USB interface connection, a wireless connection, etc. The power consumption switching instruction may also be pre-set inside the measurement and control unit, and a button for starting the power consumption switching instruction may be installed on the detection device. When performing detection, the measurement and control unit may respond to the operation of pressing the button, determine the power consumption switching instruction corresponding to the pressed button, and thus perform subsequent detection steps. This specification does not specifically limit how the measurement and control unit starts the detection process.

[0074] Furthermore, in order to further improve the accuracy of the determined starting moment, in one or more embodiments of this specification, the current detection unit may include a current detection amplifier. As Figure 3 shown, Figure 3 is a circuit diagram of a current detection unit provided in this specification. U1 is the OSFP module to be detected, U2 is the current detection amplifier. The power supply VCC is connected to the VCC power input pin of U1 through the resistor R6. The current detection amplifier U2 includes a VCC power input pin and an EN pin. The VCC power input pin and the EN pin of the current detection amplifier U2 are both connected to the power supply VCC. Prob+ is the positive test point, Prob- is the negative test point, which are connected to both ends of the resistor R6. The current detection amplifier U2 includes a Vout pin for outputting a voltage signal to reflect the working change of U1.

[0075] By using the current detection amplifier to monitor the working current of the OSFP optical module to be detected in real time, the accuracy of the starting moment of the measured power consumption switching is improved.

[0076] In one or more embodiments of this specification, the detection device further includes: an oscilloscope, which may be electrically connected to the OSFP optical module to be detected through the IIC bus. Furthermore, the oscilloscope may display the register information of the OSFP optical module to be detected obtained through the IIC bus, mainly the level state of the low-power pin of the OSFP optical module. Specifically, the oscilloscope may be electrically connected to the SDA bus in the IIC bus. And the oscilloscope is also electrically connected to the current detection unit to display the working current of the OSFP optical module to be detected. Taking Figure 3 the current detection unit shown as an example, the oscilloscope may be connected to the Vout pin of the current detection amplifier.

[0077] In one or more embodiments of this specification, the oscilloscope can be communicatively connected to the measurement and control unit. Then, the oscilloscope can send the level status of the low-power pins of the displayed OSFP optical module and the working current of the OSFP optical module to be detected to the measurement and control unit. Thus, the measurement and control unit can determine the starting moment of power consumption switching of the OSFP optical module to be detected according to the level status of the low-power pins of the OSFP optical module displayed by the oscilloscope, and determine the ending moment of the power consumption switching of the OSFP optical module to be detected through the working current of the OSFP optical module to be detected displayed by the oscilloscope, so as to determine the detection result. In addition, a detection result notification device, such as a signal lamp, an alarm, etc., can be arranged on the detection device. When the measurement and control unit determines that the OSFP optical module to be detected is qualified according to the starting moment and the ending moment, the detection result notification device can display a first state, such as the signal lamp is on or the green signal lamp is on. When the measurement and control unit determines that the OSFP optical module to be detected is unqualified according to the starting moment and the ending moment, the detection notification device can display a second state, such as the signal lamp is off or the red signal lamp is on. The foregoing method can improve the convenience and efficiency of detection.

[0078] In one or more embodiments of this specification, relevant technicians can pre-set a first test point on the SDA bus of the IIC bus of the detection device, and the oscilloscope can be connected to the first test point to display the internal register information of the OSFP optical module read through the IIC bus. A second test point can also be pre-set on the output bus of the current detector, and the oscilloscope can be connected to the second test point to display the working current of the OSFP optical module monitored in real time by the current detector.

[0079] It should be noted that the oscilloscope can also be connected to other electronic devices with computing capabilities to send the level status of the low-power pins of the OSFP optical module displayed by the oscilloscope and the change of the working current of the OSFP optical module to be detected to other electronic devices with computing capabilities, so that other electronic devices with computing capabilities can determine the detection result.

[0080] In one or more embodiments of this specification, when the measurement and control unit determines the ending moment of the power consumption switching of the OSFP optical module to be detected through the current detection unit, the current detection unit can be communicatively connected to the measurement and control unit. Therefore, the current measurement and control unit can send the working current of the OSFP optical module to be detected monitored in real time to the measurement and control unit, and the measurement and control unit determines the ending moment of the power consumption switching of the OSFP optical module to be detected based on the working current of the OSFP optical module to be detected monitored in real time received from the current measurement and control unit.

[0081] Of course, when the current detection unit is connected to the oscilloscope, the oscilloscope can also transmit the change in the operating current of the OSFP optical module to be detected, which is monitored in real time by the current detection unit, to the measurement and control unit. Thus, the measurement and control unit can receive the operating current of the OSFP optical module to be detected and then proceed with the subsequent steps, which are not specifically limited in this specification.

[0082] As Figure 4 shown, Figure 4 is a schematic diagram of a detection system for an OSFP optical module provided in this specification. The detection system includes Figure 1 the detection device shown, and the detection system further includes a host computer, which is communicatively connected to the measurement and control unit.

[0083] First, the host computer is used to send a power consumption switching instruction to the measurement and control unit. In one or more embodiments of this specification, the host computer can respond to the user's operation, determine the power consumption switching instruction corresponding to the user's operation, and send the power consumption switching instruction corresponding to the user's operation to the measurement and control unit.

[0084] The measurement and control unit can receive the power consumption switching instruction sent by the host computer and, according to the received power consumption switching instruction, adopt a pre-set power consumption switching method corresponding to the power consumption switching instruction to control the OSFP optical module to be detected to perform power consumption switching. It should be noted that the power consumption switching instruction and the power consumption switching method are the same as those described in the Figure 1 shown detection device for an OSFP optical module, and will not be elaborated here.

[0085] Thus, the host computer can send three power consumption instructions to the measurement and control unit, causing the measurement and control unit to control the OSFP optical module to be detected to perform power consumption switching. The process by which the measurement and control unit controls the OSFP optical module to be detected to perform power consumption switching according to the received power consumption switching instruction using the pre-set power consumption switching method corresponding to the received power consumption switching instruction is the same as that described in the Figure 1 shown detection device for an OSFP optical module, and the specific process will not be elaborated.

[0086] Then, the measurement and control unit can obtain the register information of the OSFP optical module to be detected through the IIC bus and, according to the register information, determine the starting moment for the OSFP optical module to be detected to perform power consumption switching. And it can determine the ending moment when the OSFP optical module to be detected completes power consumption switching based on the operating current of the OSFP optical module to be detected monitored in real time by the current detection unit. Thus, the detection result of the OSFP optical module to be detected can be determined based on the starting moment and the ending moment.

[0087] It should be noted that how the measurement and control unit determines the detection result of the OSFP optical module to be detected is the same as that described in the Figure 1It is the same as that in the described OSFP optical module detection device, and the specific process will not be elaborated here.

[0088] As Figure 5 shown, Figure 5 This is a schematic flow chart of a detection method for an OSFP optical module provided in this specification. This detection method is based on Figure 1 the detection device shown, and this detection method specifically includes the following steps:

[0089] S500: The measurement and control unit of the detection device receives a power consumption switching instruction, and controls the OSFP optical module to be detected to perform power consumption switching by using the power consumption switching method corresponding to the power consumption switching instruction.

[0090] S502: The measurement and control unit obtains the register information of the OSFP optical module to be detected through the IIC bus, determines the starting moment of the power consumption switching of the OSFP optical module to be detected according to the register information; and, monitors the working current of the OSFP optical module to be detected in real time through the current detection unit to determine the ending moment when the OSFP optical module to be detected completes the power consumption switching.

[0091] S504: The measurement and control unit determines the detection result of the OSFP optical module to be detected according to the starting moment and the ending moment.

[0092] It should be noted that the specific implementation process of this detection method is the same as that of the above Figure 1 shown detection device, and will not be elaborated here.

[0093] In the description of the present invention, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "a plurality" means two or more, unless otherwise specifically defined.

[0094] In the present invention, unless otherwise clearly defined and limited, the terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0095] In the present invention, unless otherwise clearly defined and limited, a first feature being "on" or "under" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact via an intermediate medium. Further, a first feature being "above", "over" and "on top of" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the horizontal height of the first feature is higher than that of the second feature. A first feature being "under", "below" and "beneath" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the horizontal height of the first feature is lower than that of the second feature.

[0096] In the description of this specification, the descriptions of terms such as "an embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples", etc., mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0097] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A detection device for an OSFP optical module, characterized in that, The detection device includes: a measurement and control unit, a current detection unit, and a female gold finger port; the measurement and control unit, the current detection unit, and the female gold finger port are located on the test board, and the OSFP optical module to be detected is plugged into the test board through the female gold finger port; The measurement and control unit is connected to the OSFP optical module to be detected through the IIC bus, and the first pin of the measurement and control unit is connected to the LPWn pin of the OSFP optical module to be detected, and the second pin of the measurement and control unit is connected to the RSTn pin of the OSFP optical module to be detected; the measurement and control unit is configured to control the OSFP optical module to be detected to perform power consumption switching according to the received power consumption switching instruction and the preset power consumption switching method corresponding to the power consumption switching instruction; The current detection unit is configured to monitor the operating current of the OSFP optical module to be detected in real time; The measurement and control unit is configured to obtain the register information of the OSFP optical module to be detected through the IIC bus, determine the starting moment of the power consumption switching of the OSFP optical module to be detected according to the register information; and determine the ending moment when the OSFP optical module to be detected completes the power consumption switching through the current detection unit; and determine the detection result of the OSFP optical module to be detected according to the starting moment and the ending moment.

2. The detection device according to claim 1, wherein The power consumption switching instruction includes a first power consumption switching instruction; specifically, the measurement and control unit initializes the first pin to a push-pull output high level state; Specifically, the measurement and control unit switches the push-pull output high level state of the first pin to a floating state according to the first power consumption switching instruction, so as to trigger the LPWn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

3. The detection device according to claim 1, wherein The register information includes: the level state of the M_LPWn pin of the register corresponding to the LPWn pin in the OSFP optical module to be detected; Specifically, the measurement and control unit determines the triggering moment of the M_LPWn pin of the OSFP optical module to be detected according to the register information and uses the triggering moment of the M_LPWn pin as the starting moment.

4. The detection device according to claim 1, characterized in that, The power consumption switching instruction includes a second power consumption switching instruction; specifically, the measurement and control unit initializes the second pin to a floating state; Specifically, the measurement and control unit switches the floating state of the second pin to a push-pull output low level state according to the second power consumption switching instruction, so as to trigger the RSTn pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

5. The detection device according to claim 1, characterized in that The register information includes: the level state of the M_RSTn pin of the register corresponding to the RSTn pin in the OSFP optical module to be detected; Specifically, the measurement and control unit determines the triggering moment of the M_RSTn pin of the OSFP optical module to be detected according to the register information and uses the triggering moment of the M_RSTn pin as the starting moment.

6. The detection device according to claim 1, wherein, The power consumption switching instruction includes a third power consumption switching instruction; The measurement and control unit is specifically configured to write the third power consumption switching instruction into the register corresponding to the ForceLowPwr function of the OSFP optical module to be detected through the IIC bus according to the third power consumption switching instruction, so as to trigger the ForceLowPwr function pin of the OSFP optical module to be detected and control the OSFP optical module to be detected to perform power consumption switching.

7. The detection device according to claim 6, characterized in that, The register information includes: a feedback signal generated by the register corresponding to the ForceLowPwr function of the OSFP optical module to be detected; The measurement and control unit is specifically configured to detect, through the IIC bus, a feedback signal generated by the register corresponding to the ForceLowPwr function of the OSFP optical module to be detected, and use the moment when the feedback signal is detected as the starting moment; wherein, the feedback signal is generated at the moment when the writing of the third power consumption switching instruction is completed.

8. The detection device according to claim 1, characterized in that, The measurement and control unit is specifically configured to, through the current detection unit, monitor the working current of the OSFP optical module to be detected in real time, and when it is determined that the working current of the OSFP optical module to be detected is less than a preset current threshold, use the moment when it is determined that the working current of the OSFP optical module to be detected is less than the preset current threshold as the ending moment.

9. The detection device according to claim 1, wherein The detection device further includes: an oscilloscope; The oscilloscope is electrically connected to the OSFP optical module to be detected through the IIC bus, and the oscilloscope is used to display the register information of the OSFP optical module to be detected obtained by the IIC bus; the oscilloscope is electrically connected to the current detection unit, and the oscilloscope is used to display the change in the working current of the OSFP optical module to be detected; The measurement and control unit is specifically configured to determine the starting moment of the power consumption switching of the OSFP optical module to be detected through the register information of the OSFP optical module to be detected displayed by the oscilloscope, and determine the ending moment when the OSFP optical module to be detected completes the power consumption switching through the change in the working current of the OSFP optical module to be detected displayed by the oscilloscope.

10. The detection device according to claim 1, characterized in that The current detection unit includes a current detection amplifier.

11. A detection system for an OSFP optical module, characterized in that, The detection system includes the detection device according to any one of claims 1 to 10 above, and the detection system further includes: a host computer; the measurement and control unit in the detection device is communicatively connected to the host computer; The host computer is configured to send a power consumption switching instruction to the measurement and control unit.

12. A detection method for an OSFP optical module, characterized in that, The detection method is a detection method based on the detection device of the OSFP optical module according to any one of claims 1 to 10, and the method includes: The measurement and control unit of the detection device receives a power consumption switching instruction, and controls the OSFP optical module to be detected to perform power consumption switching by using a power consumption switching method corresponding to the power consumption switching instruction; The measurement and control unit obtains the register information of the OSFP optical module to be detected through the IIC bus, and determines the starting moment of power consumption switching of the OSFP optical module to be detected according to the register information; and, monitors the operating current of the OSFP optical module to be detected in real time through the current detection unit to determine the ending moment when the OSFP optical module to be detected completes power consumption switching; The measurement and control unit determines the detection result of the OSFP optical module to be detected according to the starting moment and the ending moment.

Citation Information

Patent Citations

  • Optical module and signal processing method

    CN114978323A

  • Network switch with park mode

    CN205195735U