TWI674772B - Correction method for photoelectric transmission power - Google Patents

Correction method for photoelectric transmission power Download PDF

Info

Publication number
TWI674772B
TWI674772B TW107106988A TW107106988A TWI674772B TW I674772 B TWI674772 B TW I674772B TW 107106988 A TW107106988 A TW 107106988A TW 107106988 A TW107106988 A TW 107106988A TW I674772 B TWI674772 B TW I674772B
Authority
TW
Taiwan
Prior art keywords
byte
values
value
sensing
byte values
Prior art date
Application number
TW107106988A
Other languages
Chinese (zh)
Other versions
TW201939912A (en
Inventor
林冠宇
Original Assignee
和碩聯合科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 和碩聯合科技股份有限公司 filed Critical 和碩聯合科技股份有限公司
Priority to TW107106988A priority Critical patent/TWI674772B/en
Priority to CN201910111153.6A priority patent/CN110224747B/en
Publication of TW201939912A publication Critical patent/TW201939912A/en
Application granted granted Critical
Publication of TWI674772B publication Critical patent/TWI674772B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

本發明提供一種光電傳輸功率的修正方法。修正方法包括:透過光感測裝置驅動光電轉換元件,透過光電轉換元件接收多數個感應值並且將多數個感應值儲存到光感測裝置的接收暫存器;以及依據多數個感應值的多數個第一位元組值是否相同以及多數個感應值的多數個第二位元組值的分布,對多數個第一位元組值以及多數個第二位元組值進行修正運算操作以獲得感應儲存器值。The invention provides a method for correcting photoelectric transmission power. The correction method includes: driving the photoelectric conversion element through the light sensing device, receiving the plurality of sensing values through the photoelectric conversion element and storing the plurality of sensing values in a receiving register of the light sensing device; and a plurality of Whether the first byte values are the same and the distribution of the majority of the second byte values of the majority of the sensing values, and a correction operation is performed on the majority of the first byte values and the majority of the second byte values to obtain the sensing Memory value.

Description

光電傳輸功率的修正方法Correction method of photoelectric transmission power

本發明是有關於一種有關於光電傳輸功率的修正方法。尤其是一種用於光纖網路設備的有關於光電傳輸功率的修正方法。The present invention relates to a method for correcting photoelectric transmission power. In particular, it relates to a method for correcting photoelectric transmission power for optical fiber network equipment.

光纖網路設備中,光感測裝置的傳送功率與接收功率需要在生產過程中進行校正,校正的機制是透過光感測裝置讀取來自於外部光發射儀器的光電傳輸功率的感應值。接著將被讀取的感應值與外部光發射儀器傳送給光感測裝置的實際功率值進行比對,以對光感測裝置進行調整。In the optical fiber network equipment, the transmission power and the reception power of the optical sensing device need to be corrected during the production process. The correction mechanism is to read the sensing value of the photoelectric transmission power from the external light emitting device through the optical sensing device. Then, the read sensing value is compared with the actual power value transmitted from the external light emitting instrument to the light sensing device to adjust the light sensing device.

然而,光感測裝置的傳送功率與接收功率值的暫存器主要是由兩個位元組所組成,而積體電路匯流排(Inter-Integrated Circuit,I2C)介面一次存取只能讀取一個位元組(byte),因此會分成二次讀取,並將讀到的值判斷為正確的功率值。這樣的作法可能會因為讀取的時間差而造成無法判斷出暫存器值的溢位(Overflow)問題。舉例來說,當接收暫存器接陸續收到兩個位元組的感應值「04FE」以及「0501」,表示感應值發生溢位。然而,積體電路匯流排介面只能一次讀取一個位元組情況下,可能會讀取「0401」或者是「05FE」的懸殊誤差。如此一來,會造成傳輸功率的校正失準,以致降低生產良率。However, the temporary register of the transmit power and receive power of the optical sensing device is mainly composed of two bytes, and the integrated circuit (Inter-Integrated Circuit (I2C)) interface can only be read once One byte (byte), so it will be divided into two reads, and the read value is judged as the correct power value. Such a method may cause the overflow of the register value to be unable to be determined due to the time difference between readings. For example, when the receiving register successively receives two bytes of sensing values "04FE" and "0501", it means that the sensing value has overflowed. However, in the case where the integrated circuit bus interface can only read one byte at a time, a large error of "0401" or "05FE" may be read. In this way, the correction of the transmission power will be misaligned, which will reduce the production yield.

本發明提供一種用於光纖網路設備的光電傳輸功率的修正方法,用以排除因為溢位所造成的感應值誤判。The invention provides a method for correcting the photoelectric transmission power of an optical fiber network device, so as to eliminate misjudgment of an induced value caused by an overflow.

本發明的光電傳輸功率的修正方法包括:透過光感測裝置驅動光電轉換元件,透過光電轉換元件接收多數個感應值並且將多數個感應值儲存到光感測裝置的接收暫存器;以及依據多數個感應值的多數個第一位元組值是否相同以及多數個感應值的多數個第二位元組值的分布,對多數個第一位元組值以及多數個第二位元組值進行修正運算操作以獲得感應儲存器值。修正運算操作包括結合多數個第一位元組值的其中之一與多數個第二位元組值的其中之一,或者是選擇多數個第一位元組值的其中之一與多數個第二位元組值的平均值進行結合。The method for correcting the photoelectric transmission power of the present invention includes: driving a photoelectric conversion element through a light sensing device, receiving a plurality of sensed values through the photoelectric conversion element, and storing the plurality of sensed values in a receiving register of the light sensing device; and Whether the majority of the first sensing values of the majority sensing values are the same and the distribution of the majority of the second sensing values of the majority sensing value. For the majority of the first sensing values and the majority of the second sensing values, A correction operation is performed to obtain a sense memory value. The correction operation includes combining one of the plurality of first byte values and one of the plurality of second byte values, or selecting one of the plurality of first byte values and the plurality of first byte values. The averages of the binary values are combined.

在本發明的一實施例中,上述的第一位元組是二位元組資料形式中的為高位元組。上述的第二位元組是二位元組資料形式中的低位元組。In an embodiment of the present invention, the above-mentioned first byte is a high byte in a two-byte data format. The above-mentioned second byte is the lower byte in the form of two-byte data.

在本發明的一實施例中,上述的透過光感測裝置驅動光電轉換元件,透過光電轉換元件接收多數個感應值並且將多數個感應值儲存到光感測裝置的接收暫存器的步驟,包括使光電轉換元件接收第一感應值,透過光感測裝置將第一感應值儲存到接收暫存器,並接收儲存於暫存器的第一感應值;以及使光電轉換元件接收第二感應值,透過該光感測裝置將感應值儲存到該接收暫存器,並接收儲存於接收暫存器的第二感應值。In an embodiment of the present invention, the steps of driving the photoelectric conversion element through the light sensing device, receiving the plurality of sensing values through the photoelectric conversion element, and storing the plurality of sensing values in a receiving register of the light sensing device, The method includes causing the photoelectric conversion element to receive the first sensing value, storing the first sensing value to the receiving register through the light sensing device, and receiving the first sensing value stored in the register; and causing the photoelectric conversion element to receive the second sensing value. The sensing value is stored in the receiving register through the light sensing device, and the second sensing value stored in the receiving register is received.

在本發明的一實施例中,上述的修正方法更包括設定第二位元組的第一臨界值以及第二臨界值,其中第一臨界值大於第二臨界值。In an embodiment of the present invention, the above-mentioned correction method further includes setting a first threshold value and a second threshold value of the second byte, wherein the first threshold value is greater than the second threshold value.

在本發明的一實施例中,上述的依據多個感應值的多個第一位元組值是否相同以及多個感應值的多個第二位元組值的分布,對多個第一位元組值以及多個第二位元組值進行修正運算操作以獲得感應儲存器值的步驟,包括:當多數個第一位元組值不完全相同,並且多數個第二位元組值中具有大於第一臨界值的第二位元組值以及具有小於第二臨界值的第二位元組值,將多數個第一位元組值中的最小第一位元組值與多數個第二位元組值中的最大第二位元組值結合為第一組值;將多數個第一位元組值中的最大第一位元組值與多數個第二位元組值中的最小第二位元組值結合為第二組值;以及取得第一組值以及第二組值的平均值以獲得感應儲存器值。In an embodiment of the present invention, according to the foregoing, whether the plurality of first byte values of the plurality of sensing values are the same and the distribution of the plurality of second byte values of the plurality of sensing values, the plurality of first bits The step of performing a correction operation on the tuple value and a plurality of second byte values to obtain a sensed memory value includes: when a plurality of first byte values are not exactly the same, and a plurality of second byte values are Having a second byte value greater than the first critical value and a second byte value less than the second critical value, the smallest first byte value of the plurality of first byte values and the plurality of first byte values The largest second byte value in the two byte values is combined into the first group value; the largest first byte value in the plurality of first byte values and the largest second byte value in the The minimum second byte value is combined into a second group value; and an average of the first group value and the second group value is obtained to obtain a sensed memory value.

在本發明的一實施例中,上述的依據多個感應值的多個第一位元組值是否相同以及多個感應值的多個第二位元組值的分布,對多個第一位元組值以及多個第二位元組值進行修正運算操作以獲得感應儲存器值的步驟,包括:當多數個第一位元組值不完全相同,並且多數個第二位元組值皆大於第一臨界值,取得多數個第二位元組值的第二位元組平均值;以及結合多數個第一位元組值中的最小第一位元組值與第二位元組平均值以獲得感應儲存器值。In an embodiment of the present invention, according to the foregoing, whether the plurality of first byte values of the plurality of sensing values are the same and the distribution of the plurality of second byte values of the plurality of sensing values, the plurality of first bits The step of performing a correction operation on the tuple value and a plurality of second byte values to obtain a sensed memory value includes: when a plurality of first byte values are not exactly the same, and a plurality of second byte values are all Greater than the first critical value, obtaining an average of the second bytes of the plurality of second byte values; and combining the smallest first byte value of the plurality of first byte values with the second byte average Value to get the sense memory value.

在本發明的一實施例中,上述的依據多個感應值的多個第一位元組值是否相同以及多個感應值的多個第二位元組值的分布,對多個第一位元組值以及多個第二位元組值進行修正運算操作以獲得感應儲存器值的步驟,包括:當多數個第一位元組值不完全相同,並且多數個第二位元組值皆小於第二臨界值,取得多數個第二位元組值的第二位元組平均值;以及結合多數個第一位元組值中的最大第一位元組值與第二位元組平均值以獲得感應儲存器值。In an embodiment of the present invention, according to the foregoing, whether the plurality of first byte values of the plurality of sensing values are the same and the distribution of the plurality of second byte values of the plurality of sensing values, the plurality of first bits The step of performing a correction operation on the tuple value and a plurality of second byte values to obtain a sensed memory value includes: when a plurality of first byte values are not exactly the same, and a plurality of second byte values are all Less than the second critical value, obtaining the second byte average of the plurality of second byte values; and combining the largest first byte value and the second byte average of the plurality of first byte values Value to get the sense memory value.

在本發明的一實施例中,上述的依據多個感應值的多個第一位元組值是否相同以及多個感應值的多個第二位元組值的分布,對多個第一位元組值以及多個第二位元組值進行修正運算操作以獲得感應儲存器值的步驟,包括:當多數個第一位元組值相同,並且多數個第二位元組值中沒有大於第一臨界值的第二位元組值以及小於第二臨界值的第二位元組值,取得多數個第二位元組值的第二位元組平均值;以及結合多數個第一位元組值中的其中之一與第二位元組平均值以獲得感應儲存器值。In an embodiment of the present invention, according to the foregoing, whether the plurality of first byte values of the plurality of sensing values are the same and the distribution of the plurality of second byte values of the plurality of sensing values, the plurality of first bits The step of performing a correction operation on the tuple value and a plurality of second byte values to obtain a sensed memory value includes: when a plurality of first byte values are the same, and a plurality of second byte values are not greater than A second byte value of the first critical value and a second byte value smaller than the second critical value to obtain a second byte average of the plurality of second byte values; and combining the plurality of first bits One of the tuple values is averaged with the second byte to obtain a sensed memory value.

在本發明的一實施例中,上述的修正方法,更包括將感應儲存器值儲存至光感測裝置的感應暫存器。In an embodiment of the present invention, the above-mentioned correction method further includes storing the inductive storage value to an inductive register of the light sensing device.

基於上述,本發明的光電傳輸功率的修正方法是透過光電轉換元件接收多數個感應值並且將多數個感應值分別儲存到多數個接收暫存器。並且依據多數個感應值的多數個第一位元組值是否相同以及多數個感應值的多數個第二位元組值的分布,對多數個第一位元組值以及多數個第二位元組值進行修正運算操作以獲得感應儲存器值藉以排除因為溢位所造成的感應值誤判。Based on the above, the method for correcting the photoelectric transmission power of the present invention is to receive a plurality of sensing values through a photoelectric conversion element and store the plurality of sensing values in a plurality of receiving registers, respectively. And according to whether the majority of the first byte values of the majority of the sensing values are the same and the distribution of the majority of the second bytes of the majority of the sensing values, the majority of the first bytes and the majority of the second bytes are distributed. The group value is subjected to a correction operation to obtain a sensed memory value so as to eliminate the misjudgement of the sensed value caused by overflow.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present invention more comprehensible, embodiments are hereinafter described in detail with reference to the accompanying drawings.

請參考圖1,圖1是依據本發明一實施例所繪示的光纖傳輸功率修正系統示意圖。本實施例的光纖傳輸功率修正系統100適用於光纖網路設備(未示出)。光纖網路設備可利如是光纖網路集線器(Hub)、光纖網路數據機或光纖網路卡等設備。圖1的光纖傳輸功率修正系統100包括光感測裝置110、光電轉換元件120以及運算裝置130。光感測裝置110包括接收暫存器112以及感應暫存器114。在本實施例中,光感測裝置110可設置於光纖網路設備內。在本實施例中,光感測裝置110實際上是雷射晶片(laser driver、laser chip)光電轉換元件120可用以接收光發射儀器(未示出)所提供的光訊號轉換為數位訊號。光發射儀器是用以提供穩定光功率的光訊號的任何光源儀器。在本實施例中,光電轉換元件120可以是雙向光收發模組(Bi-Directional Optical Sub-Assembly,BOSA)、光接收模組(Receiving Optical Sub-Assembly,ROSA)、光發射模組(Transmitting Optical Sub-Assembly,TOSA)等,然本發明並不受限於此。Please refer to FIG. 1, which is a schematic diagram of an optical fiber transmission power correction system according to an embodiment of the present invention. The optical fiber transmission power correction system 100 of this embodiment is suitable for an optical fiber network device (not shown). Optical fiber network equipment can be beneficial such as optical network hub (Hub), optical network modem, or optical network card. The optical fiber transmission power correction system 100 of FIG. 1 includes a light sensing device 110, a photoelectric conversion element 120, and a computing device 130. The light sensing device 110 includes a receiving register 112 and a sensing register 114. In this embodiment, the light sensing device 110 may be disposed in a fiber optic network device. In this embodiment, the light sensing device 110 is actually a laser driver (laser chip) photoelectric conversion element 120 that can be used to receive the optical signal provided by a light emitting device (not shown) and convert it into a digital signal. A light emitting instrument is any light source instrument that provides a light signal that stabilizes the optical power. In this embodiment, the photoelectric conversion element 120 may be a bi-directional optical sub-assembly (BOSA), a receiving optical sub-assembly (ROSA), or a transmitting optical module (Transmitting Optical). Sub-Assembly (TOSA), etc., but the present invention is not limited to this.

接收暫存器112以及感應暫存器114可以是任何型態的固定或可移動隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)或類似元件或上述元件的組合。在本實施例中的接收暫存器以一個為例。本發明中,接收暫存器的數量可以是多個,並不以本實施例為限。The receiving register 112 and the sensing register 114 may be any type of fixed or removable random access memory (RAM), read-only memory (ROM), and flash memory. Flash memory or similar elements or a combination of the above. Take one receiving register in this embodiment as an example. In the present invention, the number of receiving registers may be multiple, and is not limited to this embodiment.

