Optical module

CN118947069APending Publication Date: 2024-11-12HISENSE BROADBAND MULTIMEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380030604.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2023-05-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The optical module takes too long to enter low-power mode and cannot meet the time requirements of some protocols.

Method used

Set the flag through the preset register in the MCU and soft reset the MCU, so that it can quickly respond to low-power instructions and directly control the low-power shutdown device to be in the shutdown state, avoiding waiting for power-on to be completed and shortening the time to enter low-power mode. time.

Benefits of technology

This enables the optical module to enter low-power mode quickly and accurately, avoiding operating conflicts and meeting duration requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118947069A_ABST
    Figure CN118947069A_ABST
Patent Text Reader

Abstract

An optical module comprises a circuit board, one end of the circuit board is provided with a golden finger, and the golden finger comprises a power supply pin and a low-power-consumption control pin. An optical chip, an MCU and a load switch are arranged on the surface of the circuit board; a first register and a comparator are arranged in the MCU, and reference voltage of the comparator is stored in the first register; an upper computer outputs a preset voltage through a low-power-consumption control pin and transmits the preset voltage into an MCU, and a comparator arranged in the MCU generates an interrupt flag bit according to the preset voltage and a reference voltage and generates a first interrupt flag bit when the preset voltage is smaller than the reference voltage; the MCU interrupts the current action according to the first interruption flag bit and sends a first control signal to the load switch; the load switch is turned off according to the first control signal to stop supplying power to the optical chip, and at the moment, the optical module enters a low-power-consumption mode.
Need to check novelty before this filing date? Find Prior Art

Description

optical modules

[0001] This application claims priority to the application number 202310190520.2 filed with the China Patent Office on March 2, 2023; and priority to the application number 202210744515.7 filed with the China Patent Office on June 27, 2022; all contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure relates to the field of optical fiber communication technology, and in particular to an optical module. Background Art

[0003] With the development of optical modules, the power consumption of optical modules has received more and more attention. In order to achieve power consumption control, the optical module product protocol has low power consumption mode and high power consumption mode. In low power consumption mode, the optical module enters standby state and only communicates with the host without the need for business transmission. In high power consumption mode, the optical module performs normal business transmission.

[0004] Summary of the Invention

[0005] The present disclosure provides an optical module comprising: a circuit board; a gold finger, provided at one end of the circuit board, including a power supply pin; an MCU, provided on the circuit board and electrically connected to the gold finger, and receiving a low-power instruction issued by a host computer through the gold finger, the low-power instruction being used to put the optical module into a low-power mode; a low-power shutdown device, electrically connected to the power supply pin and the MCU;

[0006] The gold finger includes an I2C pin, the I2C pin is configured to receive a low-power instruction, and the low-power instruction is an I2C interrupt. The MCU includes: a first input pin, electrically connected to the I2C pin, to receive the low-power instruction issued by the I2C pin; a third register, configured to store a first flag when the MCU receives the low-power instruction; the MCU is configured to: in response to the received low-power instruction, set the first flag in the third register and soft reset the MCU to re-run the MCU software; in response to the MCU software re-running, determine whether the third register contains the first flag; if the third register contains the first flag, control the low-power shutdown device to be in a shutdown state;

[0007] Alternatively, the gold finger includes a low-power control pin, which is configured to receive a low-power instruction, and the low-power instruction is a preset voltage. The MCU includes: a second input pin, the input end of which is electrically connected to the low-power control pin to receive the preset voltage; a first register, configured to store a reference voltage; a comparator, which is an analog comparator, and the first input end is electrically connected to the output end of the second input pin to receive the preset voltage; the second input end is electrically connected to the first register to obtain the reference voltage; the comparator is configured to generate an interrupt flag based on the preset voltage and the reference voltage; when the preset voltage is less than the reference voltage, the comparator generates a first interrupt flag; the first interrupt flag is configured to instruct the MCU to interrupt the current action and control the low-power shutdown device to be in the shutdown state. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0009] FIG1 is a partial structural diagram of an optical communication system provided according to some embodiments of the present disclosure;

[0010] FIG2 is a partial structural diagram of a host computer provided according to some embodiments of the present disclosure;

[0011] FIG3 is a structural diagram of an optical module provided according to some embodiments of the present disclosure;

[0012] FIG4 is an exploded view of an optical module according to some embodiments of the present disclosure;

[0013] FIG5 is a first schematic diagram of the internal structure of an optical module provided according to some embodiments of the present disclosure;

[0014] FIG6 is a second schematic diagram of a partial internal structure of an optical module according to some embodiments of the present disclosure;

[0015] FIG7 is a control circuit diagram of an MCU according to some embodiments of the present disclosure;

[0016] FIG8 is a first schematic diagram of an operating state of an optical module provided according to some embodiments of the present disclosure;

[0017] FIG9 is a second schematic diagram of an operating state of an optical module provided according to some embodiments of the present disclosure;

[0018] FIG10 is a flow chart of a method for controlling an optical module to enter low power consumption according to some embodiments of the present disclosure;

[0019] FIG11 is a flowchart of another method for controlling an optical module to enter low power consumption according to some embodiments of the present disclosure;

[0020] FIG12 is a schematic diagram of the structure of an MCU in an optical module according to some embodiments of the present disclosure;

[0021] FIG13 is a diagram showing the working principle of a built-in comparator of an MCU according to some embodiments of the present disclosure;

[0022] FIG14 is a first diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure;

[0023] FIG15 is a second diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure;

[0024] FIG16 is a third diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0025] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in some embodiments of the present disclosure. Obviously, the embodiments described are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of the present disclosure.

[0026] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and its other forms, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open and inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" are intended to indicate that the particular features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the particular features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0027] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0028] When describing some embodiments, the expressions "coupled" and "connected" and their derivatives may be used. For example, when describing some embodiments, the term "connected" may be used to indicate that two or more components are in direct physical or electrical contact with each other. For another example, when describing some embodiments, the term "coupled" may be used to indicate that two or more components are in direct physical or electrical contact. However, the term "coupled" or "communicatively coupled" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the contents of this document.

[0029] “At least one of A, B and C” has the same meaning as “at least one of A, B or C” and both include the following combinations of A, B and C: A only, B only, C only, the combination of A and B, the combination of A and C, the combination of B and C, and the combination of A, B and C.

[0030] “A and / or B” includes the following three combinations: A only, B only, and a combination of A and B.

[0031] The use of "adapted to" or "configured to" herein is intended to be open and inclusive language that does not exclude devices adapted or configured to perform additional tasks or steps.

[0032] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of deviation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).

