Optical module and power supply voltage monitoring and compensation method of optical module
By setting the power supply gold finger and the power consumption gold finger in the optical module, and using the compensation table stored in the register for voltage compensation, the problem of voltage deviation under different power consumption modes is solved and the normal power-on operation of the optical module is ensured.
Patent Information
- Application Number
- CN202210910230.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-07-29
AI Technical Summary
The attenuation of the power supply voltage of the optical module in different power consumption modes is different, resulting in a large deviation in the monitored voltage, which affects the normal power-on operation of the optical module.
An optical module is designed, including a circuit board, slow-start MOS tube, voltage monitoring circuit and MCU. By setting the power supply gold finger and the power consumption gold finger, different voltages are connected respectively, and the compensation table stored in the register is used for voltage compensation to ensure Under different power consumption modes, the output voltage of the slow-start MOS tube is compensated accordingly and reported to the host computer.
It effectively solves the problem of large voltage monitoring deviation under different power consumption modes, ensures the stability of the power supply voltage of the optical module in different modes, and ensures the normal power-on operation of the optical module.
Smart Images

Figure CN115268329B
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to an optical module and a power supply voltage monitoring and compensation method for the optical module. Background Art
[0002] With the development of new services and application models such as cloud computing, mobile Internet, and video, the development and progress of optical communication technology has become increasingly important. In optical communication technology, optical modules are tools for realizing the mutual conversion of optical and electrical signals, and are one of the key components in optical communication equipment. In addition, with the development of optical communication technology, the transmission rate of optical modules is constantly increasing.
[0003] When the optical module is powered on, the host computer provides the power supply voltage to the optical module through the gold finger. The optoelectronic components in the optical module are powered on and started at different working voltages, so it is necessary to monitor the power supply voltage value provided by the gold finger. The optical module currently has two working modes, low power mode and high power mode. Since the power supply current of the optical module is different in low power mode and high power mode, the attenuation of the monitored power supply voltage is different, resulting in a large deviation in the monitored voltage, which affects the power-on operation of the optical module. Summary of the invention
[0004] The embodiments of the present application provide an optical module and a power supply voltage monitoring and compensation method for the optical module to solve the problem of large power supply voltage monitoring deviation of the optical module due to different voltage attenuation amounts in different power consumption modes.
[0005] In a first aspect, the present application provides an optical module, including:
[0006] A circuit board is provided with gold fingers, the gold fingers comprising a power supply gold finger and a power consumption gold finger, the power supply gold finger is connected to a power supply voltage, the power consumption gold finger is connected to a first voltage and a second voltage in a time-sharing manner, and the first voltage is greater than the second voltage;
[0007] A slow-start MOS tube is arranged on the circuit board and is electrically connected to the power supply gold finger;
[0008] A voltage monitoring circuit, connected to the slow-start MOS tube, for monitoring the output voltage of the slow-start MOS tube;
[0009] MCU, arranged on the circuit board, connected with the slow-start MOS tube, the power consumption gold finger, and the voltage monitoring circuit; comprising a first register, a second register, and a third register, wherein the first register stores a first voltage compensation table, the second register stores a second voltage compensation table, and the third register is connected to the gold finger through an IIC communication bus;
[0010] When the power consumption gold finger is connected to the first voltage, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the first voltage compensation table from the first register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the first voltage compensation table, and stores the compensated voltage in the third register for reporting;
[0011] When the power consumption gold finger is connected to the second voltage, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the second voltage compensation table from the second register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and stores the compensated voltage in the third register for reporting.
[0012] In a second aspect, the present application provides a power supply voltage monitoring and compensation method for an optical module, which is applied to the optical module described in the first aspect, and the method includes:
[0013] Collect the output voltage of the slow-start MOS tube connected to the power supply gold finger;
[0014] Connecting the power consumption gold finger to the first voltage and the second voltage in a time-sharing manner;
[0015] Detecting the voltage connected to the power consumption gold finger;
[0016] When the power consumption gold finger is connected to the first voltage, the MCU obtains the output voltage of the slow-start MOS tube, obtains the first voltage compensation table from the first register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the first voltage compensation table, and reports the compensated voltage;
[0017] When the power consumption gold finger is connected to the second voltage, the MCU obtains the output voltage of the slow-start MOS tube, obtains the second voltage compensation table from the second register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and reports the compensated voltage.
[0018] It can be seen from the above embodiments that the optical module provided in the embodiments of the present application includes a circuit board, a slow-start MOS tube, a voltage monitoring circuit and an MCU. A gold finger is arranged on the circuit board, and the gold finger includes a power supply gold finger and a power consumption gold finger. The power supply gold finger is connected to the power supply voltage, and the power consumption gold finger is connected to the first voltage and the second voltage in a time-sharing manner. The first voltage is greater than the second voltage, so as to inform the power consumption mode of the optical module through the first voltage and the second voltage. For example, when the power consumption gold finger is connected to the first voltage, the MCU is informed that the optical module is in a high power consumption mode, and when the power consumption gold finger is connected to the second voltage, the MCU is informed that the optical module is in a low power consumption mode; the slow-start MOS tube is arranged on the circuit board, and The power supply gold finger is electrically connected to perform slow start of the electronic components in the optical module to prevent the electronic components from overshooting when powered on; the voltage monitoring circuit is connected to the slow start MOS tube to monitor the output voltage of the slow start MOS tube. Since the power supply current of the optical module is different in different power consumption modes, the voltage attenuation caused by the slow start MOS tube is different, so it is necessary to monitor the output voltage of the slow start MOS tube; the MCU is set on the circuit board and is electrically connected to the slow start MOS tube for power-on startup; the MCU is connected to the power consumption gold finger to determine the power consumption mode according to the voltage connected to the power consumption gold finger, so as to control the switch of the electronic components in the optical module according to the power consumption mode; M The CU is connected to the voltage monitoring circuit to obtain the output voltage of the slow-start MOS tube; the MCU also includes a first register, a second register and a third register, the first register stores a first voltage compensation table, and the first voltage compensation table corresponds to the voltage attenuation in the high power consumption mode; the second register stores a second voltage compensation table, and the second voltage compensation table corresponds to the voltage attenuation in the low power consumption mode; in this way, when the power consumption gold finger is connected to the first voltage, the optical module is in the high power consumption mode, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the first voltage compensation table from the first register, and performs the slow-start MOS according to the first voltage compensation table. The output voltage of the slow-start MOS tube is voltage compensated, and the compensated voltage is stored in the third register; when the power consumption gold finger is connected to the second voltage, the optical module is in low power consumption mode, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the second voltage compensation table from the second register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and stores the compensated voltage in the third register; after storing the compensated voltage in the third register, the host computer can read the compensated voltage value from the third register through the IIC communication bus to determine the power supply voltage value provided to the optical module by the host computer through the power supply gold finger.In the present application, the electronic components that need to be powered on and started are electrically connected to the power supply gold finger through a slow-start MOS tube, the output voltage of the slow-start MOS tube is monitored, and the output voltage of the slow-start MOS tube is compensated accordingly when the optical module is in different power consumption modes, and the compensated voltage is reported to the host computer to determine the power supply voltage provided by the host computer to the optical module, thereby ensuring the power supply voltage provided to the optical module, so that the optical module can be powered on and work normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present disclosure, the following briefly introduces the drawings required to be used in some embodiments of the present disclosure. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings. In addition, the drawings described below can be regarded as schematic diagrams, and are not limitations on the actual size of the product involved in the embodiments of the present disclosure, the actual process of the method, the actual timing of the signal, etc.
[0020] Figure 1 is a connection relationship diagram of an optical communication system according to some embodiments;
[0021] Figure 2 is a structural diagram of an optical module according to some embodiments;
[0022] Figure 3 is a schematic structural diagram of an optical module according to some embodiments;
[0023] Figure 4 is a partially exploded schematic diagram of an optical module according to some embodiments;
[0024] Figure 5 A schematic diagram of the structure of a circuit board in an optical module provided in an embodiment of the present application;
[0025] Figure 6 A principle framework of MCU voltage compensation in an optical module provided in an embodiment of the present application Figure 1 ;
[0026] Figure 7 A structural frame of a circuit board in an optical module provided in an embodiment of the present application Figure 1 ;
[0027] Figure 8 A principle framework of MCU voltage compensation in an optical module provided in an embodiment of the present application Figure 2 ;
[0028] Fig. 9 A structural frame of a circuit board in an optical module provided in an embodiment of the present application Figure 2 ;
[0029] Fig.10 A flow chart of a method for monitoring and compensating the power supply voltage of an optical module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] 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 described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present disclosure.
[0031] In an optical communication system, light signals are used to carry information to be transmitted, and the light signals carrying information are transmitted to information processing equipment such as computers through information transmission equipment such as optical fibers or optical waveguides to complete the transmission of information. Since light has passive transmission characteristics when transmitted through optical fibers or optical waveguides, low-cost and low-loss information transmission can be achieved. In addition, the signals transmitted by information transmission equipment such as optical fibers or optical waveguides are optical signals, while the signals that can be recognized and processed by information processing equipment such as computers are electrical signals. Therefore, in order to establish an information connection between information transmission equipment such as optical fibers or optical waveguides and information processing equipment such as computers, it is necessary to realize the mutual conversion between electrical signals and optical signals.
[0032] Optical modules realize the above-mentioned mutual conversion function between optical signals and electrical signals in the field of optical communication technology. Optical modules include optical ports and electrical ports. Optical modules realize optical communication with information transmission equipment such as optical fibers or optical waveguides through the optical ports, and realize electrical connection with optical network terminals (for example, optical modems) through the electrical ports. The electrical connection is mainly used for power supply, I2C signal transmission, data information transmission, and grounding. The optical network terminal transmits electrical signals to information processing equipment such as computers through network cables or wireless fidelity technology (Wi-Fi).
[0033] Figure 1 This is a connection diagram of the optical communication system. Figure 1 As shown, the optical communication system includes a remote server 1000 , a local information processing device 2000 , an optical network terminal 100 , an optical module 200 , an optical fiber 101 and a network cable 103 .
[0034] One end of the optical fiber 101 is connected to the remote server 1000, and the other end is connected to the optical network terminal 100 through the optical module 200. The optical fiber itself can support long-distance signal transmission, such as signal transmission of several kilometers (6 kilometers to 8 kilometers). On this basis, if a repeater is used, infinite distance transmission can be achieved in theory. Therefore, in a common optical communication system, the distance between the remote server 1000 and the optical network terminal 100 can usually reach several kilometers, tens of kilometers or hundreds of kilometers.
[0035] One end of the network cable 103 is connected to the local information processing device 2000, and the other end is connected to the optical network terminal 100. The local information processing device 2000 can be any one or more of the following devices: a router, a switch, a computer, a mobile phone, a tablet computer, a television, etc.
[0036] The physical distance between the remote server 1000 and the optical network terminal 100 is greater than the physical distance between the local information processing device 2000 and the optical network terminal 100. The connection between the local information processing device 2000 and the remote server 1000 is completed by the optical fiber 101 and the network cable 103; and the connection between the optical fiber 101 and the network cable 103 is completed by the optical module 200 and the optical network terminal 100.
[0037] The optical module 200 includes an optical port and an electrical port. The optical port is configured to be connected to the optical fiber 101, so that the optical module 200 establishes a bidirectional optical signal connection with the optical fiber 101; the electrical port is configured to be connected to the optical network terminal 100, so that the optical module 200 establishes a bidirectional electrical signal connection with the optical network terminal 100. The optical module 200 realizes the mutual conversion between optical signals and electrical signals, so that an information connection is established between the optical fiber 101 and the optical network terminal 100. For example, the optical signal from the optical fiber 101 is converted into an electrical signal by the optical module 200 and then input into the optical network terminal 100, and the electrical signal from the optical network terminal 100 is converted into an optical signal by the optical module 200 and input into the optical fiber 101. Since the optical module 200 is a tool for realizing the mutual conversion between optical signals and electrical signals and does not have the function of processing data, the information does not change in the above-mentioned photoelectric conversion process.
[0038] The optical network terminal 100 includes a housing that is roughly in the shape of a rectangular parallelepiped, and an optical module interface 102 and a network cable interface 104 that are arranged on the housing. The optical module interface 102 is configured to access the optical module 200, so that the optical network terminal 100 establishes a bidirectional electrical signal connection with the optical module 200; the network cable interface 104 is configured to access the network cable 103, so that the optical network terminal 100 establishes a bidirectional electrical signal connection with the network cable 103. The optical module 200 and the network cable 103 are connected through the optical network terminal 100. For example, the optical network terminal 100 transmits the electrical signal from the optical module 200 to the network cable 103, and transmits the electrical signal from the network cable 103 to the optical module 200. Therefore, the optical network terminal 100, as the host computer of the optical module 200, can monitor the operation of the optical module 200. In addition to the optical network terminal 100, the host computer of the optical module 200 can also include an optical line terminal (Optical Line Terminal, OLT) and the like.
[0039] The remote server 1000 establishes a bidirectional signal transmission channel with the local information processing device 2000 through the optical fiber 101 , the optical module 200 , the optical network terminal 100 and the network cable 103 .
[0040] Figure 2 2 is a structural diagram of an optical network terminal, in order to clearly show the connection relationship between the optical module 200 and the optical network terminal 100, Figure 2 Only the structure of the optical network terminal 100 related to the optical module 200 is shown. Figure 2 As shown, the optical network terminal 100 further includes a circuit board 105 disposed in the housing, a cage 106 disposed on the surface of the circuit board 105, a heat sink 107 disposed on the cage 106, and an electrical connector disposed inside the cage 106. The electrical connector is configured to access the electrical port of the optical module 200; the heat sink 107 has protrusions such as fins that increase the heat dissipation area.
[0041] The optical module 200 is inserted into the cage 106 of the optical network terminal 100, and the cage 106 fixes the optical module 200. The heat generated by the optical module 200 is transferred to the cage 106 and then diffused through the heat sink 107. After the optical module 200 is inserted into the cage 106, the electrical port of the optical module 200 is connected to the electrical connector inside the cage 106, so that the optical module 200 and the optical network terminal 100 establish a bidirectional electrical signal connection. In addition, the optical port of the optical module 200 is connected to the optical fiber 101, so that the optical module 200 and the optical fiber 101 establish a bidirectional optical signal connection.
[0042] Figure 3 is a structural diagram of an optical module according to some embodiments, Figure 4 FIG. 1 is an exploded view of an optical module according to some embodiments. Figure 3 , Figure 4 As shown, the optical module 200 includes a shell, a circuit board 300 and an optical transceiver assembly disposed in the shell.
[0043] The shell comprises an upper shell 201 and a lower shell 202 . The upper shell 201 covers the lower shell 202 to form the above shell with two openings. The outer contour of the shell is generally a square body.
[0044] In some embodiments of the present disclosure, the lower shell 202 includes a bottom plate and two lower side plates located on both sides of the bottom plate and arranged perpendicular to the bottom plate; the upper shell 201 includes a cover plate, which is covered on the two lower side plates of the lower shell 202 to form the above-mentioned shell.
[0045] In some embodiments, the lower shell 202 includes a bottom plate and two lower side plates located on both sides of the bottom plate and arranged perpendicularly to the bottom plate; the upper shell 201 includes a cover plate and two upper side plates located on both sides of the cover plate and arranged perpendicularly to the cover plate, and the two upper side plates are combined with the two lower side plates to achieve the upper shell 201 covering the lower shell 202.
[0046] The direction of the line connecting the two openings 204 and 205 may be consistent with the length direction of the optical module 200, or may be inconsistent with the length direction of the optical module 200. For example, the opening 204 is located at the end of the optical module 200 ( Figure 3 The opening 205 is also located at the end of the optical module 200 ( Figure 3 Alternatively, the opening 204 is located at the end of the optical module 200, and the opening 205 is located at the side of the optical module 200. The opening 204 is an electrical port, and the gold finger 301 of the circuit board 300 extends from the electrical port and is inserted into the host computer (for example, the optical network terminal 100); the opening 205 is an optical port, which is configured to access the external optical fiber 101 so that the external optical fiber 101 is connected to the optical transceiver component inside the optical module 200.
[0047] The upper housing 201 and the lower housing 202 are combined to facilitate installation of components such as the circuit board 300 and the optical transceiver assembly into the housing, and these components are packaged and protected by the upper housing 201 and the lower housing 202. In addition, when assembling components such as the circuit board 300 and the optical transceiver assembly, it is convenient to deploy the positioning components, heat dissipation components, and electromagnetic shielding components of these components, which is conducive to automated production.
[0048] In some embodiments, the upper shell 201 and the lower shell 202 are generally made of metal materials, which is conducive to electromagnetic shielding and heat dissipation.
[0049] In some embodiments, the optical module 200 further includes an unlocking component 203 located outside its housing, and the unlocking component 203 is configured to achieve a fixed connection between the optical module 200 and the host computer, or to release the fixed connection between the optical module 200 and the host computer.
[0050] For example, the unlocking component 203 is located on the outer wall of the two lower side plates of the lower housing 202, and has a snap-fit component that matches the cage of the host computer (for example, the cage 106 of the optical network terminal 100). When the optical module 200 is inserted into the cage of the host computer, the snap-fit component of the unlocking component 203 fixes the optical module 200 in the cage of the host computer; when the unlocking component 203 is pulled, the snap-fit component of the unlocking component 203 moves accordingly, thereby changing the connection relationship between the snap-fit component and the host computer, so as to release the snap-fit relationship between the optical module 200 and the host computer, so that the optical module 200 can be pulled out of the cage of the host computer.
[0051] The circuit board 300 includes circuit traces, electronic components and chips, and the electronic components and chips are connected together according to the circuit design through the circuit traces to realize functions such as power supply, electrical signal transmission and grounding. Electronic components include, for example, capacitors, resistors, transistors, and metal-oxide-semiconductor field-effect transistors (MOSFET). Chips include, for example, microcontroller units (MCU), laser driver chips, limiting amplifiers, clock and data recovery (CDR) chips, power management chips, and digital signal processing (DSP) chips.
[0052] 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; when the optical transceiver component is located on the circuit board, the rigid circuit board can also provide stable bearing; the rigid circuit board can also be inserted into the electrical connector in the upper computer cage.
[0053] The circuit board 300 also includes a gold finger 301 formed on the end surface thereof. 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 provided on only one side of the circuit board 300 (e.g. Figure 4 The gold finger 301 is configured to establish an electrical connection with the host computer to realize power supply, grounding, I2C signal transmission, data signal transmission, etc.
[0054] Of course, some optical modules also use flexible circuit boards. Flexible circuit boards are generally used in conjunction with rigid circuit boards to supplement rigid circuit boards. For example, a flexible circuit board can be used to connect a rigid circuit board to an optical transceiver component.
[0055] The optical transceiver component may include an optical transmitting component 400 and an optical receiving component 500. The optical transmitting component 400 is connected to the circuit board 300. For example, a laser driving chip is provided on the circuit board 300. One end of the laser driving chip can be electrically connected to the gold finger 301, and the other end of the laser driving chip can be connected to the laser in the optical transmitting component 400 to drive the laser to generate an optical signal to achieve electrical-optical conversion; the optical receiving component 500 is connected to the circuit board 300, and the optical receiving component 500 converts the optical signal transmitted by the external optical fiber into an electrical signal, and the electrical signal is transmitted to the gold finger 301 through wiring to achieve photoelectric conversion.
[0056] When the optical module is powered on, the host computer provides the power supply voltage to the optical module through the gold finger. The optoelectronic components in the optical module are powered on and started at different working voltages, so it is necessary to monitor the power supply voltage value provided by the gold finger. At present, the protocol has two working modes for optical modules, namely low power mode and high power mode, and the power consumption in low power mode is required to be less than 1.5W. Since the power supply current of the optical module is different in low power mode and high power mode, the attenuation of the monitored power supply voltage is different, resulting in a large deviation in the monitored voltage, which causes the power supply voltage provided by the host computer to the optical module through the gold finger to deviate, affecting the power-on operation of the optical module.
[0057] In order to solve the above problems, the present application performs voltage compensation on the supply voltage monitored by the optical module under different power consumptions to compensate for the different attenuation of the optical module under different power consumptions, thereby solving the problem of large voltage monitoring deviation caused by different attenuation under different power consumption modes.
[0058] Figure 5 This is a schematic diagram of the partial structure of the circuit board in the optical module provided in the embodiment of the present application. Figure 5 As shown, in the optical module provided in the embodiment of the present application, the gold finger 301 set on the circuit board 300 includes a power supply gold finger 302 and a power consumption gold finger 303. The power supply gold finger 302 is connected to the power supply voltage provided by the host computer, and the power consumption gold finger 303 is connected to the first voltage and the second voltage in a time-sharing manner. The first voltage is greater than the second voltage, and the power consumption gold finger 303 informs the optical module that it is in high power consumption mode or low power consumption mode according to the connected voltage. In this way, when the power consumption gold finger 303 is connected to the first voltage, it informs the optical module that it is in high power consumption mode; when the power consumption gold finger 303 is connected to the second voltage, it informs the optical module that it is in low power consumption mode.
[0059] In some embodiments, when the power consumption golden finger 303 is connected to the first voltage, it indicates that the optical module is in high power consumption mode, and the first voltage is 3.3V; when the power consumption golden finger 303 is connected to the second voltage, it indicates that the optical module is in low power consumption mode, and the second voltage is 0-3V.
[0060] Since the optoelectronic components in the optical module are powered on and started at different operating voltages, in order to determine the power supply voltage connected to the power supply gold finger 302, it is necessary to monitor the operating voltages of different optoelectronic components through a monitoring circuit, and then report the operating voltage to the host computer to determine the power supply voltage by feedback of the operating voltage of the optoelectronic components.
[0061] In some embodiments, for hot-swappable modules or systems, a load power-on slow-start circuit needs to be added to the power input port. The slow-start circuit is an important component of the power supply and is the interface circuit between the external power supply and the internal functional module. It can alleviate the impact on the internal circuit at the moment of power-on, and at the same time filter the noise of the external power supply to enable the internal functional module to work reliably.
[0062] Currently, the commonly used slow-start circuit is a slow-start MOS tube (Metal-Oxide-Semiconductor Field Effect Transistor). After power-on, the power supply charges the MOS tube until the MOS tube reaches the threshold voltage and turns on, turning on the circuit. The slow-start delay time is the time it takes for the power supply charge to reach the MOS turn-on threshold, so that the power supply can slowly power on and start the internal circuit.
[0063] In this way, in order to prevent the electronic components in the optical module from overshooting when powered on, the optical module generally includes a slow-start MOS tube, one end of which is electrically connected to the power supply gold finger 302, and the other end of which is electrically connected to the electronic components. In this way, the power supply voltage connected to the power supply gold finger 302 passes through the slow-start MOS tube to power on the electronic components.
[0064] Since the output voltage of the slow-start MOS tube is the same as the power supply voltage of the electronic components, in order to monitor the power supply voltage of the electronic components, the output voltage of the slow-start MOS tube can be monitored. Therefore, the optical module also includes a voltage monitoring circuit, which is connected to the slow-start MOS tube and is used to monitor the output voltage of the slow-start MOS tube to obtain the power supply voltage of the electronic components.
[0065] An MCU310 is also provided on the circuit board 300. The MCU310 is electrically connected to the power supply gold finger 302 through a slow-start MOS tube, so that the MCU310 is powered on and started; the power consumption gold finger 303 is connected to the MCU310 of the optical module to transmit a power consumption identifier to the MCU310 according to the voltage connected to the power consumption gold finger 303. The MCU310 controls the switching of the optoelectronic components in the optical module according to the power consumption identifier, so that the optical module is in a corresponding power consumption mode.
[0066] For example, when the power consumption golden finger 303 is connected to the first voltage, it means that the host computer informs the optical module that it should be in high power consumption mode. At this time, MCU310 is connected to the high power consumption mark transmitted by the power consumption golden finger 303, and MCU310 controls all related optoelectronic components to start, so that the optical module is in high power consumption mode; when the power consumption golden finger 303 is connected to the second voltage, it means that the host computer informs the optical module that it should be in low power consumption mode. At this time, MCU310 is connected to the low power consumption mark transmitted by the power consumption golden finger 303, and MCU310 controls all related optoelectronic components to turn off, and the output voltage of the electrical components is 0, so that the optical module is in low power consumption mode.
[0067] In order to perform voltage compensation on the power supply voltage of the optical module in different power consumption modes, MCU310 includes a first register and a second register. The first register stores a first voltage compensation table, which corresponds to the voltage attenuation in the high power consumption mode; the second register stores a second voltage compensation table, which corresponds to the voltage attenuation in the low power consumption mode.
[0068] In this way, when the power consumption gold finger 303 is connected to the first voltage, it means that the optical module is in high power consumption mode. At this time, MCU310 obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the first voltage compensation table from the first register, and performs voltage compensation on the output voltage of the slow-start MOS tube according to the first voltage compensation table, and reports the compensated voltage to the host computer.
[0069] When the power consumption gold finger 303 is connected to the second voltage, it means that the optical module is in low power consumption mode. At this time, MCU310 obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the second voltage compensation table from the second register, and performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and reports the compensated voltage to the host computer.
[0070] Since the host computer is an active device and the optical module is a slave device, that is, the host computer can send information to the optical module and read information from the optical module, while the optical module can only receive information from the host computer and cannot actively send information to the host computer. Therefore, in order to report the compensated voltage to the host computer, MCU310 also includes a third register, which is used to store the compensated supply voltage value, and the third register is connected to the host computer through the IIC communication bus. In this way, the host computer can read the compensated voltage value from the third register through the IIC communication bus to report the compensated supply voltage value to the host computer, so that the host computer determines the supply voltage provided to the optical module, thereby ensuring the supply voltage provided to the optical module by the host computer, so that the optical module can be powered on normally.
[0071] However, when monitoring the output voltage of the slow-start MOS tube to monitor the working voltage of the electronic components connected to the slow-start MOS tube, a voltage monitoring circuit needs to be set in the optical module, which increases the number of electrical components in the optical module and makes the structure of the optoelectronic components in the optical module complicated. The MCU can monitor its own power supply voltage and can obtain the MCU's power supply voltage without setting up an additional voltage monitoring circuit. Therefore, the power supply voltage provided by the host computer can be directly determined by feeding back the MCU's power supply voltage, thereby reducing the number of optoelectronic components in the optical module.
[0072] Figure 6 The principle framework of MCU voltage compensation in the optical module provided in the embodiment of the present application Figure 1 , Figure 7 The structural frame of the circuit board in the optical module provided in the embodiment of the present application Figure 1 .like Figure 6 , Figure 7 As shown, MCU310 is electrically connected to the power supply gold finger 302 through a slow-start MOS tube, and MCU310 is signal-connected to the power consumption gold finger 303. The power supply voltage connected to the power supply gold finger 302 powers on the MCU310 after a delay through the slow-start MOS tube. At the same time, the power consumption gold finger 303 informs the optical module that it is in high power consumption or low power consumption mode according to the connected first voltage or second voltage.
[0073] In order to monitor the power supply voltage of MCU310 itself, MCU310 also includes a sampling circuit, which is used to collect the power supply voltage of MCU310, that is, the power supply voltage transmitted to MCU310 by the power supply gold finger 302 via the slow-start MOS tube. Due to the attenuation of the line voltage, the power supply voltage of MCU310 is less than the power supply voltage connected to the power supply gold finger 302, so the power supply voltage reaching MCU310 is collected through the sampling circuit.
[0074] After the power supply voltage of MCU310 is collected by the sampling circuit, due to the attenuation of the line voltage, the power supply voltage of MCU310 is lower than the power supply voltage connected to the power supply gold finger 302. Therefore, in order to obtain the power supply voltage value connected to the power supply gold finger 302, it is necessary to perform voltage compensation on the power supply voltage of MCU310 to reduce the impact of line voltage attenuation on the power supply voltage.
[0075] Since the power supply current of the optical module is different when it is in low power mode and high power mode, the attenuation of the line voltage is different, so that the monitored MCU310 power supply voltage has deviation when the optical module is in low power mode and high power mode. In order to solve the problem of large voltage monitoring deviation due to different attenuation in the two modes, when the optical module is in high power mode, MCU310 can obtain the first voltage compensation table from the first register, and perform voltage compensation on the collected MCU310 power supply voltage according to the first voltage compensation table to compensate for the voltage attenuation in high power mode.
[0076] When the optical module is in low power mode, MCU310 can obtain a second voltage compensation table from the second register, and perform voltage compensation on the collected power supply voltage of MCU310 according to the second voltage compensation table to compensate for voltage attenuation in low power mode.
[0077] When the optical module is in low power mode or high power mode, the attenuation of the slow-start MOS tube is different. Specifically, when the optical module is in high power mode, due to the high power consumption at this time, the attenuation of the slow-start MOS tube is large, and the power supply voltage reaching MCU310 has a large deviation from the power supply voltage connected to the power supply gold finger 302, such as a voltage deviation of 0.6 to 0.7V. The voltage deviation can be compensated by the voltage value of the first voltage compensation table, that is, the voltage compensation value in the first voltage compensation table is 0.6 to 0.7V.
[0078] When the optical module is in low power mode, due to the low power consumption at this time, the attenuation of the slow start MOS tube is small, and the power supply voltage reaching the MCU310 has a small deviation from the power supply voltage connected to the power supply gold finger 302, such as a voltage deviation of 0 to 0.1 V. The voltage deviation can be compensated by the voltage value of the second voltage compensation table, that is, the voltage compensation value in the second voltage compensation table is 0 to 0.1 V.
[0079] In some embodiments, the power supply voltage provided by the host computer to the optical module is usually 3.3V, that is, the power supply voltage connected to the power supply gold finger 302 is generally 3.3V, and the power supply voltage can be adjusted by feedback of the compensated MCU power supply voltage.
[0080] In some embodiments, the voltage compensation value in the first voltage compensation table may be greater than or less than the voltage attenuation of the optical module in high power consumption mode, and the voltage compensation value in the second voltage compensation table may be greater than or less than the voltage attenuation of the optical module in low power consumption mode. The present application allows a deviation value of 3%. In this way, when the power supply voltage provided by the host computer is 3.3V, the voltage value of the power supply voltage of MCU310 after compensation can be 3.2~3.4V.
[0081] In some embodiments, the supply current in the optical module is not only affected by the power consumption mode, but also by the ambient temperature in the optical module, that is, the power consumption mode and ambient temperature of the optical module will affect the attenuation of the line voltage in the optical module. Therefore, when compensating the supply voltage of MCU310, the influence of the ambient temperature must also be considered.
[0082] Figure 8 The principle framework of MCU voltage compensation in the optical module provided in the embodiment of the present application Figure 2 , Fig. 9 The structural frame of the circuit board in the optical module provided in the embodiment of the present application Figure 2 .like Figure 8 , Fig. 9 As shown, MCU310 is electrically connected to the power supply gold finger 302 through a slow-start MOS tube, and MCU310 is signal-connected to the power consumption gold finger 303. The power supply voltage connected to the power supply gold finger 302 powers on the MCU310 after a delay through the slow-start MOS tube. At the same time, the power consumption gold finger 303 informs MCU310 that the optical module is in high power consumption mode or low power consumption mode according to the connected first voltage or second voltage.
[0083] Since the ambient temperature in the optical module affects the attenuation of the line voltage, the MCU310 also includes a temperature sensor, which is used to collect the ambient temperature. The first register stores a first temperature-voltage compensation table, which stores the first voltage compensation values corresponding to the high power consumption mode and different ambient temperatures; the second register stores a second temperature-voltage compensation table, which stores the second voltage compensation values corresponding to the low power consumption mode and different ambient temperatures.
[0084] In some embodiments, when the optical module is in high power consumption mode, the first voltage compensation value in the first temperature voltage compensation table is set in one-to-one correspondence with the ambient temperature, that is, under different ambient temperatures, the first voltage compensation value in the first temperature voltage compensation table may be different, and MCU310 needs to perform corresponding voltage compensation on the collected power supply voltage according to the ambient temperature.
[0085] When the optical module is in low power consumption mode, the second voltage compensation value in the second temperature voltage compensation table is set in one-to-one correspondence with the ambient temperature, that is, the second voltage compensation value in the second temperature voltage compensation table may be different at different ambient temperatures. MCU310 needs to perform corresponding voltage compensation on the collected power supply voltage according to the ambient temperature.
[0086] In some embodiments, when the ambient temperature inside the optical module remains unchanged and the optical module is in different power consumption modes, the first voltage compensation value in the first temperature voltage compensation table is different from the second voltage compensation value in the second temperature voltage compensation table, and MCU310 needs to perform corresponding voltage compensation on the collected supply voltage according to the power consumption mode.
[0087] After the collected power supply voltage of MCU310 is voltage compensated by the first voltage compensation value or the second voltage compensation value, the compensated power supply voltage needs to be reported to the host computer. The host computer determines the power supply voltage to be provided based on the reported power supply voltage, thereby maintaining the power supply voltage provided to the optical module to ensure that the optical module is powered on and works normally.
[0088] The optical module provided in the embodiment of the present application includes a circuit board and an MCU. A gold finger is arranged on the circuit board. The gold finger includes a power supply gold finger and a power consumption gold finger. The power supply gold finger is connected to the power supply voltage, and the power consumption gold finger is connected to the first voltage and the second voltage in a time-sharing manner to inform the optical module that it is in a high power consumption mode or a low power consumption mode. For example, when the power consumption gold finger is connected to the first voltage, the MCU is informed that the optical module is in a high power consumption mode. When the power consumption gold finger is connected to the second voltage, the MCU is informed that the optical module is in a low power consumption mode. The MCU is arranged on the circuit board. The MCU is electrically connected to the power supply gold finger through a slow-start MOS tube to access the power supply voltage transmitted by the power supply gold finger so that the MCU is powered on and started. The MCU is connected to the power consumption gold finger to put the optical module in different power consumption modes according to the voltage connected to the power consumption gold finger. For example, when the power consumption gold finger is connected to the first voltage, the MCU is informed that the optical module is in a high power consumption mode. When the power consumption gold finger is connected to the second voltage, the MCU is informed that the optical module is in a low power consumption mode. The MCU also includes a sampling circuit, a first register, a second register and a third register. The sampling circuit is used to collect the power supply voltage of the MCU. Due to the different power supply currents in different power consumption modes, the voltage The attenuation amount is different, so that the collected MCU power supply voltage is less than the power supply voltage connected to the power supply gold finger; the first register stores a first voltage compensation table, and the first voltage compensation table corresponds to the voltage attenuation in the high power consumption mode; the second register stores a second voltage compensation table, and the second voltage compensation table corresponds to the voltage attenuation in the low power consumption mode; in this way, when the power consumption gold finger is connected to the first voltage, the optical module is in the high power consumption mode, the MCU obtains the first voltage compensation table from the first register, and performs voltage compensation on the collected MCU power supply voltage according to the first voltage compensation table; when the power consumption gold finger is connected to the second voltage, the optical module is in the low power consumption mode, the MCU obtains the second voltage compensation table from the second register, and performs voltage compensation on the collected MCU power supply voltage according to the second voltage compensation table; after the MCU performs corresponding voltage compensation on the collected MCU power supply voltage according to the power consumption mode, the compensated power supply voltage is stored in the third register, the third register is connected to the host computer through the IIC communication bus, and the host computer can read the compensated power supply voltage value from the third register through the IIC communication bus to determine the power supply voltage value provided to the optical module by the host computer through the power supply gold finger. The present application monitors the power supply voltage of the MCU, and performs corresponding voltage compensation on the power supply voltage of the MCU when the optical module is in different power consumption modes. After performing corresponding voltage compensation on the power supply voltage of the MCU, the voltage is reported to the host computer to determine the power supply voltage provided by the host computer to the optical module, thereby ensuring the power supply voltage provided by the host computer to the optical module, so that the optical module can be powered on and work normally.
[0089] Based on the optical module described in the above embodiment, an embodiment of the present application also provides a power supply voltage monitoring and compensation method for an optical module. The method is applied to the optical module described in the above embodiment to solve the problem of large voltage monitoring deviation caused by different attenuation amounts of the optical module in two power consumption modes.
[0090] Fig.10 This is a flow chart of a method for monitoring and compensating the power supply voltage of an optical module provided in an embodiment of the present application. Fig.10 As shown, the power supply voltage monitoring and compensation method of the optical module provided in the present application includes:
[0091] S100: Collect the output voltage of the slow-start MOS tube connected to the power supply gold finger.
[0092] In order to prevent the electronic components in the optical module from overshooting when powered on, the optical module generally includes a slow-start MOS tube, one end of which is electrically connected to the power supply gold finger 302, and the other end of which is electrically connected to the electronic components. In this way, the power supply voltage connected to the power supply gold finger 302 passes through the slow-start MOS tube to power on the electronic components.
[0093] Since the output voltage of the slow-start MOS tube is the same as the power supply voltage of the electronic components, in order to monitor the power supply voltage of the electronic components, the output voltage of the slow-start MOS tube may be monitored.
[0094] S200: Connecting the power consumption gold finger to the first voltage and the second voltage in a time-sharing manner.
[0095] S300: Detects the voltage connected to the power consumption gold finger.
[0096] The power consumption gold finger is connected to the MCU, and the power consumption gold finger is connected to the first voltage and the second voltage in a time-sharing manner, and the first voltage is greater than the second voltage, so as to inform the MCU of the power consumption mode according to the voltage connected to the power consumption gold finger. For example, when the power consumption gold finger is connected to the first voltage, it means that the MCU needs to be in high power consumption mode; when the power consumption gold finger is connected to the second voltage, it means that the MCU needs to be in low power consumption mode.
[0097] S401: When the power consumption gold finger is connected to the first voltage, the MCU obtains the output voltage of the slow-start MOS tube and obtains the first voltage compensation table from the first register.
[0098] S402: Perform voltage compensation on the output voltage of the slow-start MOS tube according to a first voltage compensation table.
[0099] S403: Report the compensated voltage.
[0100] Since the power supply current of the optical module is different when it is in low power mode and high power mode, the attenuation of the line voltage is different, so that there is a deviation in the monitored power supply voltage when the optical module is in low power mode and high power mode. In order to solve the problem of large voltage monitoring deviation due to different attenuation in the two modes, the MCU also includes a first register and a second register. The first register stores a first voltage compensation table, which is the voltage attenuation of the optical module in the high power mode.
[0101] In this way, when the power consumption gold finger is connected to the first voltage, the optical module is in high power consumption mode. Since the power consumption is very high at this time, the attenuation of the slow start is large, and the output voltage of the slow start MOS tube deviates greatly from the actual given power supply voltage. Therefore, the MCU obtains the output voltage of the slow start MOS tube, obtains the first voltage compensation table from the first register, and performs voltage compensation on the output voltage of the slow start MOS tube according to the first voltage compensation table.
[0102] The compensated power supply voltage is reported to the host computer, and the host computer determines and adjusts the power supply voltage provided by the host computer according to the reported power supply voltage, thereby maintaining the power supply voltage provided to the optical module to ensure that the optical module is powered on and works normally.
[0103] S411: When the power consumption gold finger is connected to the second voltage, the MCU obtains the output voltage of the slow-start MOS tube and obtains the second voltage compensation table from the second register.
[0104] S412: Perform voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table.
[0105] S413: Report the compensated voltage.
[0106] The second register of the MCU stores a second voltage compensation table, which is the voltage attenuation amount when the optical module is in the low power consumption mode.
[0107] In this way, when the power consumption gold finger is connected to the second voltage, the optical module is in low power consumption mode. Due to the low power consumption at this time, the attenuation of the slow start is reduced, and the output voltage of the slow start MOS tube deviates less from the actual given power supply voltage. Therefore, the MCU obtains the output voltage of the slow start MOS tube, obtains the second voltage compensation table from the second register, and performs voltage compensation on the output voltage of the slow start MOS tube according to the second voltage compensation table.
[0108] The compensated power supply voltage is reported to the host computer, and the host computer determines and adjusts the power supply voltage provided by the host computer according to the reported power supply voltage, thereby maintaining the power supply voltage provided to the optical module to ensure that the optical module is powered on and works normally.
[0109] Since the MCU can monitor its own power supply voltage, the power supply voltage of the MCU can be obtained without setting up an additional voltage monitoring circuit. Therefore, the power supply voltage provided by the host computer can be determined directly by feeding back the power supply voltage of the MCU. When the optical module is in high power consumption mode, the MCU can obtain the first voltage compensation table from the first register, and perform voltage compensation on the collected MCU power supply voltage according to the first voltage compensation table to compensate for the voltage attenuation in the high power consumption mode; when the optical module is in low power consumption mode, the MCU can obtain the second voltage compensation table from the second register, and perform voltage compensation on the collected MCU power supply voltage according to the second voltage compensation table to compensate for the voltage attenuation in the low power consumption mode.
[0110] The present application monitors the power supply voltage of the MCU, and performs corresponding voltage compensation on the power supply voltage of the MCU through different voltage compensation tables when the optical module is in different power consumption modes. After performing corresponding voltage compensation on the power supply voltage of the MCU, the voltage is reported to the host computer to determine the power supply voltage provided by the host computer to the optical module, thereby ensuring the power supply voltage provided to the optical module, so that the optical module can be powered on and work normally.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An optical module, characterized in that: include: A circuit board is provided with gold fingers, the gold fingers comprising a power supply gold finger and a power consumption gold finger, the power supply gold finger is connected to a power supply voltage, the power consumption gold finger is connected to a first voltage and a second voltage in a time-sharing manner, and the first voltage is greater than the second voltage; A slow-start MOS tube is arranged on the circuit board and is electrically connected to the power supply gold finger; A voltage monitoring circuit, connected to the slow-start MOS tube, for monitoring the output voltage of the slow-start MOS tube; MCU, arranged on the circuit board, connected with the slow-start MOS tube, the power consumption gold finger, and the voltage monitoring circuit; comprising a first register, a second register, and a third register, wherein the first register stores a first voltage compensation table, the second register stores a second voltage compensation table, and the third register is connected to the gold finger through an IIC communication bus; When the power consumption gold finger is connected to the first voltage, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the first voltage compensation table from the first register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the first voltage compensation table, and stores the compensated voltage in the third register for reporting; When the power consumption gold finger is connected to the second voltage, the MCU obtains the output voltage of the slow-start MOS tube from the voltage monitoring circuit, obtains the second voltage compensation table from the second register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and stores the compensated voltage in the third register for reporting.
2. The optical module according to claim 1, characterized in that: The MCU further includes a sampling circuit, and the sampling circuit is used to collect the power supply voltage of the MCU; the MCU performs voltage compensation according to the power supply voltage collected by the sampling circuit and the first voltage compensation table or the second voltage compensation table.
3. The optical module according to claim 1, characterized in that: The first voltage is 3.3V, and the second voltage is 0-3V.
4. The optical module according to claim 1, characterized in that: The voltage compensation value in the first voltage compensation table is 0.6-0.7V.
5. The optical module according to claim 1, characterized in that: The voltage compensation value in the second voltage compensation table is 0-0.1V.
6. The optical module according to claim 1, characterized in that: The voltage output by the slow-start MOS tube is compensated to a voltage value of 3.2 to 3.4V.
7. The optical module according to claim 1, characterized in that: The MCU also includes a temperature sensor, which is used to collect the ambient temperature; When the power consumption golden finger is connected to the first voltage, the MCU obtains a first voltage compensation value corresponding to the ambient temperature from the first register, performs voltage compensation on the power supply voltage of the MCU according to the first voltage compensation value, and reports the compensated power supply voltage; When the power consumption gold finger is connected to the second voltage, the MCU obtains a second voltage compensation value corresponding to the ambient temperature from the second register, performs voltage compensation on the power supply voltage of the MCU according to the second voltage compensation value, and reports the compensated power supply voltage.
8. The optical module according to claim 7, characterized in that: When the power consumption golden finger is connected to the first voltage or the second voltage, the voltage compensation value in the first voltage compensation table is set in a one-to-one correspondence with the ambient temperature.
9. The optical module according to claim 7, characterized in that: When the ambient temperature remains unchanged, the voltage compensation value in the first voltage compensation table is different from the voltage compensation value in the second voltage compensation table.
10. A power supply voltage monitoring and compensation method for an optical module, characterized in that: Applied to the optical module according to any one of claims 1 to 9, the method comprising: Collect the output voltage of the slow-start MOS tube connected to the power supply gold finger; Connecting the power consumption gold finger to the first voltage and the second voltage in a time-sharing manner; Detecting the voltage connected to the power consumption gold finger; When the power consumption gold finger is connected to the first voltage, the MCU obtains the output voltage of the slow-start MOS tube, obtains the first voltage compensation table from the first register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the first voltage compensation table, and reports the compensated voltage; When the power consumption gold finger is connected to the second voltage, the MCU obtains the output voltage of the slow-start MOS tube, obtains the second voltage compensation table from the second register, performs voltage compensation on the output voltage of the slow-start MOS tube according to the second voltage compensation table, and reports the compensated voltage.