在本實施例中,運算裝置130可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,其可載入並執行電腦程式,以完成對應的操作功能。In this embodiment, the computing device 130 may be a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (Digital Signal Processor) , DSP), programmable controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD) or other similar devices or a combination of these devices, which can be loaded And run a computer program to complete the corresponding operation function.

在本實施例中,光電轉換元件120可接收感應值SP1,透過光感測裝置110將感應值SP1儲存到接收暫存器112,並透過運算裝置130接收儲存於接收暫存器112的感應值SP1。接下來,光電轉換元件120可接收感應值SP2,透過光感測裝置110將感應值SP2儲存到接收暫存器112,並透過運算裝置130接收儲存於於接收暫存器112的感應值SP2。隨後光電轉換元件120可接收感應值SP3,透過光感測裝置110將感應值SP3儲存到接收暫存器112,並透過運算裝置130接收儲存於接收暫存器112的感應值SP3,依此類推。為方便描述,在本實施例中是以依序接收3次感應值為例,較佳的實施方式可例如是依序接收10次感應值。本發明的感應值接收次數為多次,並不以本實施例為限。In this embodiment, the photoelectric conversion element 120 can receive the sensing value SP1, store the sensing value SP1 to the receiving register 112 through the light sensing device 110, and receive the sensing value stored in the receiving register 112 through the computing device 130. SP1. Next, the photoelectric conversion element 120 can receive the sensing value SP2, store the sensing value SP2 to the receiving register 112 through the light sensing device 110, and receive the sensing value SP2 stored in the receiving register 112 through the computing device 130. The photoelectric conversion element 120 can then receive the sensing value SP3, store the sensing value SP3 into the receiving register 112 through the light sensing device 110, and receive the sensing value SP3 stored in the receiving register 112 through the computing device 130, and so on. . For the convenience of description, in this embodiment, the sensing value is sequentially received 3 times as an example. The preferred implementation may be, for example, sequentially receiving the sensing value 10 times. The number of times of receiving the sensing value of the present invention is multiple, and is not limited to this embodiment.