[0033] In optical communication technology, to establish information transmission between information processing devices, it is necessary to load the information onto light and use the propagation of light to achieve information transmission. Here, the light loaded with information is an optical signal. When transmitting optical signals within information transmission equipment, they can reduce optical power loss, thereby achieving high-speed, long-distance, and low-cost information transmission. The signals that information processing equipment can recognize and process are electrical signals. Information processing equipment typically includes optical network units (ONUs), gateways, routers, switches, mobile phones, computers, servers, tablets, televisions, etc., and information transmission equipment typically includes optical fibers and optical waveguides.

[0034] Optical modules can convert optical signals into electrical signals between information processing devices and information transmission devices. For example, at least one of the optical signal input or output ends of the optical module is connected to an optical fiber, and at least one of the electrical signal input or output ends of the optical module is connected to an optical network terminal. A first optical signal from the optical fiber is transmitted to the optical module, which converts the first optical signal into a first electrical signal and transmits the first electrical signal to the optical network terminal. A second electrical signal from the optical network terminal is transmitted to the optical module, which converts the second electrical signal into a second optical signal and transmits the second optical signal to the optical fiber. Because multiple information processing devices can transmit information via electrical signals, at least one of the multiple information processing devices needs to be directly connected to the optical module, rather than all of them. Here, the information processing device directly connected to the optical module is referred to as the optical module's host computer 100. Furthermore, the optical signal input or output end of the optical module can be referred to as an optical port, and the electrical signal input or output end of the optical module can be referred to as an electrical port.

[0035] Figure 1 is a partial structural diagram of an optical communication system provided according to some embodiments of the present disclosure. As shown in Figure 1, the optical communication system mainly includes a remote information processing device 1000, a local information processing device 2000, a host computer 100, an optical module 200, an optical fiber 101, and a network cable 103.

[0036] One end of optical fiber 101 extends toward remote information processing device 1000, and the other end of optical fiber 101 is connected to optical module 200 through the optical port of optical module 200. Optical signals can be totally reflected in optical fiber 101, and the propagation of the optical signal in the direction of total reflection can almost maintain the original optical power. The optical signal undergoes multiple total reflections in optical fiber 101 to transmit the optical signal from remote information processing device 1000 to optical module 200, and vice versa, thereby achieving long-distance, low-power information transmission.

[0037] The optical communication system may include one or more optical fibers 101, and the optical fibers 101 may be detachably connected or fixedly connected to the optical module 200. The host computer 100 is configured to provide data signals to the optical module 200, receive data signals from the optical module 200, or monitor or control the operating status of the optical module 200.

[0038] The host computer 100 includes a substantially rectangular housing and an optical module interface 102 disposed on the housing. The optical module interface 102 is configured to connect to the optical module 200 to establish a unidirectional or bidirectional electrical signal connection between the host computer 100 and the optical module 200.

[0039] The host computer 100 also includes an external electrical interface that can access an electrical signal network. For example, the external electrical interface includes a Universal Serial Bus (USB) interface or a network cable interface 104. The network cable interface 104 is configured to access a network cable 103 so that the host computer 100 establishes a unidirectional or bidirectional electrical signal connection with the network cable 103. One end of the network cable 103 is connected to the local information processing device 2000, and the other end of the network cable 103 is connected to the host computer 100, so that an electrical signal connection is established between the local information processing device 2000 and the host computer 100 via the network cable 103. For example, a third electrical signal emitted by the local information processing device 2000 is transmitted to the host computer 100 via the network cable 103. The host computer 100 generates a second electrical signal based on the third electrical signal. The second electrical signal from the host computer 100 is transmitted to the optical module 200. The optical module 200 converts the second electrical signal into a second optical signal and transmits the second optical signal to the optical fiber 101. The second optical signal is then transmitted to the remote information processing device 1000 via the optical fiber 101. For example, a first optical signal from the remote information processing device 1000 is transmitted through the optical fiber 101. The first optical signal from the optical fiber 101 is transmitted to the optical module 200. The optical module 200 converts the first optical signal into a first electrical signal. The optical module 200 transmits the first electrical signal to the host computer 100. The host computer 100 generates a fourth electrical signal based on the first electrical signal and transmits the fourth electrical signal to the local information processing device 2000. It should be noted that optical modules are tools for converting optical signals into electrical signals. During this conversion process, the information does not change, but the encoding and decoding methods of the information can change.

[0040] In addition to the optical network terminal, the host computer 100 also includes an optical line terminal (OLT), an optical network device (ONT), or a data center server.

[0041] FIG2 is a partial structural diagram of a host computer 100 provided according to some embodiments of the present disclosure. In order to clearly illustrate the connection relationship between the optical module 200 and the host computer 100, FIG2 only shows the structure of the host computer 100 related to the optical module 200. As shown in FIG2, the host computer 100 also includes a PCB circuit board 105 disposed within the housing, a cage 106 disposed on the surface of the PCB circuit board 105, a heat sink 107 disposed on the cage 106, and an electrical connector disposed within the cage 106. The electrical connector is configured to connect to the electrical port of the optical module 200; the heat sink 107 has a protruding structure such as fins that increase the heat dissipation area.

[0042] The optical module 200 is inserted into the cage 106 of the host computer 100. The cage 106 secures the optical module 200. Heat generated by the optical module 200 is transferred to the cage 106 and then dissipated through the heat sink 107. After the optical module 200 is inserted into the cage 106, the electrical port of the optical module 200 connects with the electrical connector inside the cage 106, thereby establishing a bidirectional electrical signal connection between the optical module 200 and the host computer 100. Furthermore, the optical port of the optical module 200 connects to the optical fiber 101, thereby establishing a bidirectional optical signal connection between the optical module 200 and the optical fiber 101.

[0043] Figure 3 is a structural diagram of an optical module provided according to some embodiments of the present disclosure, and Figure 4 is an exploded view of an optical module provided according to some embodiments of the present disclosure. As shown in Figures 3 and 4, the optical module 200 includes a housing, a circuit board 300 disposed within the housing, a light emitting component 400, and a light receiving component 500. However, the present disclosure is not limited to this. In some embodiments, the most critical structure of the light emitting component 400 is a laser (e.g., a laser chip).

[0044] The housing includes an upper housing 201 and a lower housing 202 . The upper housing 201 covers the lower housing 202 to form the housing having two openings 204 and 205 . The outer contour of the housing is generally a square.

[0045] In some embodiments, the lower shell 202 includes a base plate 2021 and two lower side plates 2022 located on both sides of the base plate 2021 and arranged perpendicular to the base plate 2021; the upper shell 201 includes a cover plate 2011, and the cover plate 2011 covers the two lower side plates 2022 of the lower shell 202 to form the above-mentioned shell.

