Optical module, and temperature collection method for optical module
By designing a switching temperature sensor solution in the optical module, the accuracy of the optical module collects working temperature when the temperature changes is solved, and the signal conversion efficiency and equipment stability are improved.
Patent Information
- Application Number
- PCT/CN2024/084448
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-13
- Filing Date
- 2024-03-28
- Publication Date
- 2025-06-19
AI Technical Summary
In optical communication technology, it is difficult for existing optical modules to accurately collect the working temperature, especially when the temperature changes, resulting in a decrease in signal conversion efficiency and equipment stability affected.
An optical module is designed, including a circuit board, a first temperature sensor and a microcontroller unit, and the microcontroller unit has a second temperature sensor built-in. By judging the source of the collected data of the current operating temperature and switching the use of the temperature sensor according to the preset threshold, the second collected data is calibrated to determine the current operating temperature of the optical module.
It realizes more accurately collecting the working temperature of the optical module under different temperature conditions, improves signal conversion efficiency and equipment stability, and reduces the error of temperature acquisition data.
Smart Images

Figure CN2024084448_19062025_PF_FP_ABST
Abstract
Description
Optical module and optical module temperature collection method
[0001] This application claims priority from application number 202311713773.X filed with the China Patent Office on December 13, 2023; the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of optical communication technology, and in particular to an optical module and a temperature collection method for the optical module. Background Art
[0003] 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.
[0004] Summary of the Invention
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an optical module, including:
[0006] A circuit board is provided with a first temperature sensor and a microcontroller unit, wherein the microcontroller unit has a built-in second temperature sensor; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than that of the second temperature sensor;
[0007] The microcontroller unit is configured as follows:
[0008] Determine a source of collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module;
[0009] When the source of the collected data of the current operating temperature is the first temperature sensor, determining a difference between the third collected data and the first preset threshold;
[0010] When the third collected data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; when the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data;
[0011] Acquire the compensation value and second collected data from the second temperature sensor;
[0012] The second acquired data is calibrated based on the compensation value, and the third acquired data is updated with the calibrated second acquired data to determine the current operating temperature of the optical module; the compensation value is the difference between the first acquired data and the second acquired data at the first preset threshold; the first preset threshold is the value corresponding to the operating temperature of the optical module when the difference between the first acquired data and the second acquired data is the smallest.
[0013] According to a second aspect of the present disclosure, an optical module is provided, including:
[0014] A circuit board is provided with a first temperature sensor and a microcontroller unit, wherein the microcontroller unit has a built-in second temperature sensor; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than that of the second temperature sensor;
[0015] The microcontroller unit is configured as follows:
[0016] Determine a source of collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module;
[0017] When the source of the collected data of the current operating temperature is the first temperature sensor, determining a difference between the third collected data and the first preset threshold;
[0018] When the third collected data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; when the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data;
[0019] Acquire the compensation value and second collected data from the second temperature sensor;
[0020] The second collected data is calibrated based on the compensation value, and the third collected data is updated with the calibrated second collected data to determine the current operating temperature of the optical module; the compensation value is the difference between the first collected data and the second collected data at a first preset threshold; the first preset threshold is the value corresponding to the operating temperature of the optical module when the difference between the first collected data and the collected data is minimum;
[0021] In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the difference between the current third collected data and the second preset threshold; the second preset threshold is greater than the first preset threshold;
[0022] When the current third collected data is less than the second preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collection data; and the current third collected data is updated with the calibrated second collected data; when the current third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collection data.
[0023] According to a third aspect of an embodiment of the present disclosure, a method for collecting temperature of an optical module is provided, where the optical module includes:
[0024] A circuit board is provided with a first temperature sensor and a microcontroller unit, wherein the microcontroller unit has a built-in second temperature sensor; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than that of the second temperature sensor;
[0025] The method includes:
[0026] Determine a source of collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module;
[0027] When the source of the collected data of the current operating temperature is the first temperature sensor, determining a difference between the third collected data and the first preset threshold;
[0028] When the third collected data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; when the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data;
[0029] Acquire the compensation value and second collected data from the second temperature sensor;
[0030] The second acquired data is calibrated based on the compensation value, and the third acquired data is updated with the calibrated second acquired data to determine the current operating temperature of the optical module; the compensation value is the difference between the first acquired data and the second acquired data at the first preset threshold; the first preset threshold is the value corresponding to the operating temperature of the optical module when the difference between the first acquired data and the acquired data is the smallest. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] FIG1 is a partial structural diagram of an optical communication system provided according to some embodiments of the present disclosure;
[0032] FIG2 is a partial structural diagram of a host computer provided according to some embodiments of the present disclosure;
[0033] FIG3 is a structural diagram of an optical module provided according to some embodiments of the present disclosure;
[0034] FIG4 is an exploded view of an optical module according to some embodiments of the present disclosure;
[0035] FIG5 is a schematic diagram of a partial structure of a circuit board in an optical module according to some embodiments of the present disclosure;
[0036] FIG6 is a schematic diagram of a process flow of a microcontroller unit in an optical module according to some embodiments of the present disclosure;
[0037] FIG7 is a diagram showing how the microcontroller unit in the optical module determines the current operating temperature of the optical module as the temperature changes according to some embodiments of the present disclosure;
[0038] FIG8 is a test curve diagram of operating temperature collection of an optical module according to some embodiments of the present disclosure;
[0039] FIG9 is another schematic diagram of a process flow of a microcontroller unit in an optical module according to some embodiments of the present disclosure;
[0040] FIG10 is a flow chart of a method for collecting temperature of an optical module according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0041] Some embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. However, the embodiments described are only some of the embodiments of the present disclosure, not all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments provided in the present disclosure are within the scope of protection of the present disclosure.
[0042] Unless the context requires otherwise, throughout the specification and claims, the term "including" is to be interpreted as open and inclusive, that is, "including, but not limited to"; the terms "first" and "second" are not to be understood as indicating or implying relative importance or indicating an upper limit on quantity; the term "plurality" means two or more; the term "connected" is to be understood in a broad sense, for example, "connected" can be a fixed connection, a detachable connection, or an integral connection, and can be directly connected or indirectly connected through an intermediate medium; the use of the terms "suitable for" or "configured to" means open and inclusive language, which does not exclude devices that are suitable for or configured to perform additional tasks or steps; terms such as "parallel", "perpendicular", "same", "consistent", "level" and so on are not limited to absolute mathematical theoretical relationships, but also include acceptable error ranges generated in practice, and also include differences based on the same design concept but due to manufacturing reasons.
[0043] 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 enabling 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.
[0044] 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 an 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. 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] FIG2 is a partial structural diagram of a host computer provided according to some embodiments of the present disclosure. In order to clearly show 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 in 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 inside 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.
[0052] 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.
[0053] 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 thereto. In some embodiments, the optical module 200 includes either the light emitting component 400 or the light receiving component 500.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] The direction of the line connecting the two openings 204 and 205 can be consistent with the length direction of the optical module 200, or it can 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 (the right end in Figure 3), and the opening 205 is also located at the end of the optical module 200 (the left end in Figure 3). Alternatively, the opening 204 is located at the end of the optical module 200, and the opening 205 is located on the side of the optical module 200. The opening 204 is an electrical port, from which the gold finger 301 of the circuit board 300 extends and is inserted into the electrical connector of the host computer 100; the opening 205 is an optical port, which is configured to connect to the 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.
[0058] 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.
[0059] In some embodiments, the upper shell 201 and the lower shell 202 are made of metal materials, which facilitates electromagnetic shielding and heat dissipation.
[0060] 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, or to release the fixed connection between the optical module 200 and the host computer.
[0061] 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, thereby releasing the optical module 200 from the cage 106 and allowing the optical module 200 to be removed from the cage 106.
[0062] 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 (LIAs), clock and data recovery chips (CDRs), power management chips, and digital signal processing (DSP) chips.
[0063] 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.
[0064] 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 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.
[0065] 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. 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 through corresponding flexible circuit boards or electrical connectors.
[0066] In some embodiments, at least one of the light emitting component or the light receiving component may be directly disposed on the circuit board 300. For example, at least one of the light emitting component or the light receiving component may be disposed on a surface of the circuit board 300 or a side of the circuit board 300.
[0067] Figure 5 is a schematic diagram of the partial structure of a circuit board in an optical module provided according to some embodiments of the present disclosure. As shown in Figure 5, in some embodiments of the present disclosure, a first temperature sensor 302 and an MCU 303 are provided on the circuit board 300, and the MCU 303 has a built-in second temperature sensor 3031. The first temperature sensor 302 can be connected to an analog-to-digital converter (ADC) 304 on the circuit board 300. For example, the first temperature sensor 302 can be connected in series with the ADC 304, and the ADC 304 is connected to the MCU 303, thereby converting the analog signal collected by the first temperature sensor 302 into a digital signal for recognition by the MCU 303.
[0068] The first temperature sensor 302 is configured to collect the operating temperature of the optical module. Within the optical module's typical operating temperature range (e.g., 0°C to 70°C), the first temperature sensor 302 can provide accurate temperature measurements. In some examples, the optical module may operate within the full temperature range of -40°C to 120°C. However, the ADC 304 requires an external reference voltage for operation. In practice, the reference voltage fluctuates within a preset range (e.g., in some examples, the reference voltage ranges from 2.0V to 2.044V). As the temperature decreases, the resistance of the first temperature sensor 302 increases, causing the voltage divider across the first temperature sensor 302 to increase. In this case, the data representing the operating temperature of the optical module converted by the ADC 304 based on the collected value from the first temperature sensor 302 may contain significant errors. For example, in some examples, the first temperature sensor 302 may be a thermistor. As the temperature decreases, the voltage divider across the thermistor increases, affecting the voltage divider across the ADC 304.
[0069] In some examples of the embodiments of the present disclosure, the first temperature sensor 302 and the second temperature sensor 303 can simultaneously collect the operating temperature of the optical module; wherein, the MCU 303 can determine the current operating temperature of the optical module based on the first collected data of the first temperature sensor 302, or determine the current operating temperature of the optical module based on the second collected data of the second temperature sensor 3031 according to the actual current working situation.
[0070] In other examples, when the first temperature sensor 302 is collecting the operating temperature of the optical module, the second temperature sensor 3031 may not be operating. When the MCU 303 switches to collecting the operating temperature of the optical module using the second temperature sensor 3031, the MCU 303 may stop the operation of the first temperature sensor 302, that is, the first temperature sensor 302 may be suspended. For example, when the MCU 303 determines the current operating temperature of the optical module using the first collected data from the first temperature sensor 302, the collection accuracy of the first temperature sensor 302 is greater than the collection accuracy of the second temperature sensor 3031.
[0071] Figure 6 is a schematic diagram of a process flow for the MCU in an optical module according to some embodiments of the present disclosure, and Figure 7 is a diagram showing how the microcontroller unit in the optical module determines the current operating temperature of the optical module as the temperature changes according to some embodiments of the present disclosure. As shown in Figures 6 and 7, in some embodiments of the present disclosure, the MCU on the circuit board is configured to perform at least the following steps:
[0072] S61 , determining a source of collected data of the current operating temperature of the optical module, and obtaining third collected data corresponding to the current operating temperature of the optical module.
[0073] In some embodiments of the present disclosure, the MCU may determine the source of the data collected for determining the current operating temperature of the optical module and obtain the third collected data corresponding to the current operating temperature of the optical module in any order. The MCU may determine the source of the data collected for determining the current operating temperature of the optical module first, or obtain the third collected data corresponding to the current operating temperature of the optical module first. Alternatively, in some examples, the MCU may determine the source of the data collected for determining the current operating temperature of the optical module and obtain the third collected data corresponding to the current operating temperature of the optical module simultaneously. The embodiments of the present disclosure do not impose any restrictions on this. The third collected data may be data that can be identified by the MCU to identify the current operating temperature of the optical module, such as the magnitude of the current. In some examples, the data may also be the magnitude of the voltage, etc.
[0074] In some examples, during the operation of the optical module, for example, after it is powered on and running stably, the collected data for determining the operating temperature of the optical module can be the first collected data from the first temperature sensor or the second collected data from the second temperature sensor; therefore, to determine the operating temperature of the optical module, the MCU can determine the current operating temperature based on the first collected data; the MCU can also determine the current operating temperature based on the second collected data.
[0075] In some examples, the optical module may be powered on for the first time after being connected to the host computer, or powered on again after being powered off; at this time, the MCU may default to confirming the current operating temperature of the optical module with the first collected data of the first temperature sensor; that is, when the optical module is powered on for the first time or powered on again after being powered off, the MCU receives the first collected data of the first temperature sensor and determines the current operating temperature of the optical module based on the first collected data.
[0076] As shown in FIG7 , in an embodiment of the present disclosure, the MCU can determine the current operating temperature of the optical module based on the first collected data, or can also determine the current operating temperature based on the second collected data. In some examples, the data source of the MCU can be switched from the first temperature sensor to the second temperature sensor, or the second temperature sensor to the first temperature sensor. For ease of explanation, some embodiments of the present disclosure will first be described using the example of switching from the first temperature sensor to the second temperature sensor.
[0077] S62: When the source of the collected data of the current operating temperature is the first temperature sensor, determine the difference between the third collected data and the first preset threshold.
[0078] In some embodiments of the present disclosure, in some examples, the MCU may compare the third acquired data corresponding to the current operating temperature (for example, the third acquired data determined based on the first acquired data) with a first preset threshold value to determine whether it is necessary to switch the data source for determining the current operating temperature of the optical module to the second temperature sensor. The first preset threshold value may be a current value corresponding to the first preset temperature threshold value. In some examples, the first preset threshold value may also be a voltage value corresponding to the first preset temperature threshold value.
[0079] S63, when the third collected data is greater than or equal to the first preset threshold, as shown in Figure 7, the first temperature sensor is used as the data source of the optical module operating temperature collection data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; when the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collection data.
[0080] That is to say, when the third collected data obtained by the MCU in real time is greater than or equal to the first preset threshold, the accuracy of the first temperature sensor is greater than that of the second temperature sensor, and it can be confirmed that the temperature corresponding to the first collected data can accurately reflect the current operating temperature of the optical module. At this time, the MCU confirms that the data source of the current operating temperature of the optical module can be maintained as the first temperature sensor; the MCU can use the first collected data collected by the first temperature sensor to update the third collected data of the optical module, thereby obtaining the sampling data corresponding to the real-time operating temperature of the optical module (i.e., the third collected data).
[0081] In some examples, the third collected data corresponding to the current operating temperature of the optical module can be stored in a register; wherein the register can be set on a circuit board, and in other examples, the register can also be built into the MCU; the MCU stores the third collected data corresponding to the operating temperature of the optical module in the register so that the host computer can read and determine the working status of the optical module.
[0082] In some embodiments of the present disclosure, as shown in Figure 7 , when the third collected data is less than the first preset threshold, the MCU will use the second collected data to determine the current operating temperature. That is, the MCU switches the sampling data source for the optical module's operating temperature from the first temperature sensor to the second temperature sensor. In other words, in some embodiments of the present disclosure, the first preset threshold can serve as a critical point for dividing the full operating temperature range of the optical module.
[0083] In some examples, the full operating temperature range of the optical module can be -40°C to 120°C, and the first preset threshold can divide the full operating temperature range of the optical module into a first temperature range and a second temperature range, wherein the sampling data source of the first temperature range can correspond to the first temperature sensor, and the sampling data source of the second temperature range can correspond to the second temperature sensor; that is, when the current operating temperature corresponding to the third acquired data of the optical module is within the first temperature range, the MCU can determine the third acquired data corresponding to the current operating temperature of the optical module based on the first acquired data; when the current operating temperature corresponding to the third acquired data of the optical module is within the second temperature range, the MCU can determine the third acquired data corresponding to the current operating temperature of the optical module based on the second acquired data acquired by the second temperature sensor, thereby obtaining the current operating temperature of the optical module.
[0084] In some examples, the first temperature range can be larger than the second temperature range. For example, the first temperature range can be set to 4-5.5 times the second temperature range. This allows full utilization of the temperature range that the first temperature sensor can accurately capture, reducing the capture range of the second temperature sensor, and thus improving the accuracy of the optical module operating temperature acquisition.
[0085] In some embodiments of the present disclosure, the temperature corresponding to the first preset threshold may be -15°C. That is, in some examples, the first temperature range may be -15°C to 120°C, and the second temperature range may be -40°C to -15°C; that is, the first temperature range is 5.4 times the second temperature range. As some examples, as shown in FIG7 , the first preset threshold may be a temperature threshold at which the MCU switches its data acquisition source from the first temperature sensor to the second temperature sensor; that is, the first preset threshold may be a switching threshold when the temperature decreases.
[0086] Figure 8 is a test curve chart of the operating temperature of an optical module provided in accordance with some embodiments of the present disclosure. As shown in Figure 8, in some embodiments of the present disclosure, the first preset threshold value can be obtained through testing. For example, in Figure 8, at -15°C, the temperature difference corresponding to the first collected data of the first temperature sensor and the temperature corresponding to the second collected data of the second temperature sensor is minimum. That is, at this time, the measurement error of the first temperature sensor is within the allowable error range. In other words, the first preset threshold value is the value corresponding to the operating temperature of the optical module when the difference between the first collected data and the second collected data is minimum.
[0087] In Figure 8, the horizontal axis represents the test time, and the vertical axis represents the test temperature. Curve a in Figure 8 represents the temperature curve corresponding to the first data collected by the first temperature sensor, curve b represents the operating temperature of the optical module, and curve c represents the temperature curve corresponding to the second data collected by the second temperature sensor. Figure 8 shows that at -15°C, the temperature corresponding to the first data collected by the first temperature sensor is within the allowable error range. The second data collected by the second temperature sensor can be compensated using the difference between the first and second data collected by the first temperature sensor as the compensation value.
[0088] S64 : When the current operating temperature sampling data of the optical module comes from the second temperature sensor, obtain the compensation value and second collected data of the second temperature sensor.
[0089] S65, calibrating the second collected data based on the compensation value to obtain current third collected data to determine the current operating temperature of the optical module; the compensation value is the difference between the first collected data of the first temperature sensor and the second collected data of the second temperature sensor at a first preset threshold.
[0090] In some embodiments of the present disclosure, there is a certain distance between the position of the MCU on the circuit board and the light emitting chip. In addition, the second temperature sensor built into the MCU has a certain measurement error; therefore, at a first preset threshold (the measurement error of the first temperature sensor is still within the allowable error range), the MCU can determine the compensation value through the first collected data collected by the first temperature sensor and the second collected data collected by the second temperature sensor. For example, the MCU can subtract the first collected data from the second collected data to obtain the compensation value; that is, the MCU can calculate the difference between the first collected data and the second collected data at the first preset threshold, and then use the difference to compensate and calibrate the second collected data to obtain the accurate current operating temperature.
[0091] In some examples, the MCU can perform a difference calculation on the first collected data and the second collected data at the first preset threshold value to determine a compensation value when the source of the collected data switches from the first temperature sensor to the second temperature sensor; after obtaining the compensation value, when the operating temperature collection data of the optical module comes from the second temperature sensor, the second collected data can always be compensated and calibrated with the compensation value to obtain the current third collected data; that is, after the source of the operating temperature collection data of the optical module is switched from the first temperature sensor to the second temperature sensor, and not switched from the second temperature sensor to the first temperature sensor; the compensation value can always remain fixed.
[0092] In some other examples, each time the temperature sensor is switched from the first temperature sensor to the second temperature sensor, the compensation value is calculated once at the first preset threshold.
[0093] In other examples, the compensation value can also be the difference between first and second collected data obtained through testing at a first preset threshold after the optical module is manufactured. This difference is stored in a register of the MCU or a register on the circuit board. When the source of the collected data for the optical module's operating temperature switches from the first temperature sensor to the second temperature sensor, the MCU can simply call the stored compensation value. In other words, the compensation value can also be a preset value.
[0094] FIG9 is another schematic diagram of another process flow for executing the work of the MCU in the optical module according to some embodiments of the present disclosure. As shown in FIG7 and FIG9, in some other embodiments of the present disclosure, taking the example of switching the source of the operating temperature data collected by the optical module from the second temperature sensor to the first temperature sensor, the MCU is further configured to perform the following steps:
[0095] S66, when the source of the collected data of the current working temperature is the second temperature sensor, determine the difference between the third collected data and the second preset threshold; the second preset threshold is greater than the first preset temperature threshold.
[0096] In some embodiments, the MCU may determine the source of the collected data for the current operating temperature. For example, after the optical module is powered on, the MCU may determine that the collected data for the current operating temperature originates from the second temperature sensor. In other examples, the MCU may switch the source of the collected data for the current operating temperature from the first temperature sensor to the second temperature sensor. In this case, the third collected data corresponding to the current operating temperature may be obtained by compensating the second collected data collected by the second temperature sensor using a compensation value. In some examples, a comparison circuit within the MCU may compare the calculated third collected data corresponding to the current operating temperature with a second preset threshold value to determine whether the source of the optical module's operating temperature data needs to be switched to the first temperature sensor.
[0097] In some examples of the embodiments of the present disclosure, the second preset threshold is greater than the first preset threshold. For example, in some embodiments of the present disclosure, the temperature corresponding to the first preset threshold may be -15°C, and the temperature corresponding to the second preset threshold may be -10°C. In other words, in some embodiments of the present disclosure, when the source of data collected for the operating temperature of the optical module is switched from the second temperature sensor to the first temperature sensor, the first temperature range is -10°C to 120°C, and the second temperature range is -40°C to -10°C. In other words, the first temperature range may be 4.3 times the second temperature range.
[0098] It can be understood that in some embodiments of the present disclosure, the specific values of the temperatures corresponding to the first preset threshold and the second preset threshold are only shown as some specific examples, and do not limit the first preset threshold and the second preset threshold.
[0099] S67, when the current third collected data is less than the second preset threshold, as shown in Figure 7, the second temperature sensor is used as the data source of the optical module operating temperature sampling data, the second collected data of the second temperature sensor is received, and the current third collected data is updated with the second collected data after compensation and calibration to determine the current operating temperature of the optical module; when the current third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collection data.
[0100] In some examples of the embodiments of the present disclosure, after the data source of the optical module operating temperature sampling data is switched from the second temperature sensor to the first temperature sensor, the current collected data of the optical module operating temperature can be obtained according to the detailed description of the aforementioned embodiments of the present disclosure, so as to determine the current operating temperature of the optical module. The embodiments of the present disclosure will not go into details about this.
[0101] In some embodiments of the present disclosure, when the first temperature sensor is used as the data source for collecting data on the operating temperature of the optical module, the MCU can use the first collected data collected by the first temperature sensor to update the current third collected data of the optical module, thereby determining the current operating temperature of the optical module; that is, when the first collected data is used as the data source for collecting data on the operating temperature of the optical module, there is no need to compensate the first collected data. Therefore, before switching the data source from the second temperature sensor to the first temperature sensor, the MCU can clear the compensation value.
[0102] Here, clearing the compensation value may refer to clearing the compensation value obtained by the MCU, or not superimposing the compensation value on the basis of the first collected data. In some examples, when the compensation value is a preset compensation value, the compensation value stored in the register may remain unchanged. In other examples, when the compensation value is calculated by the MCU based on the first collected data and the second collected data at the first preset threshold, the compensation value may be temporarily stored in the register, or the compensation value may be cleared, and the MCU may calculate the compensation value again based on the first collected data and the second collected data when the first temperature sensor switches to the second temperature sensor next time.
[0103] In some embodiments of the present disclosure, the second preset threshold value and the first preset threshold value have a preset difference. This preset difference may be greater than the fluctuation value of instantaneous collected data when the optical module is in a stable operating state. Typically, when the optical module is in a stable operating state, the operating temperature of the optical module fluctuates within a certain temperature range due to fluctuations in the transmitted optical power, transmitted signal frequency, etc.
[0104] In some embodiments of the present disclosure, the critical temperature for switching the data source for collecting the working temperature of the optical module from the first temperature sensor to the second temperature sensor is set to a first preset threshold, and the critical temperature for switching from the second temperature sensor to the first temperature sensor is set to a second preset threshold; and the second preset threshold is set to be greater than the first preset threshold. In this way, after the data source for collecting the working temperature data of the optical module is switched from the first temperature sensor to the second temperature sensor, the data source can be stably maintained at the second temperature sensor.
[0105] In some examples, the temperature corresponding to the first preset threshold is -15°C, and the temperature corresponding to the second preset threshold is -10°C. For example, when the operating temperature corresponding to the current third collected data of the optical module is -16°C, the current third collected data of the optical module is less than the temperature -15°C corresponding to the first preset threshold. The MCU switches the data source of the operating temperature collection data of the optical module to the second temperature sensor, and determines the current third collected data of the optical module based on the second collected data collected by the second temperature sensor. Due to changes in the working state of the optical module during operation, the working temperature of the optical module fluctuates to a certain extent. At this time, the actual operating temperature corresponding to the current third collected data of the optical module determined by the MCU may be -14°C. At this time, although the operating temperature corresponding to the current third collected data of the optical module is greater than the temperature corresponding to the first preset threshold, it is less than the temperature -10°C corresponding to the second preset threshold. Therefore, the MCU will not switch the data source of the operating temperature collection data of the optical module to the first temperature sensor, but will maintain it at the second temperature sensor.
[0106] Alternatively, after the data source for collecting the working temperature data of the optical module is switched from the second temperature sensor to the first temperature sensor, the first temperature sensor can be stably maintained as the data source for collecting the working temperature data of the optical module; in this way, it can be avoided that after the data source for collecting the working temperature data of the optical module is switched, the data source is frequently switched repeatedly due to fluctuations in the working temperature of the optical module, thereby improving the stability of the collected data of the working temperature of the optical module obtained by the MCU, making the working temperature of the optical module obtained by the MCU smoother, and avoiding the host computer's misjudgment of the working status of the optical module.
[0107] The optical module provided in the embodiment of the present disclosure divides the sources of data collected on the operating temperature of the optical module into a first temperature sensor and a second temperature sensor built into the MCU; in this way, the advantages of the first temperature sensor and the second temperature sensor built into the MCU can be fully utilized, thereby improving the accuracy of temperature collection of the optical module.
[0108] For example, when the current third collected data of the optical module is greater than or equal to the first preset threshold, the first temperature sensor with higher accuracy is used as the data source of the collected data, and the third collected data of the optical module is updated with the first collected data collected by the first temperature sensor, thereby determining the current operating temperature of the optical module. When the current third collected data of the optical module is less than the first preset threshold, the resistance of the first temperature sensor increases, the partial pressure increases, and the error of the first temperature sensor increases. At this time, the data source can be switched to the second temperature sensor. In addition, the difference between the first collected data of the first temperature sensor and the second collected data of the second temperature sensor at the first preset threshold is used as a compensation value, and the compensation value is used to compensate and calibrate the second collected data collected by the second temperature sensor. In this way, the second collected data is compensated and calibrated using the difference (compensation value) between the accurate first collected data of the first temperature sensor within the allowable error range and the collected data of the second temperature sensor, thereby obtaining the current third collected data of the optical module. This improves the accuracy of using the second temperature sensor in the MCU as the source of the collected data of the optical module's operating temperature, eliminates the problem of large error when the operating temperature corresponding to the first collected data of the first temperature sensor is less than the temperature corresponding to the first preset threshold, and improves the accuracy of collecting the temperature of the optical module over the full operating temperature range.
[0109] In addition, the second collected data is compensated and calibrated by the compensation value. In this way, the variation amplitude of the optical module working temperature collected data is reduced when the data source is switched from the first temperature sensor to the second temperature sensor, or from the second temperature sensor to the first temperature sensor, so that the third collected data of the optical module working temperature can be smoothly transitioned, avoiding the host computer from misjudging the working status of the optical module.
[0110] In some other examples of the embodiments of the present disclosure, an optical module is further provided, including:
[0111] A circuit board is provided with a first temperature sensor and an MCU, wherein the MCU has a built-in second temperature sensor; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than that of the second temperature sensor;
[0112] The MCU is configured as:
[0113] Determine a source of collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module;
[0114] When the source of the collected data of the current operating temperature is the first temperature sensor, determining a difference between the third collected data and the first preset threshold;
[0115] When the third collected data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; when the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data;
[0116] Acquire the compensation value and second collected data from the second temperature sensor;
[0117] The second collected data is compensated and calibrated based on the compensation value, and the third collected data is updated with the compensated and calibrated second collected data to determine the current operating temperature of the optical module. The compensation value is the difference between the first collected data and the second collected data at a first preset threshold. The first preset threshold is the value at which the difference between the first collected data and the second collected data is minimized. In other words, the first preset threshold is the value corresponding to the operating temperature of the optical module when the difference between the first collected data and the second collected data is minimized.
[0118] In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the difference between the current third collected data and the second preset threshold; the second preset threshold is greater than the first preset threshold;
[0119] When the current third collected data is less than the second preset threshold, the second temperature sensor is used as the data source for the optical module operating temperature collected data; and the calibrated second collected data is used to update the current third collected data; when the current third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as the data source for the optical module operating temperature collected data. It is understood that the other optical modules provided in some embodiments of the present disclosure have the same or similar technical effects as the optical modules provided in the aforementioned embodiments of the present disclosure. For details, please refer to the detailed description of the aforementioned embodiments of the present disclosure, and the embodiments of the present disclosure will not be repeated here.
[0120] FIG10 is a flow chart of a method for collecting temperature of an optical module according to some embodiments of the present disclosure. As shown in FIG10 , some embodiments of the present disclosure further provide a method for collecting temperature of an optical module, wherein the optical module includes:
[0121] A circuit board is provided with a first temperature sensor and an MCU, wherein the MCU has a built-in second temperature sensor; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than that of the second temperature sensor;
[0122] The temperature collection method of the optical module includes the following steps:
[0123] S91, determining a source of collected data of the current operating temperature of the optical module, and obtaining third collected data corresponding to the current operating temperature of the optical module;
[0124] S92, when the source of the collected data of the current operating temperature is the first temperature sensor, determining a difference between the current third collected data and the first preset threshold;
[0125] S93, when the current third collected data is greater than or equal to the first preset threshold, using the first collected data of the first temperature sensor and updating the current third collected data with the first collected data to determine the current operating temperature of the optical module; when the current third collected data is less than the first preset threshold, using the second temperature sensor as the data source for the operating temperature collected data of the optical module;
[0126] S94, obtaining a compensation value and second collected data from a second temperature sensor;
[0127] S95, calibrate the second collected data based on the compensation value, and update the third collected data with the calibrated second collected data to determine the current operating temperature of the optical module; the compensation value is the difference between the first collected data and the second collected data at a first preset threshold; the first preset threshold is the value with the minimum difference between the first collected data and the collected data.
[0128] In some examples, the method for collecting the temperature of the optical module further includes:
[0129] In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the difference between the current third collected data and the second preset threshold; the second preset threshold is greater than the first preset threshold;
[0130] When the current third collected data is less than the second preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data; and the current third collected data is updated with the calibrated second collected data; when the current third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data;
[0131] First collected data from the first temperature sensor is acquired, and current third collected data is updated with the first collected data.
[0132] In some examples, when the current third collected data is greater than or equal to the second preset threshold, and before the data source is switched to the first temperature sensor, the temperature collection method of the optical module further includes: clearing the compensation value.
[0133] In some examples, the second preset threshold and the first preset threshold have a preset difference, and the preset difference is greater than a fluctuation value of instantaneous collected data when the optical module is in a stable working state.
[0134] In some examples, the full operating temperature range of the optical module is -40°C to 120°C, the first collected data of the first temperature sensor corresponds to the first temperature range, and the second collected data of the second temperature sensor corresponds to the second temperature range; the first temperature range is greater than the second temperature range; and the first temperature range is 4 to 5.5 times the second temperature range.
[0135] In some examples, the temperature corresponding to the first preset threshold is -15°C, and the temperature corresponding to the second preset threshold is -10°C; when the data source switches from the first temperature sensor to the second temperature sensor, the first temperature range is -15°C to 120°C, and the second temperature range is -40°C to -15°C; when the data source switches from the second temperature sensor to the first temperature sensor, the first temperature range is -10°C to 120°C, and the second temperature range is -40°C to -10°C.
[0136] In some examples, before the data source is switched to the second temperature sensor, the optical module acquisition method further includes:
[0137] When the current third collected data is equal to the first preset threshold, obtaining the first collected data of the first temperature sensor and the second collected data of the second temperature sensor;
[0138] determining a compensation value based on the first collected data and the second collected data;
[0139] and / or,
[0140] The compensation value is a preset compensation value. Before the data source is switched to the second temperature sensor, the microcontroller unit is further configured to:
[0141] Get the preset compensation value.
[0142] It should be noted that the temperature collection method of an optical module provided in an embodiment of the present invention has the same process steps as those executed by the MCU of an optical module in the above embodiment. The working principles and beneficial effects of the two correspond one to one, and therefore will not be described in detail.
[0143] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure 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 various embodiments of the present disclosure.
Claims
1. An optical module, comprising: A circuit board, wherein a first temperature sensor and a microcontroller unit are provided on the circuit board, and the microcontroller unit has a second temperature sensor built therein; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than the acquisition accuracy of the second temperature sensor; The micro control unit is configured as follows: Determine the source of the collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module; In the case where the source of the collected data of the current working temperature is the first temperature sensor, determining the magnitude between the current third collected data and the first preset threshold value; In the case where the third currently acquired data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature acquisition data, the first acquired data of the first temperature sensor is received, and the third currently acquired data is updated with the first acquired data to determine the current operating temperature of the optical module; in the case where the third currently acquired data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature acquisition data; Acquire a compensation value and second collected data of the second temperature sensor; Calibrate the second collected data based on the compensation value, and update the third collected data with the calibrated second collected data to determine the current operating temperature of the optical module; The compensation value is the difference between the first collected data and the second collected data when the first preset threshold is reached; The first preset threshold is a value corresponding to the operating temperature of the optical module when the difference between the first collected data and the second collected data is the smallest.
2. The optical module according to claim 1, wherein: The micro control unit is further configured as: In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the magnitude between the current third collected data and the second preset threshold; The second preset threshold is greater than the first preset threshold; When the third collected data is less than the second preset threshold, the second temperature sensor is used as a data source for the optical module operating temperature collected data; and updating the third collected data with the calibrated second collected data; When the third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as a data source for the optical module operating temperature collected data; The first collected data of the first temperature sensor is acquired, and the current third collected data is updated with the first collected data.
3. The optical module according to claim 2, wherein: When the third collected data is currently greater than or equal to the second preset threshold, and before the data source is switched to the first temperature sensor, the micro control unit is further configured as follows: Clears the compensation value.
4. The optical module according to claim 2, wherein: The second preset threshold and the first preset threshold have a preset difference, and the preset difference is greater than a fluctuation value of instantaneous collected data when the optical module is in a stable working state.
5. The optical module according to claim 2, wherein: The full operating temperature range of the optical module is -40°C to 120°C, the first collected data of the first temperature sensor corresponds to the first temperature range, and the second collected data of the second temperature sensor corresponds to the second temperature range; the first temperature range is greater than the second temperature range; and the first temperature range is 4 to 5.5 times the second temperature range.
6. The optical module according to claim 5, wherein: The temperature corresponding to the first preset threshold is -15°C, and the temperature corresponding to the second preset threshold is -10°C; when the data source is switched from the first temperature sensor to the second temperature sensor, the first temperature range is -15°C to 120°C, and the second temperature range is -40°C to -15°C; when the data source is switched from the second temperature sensor to the first temperature sensor, the first temperature range is -10°C to 120°C, and the second temperature range is -40°C to -10°C.
7. The optical module according to claim 1, wherein: Before the data source is switched to the second temperature sensor, the micro control unit is further configured to: When the third collected data is equal to the first preset threshold, acquiring the first collected data of the first temperature sensor and the second collected data of the second temperature sensor; determining the compensation value according to the first collected data and the second collected data; and / or, The compensation value is a preset compensation value, and before the data source is switched to the second temperature sensor, the micro control unit is further configured as follows: The preset compensation value is obtained.
8. An optical module, comprising: A circuit board, wherein a first temperature sensor and a microcontroller unit are provided on the circuit board, and the microcontroller unit has a second temperature sensor built therein; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; and the acquisition accuracy of the first temperature sensor is greater than the acquisition accuracy of the second temperature sensor; The micro control unit is configured as follows: Determine the source of the collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module; In a case where the source of the collected data of the current working temperature is the first temperature sensor, determining a magnitude between the third collected data and a first preset threshold; In a case where the third collected data is greater than or equal to the first preset threshold, taking the first temperature sensor as a data source of the optical module operating temperature collected data, receiving the first collected data of the first temperature sensor, and updating the third collected data with the first collected data to determine the current operating temperature of the optical module; When the third collected data is less than the first preset threshold, the second temperature sensor is used as a data source for the optical module operating temperature collected data; Acquire a compensation value and second collected data of the second temperature sensor; Calibrate the second collected data based on the compensation value, and update the third collected data with the calibrated second collected data to determine the current operating temperature of the optical module; The compensation value is the difference between the first collected data and the second collected data when the first preset threshold is reached; The first preset threshold is a value corresponding to the operating temperature of the optical module when the difference between the first collected data and the second collected data is the smallest; In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the magnitude between the current third collected data and the second preset threshold; The second preset threshold is greater than the first preset threshold; When the third collected data is less than the second preset threshold, the second temperature sensor is used as a data source for the optical module operating temperature collected data; and updating the third collected data with the calibrated second collected data; When the third collected data is currently greater than or equal to the second preset threshold, the first temperature sensor is used as a data source for the optical module operating temperature collected data.
9. A temperature collection method for an optical module, the optical module comprising: A circuit board, wherein a first temperature sensor and a microcontroller unit are provided on the circuit board, wherein the microcontroller unit has a second temperature sensor built therein; the first temperature sensor is connected in series with an analog-to-digital converter on the circuit board, and a reference voltage of the analog-to-digital converter fluctuates within a preset range; The acquisition accuracy of the first temperature sensor is greater than the acquisition accuracy of the second temperature sensor; The method comprises: Determine the source of the collected data of the current operating temperature of the optical module, and obtain third collected data corresponding to the current operating temperature of the optical module; In a case where the source of the collected data of the current working temperature is the first temperature sensor, determining a magnitude between the third collected data and a first preset threshold; In the case where the third collected data is greater than or equal to the first preset threshold, the first temperature sensor is used as the data source of the optical module operating temperature collected data, the first collected data of the first temperature sensor is received, and the third collected data is updated with the first collected data to determine the current operating temperature of the optical module; in the case where the third collected data is less than the first preset threshold, the second temperature sensor is used as the data source of the optical module operating temperature collected data; Acquire a compensation value and second collected data of the second temperature sensor; The second collected data is calibrated based on the compensation value, and the third collected data is updated with the calibrated second collected data to determine the current operating temperature of the optical module; the compensation value is the difference between the first collected data and the second collected data when the first preset threshold is reached; the first preset threshold is the value corresponding to the operating temperature of the optical module when the difference between the first collected data and the collected data is the smallest.
10. The method according to claim 9, further comprising: In the case where the source of the collected data of the current working temperature is the second temperature sensor, determining the magnitude between the current third collected data and the second preset threshold; The second preset threshold is greater than the first preset threshold; When the third collected data is less than the second preset threshold, the second temperature sensor is used as a data source for the optical module operating temperature collected data; and updating the third collected data with the calibrated second collected data; When the third collected data is greater than or equal to the second preset threshold, the first temperature sensor is used as a data source for the optical module operating temperature collected data; The first collected data of the first temperature sensor is acquired, and the current third collected data is updated with the first collected data.
Citation Information
Patent Citations
Temperature calibration method, to-be-tested module and temperature calibration device
CN107228719A
Optical module temperature calibration method and device and electronic equipment
CN115307755A
Optical module temperature calibration platform and system
CN207964128U
Temperature calibration device for 5G communication optical module
CN216621535U
Elevating sliding device for small container transport truck
KR102501952B1