運算裝置130可對感應值SP1、SP2、SP3進行修正運算操作,藉以獲得感應儲存器值CP。在本實施例中,運算裝置130可以是透過乙太網路(ethernet cable)通訊介面、光纖通訊介面、通用序列匯流排(Universal Serial Bus,USB)或無線網路通訊介面等其他規格的通訊介面以接收感應值SP1、SP2、SP3。然本發明並不受限於此。The computing device 130 may perform a correction operation on the sensing values SP1, SP2, and SP3 to obtain a sensing memory value CP. In this embodiment, the computing device 130 may be a communication interface of other specifications such as an Ethernet cable communication interface, an optical fiber communication interface, a universal serial bus (USB), or a wireless network communication interface. To receive the sensing values SP1, SP2, SP3. However, the present invention is not limited to this.

接下來詳細說明感應儲存器值的產生方法。請同時參考圖1、圖2A至圖2E,圖2A至圖2E是依據本發明一實施例所繪示的光電傳輸功率的修正方法流程圖。首先,在圖2A的步驟S210中,運算裝置130透過光感測裝置110驅動光電轉換元件120,透過光電轉換元件120依序接收外部光發射儀器所提供的光訊號的感應值SP1、SP2、SP3且將感應值SP1、SP2、SP3儲存到光感測裝置110的接收暫存器112。運算裝置130在光感測裝置110接收感應值SP1後取得感應值SP1,在光感測裝置110接收感應值SP2後取得感應值SP2,以及在光感測裝置110接收感應值SP3後取得感應值SP3。在步驟S220中,運算裝置130開始對感應值SP1、SP2、SP3的多個第一位元組值與多個第二位元組值進行修正運算操作儲存於接收暫存器112的感應值會是二位元組資料形式。因此在本實施例中,感應值SP1具有第一位元組值SP1_M以及第二位元組值SP1_L。感應值SP2具有第一位元組值SP2_M以及第二位元組值SP2_L。感應值SP3具有第一位元組值SP3_M以及第二位元組值SP3_L。第一位元組值SP1_M、SP2_M、SP3_M是二位元組資料形式中的高位元組,而第二位元組值SP1_L、SP2_L、SP3_L是二位元組資料形式中的低位元組。在運算裝置130取得第一位元組值SP1_M、SP2_M、SP3_M以及第二位元組值SP1_L、SP2_L、SP3_L之後,則進入步驟S220_1。運算裝置130依據感應值的第一位元組值SP1_M、SP2_M、SP3_M是否相同,以及第二位元組值SP1_L、SP2_L、SP3_L的分布,來對第一位元組值SP1_M、SP2_M、SP3_M以及第二位元組值SP1_L、SP2_L、SP3_L進行修正運算操作,藉以獲得感應儲存器值CP。Next, the method of generating the inductive memory value will be described in detail. Please refer to FIG. 1, FIG. 2A to FIG. 2E at the same time, and FIG. 2A to FIG. 2E are flowcharts of a method for correcting the photoelectric transmission power according to an embodiment of the present invention. First, in step S210 of FIG. 2A, the computing device 130 drives the photoelectric conversion element 120 through the light sensing device 110, and sequentially receives the sensing values SP1, SP2, and SP3 of the optical signals provided by the external light emitting device through the photoelectric conversion element 120. The sensing values SP1, SP2, and SP3 are stored in the receiving register 112 of the light sensing device 110. The computing device 130 obtains the sensing value SP1 after the light sensing device 110 receives the sensing value SP1, obtains the sensing value SP2 after receiving the sensing value SP2, and obtains the sensing value after receiving the sensing value SP3. SP3. In step S220, the computing device 130 starts to perform correction operations on the plurality of first byte values and the plurality of second byte values of the sensing values SP1, SP2, and SP3. The sensing value stored in the receiving register 112 is It is a two-byte data format. Therefore, in this embodiment, the sensing value SP1 has a first byte value SP1_M and a second byte value SP1_L. The sensed value SP2 has a first byte value SP2_M and a second byte value SP2_L. The sensed value SP3 has a first byte value SP3_M and a second byte value SP3_L. The first byte values SP1_M, SP2_M, and SP3_M are the high byte in the two-byte data form, and the second byte values SP1_L, SP2_L, and SP3_L are the low byte in the two-byte data form. After the computing device 130 obtains the first byte values SP1_M, SP2_M, SP3_M and the second byte values SP1_L, SP2_L, SP3_L, it proceeds to step S220_1. The computing device 130 determines the first byte values SP1_M, SP2_M, SP3_M, and SP1_M, SP2_M, SP3_M, and The second byte values SP1_L, SP2_L, and SP3_L are subjected to a correction operation to obtain the sensing memory value CP.