[0046] In some embodiments, the lower shell 202 includes a base plate 2021 and two lower side plates 2022 located on both sides of the base plate 2021 and arranged perpendicularly to the base plate 2021; the upper shell 201 includes a cover plate 2011 and two upper side plates located on both sides of the cover plate 2011 and arranged perpendicularly to the cover plate 2011. The two upper side plates are combined with the two lower side plates 2022 to achieve the upper shell 201 covering the lower shell 202.

[0047] The direction of the line connecting the two openings 204 and 205 can be aligned with or inconsistent with the length of the optical module 200. For example, opening 204 is located at the end of the optical module 200 (the left end in FIG3 ), and opening 205 is also located at the end of the optical module 200 (the right end in FIG3 ). Alternatively, opening 204 is located at the end of the optical module 200, and opening 205 is located at the side of the optical module 200. Opening 204 is an electrical port.

[0048] Figure 5 is a schematic diagram of the internal structure of an optical module according to some embodiments of the present disclosure, and Figure 6 is a schematic diagram of the internal structure of an optical module according to some embodiments of the present disclosure. Referring to Figures 3 to 6, the gold finger 301 of the circuit board 300 extends from the electrical port and inserts into the electrical connector of the host computer 100; the opening 205 is an optical port, configured to receive an external optical fiber 101, so that the optical fiber 101 connects the optical emitting component 400 and the optical receiving component 500 in the optical module 200.

[0049] The combined assembly of the upper housing 201 and the lower housing 202 facilitates the installation of the circuit board 300, the light emitting component 400, the light receiving component 500, and the like within the housing. The upper housing 201 and the lower housing 202 provide encapsulation and protection for these components. Furthermore, during assembly of the circuit board 300, the light emitting component 400, and the light receiving component 500, the positioning components, heat dissipation components, and electromagnetic shielding components of these components are easily positioned, facilitating automated production.

[0050] In some embodiments, the upper shell 201 and the lower shell 202 are made of metal materials, which facilitates electromagnetic shielding and heat dissipation.

[0051] In some embodiments, the optical module 200 further includes an unlocking component 600 located outside its housing. The unlocking component 600 is configured to achieve a fixed connection between the optical module 200 and the host computer 100, or to release the fixed connection between the optical module 200 and the host computer 100.

[0052] For example, the unlocking component 600 is located on the outside of the two lower side panels 2022 of the lower housing 202 and includes a snap-fit ​​component that mates with the cage 106 of the host computer 100. When the optical module 200 is inserted into the cage 106, the snap-fit ​​component of the unlocking component 600 secures the optical module 200 in the cage 106. When the unlocking component 600 is pulled, the snap-fit ​​component of the unlocking component 600 moves accordingly, thereby changing the connection between the snap-fit ​​component and the host computer 100, thereby releasing the optical module 200 from the cage 106 and allowing the optical module 200 to be removed from the cage 106.

[0053] The circuit board 300 includes circuit traces, electronic components, and chips. The electronic components and chips are connected according to the circuit design through the circuit traces to achieve functions such as power supply, electrical signal transmission, and grounding. Electronic components may include, for example, capacitors, resistors, transistors, and metal-oxide-semiconductor field-effect transistors (MOSFETs). Chips may include, for example, microcontroller units (MCUs), laser driver chips, transimpedance amplifiers (TIAs), limiting amplifiers, clock and data recovery chips (CDRs), power management chips, and digital signal processing (DSP) chips.

[0054] The circuit board 300 is generally a rigid circuit board. Due to its relatively hard material, the rigid circuit board can also realize the load-bearing function. For example, the rigid circuit board can stably carry the above-mentioned electronic components and chips; the rigid circuit board can also be inserted into the electrical connector in the cage 106 of the host computer 100.

[0055] The circuit board 300 also includes a gold finger 301 formed on its end surface, and the gold finger 301 is composed of a plurality of independent pins. The circuit board 300 is inserted into the cage 106, and the gold finger 301 is connected to the electrical connector in the cage 106. The gold finger 301 can be set only on the surface of one side of the circuit board 300 (for example, the upper surface shown in Figure 4), or it can be set on the upper and lower surfaces of the circuit board 300 to provide a larger number of pins, thereby adapting to occasions where a large number of pins are required. The gold finger 301 is configured to establish an electrical connection with the host computer 100 to achieve power supply, grounding, two-wire synchronous serial (Inter-Integrated Circuit, I2C) signal transmission, data signal transmission, etc. Of course, flexible circuit boards are also used in some optical modules. Flexible circuit boards are generally used in conjunction with rigid circuit boards to supplement rigid circuit boards.

[0056] At least one of the light emitting component 400 or the light receiving component 500 is located on a side of the circuit board 300 away from the gold finger 301 .

[0057] In some embodiments, the light emitting component 400 and the light receiving component 500 are physically separated from the circuit board 300 and then electrically connected to the circuit board 300 via corresponding flexible circuit boards or electrical connectors. As shown in Figures 5 and 6, for example, a gold finger 301 is provided at the left end of the circuit board 300, and the light emitting component 400 and the light receiving component 500 are connected to the right end of the circuit board 300 via a flexible circuit board.

[0058] In some embodiments, at least one of the light emitting component 400 or the light receiving component 500 may be directly disposed on the circuit board 300. For example, at least one of the light emitting component 400 or the light receiving component 500 may be disposed on a surface of the circuit board 300 or a side of the circuit board 300.

[0059] Among them, the gold finger 301 includes a power supply pin, which is electrically connected to the optical module and is used to enable the host computer 100 to supply power to the optical module. For example, the power supply pin is electrically connected to the MCU, laser driver chip, laser chip, limiting amplifier chip and other chips in the optical module to supply power to the MCU and other chips.

[0060] In addition, the gold finger 301 also includes communication pins such as I2C pins. The host computer 100 and the optical module can use the I2C protocol and transmit information through communication pins such as I2C pins. The I2C pins on the gold finger can then be used to communicate between the host computer 100 and chips such as the optical module MCU. For example, the host computer 100 can monitor the optical module through the I2C pins and the I2C protocol, such as monitoring the operating status of the optical module, which includes normal working state and standby state.

[0061] For example, when the optical module is in standby mode, the low power consumption mode of the optical module is achieved by stopping power supply to the chip with higher energy consumption. For example, a power consumption mode command (e.g., a low power consumption command) can be sent to the MCU through the I2C pin on the gold finger to control the optical module to switch between low power consumption mode and high power consumption mode.

