Optical power detection device, optical power detection method and related equipment
By combining the high-speed communication port with the data processing unit, the sampling time point of the analog-to-digital converter is controlled by the light emitting timing, solving the problem of slow response speed of the existing optical power detection device, and achieving rapid response to the intensity of the optical signal and high sensitivity detection.
Patent Information
- Application Number
- CN202410144558.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2025-08-01
AI Technical Summary
The existing optical power detection devices have a slow response speed for optical signal intensity fluctuations and cannot sense intensity changes within the interval time in time, especially in burst reception scenarios, resulting in insufficient detection sensitivity.
The high-speed communication port is used to cooperate with the data processing unit to control the sampling time point of the analog-to-digital converter through the luminous luminous timing to reduce signal intervals, and achieve rapid response to the intensity of the light signal and high sensitivity detection.
The response speed and sensitivity of the optical power detection device to fluctuate the intensity of the optical signal is improved, and the intensity changes of multiple optical signals can be sensed in a short time, which is suitable for optical power detection of multiple devices.
Smart Images

Figure CN120403855A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of detection, and in particular, to an optical power detection device, an optical power detection method, and related equipment. Background Art
[0002] Optical power detection technology is used to detect the received signal strength indication (RSSI) of an optical signal. This technology is widely applied in application scenarios such as optical transmission, optical access, data centers, and enterprise-level optical networks. Current optical power detection devices mainly include a mirror current circuit, a sample-and-hold circuit, a media access control (MAC) chip, etc.
[0003] In an optical power detection device, the MAC chip can obtain relevant information about the arrival of an optical signal, and send a trigger signal to the sample-and-hold circuit at the time when the optical signal arrives, triggering the sample-and-hold circuit to perform sampling, obtaining a sampling signal, and reporting the sampling signal to the MAC chip.
[0004] Optical power detection devices are often applied to optical modules, and two-wire serial buses (I2C) are usually used for communication between the optical module and the MAC chip. The communication of I2C in RSSI detection needs to consider margins, and an interval of dozens of milliseconds needs to be left between the trigger signals of two detections. In some application scenarios (such as optical access), the upstream is burst reception, with 8K data frames transmitted per second, containing thousands of optical signals. The interval of the trigger signal causes the optical power detection device to respond slowly to the intensity fluctuations of optical signals and cannot sense the intensity fluctuations of optical signals during the interval time. Summary of the Invention
[0005] The embodiments of the present application provide an optical power detection device, an optical power detection method, and related equipment, which are used to improve the detection speed and sensitivity of optical power.
[0006] In a first aspect, the embodiments of the present application provide an optical power detection device. The optical power detection device includes a current-voltage I / V conversion circuit, an analog-to-digital converter ADC, a data processing unit, and a high-speed communication port connected in sequence. The high-speed communication port is used to connect to a media access control MAC chip and implement communication between the data processing unit and the MAC chip. The I / V conversion circuit is used to convert the optoelectronic signal of the input optical signal of the optical power detection device into a voltage signal. The ADC is used to perform analog-to-digital conversion on the voltage signal to obtain a sampling signal. The data processing unit is used to process the sampling signal to obtain an output signal in the corresponding format of the high-speed communication port, and transmit the output signal to the MAC chip through the high-speed communication port.
[0007] In the embodiment of the present application, the output signal is transmitted between the MAC chip and the data processing unit through a fast communication port. Since the transmission protocol used by the fast communication port has a lower requirement (smaller interval) for the interval between adjacent signals, the time interval between different sampling signals in the output signal can be reduced, and the light intensity information of multiple optical signals within the interval time (i.e., the interval time of the trigger signal, usually dozens of ms) can be obtained, so as to obtain the change in the light signal intensity within the interval time. The response speed of the optical power detection device to the light signal intensity fluctuation is improved, and this structure can sense the intensity fluctuation of the optical signal within the interval time, with high sensitivity.
[0008] In an alternative implementation, the data processing unit is configured to obtain the emission timing of the input optical signal from the MAC chip through a high-speed communication port and transmit the emission timing to the ADC. The ADC is configured to perform analog-to-digital conversion on the voltage signal at the time indicated by the emission timing to obtain a sampling signal.
[0009] In the embodiment of the present application, the emission timing is used to intelligently control the sampling time point of the ADC, so that the ADC samples at the time point that needs to be sampled (i.e., the time point indicated by the emission timing). Thereby, the useless sampling signals output by the ADC can be reduced, the computing power consumption of the data processing unit can be reduced, and the data processing efficiency can be improved.
[0010] In an alternative implementation, the input optical signal includes a first optical signal from a first device, and the emission timing includes a first emission period of the first optical signal. The ADC is configured to perform multiple analog-to-digital conversions on the voltage signal during the first emission period to obtain multiple first sampling signals within the first emission period. The data processing unit is configured to process the multiple first sampling signals into a first output signal in the corresponding format of the high-speed communication port and transmit the first output signal to the MAC chip through the high-speed communication port.
[0011] In the embodiment of the present application, the multiple first sampling signals can indicate the optical power change of the first device and can indicate the optical power change of the first device within the interval time, thereby refining the detection granularity of the optical power detection device for the optical signal.
[0012] In an alternative implementation, the input optical signal includes a first optical signal from a first device and a second optical signal from a second device. The emission timing includes a first emission time point of the first optical signal and a second emission time point of the second optical signal, and the interval between the first emission time point and the second emission time point is less than 1 second. The ADC is used to perform analog-to-digital conversion on the voltage signal at the first emission time point and the second emission time point to obtain a first sampling signal of the first optical signal and a second sampling signal of the second optical signal. The data processing unit is used to process the first sampling signal and the second sampling signal into a second output signal in the corresponding format of the high-speed communication port, and transmit the second output signal to the MAC chip through the high-speed communication port.
[0013] In the embodiment of the present application, due to the shortening of the transmission interval of the communication port, the optical power detection device can transmit the sampling signals from different devices within a short time (interval time), so as to determine the optical power fluctuations of different devices and realize the detection of multiple devices at the same time.
[0014] In an alternative implementation, the high-speed communication port includes a serdes port.
[0015] In an alternative implementation, the I / V conversion circuit includes at least one of the following: a logarithmic converter, a resistor, and an operational amplifier.
[0016] In the embodiment of the present application, if the I / V conversion circuit is a logarithmic converter, the logarithmic converter performs a logarithmic operation on the voltage signal, so that the relationship between the voltage and the optical power becomes Figure 4 the linear relationship shown by the dotted line in. Thus, the difference in sampling values of different powers is increased at low light, and the accuracy of the optical power detection device at low light is improved. If the I / V conversion circuit is a resistor, the cost can be reduced. If the I / V conversion circuit is an operational amplifier, the optoelectronic signal can be amplified by the operational amplifier, so as to realize the detection of weak light.
[0017] In an alternative implementation, the data processing unit is further used to perform at least one of the following processes on the sampling signal to obtain an output signal: filtering process, mean process, and integration process.
[0018] In an alternative implementation, the number of I / V conversion circuits is multiple, and different I / V conversion circuits are used to perform I / V conversion on the optoelectronic signals of input optical signals with different transmission rates. The optical power detection device further includes an optical switch. One end of the optical switch is connected to the ADC, and the other end switches between multiple I / V conversion circuits. The optical switch is used to connect the ADC to one of the multiple I / V conversion circuits.
[0019] In the embodiment of the present application, the ADC of some modes is multiplexed through the optical switch to reduce the number of ADCs and save costs.
[0020] In a second aspect, an embodiment of the present application provides an optical power detection method, which is applied to the optical power detection device described in the first aspect. The high-speed communication port of the optical power detection device is used to connect to a Media Access Control (MAC) chip and implement communication with the MAC chip. The method includes: receiving an input optical signal; obtaining the emission timing of the input optical signal from the MAC chip through the high-speed communication port; sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal; and transmitting the output signal to the MAC chip through the high-speed communication port.
[0021] In an optional implementation, the input optical signal includes a first optical signal from a first device, and the emission timing includes a first emission period of the first optical signal; sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output optical signal includes: sampling the voltage signal of the input optical signal within the first emission period to obtain a plurality of first sampling signals within the first emission period, and processing the plurality of first sampling signals into a first output signal in a format corresponding to the high-speed communication port.
[0022] In an optional implementation, the input optical signal includes a first optical signal from a first device and a second optical signal from a second device, the emission timing includes a first emission time point of the first optical signal and a second emission time point of the second optical signal, and the interval between the first emission time point and the second emission time point is less than 1 second; sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output optical signal includes: sampling the voltage signal of the input optical signal at the first emission time point and the second emission time point to obtain a first sampling signal of the first optical signal and a second sampling signal of the second optical signal, and processing the first sampling signal and the second sampling signal into a second output signal in a format corresponding to the high-speed communication port.
[0023] In a third aspect, an embodiment of the present application provides an optical communication device. The device includes a MAC chip and the optical power detection device described in the first aspect. The optical power detection device is used to receive an input optical signal; the MAC chip is used to provide the emission timing of the input optical signal; the optical power detection device is further used to obtain the emission timing from the MAC chip through the high-speed communication port, sample the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal, and transmit the output signal to the MAC chip through the high-speed communication port.
[0024] Fourthly, an embodiment of the present application provides an optical power detection instrument. The instrument includes a MAC chip and the optical power detection device described in the first aspect. The optical power detection device is configured to receive an input optical signal; the MAC chip is configured to provide the emission timing of the input optical signal; the optical power detection device is further configured to obtain the emission timing from the MAC chip through a high-speed communication port, sample the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal, and transmit the output signal to the MAC chip through the high-speed communication port.
[0025] For the beneficial effects of the second to fourth aspects, please refer to the first aspect, which will not be elaborated here. Description of the Drawings
[0026] Figure 1 It is a schematic structural diagram of an optical module provided by the present application;
[0027] Figure 2a It is a schematic structural diagram of an optical power detection device provided by an embodiment of the present application;
[0028] Figure 2b It is another schematic structural diagram of an optical power detection device provided by an embodiment of the present application;
[0029] Figure 2c It is a schematic diagram of the data transmission format of an optical power detection device provided by an embodiment of the present application;
[0030] Figure 3 It is another schematic structural diagram of an optical power detection device provided by an embodiment of the present application;
[0031] Figure 4 It is a schematic diagram of the optical power-voltage relationship of an optical power detection device provided by an embodiment of the present application;
[0032] Figure 5 It is another schematic structural diagram of an optical power detection device provided by an embodiment of the present application;
[0033] Figure 6a It is a schematic structural diagram of a three-mode optical power detection device provided by an embodiment of the present application;
[0034] Figure 6b It is another schematic structural diagram of a three-mode optical power detection device provided by an embodiment of the present application;
[0035] Figure 6c It is another schematic structural diagram of a three-mode optical power detection device provided by an embodiment of the present application;
[0036] Figure 7 It is a schematic diagram of the application scenario of an optical power detection device provided by an embodiment of the present application in an OLT;
[0037] Figure 8 Schematic diagram of sampling and light emitting timing of the optical power detection device provided by the embodiment of the present application;
[0038] Figure 9 Schematic flow chart of the optical power detection method provided by the embodiment of the present application. Detailed implementation manners
[0039] The embodiments of the present application will be described below with reference to the accompanying drawings. As can be known to those of ordinary skill in the art, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0040] Terms such as "first" and "second" in the specification, claims and the above-mentioned drawings of the present application are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances, which is only a way of distinguishing when describing objects with the same attributes in the embodiments of the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that a process, method, system, product or device including a series of units does not have to be limited to those units, but may include other units not clearly listed or inherent to these processes, methods, products or devices. In addition, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or similar expressions thereof refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.
[0041] Optical power detection devices are widely used in scenarios such as optical transmission, optical access, data centers, and enterprise-level optical networks. As Figure 1 shown, current optical power detection devices generally include a mirror current circuit, a sample and hold circuit, a MAC chip, etc.
[0042] After the optical signal is converted by the optoelectronic conversion, the mirror current circuit transmits the converted current signal to the sample and hold circuit. The MAC chip can obtain the information of the arrival of the optical signal and send a trigger signal to the sample and hold circuit at the time of the arrival of the optical signal. The trigger signal instructs the sample and hold circuit to convert the current signal into a voltage signal, and perform operations such as sampling and filtering on the voltage signal to obtain a sampled signal, and report the sampled signal to the MAC chip.
[0043] The optical power detection device is often applied to the optical module. The optical module and the MAC chip usually communicate with each other using a two-wire serial bus (inter-integrated circuit, I2C). The communication of I2C in RSSI detection needs to consider the margin, and a time interval of dozens of ms needs to be left between the trigger signals of two detections. In some application scenarios (such as optical access), the uplink is burst reception, and 8K data frames are transmitted per second, including thousands of optical signals. The interval of the trigger signal causes the optical power detection device to respond slowly to the intensity fluctuation of the optical signal and cannot sense the intensity fluctuation of the optical signal during the interval time.
[0044] To solve the above problems, the embodiments of the present application provide an optical power detection device, an optical power detection method and related equipment. The optical power detection device provided by the embodiments of the present application realizes the communication between the sampling module and the MAC chip through a fast transmission protocol, thereby reducing the sampling interval, improving the response speed of the optical power detection device to the intensity fluctuation of the optical signal, and improving the sensitivity.
[0045] As Figure 2a shown, the optical power detection device 2000 provided by the embodiments of the present application includes: an avalanche photo diode (APD), a mirror current circuit (also called a current mirror), a current-voltage conversion circuit (I / V conversion circuit) 2100, an analog-to-digital converter (ADC) 2200, a data processing unit 2300, and a high-speed communication port 2400. Among them, the current mirror, the I / V conversion circuit 2100, the ADC 2200, the data processing unit 2300 and the high-speed communication port 2400 are connected in sequence.
[0046] Among them, the high-speed communication port 2400 is used to connect to the MAC chip to realize the communication between the data processing unit 2300 and the MAC chip.
[0047] The APD is used to receive the input optical signal of the optical power detection device 2000 and generate a photoelectric signal of the input optical signal. The photoelectric signal is transmitted to the current mirror. The current mirror is used to transmit the photoelectric signal to the I / V conversion circuit 2100. The I / V conversion circuit 2100 is used to convert the photoelectric signal into a voltage signal. The ADC 2200 is used to perform analog-to-digital conversion on the voltage signal to obtain a sampling signal.
[0048] The data processing unit 2300 is used to process the sampling signal to obtain an output signal in the format corresponding to the high-speed communication port 2400, and transmit the output signal to the MAC chip through the high-speed communication port 2400.
[0049] In the embodiment of the present application, the output signal is transmitted between the MAC chip and the data processing unit 2300 through the fast communication port 2400. Since the transmission protocol used by the fast communication port 2400 has a relatively low requirement (smaller interval) for the interval between adjacent signals, the time interval between different sampling signals in the output signal can be reduced, and the optical intensity information of multiple optical signals within the interval time (i.e., the interval time of the trigger signal, usually dozens of ms) can be obtained, so as to obtain the change in the optical signal intensity within the interval time. The response speed of the optical power detection device 2000 to the optical signal intensity fluctuation is improved, and this structure can sense the intensity fluctuation of the optical signal within the interval time, with high sensitivity.
[0050] Optionally, the ADC can obtain the corresponding sampling signal according to the emission timing of the input optical signal. As Figure 2a shown, the data processing unit 2300 can obtain the emission timing of the input optical signal from the MAC chip through the high-speed communication port 2400 and transmit the emission timing to the ADC 2200. The ADC 2300 can perform analog-to-digital conversion on the voltage signal at the time indicated by the emission timing to obtain a sampling signal.
[0051] In the embodiment of the present application, the sampling time point of the ADC 2200 is intelligently controlled by the emission timing, so that the ADC2200 samples at the time point that needs to be sampled (i.e., the time point indicated by the emission timing). Thereby, the useless sampling signals output by the ADC 2200 can be reduced, the computing power consumption of the data processing unit 2300 can be reduced, and the data processing efficiency can be improved.
[0052] Optionally, the data processing unit 2300 may include an independent module for realizing the transmission of the emission timing, such as Figure 2b the BWMAP module shown, and the present application does not limit this.
[0053] Optionally, the ADC 2200 can also sample the input optical signal without discrimination, and screen the sampled signal according to the light emission timing on the data processing unit 2300, and process the sampled signal at the time indicated by the light emission timing to obtain an output signal. This application does not make any limitations in this regard.
[0054] Optionally, the high-speed communication port 2400 can be a serdes port, or other high-speed communication ports that may appear in the future. This application does not make any limitations in this regard. Optionally, the transmission rate of the high-speed communication port can be above 1G. In one example, the output signal can be embedded in the serdes signal and transmitted to the MAC chip through the serdes port, for example Figure 2c as shown.
[0055] As Figure 3 shown, in an alternative implementation, the I / V conversion circuit 2100 can be a logarithmic converter 2110. Since the unit of the sampled signal output by the ADC 2200 is V, and the unit of the output signal is dBm, the relationship between the voltage and the optical power is exponential as shown by the solid line in Figure 4 , resulting in a small difference in voltage values (ADC values) of different powers at low power levels (also called small light due to small power), resulting in low accuracy of the optical power detection device 2000 at small light.
[0056] In the embodiment of this application, through the logarithmic converter 2110, logarithmic operation is performed on the voltage signal, so that the relationship between the voltage and the optical power becomes Figure 4 the linear relationship shown by the dotted line in . Thus, the difference in sampled values of different powers is increased at small light, and the accuracy of the optical power detection device 2000 at small light is improved.
[0057] In an alternative implementation, the I / V conversion circuit 2100 can be a resistor 2120 as shown in Figure 5 . Since the cost of the resistor is low, the cost of the entire optical power detection device 2000 can be reduced.
[0058] Optionally, the I / V conversion circuit 2100 can also be an operational amplifier. The optoelectronic signal can be amplified through the operational amplifier, so as to realize the detection of weak light.
[0059] Optionally, the data processing unit 2300 can also be used to perform processing such as filtering, averaging, and integration (or other optimization processing) on the sampled signal, and transmit the processed sampled signal to the MAC chip through a fast transmission protocol.
[0060] Optionally, the optical power detection device 2000 provided in the embodiment of this application can also realize multimode optical power detection. For example Figure 6aAs shown, the 2.5G frequency band, 10G frequency band, and 50G frequency band each have their own current mirror, I / V conversion circuit 2100, and ADC 2200. The ADC 2200 of each mode is respectively connected to the data processing unit 2300. The sampling signals of the three modes are processed by the data processing unit 2300, and the output signals of the three modes are output to the MAC chip.
[0061] Optionally, the ADCs of some modes can also be multiplexed through an optical switch to reduce the number of ADCs and save costs. For example Figure 6b As shown, one end of the optical switch can be switched between the I / V conversion circuits of the 2.5G and 10G frequency bands, and the other end of the optical switch is connected to the ADC 2200, so as to select whether to access the voltage signal of the 2.5G frequency band or the voltage signal of the 10G frequency band through the optical switch.
[0062] Or, as Figure 6c shown, one end of the optical switch can be switched between the I / V conversion circuits of the 2.5G, 10G, and 50G frequency bands, and the other end of the optical switch is connected to the ADC 2200, so as to select whether to access the voltage signal of the 2.5G frequency band, 10G frequency band, or 50G frequency band through the optical switch.
[0063] Optionally, the optical power detection device 2000 can be in the form of a hardware sub-module in an optical module, a detection single board, etc., and the present application does not limit this.
[0064] In an alternative implementation, the optical power detection device 2000 can be an optical module on an optical line terminal (OLT) for detecting the optical power of optical signals from different optical network units (ONUs). As Figure 7 shown, the OLT is connected to multiple different optical network units (ONUs) through an optical distribution network (ODN). The upstream signals of different ONUs may be sent to the OLT in the same data packet. The OLT can receive multiple data packets per second, and the optical power detection device 2000 applied to the OLT can then detect the optical power of the optical signals from the same ONU, achieving higher sensitivity. Or, the optical power detection device 2000 can detect the optical power of the optical signals from different ONUs.
[0065] In an example, the optical power detection device 2000 is used to detect the optical power of the optical signal from ONU1. The present application refers to the optical signal from ONU1 as the first optical signal, and the light emission timing includes the first light emission period of the first optical signal. The ADC 2200 performs multiple analog-to-digital conversions on the voltage signal during the first light emission period to obtain multiple first sampling signals within the first light emission period.
[0066] Since the transmission protocol corresponding to the fast port has a relatively low requirement for the transmission interval, usually within the order of ten milliseconds, the data processing unit 2300 can process multiple sampling signals with a time interval of the order of ten milliseconds or one hundred milliseconds into output signals in the format corresponding to the high-speed communication port 2400, and transmit the output signals to the MAC chip through the high-speed communication port 2400. That is to say, the time interval between these multiple output signals can be of the order of ten milliseconds or one hundred milliseconds.
[0067] In one example, the data processing unit 2300 processes multiple sampling signals within the same second among the multiple first sampling signals into a first output signal in the format corresponding to the high-speed communication port, and transmits the first output signal to the MAC chip through the high-speed communication port.
[0068] These multiple sampling signals can indicate the optical power change of the ONU1, and can indicate the optical power change of the ONU1 within seconds, thereby refining the detection granularity of the optical power detection device 2000 for optical signals (refining the sampling signal output period from the second level to the order of ten milliseconds or one hundred milliseconds, achieving more sensitive detection).
[0069] Optionally, if the data processing unit 2300 processes multiple sampling signals within the time interval of the first sampling signal (the trigger signal) into a first output signal in the format corresponding to the high-speed communication port, and transmits the first output signal to the MAC chip through the high-speed communication port. Then the first output signal can indicate the optical power change of the ONU1 within the time interval of the trigger signal.
[0070] In the embodiment of the present application, the MAC chip can determine the events that occur in the corresponding device according to the optical power change shown by the sampling signal. For example, if the first optical signal has a large-amplitude optical power fluctuation within 1 second (for example, the fluctuation amplitude is greater than 3 dB), it can be considered that the device emitting the first optical signal is abnormal. Or if the fluctuation amplitude of the optical power gradually decreases, it can be considered that the abnormality is lifted.
[0071] In different scenarios, the abnormality can be different events, and the present application does not limit this. For example, if the device emitting the first optical signal is an ONU, the abnormal event can be an ONU failure, interference in the line between the OLT and the ONU, etc.; if the device emitting the first optical signal is a sensing device, the abnormal event is the target event of sensing (for example, if the device emitting the first optical signal is in a mine, the abnormal event can be mine vibration, collapse, etc.).
[0072] Optionally, if the sampling signal of a certain device collected by the optical power detection device 2000 changes from no light to light, the MAC can also determine that the device has changed based on this change. For example, if the device that changes from no light to light is an ONU, it can be considered that the ONU has changed from a discarded state to a used state.
[0073] In one example, the optical power detection device 2000 is used to detect the optical power of optical signals from different devices (ONUs). In this application, the optical signal from ONU1 is referred to as the first optical signal, and the optical signal from ONU2 is referred to as the second optical signal. The light emission timing includes the first light emission time point of the first optical signal and the second light emission time point of the second optical signal, and the time interval between the first light emission time point and the second light emission time point is less than 1 second. The ADC 2200 performs analog-to-digital conversion on the voltage signal at the first light emission time point and the second light emission time point to obtain the first sampling signal of the first optical signal and the second sampling signal of the second optical signal.
[0074] The data processing unit 2300 can process the first sampling signal and the second sampling signal into a second output signal in the corresponding format of the high-speed communication port 2400, and transmit the second output signal to the MAC chip through the high-speed communication port 2400.
[0075] For example Figure 8 As shown, in a certain data packet, it includes optical signals from ONU 0-3. The ADC 2200 can sample every 10 milliseconds and transmit the sampling signal to the data processing unit 2300. The data processing unit 2300 obtains the first light emission period of ONU1 and the second light emission period of ONU2 from the MAC. Thus, it is determined that the sampling signal falling within the first light emission period is the first sampling signal of ONU1, and the sampling signal falling within the second light emission period is the second sampling signal of ONU2. In the embodiment of this application, the light emission time point of the first sampling signal is defined as the first light emission time point, and the light emission time point of the second sampling signal is defined as the second light emission time point. Therefore, the light emission timing includes the first light emission time point and the second light emission time point.
[0076] Then, the data processing unit 2300 can process the first sampling signal and the second sampling signal into a second output signal in the corresponding format of the high-speed communication port 2400, and transmit the second output signal to the MAC chip through the high-speed communication port 2400. Since the time interval between adjacent sampling signals in the figure is 10 milliseconds, the first sampling signal and the second sampling signal are multiple sampling signals collected within 40 milliseconds.
[0077] Specifically, the data processing unit 2300 can transmit the first sampling signal and the identifier of the corresponding ONU1 to the MAC chip through a fast transmission protocol. The first sampling signal is used to indicate the optical power of ONU1, and the data processing unit 2300 can transmit the second sampling signal and the identifier of the corresponding ONU2 to the MAC chip through the fast transmission protocol. The second sampling signal is used to indicate the optical power of ONU2.
[0078] In the embodiment of the present application, due to the shortening of the transmission interval of the communication port, the optical power detection device 2000 can transmit sampling signals from different devices in a short time, thereby determining the optical power fluctuations of different devices and realizing the detection of multiple devices at the same time.
[0079] Based on the optical power detection device 2000 provided in the embodiment of the present application, the embodiment of the present application also provides an optical power detection method. As Figure 9 shown, the method includes:
[0080] 901. The optical power detection device 2000 receives an input optical signal.
[0081] 902. The optical power detection device 2000 obtains the emission timing of the input optical signal from the MAC chip through the high-speed communication port 2400.
[0082] Optionally, the emission timing may include Figure 8 the first emission period of ONU1 and the second emission period of ONU2.
[0083] 903. The optical power detection device 2000 samples the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal.
[0084] If the optical power detection device 2000 is used to detect the optical power change of the same device within a period of time, the optical power detection device 2000 can sample the voltage signal of the input optical signal during the second emission period to obtain multiple sampling signals during the second emission period, and process the multiple sampling signals into a first output signal in the corresponding format of the high-speed communication port 2400.
[0085] If the optical power detection device 2000 is used to detect the optical power of different devices, the emission timing includes Figure 8The first emission time point of the first optical signal and the second emission time point of the second optical signal shown, the interval between the first emission time point and the second emission time point is less than 1 second. The optical power detection device 2000 can sample the voltage signal of the input optical signal at the first emission time point and the second emission time point, obtain the first sampling signal of the first optical signal and the second sampling signal of the second optical signal, and process the first sampling signal and the second sampling signal into a second output signal in the corresponding format of the high-speed communication port 2400.
[0086] 904. The optical power detection device 2000 transmits the output signal to the MAC chip through the high-speed communication port 2400.
[0087] In the embodiments of the present application, the optical power detection device 2000 can be a part of an optical module or an optical transceiver unit for realizing the optical power detection of an optical signal, or can also be a part of a detection instrument. For example, optical power detection is realized in a sensor, or as a burst optical power meter for detecting sudden change events of optical power.
[0088] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0089] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0090] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0091] In addition, the functional units in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0092] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
Claims
1. An optical power detection device, characterized in that, It includes a current-voltage I / V conversion circuit, an analog-to-digital converter ADC, a data processing unit, and a high-speed communication port connected in sequence; The high-speed communication port is used to connect to a media access control MAC chip to realize communication between the data processing unit and the MAC chip; The I / V conversion circuit is used to convert the optoelectronic signal of the input optical signal of the optical power detection device into a voltage signal; The ADC is used to perform analog-to-digital conversion on the voltage signal to obtain a sampling signal; The data processing unit is used to process the sampling signal to obtain an output signal in the corresponding format of the high-speed communication port, and transmit the output signal to the MAC chip through the high-speed communication port.
2. The device according to claim 1, wherein: The data processing unit is used to obtain the emission timing of the input optical signal from the MAC chip through the high-speed communication port and transmit the emission timing to the ADC; The ADC is used to perform analog-to-digital conversion on the voltage signal at the time indicated by the emission timing to obtain the sampling signal.
3. The device according to claim 2, characterized in that, The input optical signal includes a first optical signal from a first device, and the emission timing includes a first emission period of the first optical signal; The ADC is used to perform multiple analog-to-digital conversions on the voltage signal during the first emission period to obtain multiple first sampling signals within the first emission period; The data processing unit is used to process the multiple first sampling signals into a first output signal in the corresponding format of the high-speed communication port and transmit the first output signal to the MAC chip through the high-speed communication port.
4. The device according to claim 2 or 3, characterized in that, The input optical signal includes a first optical signal from a first device and a second optical signal from a second device, the emission timing includes a first emission time point of the first optical signal and a second emission time point of the second optical signal, and the interval between the first emission time point and the second emission time point is less than 1 second; The ADC is used to perform analog-to-digital conversion on the voltage signal at the first emission time point and the second emission time point to obtain a first sampling signal of the first optical signal and a second sampling signal of the second optical signal; The data processing unit is used to process the first sampling signal and the second sampling signal into a second output signal in the corresponding format of the high-speed communication port and transmit the second output signal to the MAC chip through the high-speed communication port.
5. The device according to any one of claims 1 to 4, characterized in that The high-speed communication port includes a serdes port.
6. The device according to any one of claims 1 to 5, characterized in that, The I / V conversion circuit includes at least one of the following: A logarithmic converter, a resistor, and an operational amplifier.
7. The device according to any one of claims 1 to 6, characterized in that, The data processing unit is further used to perform at least one of the following processes on the sampling signal to obtain the output signal: Filtering processing, mean processing, and integration processing.
8. The device according to any one of claims 1 to 7, characterized in that, The number of the I / V conversion circuits is multiple, and different I / V conversion circuits are used to perform I / V conversion on the optoelectronic signals of input optical signals with different transmission rates. The optical power detection device further includes an optical switch; One end of the optical switch is connected to the ADC, and the other end switches among the multiple I / V conversion circuits. The optical switch is used to connect the ADC to one of the multiple I / V conversion circuits.
9. A method for detecting optical power, characterized in that, Applied to the optical power detection device according to any one of claims 1 to 8, the high-speed communication port of the optical power detection device is used to connect to a media access control (MAC) chip to implement communication with the MAC chip. The method includes: Receiving an input optical signal; Obtaining the emission timing of the input optical signal from the MAC chip through the high-speed communication port; Sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal; Transmitting the output signal to the MAC chip through the high-speed communication port.
10. The method according to claim 9, wherein The input optical signal includes a first optical signal from a first device, and the emission timing includes a first emission period of the first optical signal; The sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output optical signal includes: Sampling the voltage signal of the input optical signal within the first emission period to obtain a plurality of first sampling signals within the first emission period, and processing the plurality of first sampling signals into a first output signal in a format corresponding to the high-speed communication port.
11. The method according to claim 9 or 10, characterized in that The input optical signal includes a first optical signal from a first device and a second optical signal from a second device. The emission timing includes a first emission time point of the first optical signal and a second emission time point of the second optical signal, and the interval between the first emission time point and the second emission time point is less than 1 second; The sampling the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output optical signal includes: Sampling the voltage signal of the input optical signal at the first emission time point and the second emission time point to obtain a first sampling signal of the first optical signal and a second sampling signal of the second optical signal, and processing the first sampling signal and the second sampling signal collected within the same second into a second output signal in a format corresponding to the high-speed communication port.
12. An optical communication device, characterized in that, Including a MAC chip and the optical power detection device according to any one of claims 1 to 8; The optical power detection device is used to receive an input optical signal; The MAC chip is used to provide the emission timing of the input optical signal; The optical power detection device is further used to obtain the emission timing from the MAC chip through the high-speed communication port, sample the voltage signal of the input optical signal at the time indicated by the emission timing to obtain an output signal, and transmit the output signal to the MAC chip through the high-speed communication port.
13. An optical power detection instrument, characterized in that, Including a MAC chip and the optical power detection device according to any one of claims 1 to 8; The optical power detection device is used to receive an input optical signal; The MAC chip is used to provide the emission timing of the input optical signal; The optical power detection device is further configured to obtain the light emission timing from the MAC chip through the high-speed communication port, sample the voltage signal of the input optical signal at the time indicated by the light emission timing to obtain an output signal, and transmit the output signal to the MAC chip through the high-speed communication port.