請同時參考圖1、圖2B,在步驟S220_1的情況判斷下,當運算裝置130判斷第一位元組值SP1_M、SP2_M、SP3_M不完全相同時,也就是當第一位元組值SP1_M、SP2_M、SP3_M的其中之一與其他第一位元組值不同,並且當第二位元組值SP1_L、SP2_L、SP3_L之中同時具有大於第一臨界值的第二位元組值以及具有小於第二臨界值的第二位元組值的情況下,則進入圖2B的步驟S221。步驟S221的情況即是感應值SP1、SP2、SP3在接收時發生了溢位。基於上述的情況判斷的結果,運算裝置130在開始進行修正運算操作時,運算裝置130可結合第一位元組值SP1_M、SP2_M、SP3_M的其中之一與第二位元組值的其中之一SP1_L、SP2_L、SP3_L。Please refer to FIGS. 1 and 2B at the same time. In the case of step S220_1, when the computing device 130 determines that the first byte values SP1_M, SP2_M, and SP3_M are not exactly the same, that is, when the first byte values SP1_M, SP2_M One of SP3_M is different from the other first byte values, and when the second byte values SP1_L, SP2_L, and SP3_L have both a second byte value greater than the first threshold value and a second byte value less than the second byte value In the case of the second byte value of the critical value, the process proceeds to step S221 in FIG. 2B. In the case of step S221, the sensing values SP1, SP2, and SP3 overflow when receiving. Based on the result of the above-mentioned situation judgment, when the computing device 130 starts the correction operation, the computing device 130 may combine one of the first byte values SP1_M, SP2_M, and SP3_M with one of the second byte values SP1_L, SP2_L, SP3_L.

在本實施例中,第一臨界值與第二臨界值是可以透過運算裝置130依據產品的規格需求來設定。並且,第一臨界值大於第二臨界值。In this embodiment, the first critical value and the second critical value can be set by the computing device 130 according to the specifications and requirements of the product. And, the first critical value is greater than the second critical value.

在圖2B的步驟S221中,光纖傳輸功率修正系統100可透過運算裝置130將第一位元組值SP1_M、SP2_M、SP3_M之中最小第一位元組值與第二位元組值SP1_L、SP2_L、SP3_L之中的最大第二位元組值結合為第一組值。在步驟S222中,透過運算裝置130將第一位元組值SP1_M、SP2_M、SP3_M之中的最大第一位元組值與第二位元組值SP1_L、SP2_L、SP3_L之中的最小第二位元組值結合為第二組值。In step S221 of FIG. 2B, the optical fiber transmission power correction system 100 may use the computing device 130 to combine the smallest first byte value of the first byte values SP1_M, SP2_M, and SP3_M with the second byte value SP1_L, SP2_L. The maximum second byte value among SP3_L is combined into the first group of values. In step S222, the largest first byte value among the first byte values SP1_M, SP2_M, SP3_M and the smallest second byte among the second byte values SP1_L, SP2_L, and SP3_L are passed through the computing device 130. The tuple values are combined into a second set of values.

在此舉例來說明,第一臨界值可設定為「E0」。第二臨界值可設定為「20」。光感測裝置110所接收到的感應值SP1是「04FE」,其中感應值SP1的第一位元組值SP1_M是「04」而感應值SP1的第二位元組值SP1_L是「FE」。光感測裝置110所接收到的感應值SP2是「0501」,其中感應值SP2的第一位元組值SP2_M是「05」而感應值SP2的第二位元組值SP2_L是「01」。而光感測裝置110所接收到的感應值SP3是「0504」,其中感應值SP2的第一位元組值SP3_M是「05」而感應值SP3的第二位元組值SP3_L是「04」。在步驟S222中,運算裝置130可判斷出第一位元組值SP1_M、SP2_M、SP3_M不完全相同。並且運算裝置130也可判斷出在第二位元組值SP1_L、SP2_L、SP3_L之中,第二位元組值SP1_L大於第一臨界值,並且第二位元組值SP2_L、SP3_L小於第一臨界值。在步驟S221中,運算裝置130可將第一位元組值SP1_M、SP2_M、SP3_M之中最小第一位元組值SP1_M,與第二位元組值SP1_L、SP2_L、SP3_L之中的最大第二位元組值SP1_L結合為第一組值。因此第一組值是「04FE」。In this example, the first critical value can be set to "E0". The second critical value can be set to "20". The sensing value SP1 received by the light sensing device 110 is "04FE", where the first byte value SP1_M of the sensing value SP1 is "04" and the second byte value SP1_L of the sensing value SP1 is "FE". The sensing value SP2 received by the light sensing device 110 is "0501", wherein the first byte value SP2_M of the sensing value SP2 is "05" and the second byte value SP2_L of the sensing value SP2 is "01". The sensing value SP3 received by the light sensing device 110 is "0504", where the first byte value SP3_M of the sensing value SP2 is "05" and the second byte value SP3_L of the sensing value SP3 is "04" . In step S222, the computing device 130 may determine that the first byte values SP1_M, SP2_M, and SP3_M are not completely the same. In addition, the computing device 130 may determine that among the second byte values SP1_L, SP2_L, and SP3_L, the second byte value SP1_L is larger than the first threshold value, and the second byte value SP2_L, SP3_L is smaller than the first threshold value. value. In step S221, the computing device 130 may set the smallest first byte value SP1_M among the first byte values SP1_M, SP2_M, and SP3_M to the largest second byte value among the second byte values SP1_L, SP2_L, and SP3_L. The byte values SP1_L are combined into a first set of values. So the first set of values is "04FE".