[0062] In addition, in some embodiments, devices such as the laser driver chip 304, laser chip, limiting amplifier chip 305 and power management chip on the circuit board 300 need to be in a shutdown state when the optical module enters the low power consumption mode. In other words, the electrical connection between the above devices and the power supply pins needs to be disconnected, that is, no power is supplied. For the sake of convenience, such devices are collectively referred to as low-power shutdown devices 300a in the embodiments of the present disclosure.

[0063] MCU302 is electrically connected to the low-power shutdown device 300a. When MCU302 receives a low-power instruction, it controls the low-power shutdown device 300a to be in the shutdown state, such as stopping the power supply of the low-power shutdown device 300a in the powered-on state and keeping the low-power shutdown device 300a in the unpowered state from being powered on.

[0064] In a specific implementation, the low-power shutdown device 300a can be connected to the power supply pin in a variety of ways. As one example of the connection method between the low-power shutdown device 300a and the power supply pin, the low-power shutdown device 300a itself can have an electrical connection pin or a power supply port, and the low-power device 330 can be electrically connected to the power supply pin through the power supply port. When the low-power device 330 receives a shutdown control signal sent by the MCU, it can directly disconnect the electrical connection between the power supply port and the power supply pin, putting the low-power device 330 into a shutdown state and placing the optical module in a low-power mode.

[0065] In the above example, the low-power shutdown device 300a may have an enable end, and the control output end of the MCU302 is connected to the enable end of the low-power shutdown device 300a to control the low-power shutdown device 300a through the enable end, and then when the MCU302 receives a low-power instruction, it enables and controls the low-power shutdown device 300a to be in the shutdown state.

[0066] 6 , as another example of a connection between a low-power shutdown device 300a and a power supply pin, the low-power shutdown device 300a may include a load switch 303 and an optical chip disposed on the surface of a circuit board 300. The optical chip includes a laser driver chip 304, a laser chip, a limiting amplifier chip 305, and the like.

[0067] Specifically, the input end of the load switch 303 is electrically connected to the power supply pin, and the output end of the load switch 303 is electrically connected to optical chips such as the laser driver chip 304, the laser chip, and the limiting amplifier chip 305, thereby realizing the opening and closing of the load switch 303 to control whether to provide an operating voltage, such as a 3.3V operating voltage, to the optical chip.

[0068] In this example, the load switch 303 is electrically connected to the MCU 302. In other words, the MCU 302 is electrically connected to the optical chip through the load switch 303, that is, the opening and closing of the load switch 303 can be controlled by the MCU 302, that is, the MCU 302 sends a control instruction to the load switch 303 to control whether the load switch 303 outputs voltage to the outside, thereby realizing whether the optical chip is powered on.

[0069] It should be noted that, in the embodiment of the present application, the communication pin for sending the low-power instruction issued by the host computer 100 to the MCU may include one of an I2C pin and a low-power control pin, and the I2C pin and the low-power control pin are set on the gold finger 301. Different types of low-power instructions are sent to the MCU 302 through the I2C pin or the low-power control pin, and the MCU 302 sends a control signal to the low-power shutdown device 300a according to the low-power instruction, so that the low-power shutdown device 300a is disconnected from the power supply pin, that is, the low-power shutdown device 300a is in the shutdown state.

[0070] The following description will first be made by taking an example where the communication pin for sending the low-power instruction issued by the host computer 100 to the MCU is an I2C pin.

[0071] Figure 7 is a control circuit diagram of an MCU provided according to some embodiments of the present disclosure. As shown in Figure 7, MCU 302 is connected to the I2C pin in the gold finger 301. For example, MCU 302 includes a first input pin that is electrically connected to the I2C pin. MCU 302 receives control instructions issued by the host computer 100 via the I2C pin in the gold finger 301. For example, the host computer 100 issues a low-power instruction to MCU 302 via the I2C pin in the gold finger 301. It is understood that this low-power instruction is configured to cause the optical module to enter a low-power mode.

[0072] In some embodiments, the low-power instruction is triggered by an I2C interrupt, that is, the host computer 100 sends a low-power instruction to the optical module in the form of an I2C interrupt, and the MCU302 receives the I2C interrupt and processes it directly, so that the MCU302 can respond to enter the low-power mode within the threshold time range. For example, the threshold time can be controlled at 200 microseconds to meet some protocol requirements of the optical module.

[0073] Generally, when the MCU 302 receives the low power consumption instruction from the host computer 100 , the MCU 302 sets a flag. Based on the status of the optical module and the flag, the MCU 302 runs and performs a state transition to put the optical module into the low power consumption mode.

[0074] FIG8 is a schematic diagram of the operating state of an optical module provided according to some embodiments of the present disclosure. As shown in FIG8 , the optical module is in the power-on process, that is, the MCU302 is in the process of controlling the low-power shutdown device 300a to power on (making the optical module enter a high-power state from a low-power state). When the MCU302 receives a low-power instruction issued by the host computer 100, the MCU will generally not interrupt the power-on process. Usually, the flag "LowPwrS" is set to TRUE (such as 1) first, and after the MCU302 is powered on, the MCU302 re-reads the flag "LowPwrS". If it is TRUE, the MCU302 will control the low-power shutdown device 300a to power off, so that the optical module enters a low-power mode. In this way, between the time when the MCU302 receives the low-power instruction and the time when it enters the low-power mode, it is necessary to wait for the power-on to be completed. Therefore, it may cause the optical module to take too long to enter the low-power mode, which cannot meet the requirements of some protocols for the duration of the optical module entering low power.

[0075] FIG9 is a second schematic diagram illustrating the operating state of an optical module provided according to some embodiments of the present disclosure. As shown in FIG9 , when the optical module is in normal operating state, the software in MCU 302 will execute some tasks in a loop. For example, if there are 10 tasks, then the software in MCU 302 needs to execute 10 tasks once. Therefore, when MCU 302 receives a low-power instruction from host computer 100, it needs to complete all tasks in a loop before setting the judgment flag "LowPwrS" to determine whether the optical module needs to be controlled to enter low-power mode.

[0076] Assuming that MCU302 receives a low-power instruction while executing Task 2, the MCU first sets the flag "LowPwrS" to TRUE (such as 1), waits for MCU302 to complete Task 10, and then rereads the flag "LowPwrS". If it is TRUE, MCU302 will control the low-power shutdown device 300a to power off, so that the optical module enters low-power mode. In this way, between the MCU302 receiving the low-power instruction and executing it to enter low-power mode, it is necessary to wait for MCU302 to complete all tasks in the current cycle. This waiting time will depend on the execution time of each task. If the task execution time is too long, it will cause the optical module to take too long to enter low-power mode, which cannot meet the requirements of some protocols for the length of time the optical module enters low-power mode.

[0077] To address the issue of the optical module taking too long to enter low-power mode, in some embodiments, the MCU 302 includes a third register (also known as a preset register) configured to store a flag, such as a first flag, when the MCU 302 receives a low-power instruction. Specifically, upon receiving the low-power instruction, the MCU 302 sets a flag, such as the first flag, in the preset register and soft-resets the MCU 302, causing the MCU 302 software to re-run. In response to the MCU 302 software re-running, the MCU 302 determines whether the preset register contains the first flag. If the preset register contains the first flag, the MCU 302 may send a control signal, such as a third control signal, to the low-power shutdown device 300a via an enable terminal to control the low-power shutdown device 300a to be in the shutdown state.

[0078] In this way, when MCU302 receives a low-power instruction, MCU302 is in the process of controlling the power-on of the low-power shutdown device 300a. Through soft resetting, MCU302 will directly stop powering on, and will no longer wait for MCU302 to complete the power-on control of the low-power shutdown device 300a before responding to execute the low-power instruction, thereby saving waiting time and shortening the time it takes for the optical module to enter the low-power mode, making it easier to meet the requirements of some protocols on the length of time the optical module enters low power consumption.

[0079] Alternatively, when MCU302 receives a low-power instruction, MCU302 receives the low-power instruction while executing Task 2. By soft resetting MCU302, MCU302 will stop executing Task 2 and tasks after Task 2. That is, there is no need to wait for MCU302 to complete all tasks in the current cycle before responding to the low-power instruction, thereby saving waiting time and shortening the time it takes for the optical module to enter the low-power mode, making it easier to meet the requirements of some protocols for the length of time the optical module enters low-power mode. In this way, when MCU302 receives the low-power instruction, it can quickly respond to the low-power instruction and adjust the state of the optical module to the low-power mode.

[0080] In some embodiments, the host computer 100 issues a low-power instruction via an I2C interrupt, enabling the MCU 302 to directly process the instruction, effectively reducing the time it takes for the MCU 302 to receive the low-power instruction. Generally, when the MCU 302 receives a low-power instruction triggered by an I2C interrupt, the MCU 302 will directly respond to the interrupt to control the low-power shutdown device 300a to be in an off state. However, when the MCU 302 receives the I2C interrupt, if the MCU 302 is about to control the low-power shutdown device 300a to be powered on, then after the MCU 302 completes the I2C interrupt, it will continue to execute the operation before the I2C interrupt, that is, continue to power on the low-power shutdown device 300a, causing the optical module to enter a high-power mode, which will invalidate the low-power instruction. And after the MCU 302 is soft-reset, by verifying the first flag in the preset register, it is possible to avoid the MCU 302 executing the low-power mode and then continuing to power on the low-power shutdown device 300a, thereby avoiding causing the MCU 302 software to run and generate a conflict.

[0081] In some embodiments, after controlling the low-power shutdown device to be in the shutdown state, the MCU 302 clears the first flag in the preset register.

[0082] Based on the optical module provided in the embodiments of the present disclosure, a method for controlling the optical module to enter low power consumption is also provided in the embodiments of the present disclosure. FIG10 is a flow chart of a method for controlling the optical module to enter low power consumption according to some embodiments of the present disclosure. As shown in FIG10, in some embodiments of the present disclosure, the method for controlling the optical module to enter low power consumption includes:

[0083] S100: Receive a low-power instruction sent by the host computer 100 through the golden finger, where the low-power instruction is used to make the optical module enter a low-power mode.

[0084] S200: In response to the received low power consumption instruction, a first flag is set in a preset register and the MCU is soft-reset to restart the software of the MCU.

[0085] S300: In response to the MCU software being re-run, determining whether a preset register includes a first flag.

[0086] S400: If the preset register contains the first flag, control the low-power shutdown device to be in a shutdown state.

[0087] In some embodiments, the low power instruction is an I2C interrupt.

[0088] FIG11 is a flow chart of another method for controlling an optical module to enter low power consumption according to some embodiments of the present disclosure. As shown in FIG11 , in some embodiments of the present disclosure, if the preset register contains a first flag, after controlling the low power consumption shutdown device to be in the shutdown state, the method further includes:

[0089] S500: Clear the first flag in the preset register.

[0090] The optical module and the control method for entering low power consumption provided by the embodiment of the present disclosure are as follows: when the MCU302 in the optical module receives a low power consumption instruction issued by the host computer 100, the MCU302 first sets a first flag in a preset register, then soft-resets the MCU302 and restarts the software of the MCU302; the software of the MCU302 restarts and determines whether the preset register contains the first flag; when the preset register contains the first flag, the MCU302 controls the low power consumption shutdown device 300a to be in the shutdown state, so that the optical module is in a low power consumption state. In this way, the optical module and the control method for entering low power consumption provided by the present disclosure enable the optical module to accurately and quickly enter the low power consumption mode, and can avoid conflicts in the operation of the optical module during the process of entering low power consumption.

[0091] The following description will first be made by taking as an example the case where the communication pin for sending the low-power instruction issued by the host computer 100 to the MCU is a low-power control pin.

[0092] The gold finger 301 also includes a low-power control pin. The low-power control pin in the embodiment of the present disclosure is a derived pin. By setting this pin, the user can customize the function of the low-power control pin; the host computer 100 can send a low-power instruction to the optical module through the low-power control pin. In this example, the low-power instruction is a preset voltage. The preset voltage can be issued by the host computer 100 based on the monitored operating status of the optical module, or it can be issued by the host computer 100 itself. The preset voltage is used by the host computer 100 to transmit low-power instructions or high-power instructions to the optical module.

[0093] Figure 12 is a schematic diagram of the structure of an MCU in an optical module according to some embodiments of the present disclosure. As shown in Figure 12, MCU 302 includes an input pin (hereinafter referred to as the second input pin), a comparator, and a first register. The comparator includes a first input terminal (positive input terminal), a second input terminal (negative input terminal), and an output terminal. The first input terminal and the second input terminal are differential inputs.

[0094] One end (input end) of the second input pin is electrically connected to the low-power control pin, and the other end (output end) is electrically connected to the first input end of the comparator. The preset voltage emitted by the host computer 100 is transmitted to the first input end of the comparator via the low-power control pin on the gold finger 301 and the second input pin of the MCU 302. The first register stores a reference voltage for the comparator. The first register is electrically connected to the second input end of the comparator so that the comparator obtains the reference voltage. Furthermore, in the embodiment of the present disclosure, the reference voltage value stored in the first register is 1.25V.