在步驟S222中,透過運算裝置130將第一位元組值SP1_M、SP2_M、SP3_M之中的最大第一位元組值SP2_M(或SP3_M)與第二位元組值SP1_L、SP2_L、SP3_L之中的最小第二位元組值SP2_L結合為第二組值。因此第二組值是「0501」。接下來在步驟S223中,光纖傳輸功率修正系統100可透過運算裝置130來取得第一組值以及第二組值的平均值,以獲得感應儲存器值CP。在本例中,光纖傳輸功率修正系統100所獲得的感應儲存器值CP是「0500」,光纖傳輸功率修正系統100將所獲得的感應儲存器值CP與外部光發射儀器傳送給光感測裝置的實際功率值進行比對來取得功率比對結果,依據功率比對結果對光感測裝置110進行調整。In step S222, the maximum first byte value SP2_M (or SP3_M) among the first byte values SP1_M, SP2_M, and SP3_M and the second byte values SP1_L, SP2_L, and SP3_L are calculated through the computing device 130. The minimum second byte value SP2_L is combined into a second set of values. So the second set of values is "0501". Next, in step S223, the optical fiber transmission power correction system 100 can obtain the average value of the first set of values and the second set of values through the computing device 130 to obtain the inductive storage value CP. In this example, the inductive storage value CP obtained by the optical fiber transmission power correction system 100 is “0500”, and the optical fiber transmission power correction system 100 transmits the obtained inductive storage value CP and an external light emitting device to the light sensing device Compare the actual power value of the power to obtain the power comparison result, and adjust the light sensing device 110 according to the power comparison result.

更進一步地,在本實施例中的步驟S223中,光纖傳輸功率修正系統100可配置感應暫存器114。光纖傳輸功率修正系統100可透過運算裝置130將感應儲存器值CP儲存至感應暫存器114。在圖4的實施例中,感應暫存器114是配置於光感測裝置110內。在其他實施例中,感應暫存器114可以是配置於光感測裝置110的外部。在本實施例中,運算裝置130可以是透過乙太網路(ethernet cable)通訊介面、光纖通訊介面、通用序列匯流排(Universal Serial Bus,USB)或無線網路通訊介面等其他規格的通訊介面,將感應儲存器值CP儲存至感應暫存器114。然本發明並不受限於此。Furthermore, in step S223 in this embodiment, the optical fiber transmission power correction system 100 may be configured with an induction register 114. The optical fiber transmission power correction system 100 can store the inductive storage value CP to the inductive register 114 through the computing device 130. In the embodiment of FIG. 4, the sensing register 114 is disposed in the light sensing device 110. In other embodiments, the sensing register 114 may be disposed outside the light sensing device 110. In this embodiment, the computing device 130 may be a communication interface of other specifications such as an Ethernet cable communication interface, an optical fiber communication interface, a universal serial bus (USB), or a wireless network communication interface. , And store the sensing memory value CP to the sensing register 114. However, the present invention is not limited to this.

再請參考圖1與圖2A,在步驟S220_1的情況判斷下,當運算裝置130判斷第一位元組值SP1_M、SP2_M、SP3_M不完全相同,並且當第二位元組值SP1_L、SP2_L、SP3_L都大於第一臨界值的特殊情況,則進入圖2C中的步驟S224。基於上述的情況判斷的結果,運算裝置130在開始進行修正運算操作時可決定第一位元組值SP1_M、SP2_M、SP3_M的其中之一與第二位元組值SP1_L、SP2_L、SP3_L的平均值進行結合。在步驟S224中,光纖傳輸功率修正系統100可透過運算裝置130取得第一位元組值SP1_L、SP2_L、SP3_L的第二位元組平均值。並且在步驟S225中,透過運算裝置130結合第一位元組值SP1_M、SP2_M、SP3_M中的最小第一位元組值與第二位元組平均值,以獲得感應儲存器值CP。光纖傳輸功率修正系統100將所獲得的感應儲存器值CP與外部光發射儀器傳送給光感測裝置的實際功率值進行比對來取得功率比對結果,依據功率比對結果對光感測裝置110進行調整。Please refer to FIG. 1 and FIG. 2A again. In the case of step S220_1, when the computing device 130 determines that the first byte values SP1_M, SP2_M, SP3_M are not exactly the same, and when the second byte values SP1_L, SP2_L, SP3_L In the special case where both are greater than the first critical value, step S224 in FIG. 2C is entered. Based on the result of the above situation judgment, the computing device 130 may determine one of the first byte values SP1_M, SP2_M, and SP3_M and the average of the second byte values SP1_L, SP2_L, and SP3_L when the correction operation is started. Perform a combination. In step S224, the optical fiber transmission power correction system 100 may obtain the second byte average value of the first byte values SP1_L, SP2_L, and SP3_L through the computing device 130. In step S225, the arithmetic device 130 is used to combine the minimum first byte value of the first byte values SP1_M, SP2_M, and SP3_M with the average value of the second byte to obtain the sensing memory value CP. The optical fiber transmission power correction system 100 compares the obtained inductive storage value CP with the actual power value transmitted from the external light emitting device to the light sensing device to obtain a power comparison result, and the light sensing device is compared according to the power comparison result. 110 to make adjustments.

在另一特殊情況,當運算裝置130判斷第一位元組值SP1_M、SP2_M、SP3_M不完全相同,並且當第二位元組值SP1_L、SP2_L、SP3_L都小於第二臨界值,則進入圖2D中的步驟S226。在步驟S226中,光纖傳輸功率修正系統100可透過運算裝置130取得第二位元組值SP1_L、SP2_L、SP3_L的第二位元組平均值。基於上述的情況判斷的結果,運算裝置130在開始進行修正運算操作時可決定第一位元組值SP1_M、SP2_M、SP3_M的其中之一與第二位元組值SP1_L、SP2_L、SP3_L的平均值進行結合。並且在步驟S227中透過運算裝置130結合第一位元組值SP1_M、SP2_M、SP3_M之中的最大第一位元組值與第二位元組平均值,以獲得感應儲存器值CP。光纖傳輸功率修正系統100還可透過運算裝置130將感應儲存器值CP儲存至感應暫存器114。光纖傳輸功率修正系統100將所獲得的感應儲存器值CP與外部光發射儀器傳送給光感測裝置的實際功率值進行比對來取得功率比對結果,依據功率比對結果對光感測裝置110進行調整。In another special case, when the computing device 130 determines that the first byte values SP1_M, SP2_M, and SP3_M are not exactly the same, and when the second byte values SP1_L, SP2_L, and SP3_L are all smaller than the second critical value, it enters FIG. 2D Step S226. In step S226, the optical fiber transmission power correction system 100 can obtain the second byte average values of the second byte values SP1_L, SP2_L, and SP3_L through the computing device 130. Based on the result of the above situation judgment, the computing device 130 may determine one of the first byte values SP1_M, SP2_M, and SP3_M and the average of the second byte values SP1_L, SP2_L, and SP3_L when the correction operation is started. Perform a combination. In step S227, the computing device 130 combines the largest first byte value and the second byte average value among the first byte values SP1_M, SP2_M, and SP3_M to obtain the sensing memory value CP. The optical fiber transmission power correction system 100 may further store the inductive storage value CP to the inductive register 114 through the computing device 130. The optical fiber transmission power correction system 100 compares the obtained inductive storage value CP with the actual power value transmitted from the external light emitting device to the light sensing device to obtain a power comparison result, and the light sensing device is compared according to the power comparison result. 110 to make adjustments.