[0095] Figure 13 is a diagram illustrating the operating principle of a comparator built into an MCU, according to some embodiments of the present disclosure. As shown in Figure 13, the comparator built into MCU 302 is an analog comparator, formed by analog circuits. The advantages of analog comparators include fast response speed and reduced electronic component count. The analog comparator generates a signal at its output by inputting an analog voltage and a reference voltage to its two input terminals, respectively, and then comparing the two voltages. Furthermore, in the present disclosure, the analog voltage is the preset voltage emitted by the host computer 100, and the reference voltage is the reference voltage stored in the first register.

[0096] Figure 14 is a first diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure, Figure 15 is a second diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure, and Figure 16 is a third diagram illustrating a power consumption mode control principle of an optical module according to some embodiments of the present disclosure. As shown in Figures 14-16, in some examples, the comparator can generate a corresponding flag, such as an interrupt flag, based on the relationship between a preset voltage and a reference voltage sent by the host computer 100. The interrupt flag includes a first interrupt flag and a second interrupt flag.

[0097] When the preset voltage is lower than the reference voltage, the comparator generates a first interrupt flag, triggering an interrupt event. The MCU302 interrupts the current action according to the first interrupt flag and triggers the stop of power supply to the chip with higher energy consumption. The optical module enters the low power consumption mode. When the preset voltage is higher than the reference voltage, the comparator generates a second interrupt flag, and does not trigger an interrupt event. The MCU302 resumes power supply to the chip according to the second interrupt flag, and the optical module enters the normal operating mode, that is, the optical module enters the high power consumption mode.

[0098] Therefore, when the preset voltage is less than the reference voltage, the comparator generates a first interrupt flag and the optical module enters a low power consumption mode; when the preset voltage is greater than the reference voltage, the comparator generates a second interrupt flag and the optical module enters a high power consumption mode; the difference between the first interrupt flag and the second interrupt flag is that the first interrupt flag can trigger an interrupt event, while the second interrupt flag does not trigger an interrupt event.

[0099] If the preset voltage output by the host computer 100 is less than the reference voltage, the comparator generates a first interrupt flag, and then the MCU302 interrupts the current action according to the first interrupt flag, and sends a control signal to the low-power shutdown device 300a. For example, the first control signal can be specifically output to the load switch 303, and the load switch 303 is shut down according to the received first control signal to stop supplying power to the subsequent chip. The subsequent chip is powered off, and the optical module enters low-power mode.

[0100] If the preset voltage output by the host computer 100 is greater than the reference voltage, the comparator generates a second interrupt flag, and then the MCU302 outputs a second control signal to the load switch 303 according to the second interrupt flag. The load switch 303 is turned on according to the received second control signal to restore power supply to the subsequent chip. The subsequent chip is powered on and the optical module enters high power consumption mode.

[0101] If the optical module is in standby state, when the preset voltage sent by the host computer 100 is less than the reference voltage, the comparator generates a first interrupt flag, triggering an interrupt event, and the MCU302 interrupts the current action according to the first interrupt flag, and sends a first control signal to the load switch 303, and the load switch 303 is disconnected to stop supplying power to the subsequent chip with higher energy consumption. The subsequent chip with higher energy consumption is powered off, and the optical module enters a low power consumption mode; if the optical module is in standby state, when the preset voltage sent by the host computer 100 is greater than the reference voltage, the comparator generates a second interrupt flag, and does not trigger an interrupt event. The MCU302 sends a second control signal to the load switch 303 according to the second interrupt flag, and the load switch 303 is turned on to resume power supply to the subsequent chip. The subsequent chip with higher energy consumption is powered on, and the optical module enters a high power consumption mode.

[0102] If the optical module is in normal working state, when the preset voltage sent by the host computer 100 is less than the reference voltage, the comparator generates a first interrupt flag, triggering an interrupt event, and the MCU302 interrupts the current action according to the first interrupt flag, and sends a first control signal to the load switch 303, and the load switch 303 is disconnected to stop supplying power to the subsequent chip with higher energy consumption. The subsequent chip with higher energy consumption is powered off, and the optical module enters low power consumption mode; if the optical module is in normal working state, when the preset voltage sent by the host computer 100 is greater than the reference voltage, the comparator generates a second interrupt flag, and does not trigger an interrupt event. The MCU302 sends a second control signal to the load switch 303 according to the second interrupt flag, and the load switch 303 is turned on to resume power supply to the subsequent chip. The subsequent chip with higher energy consumption is powered on, and the optical module enters high power consumption mode.

[0103] In some examples, a second register is further provided inside the MCU302 for storing an interrupt flag generated by the comparator. The first interrupt flag is written into the second register with a first preset value, which may be "1"; the second interrupt flag is written into the second register with a second preset value, which may be "0"; the comparator stores the generated interrupt flag in the second register, and then the MCU302 reads the interrupt flag from the second register. When the MCU302 reads the first interrupt flag, it sends a control signal to the load switch 303 to stop supplying power to the chip with higher energy consumption, thereby causing the optical module to enter a low power consumption mode; when the MCU302 reads the second interrupt flag from the second register, it sends a control signal to the load switch 303 to resume supplying power to the chip with higher energy consumption, thereby causing the optical module to enter a high power consumption mode.

[0104] In actual operation, the optical module will perform monitoring, surveillance, reporting and other actions. MCU302 reads the interrupt flag from the second register. When MCU302 reads that the interrupt flag is the first interrupt flag, such as 1, MCU302 will interrupt the current ongoing action, such as monitoring, surveillance, reporting and other work, and send a control signal to the load switch 303. The load switch 303 stops supplying power to the chip with higher energy consumption according to the received control signal, and the chip with higher energy consumption is powered off, thereby entering the low power consumption mode of the optical module.

[0105] The present disclosure generates an interrupt flag bit through the built-in comparator of MCU302. When MCU302 reads the first interrupt flag bit, it interrupts the current action and gives way to the low-power control action, so as to give priority to the low-power control action, respond to the low-power control action in a timely and rapid manner, and enable the optical module to enter the low-power mode more quickly.

[0106] In addition, by generating a first interrupt flag when the preset voltage is lower than the reference voltage, an interrupt event is triggered, thereby increasing the priority of processing low-power control actions, giving priority to processing low-power control actions, and responding to low-power control actions in a timely and rapid manner, so that the optical module enters low-power mode more quickly.

[0107] Among them, by controlling the voltage input to MCU302, the optical module is controlled to enter the low power mode; the interrupt function of the built-in analog comparator of MCU302 is used to prioritize the low power control business, and the response time is improved from ms to μs level.