再請參考圖2與圖2A,當運算裝置130在步驟S220_1中判斷第一位元組值SP1_M、SP2_M、SP3_M相同,並且第二位元組值SP1_L、SP2_L、SP3_L之中沒有大於第一臨界值的第二位元組值以及沒有小於第二臨界值的第二位元組值,則進入圖2E中的步驟S228。換句話說,當第一位元組值SP1_M、SP2_M、SP3_M相同,並且第二位元組值SP1_L、SP2_L、SP3_L都介於第一臨界值與第二臨界值之間時,則進入步驟S228。基於上述的情況判斷的結果,這樣的狀況屬於沒有發生溢位的正常情況。運算裝置130可決定第一位元組值SP1_M、SP2_M、SP3_M的其中之一與第二位元組值SP1_L、SP2_L、SP3_L的平均值進行結合。在步驟S228中,光纖傳輸功率修正系統100可透過運算裝置130取得第二位元組值SP1_L、SP2_L、SP3_L的第二位元組平均值。在步驟S229中,透過運算裝置130結合第一位元組值SP1_M、SP2_M、SP3_M的其中之一與第二位元組平均值,以獲得感應儲存器值CP。光纖傳輸功率修正系統100將所獲得的感應儲存器值CP與外部光發射儀器傳送給光感測裝置的實際功率值進行比對來取得功率比對結果,依據功率比對結果對光感測裝置110進行調整。在一些實施例中,第三臨界值也可以被建立。運算裝置130也可在步驟S220_1中判斷第一位元組值SP1_M、SP2_M、SP3_M相同外,判斷第二位元組值SP1_L、SP2_L、SP3_L中的最大值及最小值在經過十進位的換算後,落差在第三臨界值(例如是32)以內。則進入步驟S228。Please refer to FIG. 2 and FIG. 2A again. When the computing device 130 determines in step S220_1 that the first byte values SP1_M, SP2_M, and SP3_M are the same, and the second byte values SP1_L, SP2_L, and SP3_L are not greater than the first threshold If the second byte value of the value and the second byte value that is not less than the second critical value are entered, step S228 in FIG. 2E is entered. In other words, when the first byte values SP1_M, SP2_M, and SP3_M are the same, and the second byte values SP1_L, SP2_L, and SP3_L are between the first threshold value and the second threshold value, the process proceeds to step S228. . Based on the result of the above situation judgment, such a situation belongs to a normal situation where no overflow occurs. The computing device 130 may decide to combine one of the first byte values SP1_M, SP2_M, and SP3_M with the average of the second byte values SP1_L, SP2_L, and SP3_L. In step S228, the optical fiber transmission power correction system 100 may obtain the second byte average values of the second byte values SP1_L, SP2_L, and SP3_L through the computing device 130. In step S229, one of the first byte values SP1_M, SP2_M, and SP3_M and the second byte average value are combined through the computing device 130 to obtain a sensing memory value CP. The optical fiber transmission power correction system 100 compares the obtained inductive storage value CP with the actual power value transmitted from the external light emitting device to the light sensing device to obtain a power comparison result, and the light sensing device is compared according to the power comparison result. 110 to make adjustments. In some embodiments, a third threshold may also be established. The computing device 130 may also determine that the first byte values SP1_M, SP2_M, and SP3_M are the same in step S220_1, and determine that the maximum and minimum values of the second byte values SP1_L, SP2_L, and SP3_L have been converted by decimal. , The drop is within the third critical value (for example, 32). Go to step S228.

在圖1、圖2A至圖2E的實施例中,在步驟S220_1的情況判斷下也會有上述溢位情況、特殊情況以及正常情況以外的無法判斷之情況。遭遇到無法判斷之情況時,光纖傳輸功率修正系統100的修正方法的步驟可回到步驟S210,再一次透過光電轉換元件120接收感應值SP1、SP2、SP3。In the embodiments of FIG. 1, FIG. 2A to FIG. 2E, in the case of step S220_1, there may be the above-mentioned overflow situation, special situation, and situations that cannot be judged other than the normal situation. When encountering a situation that cannot be judged, the steps of the correction method of the optical fiber transmission power correction system 100 may return to step S210, and once again receive the sensing values SP1, SP2, and SP3 through the photoelectric conversion element 120.

綜上所述,本發明的光電傳輸功率的修正方法可透過光電轉換元件接收多數個感應值,將多數個感應值儲存到接收暫存器。經由運算裝置依據多數個感應值的多數個第一位元組值是否相同以及多數個感應值的多數個第二位元組值的分布,對多數個第一位元組值以及多數個第二位元組值進行修正運算操作以獲得感應儲存器值,以排除因為溢位所造成的感應值誤判,從而在生產過程中可提高傳輸功率的校正準確性與生產良率。In summary, the method for correcting the photoelectric transmission power of the present invention can receive a plurality of sensing values through a photoelectric conversion element, and store the plurality of sensing values in a receiving register. According to whether the majority of the first byte values of the majority of the sensing values are the same and the distribution of the majority of the second byte values of the majority of the sensing values, the computing device determines the majority of the first byte values and the majority of the second bytes. The byte value is subjected to a correction operation to obtain a sensing memory value, so as to eliminate the misjudgment of the sensing value due to overflow, thereby improving the correction accuracy of the transmission power and the production yield in the production process.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with the examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some modifications and retouching without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be determined by the scope of the attached patent application.

100:光纖傳輸功率修正系統 110:光感測裝置 112:接收暫存器 114:感應暫存器 120:光電轉換元件 130:運算裝置 CP:感應儲存器值 SP1、SP2、SP3:感應值 SP1_M、SP2_M、SP3_M:第一位元組值 SP1_L、SP2_L、SP3_L:第二位元組值 S210、S220、S220_1、S221~S229:步驟100: Optical fiber transmission power correction system 110: Light sensing device 112: Receiving register 114: Induction register 120: Photoelectric conversion element 130: Computing device CP: Inductive memory value SP1, SP2, SP3: Inductive value SP1_M, SP2_M, SP3_M: first byte values SP1_L, SP2_L, SP3_L: second byte values S210, S220, S220_1, S221 ~ S229: steps

圖1是依據本發明一實施例所繪示的光纖傳輸功率修正系統示意圖。 圖2A至圖2E是依據本發明一實施例所繪示的光電傳輸功率的修正方法流程圖。FIG. 1 is a schematic diagram of an optical fiber transmission power correction system according to an embodiment of the present invention. 2A to 2E are flowcharts of a method for correcting a photoelectric transmission power according to an embodiment of the present invention.

Claims (9)

一種光纖傳輸功率的一修正方法,用於一光纖網路設備,該光纖網路設備包括一光感測裝置及一光電轉換元件,該修正方法包括:透過該光感測裝置驅動該光電轉換元件,透過該光電轉換元件接收關連於光電傳輸功率的多個感應值並且將該些感應值儲存到該光感測裝置的一接收暫存器;以及依據該些感應值的多個第一位元組值是否相同以及該些感應值的多個第二位元組值的分布,對該些第一位元組值以及該些第二位元組值進行一修正運算操作以獲得一感應儲存器值,其中該修正運算操作包括結合該些第一位元組值的其中之一與該些第二位元組值的其中之一,或者是選擇結合該些第一位元組值的其中之一與該些第二位元組值的平均值進行結合。 A method for correcting optical fiber transmission power for an optical fiber network device. The optical fiber network device includes a light sensing device and a photoelectric conversion element. The correction method includes driving the photoelectric conversion element through the light sensing device. Receiving a plurality of sensing values related to the photoelectric transmission power through the photoelectric conversion element and storing the sensing values in a receiving register of the light sensing device; and a plurality of first bits according to the sensing values Whether the group values are the same and the distribution of the multiple second byte values of the sensing values, and performing a correction operation on the first byte values and the second byte values to obtain a sensing memory Value, wherein the correction operation includes combining one of the first byte values and one of the second byte values, or selecting one of the first byte values to be combined One is combined with the average of the second byte values. 如申請專利範圍第1項所述的修正方法,其中該第一位元組是二位元組資料形式中的高位元組,其中該第二位元組是二位元組資料形式中的低位元組。 The correction method according to item 1 of the scope of patent application, wherein the first byte is a high byte in a two-byte data form, and the second byte is a low bit in a two-byte data form Tuple. 如申請專利範圍第1項所述的修正方法,其中透過該光感測裝置驅動該光電轉換元件,透過該光電轉換元件接收關連於光電傳輸功率的該些感應值並且將該些感應值儲存到該光感測裝置的該接收暫存器的步驟,包括:使該光電轉換元件接收一第一感應值,透過該光感測裝置將該第一感應值儲存到該接收暫存器;以及 使該光電轉換元件接收一第二感應值,透過該光感測裝置將該第二感應值儲存到該接收暫存器。 The correction method according to item 1 of the scope of patent application, wherein the photoelectric conversion element is driven by the light sensing device, the sensing values related to the photoelectric transmission power are received through the photoelectric conversion element, and the sensing values are stored in The receiving register of the light sensing device includes: causing the photoelectric conversion element to receive a first sensing value, and storing the first sensing value to the receiving register through the light sensing device; and The photoelectric conversion element is caused to receive a second sensing value, and the second sensing value is stored in the receiving register through the light sensing device. 如申請專利範圍第1項所述的修正方法,更包括:設定第二位元組的一第一臨界值以及一第二臨界值,其中該第一臨界值大於該第二臨界值。 The correction method according to item 1 of the scope of patent application, further comprising: setting a first threshold value and a second threshold value of the second byte, wherein the first threshold value is greater than the second threshold value. 如申請專利範圍第4項所述的修正方法,其中依據該些感應值的該些第一位元組值是否相同以及該些感應值的該些第二位元組值的分布,對該些第一位元組值以及該些第二位元組值進行該修正運算操作以獲得該感應儲存器值的步驟,包括:當該些第一位元組值不完全相同,並且該些第二位元組值中具有大於該第一臨界值的第二位元組值以及具有小於該第二臨界值的第二位元組值,將該些第一位元組值中的一最小第一位元組值與該些第二位元組值中的一最大第二位元組值結合為一第一組值;將該些第一位元組值中的最大第一位元組值與該些第二位元組值中的最小第二位元組值結合為一第二組值;以及取得該第一組值以及該第二組值的平均值以獲得該感應儲存器值。 The correction method according to item 4 of the scope of patent application, wherein according to whether the first byte values of the sensing values are the same and the distribution of the second byte values of the sensing values, The step of performing the correction operation on the first byte value and the second byte values to obtain the sensing memory value includes: when the first byte values are not exactly the same, and the second byte values A byte value having a second byte value greater than the first threshold value and a second byte value less than the second threshold value is a smallest first of the first byte values. The byte value is combined with a maximum second byte value of the second byte values into a first group value; the maximum first byte value in the first byte values and The smallest second byte value of the second byte values is combined into a second group value; and an average of the first group value and the second group value is obtained to obtain the sensing memory value. 如申請專利範圍第4項所述的修正方法,其中依據該些感應值的該些第一位元組值是否相同以及該些感應值的該些第二位元組值的分布,對該些第一位元組值以及該些第二位元組值進行該修正運算操作以獲得該感應儲存器值的步驟,包括: 當該些第一位元組值不完全相同,並且該些第二位元組值皆大於該第一臨界值,取得該些第二位元組值的一第二位元組平均值;以及結合該些第一位元組值中的最小第一位元組值與該第二位元組平均值以獲得該感應儲存器值。 The correction method according to item 4 of the scope of patent application, wherein according to whether the first byte values of the sensing values are the same and the distribution of the second byte values of the sensing values, The steps of performing the correction operation on the first byte value and the second byte values to obtain the sensing memory value include: When the values of the first bytes are not exactly the same, and the values of the second bytes are all greater than the first critical value, obtaining a second byte average of the values of the second bytes; and The minimum first byte value and the second byte average value among the first byte values are combined to obtain the sensing memory value. 如申請專利範圍第3項所述的修正方法,其中依據該些感應值的該些第一位元組值是否相同以及該些感應值的該些第二位元組值的分布,對該些第一位元組值以及該些第二位元組值進行該修正運算操作以獲得該感應儲存器值的步驟,包括:當該些第一位元組值不完全相同,並且該些第二位元組值皆小於該第二臨界值,取得該些第二位元組值的一第二位元組平均值;以及結合該些第一位元組值中的最大第一位元組值與該第二位元組平均值以獲得該感應儲存器值。 The correction method according to item 3 of the scope of patent application, wherein according to whether the first byte values of the sensing values are the same and the distribution of the second byte values of the sensing values, The step of performing the correction operation on the first byte value and the second byte values to obtain the sensing memory value includes: when the first byte values are not exactly the same, and the second byte values All the byte values are smaller than the second critical value, obtaining a second byte average value of the second byte values; and combining the largest first byte value of the first byte values And average the second byte to obtain the sensing memory value. 如申請專利範圍第4項所述的修正方法,其中依據該些感應值的該些第一位元組值是否相同以及該些感應值的該些第二位元組值的分布,對該些第一位元組值以及該些第二位元組值進行該修正運算操作以獲得該感應儲存器值的步驟,包括:當該些第一位元組值相同,並且該些第二位元組值中沒有大於該第一臨界值的第二位元組值以及小於該第二臨界值的第二位元組值,取得該些第二位元組值的第二位元組平均值;以及結合該些第一位元組值中的其中之一與該第二位元組平均值 以獲得該感應儲存器值。 The correction method according to item 4 of the scope of patent application, wherein according to whether the first byte values of the sensing values are the same and the distribution of the second byte values of the sensing values, The step of performing the correction operation on the first byte value and the second byte values to obtain the sensing memory value includes: when the first byte values are the same, and the second bits There is no second byte value that is greater than the first critical value and a second byte value that is less than the second critical value, to obtain the second byte average of the second byte values; And combining one of the first byte values with the average of the second byte To obtain the inductive memory value. 如申請專利範圍第1項所述的修正方法,更包括:將該感應儲存器值儲存至該光感測裝置的一感應暫存器。The correction method according to item 1 of the patent application scope further includes: storing the sensing memory value to a sensing register of the light sensing device.
TW107106988A 2018-03-02 2018-03-02 Correction method for photoelectric transmission power TWI674772B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107106988A TWI674772B (en) 2018-03-02 2018-03-02 Correction method for photoelectric transmission power
CN201910111153.6A CN110224747B (en) 2018-03-02 2019-02-12 Method for correcting photoelectric transmission power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107106988A TWI674772B (en) 2018-03-02 2018-03-02 Correction method for photoelectric transmission power