[0108] It is understandable that the optical module can quickly switch between high power consumption mode and low power consumption mode. For systems with strict requirements on the high-low power consumption switching time, the optical module provided by the embodiment of the present disclosure has obvious advantages.

[0109] The following describes the control process for the optical module to enter low-power mode, using several high-energy optical chips as examples. For example, the high-energy chip includes laser driver chip 304. If the comparator generates a first interrupt flag, MCU 302 interrupts the current operation and sends a corresponding control signal to load switch 303. Load switch 303 stops outputting the operating voltage to laser driver chip 304 in response to the corresponding control signal, powering off laser driver chip 304 and placing the optical module in low-power mode. If the comparator generates a second interrupt flag, MCU 302 sends a corresponding control signal to load switch 303. Load switch 303 resumes outputting the operating voltage to laser driver chip 304 in response to the corresponding control signal, powering on laser driver chip 304 and placing the optical module in high-power mode.

[0110] For another example, the chip with higher energy consumption includes the limiting amplifier chip 305; if the comparator generates a first interrupt flag, the MCU302 interrupts the current action and sends a corresponding control signal to the load switch 303, and the load switch 303 stops outputting the working voltage to the limiting amplifier chip 305 according to the corresponding control signal, then the limiting amplifier chip 305 is powered off, and then the optical module enters the low power consumption mode; if the comparator generates a second interrupt flag, the MCU302 sends a corresponding control signal to the load switch 303, and the load switch 303 resumes outputting the working voltage to the limiting amplifier chip 305 according to the corresponding control signal, then the limiting amplifier chip 305 is powered on, and then the optical module enters the high power consumption mode.

[0111] For another example, chips with high energy consumption include laser chips; if the comparator generates a first interrupt flag, the MCU302 interrupts the current action and sends a corresponding control signal to the load switch 303. The load switch 303 stops outputting the operating voltage to the laser chip according to the corresponding control signal, and the laser chip is powered off, and the optical module enters a low power consumption mode; if the comparator generates a second interrupt flag, the MCU302 sends a corresponding control signal to the load switch 303. The load switch 303 resumes outputting the operating voltage to the laser chip according to the corresponding control signal, and the laser chip is powered on, and the optical module enters a high power consumption mode.

[0112] In some examples, the laser chip is also electrically connected to the laser driver chip 304, and the laser driver chip 304 is configured to output an operating current to the laser chip. The MCU 302 can control the power-on state of the laser chip through the laser driver chip 304. Specifically, if the comparator generates a first interrupt flag, the MCU 302 interrupts the current action, writes a first preset value into a register (e.g., a fourth register) inside the laser driver chip 304, and the laser driver chip 304 stops outputting an operating current to the laser chip, and the laser chip is powered off, and the optical module enters a low power consumption mode; if the comparator generates a second interrupt flag, the MCU 302 writes a second preset value into a register inside the laser driver chip 304, and the laser driver chip 304 resumes outputting an operating current to the laser chip, and the laser chip is powered on, and the optical module enters a high power consumption mode.

[0113] In the disclosed embodiment, the built-in comparator of MCU302 is used to generate an interrupt flag, trigger an interrupt event, and increase the priority of processing low-power control actions, so as to give priority to processing low-power control actions, respond to low-power control actions in a timely and rapid manner, and enable the optical module to enter low-power mode more quickly.

[0114] In addition, the low-power control business is handled by the interrupt function of the analog comparator, which has a fast response speed. However, when this function is turned on, voltage noise will exist due to voltage instability, and voltage noise will cause misjudgment of interrupt events, resulting in the optical module powering on in low-power mode. The moment will be mistaken, thereby affecting other services.

[0115] To this end, in some examples, a sampling resistor may be provided inside the MCU302. Taking the 300ms time period from power-on to normal operation of the optical module as an example, high power consumption or low power consumption mode events are processed by sampling the voltage through the sampling resistor in 0-200ms; the interrupt function of the comparator is turned on after 150ms, but no business processing is performed, and the interrupt event is still processed by sampling the voltage using the sampling resistor, and the 150ms-200ms time period is used to solve the misjudgment problem of the interruption start moment; after 200ms, the interrupt function of the comparator is actually enabled to process high power consumption or low power consumption mode events; thus, the moment of turning on the interrupt function can be passed more smoothly, avoiding the misjudgment of the interrupt event.

[0116] Among them, the process of handling high power consumption or low power consumption mode events by collecting voltage through a sampling resistor includes: the sampling resistor is electrically connected to the second input pin of the MCU302, and the preset voltage output by the host computer 100 is transmitted to the sampling resistor through the low power consumption control pin and the second input pin. If the voltage obtained by the sampling resistor is less than another reference voltage.

[0117] Taking another reference voltage of 1.25V as an example, the MCU302 sends a corresponding control signal to the load switch 303, and the load switch 303 stops outputting the working voltage to the laser driver chip 304, the laser chip, the limiting amplifier chip 305, etc. according to the corresponding control signal, and the laser driver chip 304, the laser chip, and the limiting amplifier chip 305 are powered off, and the optical module enters the low power consumption mode; if the voltage obtained by the sampling resistor is greater than 1.25V, the MCU302 sends a corresponding control signal to the load switch 303, and the load switch 303 resumes outputting the working voltage to the laser driver chip 304, the laser chip, the limiting amplifier chip 305, etc. according to the corresponding control signal, and the laser driver chip 304, the laser chip, and the limiting amplifier chip 305 are powered, and the optical module enters the high power consumption mode.

[0118] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that a person skilled in the art can conceive within the technical scope disclosed in the present disclosure should be included within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. An optical module, comprising: circuit boards; A gold finger is provided at one end of the circuit board, comprising a power supply pin and a low-power control pin, wherein the low-power control pin is used to transmit a preset voltage issued by a host computer; an optical chip, electrically connected to the circuit board; MCU, electrically connected to the gold finger; a load switch, connected to the power supply pin and the MCU, and obtaining power through the power supply pin to supply power to the optical chip; The MCU includes: A first input pin, an input end of which is electrically connected to the low power consumption control pin to receive the preset voltage; A first register is used to store a reference voltage; a comparator, which is an analog comparator, having a first input terminal electrically connected to the output terminal of the first input pin to receive the preset voltage; a second input terminal electrically connected to the first register to obtain the reference voltage; and being configured to generate an interrupt flag bit according to the preset voltage and the reference voltage; When the preset voltage is less than the reference voltage, the comparator generates a first interrupt flag; The first interrupt flag is used to instruct the MCU to interrupt the current action and send a first control signal to the load switch. The load switch is used to shut down according to the received first control signal to stop supplying power to the optical chip.