Publications (2)

Publication Number Publication Date
TW201939912A TW201939912A (en) 2019-10-01
TWI674772B true TWI674772B (en) 2019-10-11

Family

ID=67822315

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107106988A TWI674772B (en) 2018-03-02 2018-03-02 Correction method for photoelectric transmission power

Country Status (2)

Country Link
CN (1) CN110224747B (en)
TW (1) TWI674772B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201427305A (en) * 2012-12-24 2014-07-01 Ind Tech Res Inst Apparatus and method for data embedding in light communication and the light communication system and method thereof
CN104034415A (en) * 2013-03-08 2014-09-10 光宝新加坡有限公司 Ambient light sensing method and sensing device
EP2222077B1 (en) * 2009-02-23 2014-11-26 Sony Corporation Solid-state imaging device and electronic apparatus
US20160197117A1 (en) * 2010-11-08 2016-07-07 Sony Corporation Solid-state image sensing device and camera system with divided pixels
WO2017110483A1 (en) * 2015-12-22 2017-06-29 ソニー株式会社 Information processing device, information processing method, and program

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3655770B2 (en) * 1999-03-29 2005-06-02 日本電気株式会社 Optical receiver circuit
JP2001036474A (en) * 1999-07-22 2001-02-09 Nec Corp Optical output level automatic adjustment system for optical transmission and method
US8971362B2 (en) * 2002-10-08 2015-03-03 Infinera Corporation Monitoring of a laser source with front and rear output photodetectors to determine frontal laser power and power changes over laser lifetime
JP3776900B2 (en) * 2003-08-01 2006-05-17 沖電気工業株式会社 Optical power level control device for optical wavelength multiplexer
CN101505190B (en) * 2008-02-04 2012-04-25 华为技术有限公司 Optical power adjusting, measuring method and apparatus
CN101299637A (en) * 2008-06-18 2008-11-05 中兴通讯股份有限公司 Power negotiation method for optical transmission system
CN103383282A (en) * 2012-05-03 2013-11-06 敦南科技股份有限公司 Method for calibrating ambient light sensor and system thereof
CN103475415A (en) * 2013-09-25 2013-12-25 武汉世翔科技有限公司 Method for transmitting optical module low-speed signals
CN104266751B (en) * 2014-10-15 2016-04-06 江玉柱 Multi-wavelength laser power calibrating instrument and calibration method thereof
CN107666354B (en) * 2016-07-27 2020-02-14 中国电信股份有限公司 Power control method and system, optical line terminal and optical network unit
CN106341181B (en) * 2016-08-26 2019-05-28 成都九洲迪飞科技有限责任公司 Optical fibre link circuit testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2222077B1 (en) * 2009-02-23 2014-11-26 Sony Corporation Solid-state imaging device and electronic apparatus
US20160197117A1 (en) * 2010-11-08 2016-07-07 Sony Corporation Solid-state image sensing device and camera system with divided pixels
TW201427305A (en) * 2012-12-24 2014-07-01 Ind Tech Res Inst Apparatus and method for data embedding in light communication and the light communication system and method thereof
CN104034415A (en) * 2013-03-08 2014-09-10 光宝新加坡有限公司 Ambient light sensing method and sensing device
WO2017110483A1 (en) * 2015-12-22 2017-06-29 ソニー株式会社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
CN110224747A (en) 2019-09-10
TW201939912A (en) 2019-10-01
CN110224747B (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US20190272252A1 (en) Method of processing deadlock of i2c bus, electronic device and communication system
US8667194B2 (en) Two-wire interface in which a master component monitors the data line during the preamble generation phase for synchronization with one or more slave components
US20100205326A1 (en) Programming parallel i2c slave devices from a single i2c data stream
US10089173B2 (en) Error detection constants of symbol transition clocking transcoding
US20080215780A1 (en) Simultaneous Control Of Multiple I/O Banks In An 12C Slave Device
US9684350B2 (en) Calibration scheme for improving flexibility on platform implementation
TWI674772B (en) Correction method for photoelectric transmission power
US8184985B2 (en) Control circuit for optical transmitter/receiver
CN111835569B (en) Self-adaptive method, system and storage medium for optical port speed and mode
US9071360B2 (en) Optical transceiver having improved functions to load control program
JP2007505579A (en) Channel bonding of multiple multi-gigabit transceivers
US7304950B2 (en) Two-wire interface having dynamically adjustable data fields depending on operation code
US20170199838A1 (en) Communication interface circuit and semiconductor integrated circuit
US7802124B2 (en) Microcode configurable frequency clock
US11302281B2 (en) Register value transmission method and transmitter, display device and computer readable storage medium
US10848263B2 (en) Methods for reducing data errors in transceiving of a flash storage interface and apparatuses using the same
CN110955555A (en) NAND memory compatible method
US20190018470A1 (en) Interconnect serialization system and method
US20160013774A1 (en) Dynamic voltage adjustment of an i/o interface signal
US9632883B2 (en) Digital encoding of parallel busses to suppress simultaneous switching output noise
CN114088224A (en) Computer board chip temperature monitoring system
US20040078150A1 (en) Techniques to manufacture optical signal transmitters
US20180196714A1 (en) Processing device
US11230012B2 (en) Servo calibration method and apparatus and robot using the same
JP2004157995A (en) Reference voltage correction device and method