2. The optical module according to claim 1, wherein: When the preset voltage is greater than the reference voltage, the comparator generates a second interrupt flag; the second interrupt flag is used to instruct the MCU to interrupt the current action and send a second control signal to the load switch; The load switch is turned on according to the received second control signal to resume power supply to the optical chip.

3. The optical module according to claim 2, wherein: The first interrupt flag bit triggers an interrupt event, and the second interrupt flag bit does not trigger an interrupt event; The first interrupt flag is used to indicate that the optical module enters a low power consumption mode; The second interrupt flag is used to instruct the optical module to enter a high power consumption mode.

4. The optical module according to claim 2, wherein: The optical chip includes a laser driver chip; The input end of the load switch is electrically connected to the power supply pin, and the output end is electrically connected to the laser driver chip, and the load switch obtains power through the power supply pin to supply power to the laser driver chip; The MCU sends a first control signal and a second control signal to the load switch according to the first interrupt flag and the second interrupt flag respectively; The load switch is turned off and on respectively according to the first control signal and the second control signal, so as to stop and resume supplying power to the laser driving chip respectively.

5. The optical module according to claim 2, wherein: The optical chip includes a laser chip; The input end of the load switch is electrically connected to the power supply pin, and the output end is electrically connected to the laser chip, and is powered by the power supply pin to supply power to the laser chip; The MCU sends a first control signal and a second control signal to the load switch according to the first interrupt flag and the second interrupt flag respectively; The load switch is turned off and on respectively according to the first control signal and the second control signal, so as to stop and resume power supply to the laser chip respectively.

6. The optical module according to claim 5, wherein: The laser chip is also electrically connected to a laser driver chip, and the laser driver chip is configured to output an operating current to the laser chip; a fourth register is provided in the laser driver chip; The MCU writes a first preset value and a second preset value into the fourth register according to the first interrupt flag bit and the second interrupt flag bit, respectively. The first preset value and the second preset value are respectively used to instruct the laser driver chip to stop and resume outputting power to the laser chip.

7. The optical module according to claim 2, wherein: The optical chip includes a limiting amplifier chip; The input end of the load switch is electrically connected to the power supply pin, and the output end is electrically connected to the limiting amplifier chip, and the load switch obtains power through the power supply pin to supply power to the limiting amplifier chip; The MCU sends a first control signal and a second control signal to the load switch according to the first interrupt flag and the second interrupt flag respectively; The load switch is turned off and on respectively according to the first control signal and the second control signal, so as to stop and resume supplying power to the limiting amplifier chip respectively.

8. The optical module according to claim 1, wherein: When the first interrupt flag is generated, the priority of the MCU in responding to the low power mode instruction is higher than the priority of the current action of the MCU.

9. The optical module according to claim 1, wherein: The MCU also includes a sampling resistor; The sampling resistor is electrically connected to the first input pin to receive the preset voltage; The MCU is used to send a corresponding enable control signal to the load switch according to the preset voltage and another reference voltage, so as to adjust the power supply to the optical chip.

10. The optical module according to claim 1, wherein: The MCU further includes: The second register is used to store the interrupt flag.

11. An optical module, comprising: circuit boards; A gold finger is provided at one end of the circuit board and includes a power supply pin; An MCU is provided on the circuit board and is electrically connected to the gold finger, and receives a low-power instruction issued by a host computer through the gold finger, wherein the low-power instruction is used to enable the optical module to enter a low-power mode; A low-power shutdown device electrically connected to the power supply pin and the MCU; The gold finger includes an I2C pin, the I2C pin is configured to receive the low-power instruction, the low-power instruction is an I2C interrupt, and the MCU includes: a first input pin electrically connected to the I2C pin to receive a low power consumption instruction issued by the I2C pin; a third register, configured to store a first flag when the MCU receives the low power consumption instruction; The MCU is configured to: in response to the received low-power instruction, set the first flag in the third register and soft-reset the MCU to restart the software of the MCU; In response to the software of the MCU being re-run, determining whether the third register contains a first flag; If the third register contains a first flag, the low-power shutdown device is controlled to be in a shutdown state, where the shutdown state is a state in which the low-power shutdown device is electrically disconnected from the power supply pin; Alternatively, the gold finger includes a low-power control pin, the low-power control pin is configured to receive the low-power instruction, the low-power instruction is a preset voltage, and the MCU includes: A second input pin, an input end of which is electrically connected to the low power consumption control pin to receive the preset voltage; a first register configured to store a reference voltage; a comparator, being an analog comparator, wherein a first input terminal is electrically connected to an output terminal of the second input pin to receive the preset voltage; a second input terminal is electrically connected to the first register to obtain the reference voltage; the comparator is configured to generate an interrupt flag bit according to the preset voltage and the reference voltage; When the preset voltage is less than the reference voltage, the comparator generates a first interrupt flag; The first interrupt flag is configured to instruct the MCU to interrupt the current action and control the low-power shutdown device to be in a shutdown state.

12. The optical module according to claim 11, wherein: The low-power shutdown device has an enable end, and the low-power shutdown device is electrically connected to the control output end of the MCU through the enable end; if the third register in the MCU contains a first flag, the MCU sends a third control signal to the low-power shutdown device through the enable end to control the low-power shutdown device to be in a shutdown state.

13. The optical module according to claim 12, wherein: If the third register in the MCU contains a first flag, after controlling the low-power shutdown device to be in a shutdown state, the MCU is further configured to: clear the first flag in the third register.

14. The optical module according to claim 11, wherein: The low-power shutdown device includes an optical chip and a load switch electrically connected to the optical chip; the load switch is electrically connected to the power supply pin and the control output terminal of the MCU, and is configured to obtain power through the power supply pin to supply power to the optical chip; A first interrupt flag bit generated by the comparator in the MCU is configured to instruct the MCU to interrupt the current action and send a first control signal to the load switch; The load switch is further configured to be turned off according to the first control signal to stop supplying power to the optical chip.

15. The optical module according to claim 14, wherein: When the preset voltage is greater than the reference voltage, the comparator generates a second interrupt flag; the second interrupt flag is configured to instruct the MCU to interrupt the current action and send a second control signal to the load switch; The load switch is turned on according to the received second control signal to resume power supply to the optical chip.

16. The optical module according to claim 15, wherein: The first interrupt flag bit triggers an interrupt event, and the second interrupt flag bit does not trigger an interrupt event; The first interrupt flag is configured to instruct the optical module to enter the low power consumption mode; The second interrupt flag is configured to instruct the optical module to enter a high power consumption mode.

17. The optical module according to claim 14, wherein: When the first interrupt flag is generated, the priority of the MCU in responding to the low-power instruction is higher than the priority of the current action of the MCU.