CN109327258A - Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power - Google Patents
Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power Download PDFInfo
- Publication number
- CN109327258A CN109327258A CN201811297893.5A CN201811297893A CN109327258A CN 109327258 A CN109327258 A CN 109327258A CN 201811297893 A CN201811297893 A CN 201811297893A CN 109327258 A CN109327258 A CN 109327258A
- Authority
- CN
- China
- Prior art keywords
- optical power
- receiving end
- value
- optical module
- mapping table
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 310
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 238000013507 mapping Methods 0.000 claims abstract description 129
- 238000005070 sampling Methods 0.000 claims description 8
- 238000009434 installation Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 101100434411 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ADH1 gene Proteins 0.000 description 6
- 101150102866 adc1 gene Proteins 0.000 description 6
- 101150042711 adc2 gene Proteins 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001568 sexual effect Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements 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/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07955—Monitoring 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 discloses calibration method, device and the readable storage medium storing program for executing of a kind of optical module receiving end optical power, the calibration method of optical module receiving end optical power is the following steps are included: when the avalanche photodide of optical module receives light, the current actual voltage value of avalanche photodide is calculated, and judges the relationship of current temperature value Yu each temperature threshold range;If current temperature value calculates corresponding first optical power value of optical module receiving end within the scope of the first temperature threshold in each temperature threshold range, based on the first mapping table;If not within the scope of each temperature threshold, the second optical power value of receiving end of optical module is calculated based on the second mapping table and third mapping table for current temperature value.The difference of first optical power value and the second optical power value of the invention optical power corresponding with light respectively is smaller, effectively reduces optical power and receives the error between optical power, realizes the requirements for high precision for the optical power that receiving end reports.
Description
Technical field
The present invention relates to the calibration method of optical module photoreceiver technical field more particularly to optical module receiving end optical power,
Device and readable storage medium storing program for executing.
Background technique
Monitoring input optical power side of traditional optical module photoreceiver to the avalanche photodide APD inside optical module
Method are as follows: when optical power inputPower is certain light (hereinafter referred to as Pi), the current mirror by flowing through APD goes out monitor current
I and sampling resistor R obtains sampled voltage V (V=I*R), and becomes to digitize by voltage V value with ADC digital analog converter, is recorded as
ADC.At this point, the optical power value that optical module receiving end reports is Ptarget (hereinafter referred to as Pt), still, because of avalanche optoelectronic two
Pole pipe APD is often subject to avalanche voltage Vapd, temperature, dark current etc. influence, the optical power value Pt and optical power Pi of receiving end
There is certain error, generally between +/- 3dB.
Summary of the invention
The main purpose of the present invention is to provide calibration method, device and the readable storages of a kind of optical module receiving end optical power
Medium, it is intended to solve the optical power value of optical module receiving end in the prior art and the larger technical problem of optical power error.
To achieve the above object, the present invention provides a kind of calibrating installation of optical module receiving end optical power, and the optical module is received
Hold optical power calibration method the following steps are included:
The calibration method of the optical module receiving end optical power the following steps are included:
When the avalanche photodide of optical module receives light, the current practical electricity of the avalanche photodide is calculated
Pressure value, and judge the relationship of current temperature value Yu each temperature threshold range;Wherein, each temperature threshold range respectively corresponds one
A mapping table, and the mapping table is the optical power value of each temperature threshold range and the original of avalanche photodide
The set of the relationship point of beginning voltage value;
If the current temperature value searches institute within the scope of the first temperature threshold in each temperature threshold range
Corresponding first mapping table of the first temperature threshold range is stated, and the optical module is calculated based on first mapping table
Corresponding first optical power value of receiving end;
If the current temperature value not within the scope of each temperature threshold, searches the adjacent temperature door of the current temperature value
Corresponding second mapping table and third mapping table are limited, and is based on second mapping table and third mapping relations
The second optical power value of receiving end of meter calculation optical module.
Preferably, the step that the avalanche photodide in optical module receives light includes:
When the avalanche photodide of optical module receives light, the current mirror that is flowed through according to the avalanche photodide
Monitor current and sampling resistor calculate current voltage to picture out, and current voltage is converted into ten's digit through digital analog converter,
And it is recorded as actual voltage value.
Preferably, described that corresponding first optical power value of the optical module receiving end is calculated based on first mapping table
The step of include:
It is searched based on first mapping table and is worth adjacent two with the practical optical power under the current temperature value
A first performance number;
The first relationship point of two first performance numbers and the first voltage value is obtained based on first mapping table;
Corresponding first optical power value of the optical module receiving end is calculated as linear difference to two the first relationship points.
Preferably, the receiving end second that optical module is calculated based on second mapping table and third mapping table
The step of optical power value includes:
The first check point is calculated based on the second mapping table;
The second check point is calculated based on third mapping table;
Second optical power value is calculated based on first check point and the second check point.
Preferably, described the step of being based on the second mapping table the first check point of calculating, includes:
Practical optical power under being searched based on the second mapping table with the current temperature value is worth adjacent two the
Two performance numbers;
Second voltage value is obtained based on second performance number;
Corresponding two the second relationship points are obtained based on two the second performance numbers and two second voltage values;
The first check point is calculated as linear difference to two the second relationship points.
Preferably, described the step of calculating the second check point based on third mapping table, includes:
Practical optical power under being searched based on third mapping table with the current temperature value is worth adjacent two the
Three performance numbers;
Third voltage value is obtained based on the third performance number;
Corresponding two thirds relationship point is obtained based on two third performance numbers and two third voltage value;
The second check point is calculated as linear difference to two third relationship points.
Preferably, described the step of calculating second optical power value based on first check point and the second check point, wraps
It includes:
Second optical power value is calculated as linear difference to first check point and the second check point.
Preferably, have 32 in first mapping table, the second relationship map relation table and third relation mapping table
It is a, and have 128 bit bytes in every table.
In addition, described device includes: master control list the present invention also provides a kind of calibrating installation of optical module receiving end optical power
Member, memory, processor and the optical module receiving end optical power that is stored on the memory and can run on the processor
Calibration procedure, when the calibration procedure of the optical module receiving end optical power is executed by the processor realize such as any of the above-described institute
The step of calibration method for the optical module receiving end optical power stated.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
The calibration procedure of optical module receiving end optical power is contained, it is real when the calibration procedure of the optical module receiving end optical power is executed by processor
Now among the above the calibrating installation of described in any item optical module receiving end optical powers the step of.
In the present invention, pass through the raw voltage values of the optical power and avalanche photodide established under different temperatures thresholding
Mapping table calculate the current virtual voltage of avalanche photodide when avalanche photodide receives a certain smooth
Value, and the relationship of current temperature value and each temperature threshold is judged, if the temperature threshold range in mapping table
It is interior, then corresponding first mapping table is searched, and corresponding first light of optical module receiving end is calculated based on the first mapping table
Performance number;If not within the scope of each temperature threshold, it is corresponding to search the adjacent temperature threshold of current temperature value for current temperature value
Second mapping table and third mapping table, and optical module is calculated based on the second mapping table and third mapping table
The second optical power value of receiving end;The first optical power value calculated by the first mapping table, or reflected by second
Penetrate relation table and the second optical power value that third mapping table is calculated, the first optical power value and the second optical power value difference
The difference of optical power corresponding with light is smaller, more meets the required precision for the optical power that client reports receiving end.The present invention
Corresponding first optical power of the optical module receiving end is calculated by establishing mapping table, and based on first mapping table
Value, or and the second optical power of receiving end based on second mapping table and third mapping table calculating optical module
Value has so that the difference of obtained the first optical power value and the second optical power value optical power corresponding with light respectively is smaller
Effect reduces optical power and receives the error between optical power, realizes the requirements for high precision for the optical power that receiving end reports.
Detailed description of the invention
Fig. 1 is the device hardware structural diagram that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the calibration method first embodiment of optical module receiving end optical power of the present invention;
Fig. 3 is the flow diagram of the calibration method second embodiment of optical module receiving end optical power of the present invention;
Fig. 4 is the flow diagram of the calibration method 3rd embodiment of optical module receiving end optical power of the present invention;
Fig. 5 is the flow diagram of the calibration method fourth embodiment of optical module receiving end optical power of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of calibration method of optical module receiving end optical power of the present invention.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the apparatus may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, device can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Certainly, device can also configure gyroscope, barometer, hygrometer, thermometer, infrared sensor etc.
Other sensors, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure twin installation of apparatus structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating device, network are logical in a kind of memory 1005 of computer storage medium
Believe the calibration procedure of module, user interface section and optical module receiving end optical power.
In device shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the calibration procedure of the optical module receiving end optical power stored in memory 1005, and execute following operation:
When the avalanche photodide of optical module receives light, the current virtual voltage of avalanche photodide is calculated
Value, and judge the relationship of current temperature value Yu each temperature threshold range;Wherein, each temperature threshold range respectively corresponds one
Mapping table, and the mapping table be each temperature threshold range optical power value and avalanche photodide it is original
The set of the relationship point of voltage value;
If the current temperature value searches institute within the scope of the first temperature threshold in each temperature threshold range
Corresponding first mapping table of the first temperature threshold range is stated, and the optical module is calculated based on first mapping table
Corresponding first optical power value of receiving end;
If the current temperature value not within the scope of each temperature threshold, searches the adjacent temperature door of the current temperature value
Corresponding second mapping table and third mapping table are limited, and is based on second mapping table and third mapping relations
The second optical power value of receiving end of meter calculation optical module.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
When the avalanche photodide of optical module receives light, the current mirror that is flowed through according to the avalanche photodide
Monitor current and sampling resistor calculate current voltage to picture out, and current voltage is converted into ten's digit through digital analog converter,
And it is recorded as actual voltage value.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
It is searched based on first mapping table and is worth adjacent two with the practical optical power under the current temperature value
A first performance number;
The first relationship point of two first performance numbers and the first voltage value is obtained based on first mapping table;
Corresponding first optical power value of the optical module receiving end is calculated as linear difference to two the first relationship points.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
The first check point is calculated based on the second mapping table;
The second check point is calculated based on third mapping table;
Second optical power value is calculated based on first check point and the second check point.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
Practical optical power under being searched based on the second mapping table with the current temperature value is worth adjacent two the
Two performance numbers;
Second voltage value is obtained based on second performance number;
Corresponding two the second relationship points are obtained based on two the second performance numbers and two second voltage values;
The first check point is calculated as linear difference to two the second relationship points.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
Practical optical power under being searched based on third mapping table with the current temperature value is worth adjacent two the
Three performance numbers;
Third voltage value is obtained based on the third performance number;
Corresponding two thirds relationship point is obtained based on two third performance numbers and two third voltage value;
The second check point is calculated as linear difference to two third relationship points.
Further, processor 1001 can call the calibration journey of the optical module receiving end optical power stored in memory 1005
Sequence also executes following operation:
Second optical power value is calculated as linear difference to first check point and the second check point.
It is the flow diagram of the calibration method first embodiment of optical module receiving end optical power of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the calibration method of optical module receiving end optical power includes:
Step S10 judges current temperature value and each temperature door when the avalanche photodide of optical module receives light
Limit the relationship of range;Wherein, each temperature threshold range respectively corresponds a mapping table, and the mapping table is each
The set of the relationship point of the raw voltage values of the optical power value and avalanche photodide of temperature threshold range.
In the present embodiment, when the avalanche photodide of optical module receives light, current temperature value and each temperature are judged
Spend the relationship of threshold range.Each temperature threshold range of this case respectively corresponds a mapping table, while the mapping is closed
It is the set of the relationship point of the raw voltage values of optical power value and avalanche photodide that table is each temperature threshold range.
Since avalanche photodide APD is often subject to avalanche voltage Vapd, temperature, dark current etc. influence so that existing
Have between the optical power value Pt of the receiving end of optical module in technology and optical power Pi that there is a certain error.Therefore, this case is first
The mapping table under different temperatures thresholding is established, and mapping table is the set of point P (ADC, Pi), Pi is divided into 32 not
With optical power value, by optical power according to 0.025uW as unit of, be converted into the decimal system and recorded;ADC is to pass through APD
The calculated voltage value of electric current and sampling resistor of avalanche photodide, with the decimal system after digital analog converter becomes number
It is recorded.Temperature threshold can be some or multiple specific temperature values, be also possible to multiple mutually Uncrossed temperature
Spend range.
Step S20, if the current temperature value within the scope of the first temperature threshold in each temperature threshold range,
Corresponding first mapping table of the first temperature threshold range is then searched, and institute is calculated based on first mapping table
State corresponding first optical power value of optical module receiving end.
In the present embodiment, when the avalanche photodide of optical module receives light, current temperature value and each temperature are judged
The relationship for spending threshold range, if first temperature threshold range of the current temperature value in each temperature threshold range
It is interior, then corresponding first mapping table of the first temperature threshold range is searched, and be based on the first mapping relations meter
Calculate corresponding first optical power value of the optical module receiving end.
Current temperature value when the optical module of test obtains within the scope of the temperature threshold of established Map Searching table
Its monitoring value is taken, i.e., is searched based on first mapping table adjacent with the practical optical power value under the current temperature value
Two the first performance numbers;The of two first performance numbers and the first voltage value is obtained based on first mapping table
Relationship point;Corresponding first optical power value of the optical module receiving end is calculated as linear difference to two the first relationship points.
Step S30, if the current temperature value not within the scope of each temperature threshold, searches the current temperature value phase
Corresponding second mapping table of adjacent temperature threshold and third mapping table, and it is based on second mapping table and third
The second optical power value of receiving end of mapping table calculating optical module.
In the present embodiment, when the avalanche photodide of optical module receives light, current temperature value and each temperature are judged
Spend the relationship of threshold range;If the current temperature value searches the current temperature value not within the scope of each temperature threshold
Corresponding second mapping table of adjacent temperature threshold and third mapping table, and based on second mapping table and the
The second optical power value of receiving end of three mapping tables calculating optical module.
Current temperature value when testing optical module obtains its prison when except the temperature threshold range that look-up table has been established
Control value goes out monitor current according to the current mirror that the avalanche photodide flows through and sampling resistor calculates current electricity
Pressure, is converted into ten's digit through digital analog converter for current voltage, and be recorded as actual voltage value.It needs first to obtain and deserve
The look-up table of two adjacent temperature thresholds of preceding temperature value, i.e. the second mapping table and third mapping table.In two phases
In adjacent look-up table, ADC and optical power Pi is searched according to the method for previous step and obtains the receiving end light under 2 temperature thresholds
The ten of performance number and be that unit is converted into the decimal system according to 0.025uW, further set temperature thresholding and receiving end optical power value into
Wired sexual intercourse between value processed, according to the linear relationship, thus when obtaining actual test temperature value the receiving end of optical module second
Optical power value.Metric optical power value result is further switched into dBm value.
In the present invention, pass through the raw voltage values of the optical power and avalanche photodide established under different temperatures thresholding
Mapping table calculate the current virtual voltage of avalanche photodide when avalanche photodide receives a certain smooth
Value, and the relationship of current temperature value and each temperature threshold is judged, if the temperature threshold range in mapping table
It is interior, then corresponding first mapping table is searched, and corresponding first light of optical module receiving end is calculated based on the first mapping table
Performance number;If not within the scope of each temperature threshold, it is corresponding to search the adjacent temperature threshold of current temperature value for current temperature value
Second mapping table and third mapping table, and optical module is calculated based on the second mapping table and third mapping table
The second optical power value of receiving end;The first optical power value calculated by the first mapping table, or reflected by second
Penetrate relation table and the second optical power value that third mapping table is calculated, the first optical power value and the second optical power value difference
The difference of optical power corresponding with light is smaller, more meets the required precision for the optical power that client reports receiving end.The present invention
Corresponding first optical power of the optical module receiving end is calculated by establishing mapping table, and based on first mapping table
Value, or the second optical power value of receiving end based on second mapping table and third mapping table calculating optical module,
So that the difference of obtained the first optical power value and the second optical power value optical power corresponding with light respectively is smaller, effectively subtract
Error between small optical power and receipts optical power, realizes the requirements for high precision for the optical power that receiving end reports.
Further, step S10 includes: when the avalanche photodide of optical module receives light, according to the snowslide
The current mirror that photodiode flows through goes out monitor current and sampling resistor calculates current voltage, and current voltage is turned through digital-to-analogue
Parallel operation is converted into ten's digit, and is recorded as actual voltage value.
Based on first embodiment, the second embodiment of the calibration method of optical module receiving end optical power of the present invention, such as Fig. 3 are proposed
It is shown, include: in step S20
Step S21 is searched and the practical optical power value under the current temperature value based on first mapping table
Two adjacent the first performance numbers;
Step S22 obtains the of two first performance numbers and the first voltage value based on first mapping table
Relationship point;
Corresponding first light of the optical module receiving end is calculated as linear difference to two the first relationship points in step S23
Performance number.
In the present embodiment, corresponding first optical power value of the optical module receiving end is calculated based on first mapping table
Specifically: it is searched based on first mapping table and is worth adjacent two with the practical optical power under the current temperature value
Performance number;The first relationship point of two first performance numbers and the first voltage value is obtained based on first mapping table;
Corresponding first optical power value of the optical module receiving end is calculated as linear difference to two the first relationship points.
The mapping table that this case is established, temperature threshold can be some or multiple actual temp values, be also possible to
Multiple mutually Uncrossed temperature ranges, for example, the temperature threshold of the high temperature of optical module, room temperature, low temperature is set separately are as follows:
Temp_Gate1, Temp_Gate2, Temp_Gate3, three kinds of temperature thresholds establish a mapping table LUT_ respectively
RXPowerTemp_Gate1、LUT_RXPowerTemp_Gate2LUT_RXPowerTemp_Gate3。
The corresponding raw voltage values ADC of different optical powers is recorded in each mapping table, every record information is adopted
It is recorded with the form of point P (ADC, Pi), wherein ADC is to be calculated by the electric current and sampling resistor of APD avalanche photodide
The voltage value come, and the value recorded after digital analog converter becomes number with the decimal system, Pi be optical power according to
0.025UW is converted to metric value.
Each point P is made of 2 ADC values and 2 optical power value Pi in mapping table, so every table can prop up
Maximum 32 different optical power points are held, and there are 128 bytes in every table, every table are divided into Pi1-Pi32, by temperature
Degree influences, although optical power is the same, the electric current for flowing through APD avalanche photodide is different, corresponding sampled voltage
Value ADC is different.As shown in the table, following table is the LUT table established respectively under Temp_Gate1 temperature value, is denoted as table LUT_
RXPowerTemp_Gate1。
Table LUT_RXPowerTemp_Gate1
Such as optical module is when receiving the light that practical optical power value is Pi, current temperature value T3, judges T3 and each
The relationship of a temperature threshold range, for example, in these three temperature ranges of Temp_Gate1, Temp_Gate2, Temp_Gate3,
If T3 meets Temp_Gate1, value and calibration, specific school are directly carried out according to table LUT_RXPowerTemp_Gate1
Quasi- method are as follows:
By the available current voltage PtargetADC of the electric current of APD avalanche photodide at a temperature of T3, the LUT is obtained
Two performance number Pi1, the Pi2s adjacent with Pi in table obtain two the first performance numbers and the first electricity based on the first mapping table
Two the first relationship point P1 (ADC1, Pi1) of pressure value, P2 (ADC2, Pi2) seek linear difference according to this two o'clock, obtain T3 temperature
Under, the corresponding value of optical module Output optical power Ptarget, following formula;
Ptarget=PtargetADC* (Pi1-Pi2)/(ADC1-ADC2)-
(Pi1-Pi2)/(ADC1-ADC2)*ADC1+Pi1 (1)
By above-mentioned (1) formula, the corresponding value of Ptarget can be calculated.By the algorithm, obtained Output optical power value
That is the error range of the first optical power value and optical power value Pi is smaller.
Based on first embodiment, proposes the 3rd embodiment of the calibration method of optical module receiving end optical power of the present invention, please join
Fig. 4 is read, step S30 includes:
Step S31 calculates the first check point based on the second mapping table;
Step S32 calculates the second check point based on third mapping table;
Step S33 calculates second optical power value based on first check point and the second check point.
In the present embodiment, when current temperature value is not within the scope of each temperature threshold, the current temperature value phase is searched
Corresponding second mapping table of adjacent temperature threshold and third mapping table calculate the first correction based on the second mapping table
Point;The second check point is calculated based on third mapping table;Described the is calculated based on first check point and the second check point
Two optical power values.
Wherein, the calculation of the first check point are as follows: based under the lookup of the second mapping table and the current temperature value
Practical optical power be worth two adjacent the second performance numbers;Second voltage value is obtained based on second performance number, and is based on
Two the second performance numbers and two second voltage values obtain corresponding two the second relationship points;Two the second relationship points are made linear
The first check point is calculated in difference.
The calculation of second check point are as follows: searched and the reality under the current temperature value based on third mapping table
Optical power is worth two adjacent third performance numbers;Third voltage value is obtained based on the third performance number;Based on two thirds
Performance number and two second voltage values obtain corresponding two thirds relationship point;Linear difference calculating is made to two third relationship points
Obtain the second check point.
Based on 3rd embodiment, proposes the fourth embodiment of the calibration method of optical module receiving end optical power of the present invention, please join
Fig. 5 is read, step S31 includes:
Step S311 is searched adjacent with the practical optical power value under the current temperature value based on the second mapping table
Two the second performance numbers;
Step S312 obtains second voltage value based on second performance number;
Step S313 obtains corresponding two the second relationship points based on two the second performance numbers and two second voltage values;
The first check point is calculated as linear difference to two the second relationship points in step S314.
In the present embodiment, step S31 specifically: searched and the reality under the current temperature value based on the second mapping table
Border optical power is worth two adjacent the second performance numbers;Second voltage value is obtained based on second performance number, and is based on two
Second performance number and two second voltage values obtain corresponding two the second relationship points;Linear difference is made to two the second relationship points
The first check point is calculated.
In the present embodiment, if the point of PtargetADC outside LUT maximum point, nearby according to maximum two in LUT table
ADC and its corresponding Pi value take two o'clock, or if when the point of PtargetADC is outside LUT smallest point, nearby according in LUT table
The smallest two ADC and its corresponding Pi value take two o'clock, carry out the extension of two o'clock linear fit and obtain Ptarget value.First check point
Specific calculation are as follows: if tested optical module in temperature value T3, the voltage value for passing through APD avalanche photodide is remembered
For PtargetADC.When T3 is outside the temperature Temp_Gate range that LUT is arranged, need at this time temperature T3 check adjacent two
LUT table is calibrated, and then searches two adjacent ADC of PtargetADC value respectively in two adjacent temperature LUT tables
Value, obtains P1 (ADC1, Pi1), P2 when P1 (ADC1, Pi1) when Temp_Gate1, P2 (ADC2, Pi2) and Temp_Gate2
(ADC2, Pi2), wherein since temperature is not in the range of setting, need first to find out the corresponding optical power of ADC in LUT table,
Then the optical power under different temperatures is calculated again, with reference to the calculation method of second embodiment, is substituted into above-mentioned formula, is respectively obtained
Pt1, Pt2.Set temperature and the wired sexual intercourse of optical power at this time are obtained by the linear difference of different temperatures and receiving end optical power
Actual receiving end optical power is arranged P1 ' (Pt1, T1), P2 ' (Pt2, T2), wherein if LUT table record is an actual temp
Value, the Temp-Gate1 value of T1 value table record, if LUT table record is data in one section of temperature range, such as-
Data in 10 DEG C~0 DEG C, it is default to take the threshold T emp_Gate1 that -5 DEG C are the table.Linear difference is sought according to this two o'clock, is obtained
The corresponding value of Output optical power Ptarget under conditions of temperature T3, optical power Pi out, following formula: Slope=(Pt1-
Pt2)/(T1-T2)
Offset=Pt1- (Pt1-Pt2)/(T1-T2) * T1
Then the Ptarget under arbitrary temp Temp calculates following Ptarget=Temp*Slope+Offset.
It particularly points out, since above-mentioned calculation method contains excessive division arithmetic, so that operation is multiple when MCU is calculated
It is miscellaneous, it influences to calculate the time, preferably, the formula containing division arithmetic is all made of host computer calculating, and MCU internal calculation all becomes
The method of product.
For example: assuming that setting optical module temperature threshold be three temperature temp-gate1, temp-gate2,
Temp-gate3 is respectively 70,25,0 DEG C, and the light optical power Pi value that enters of every table divides 32 parts, respectively Pi1~Pi32, is divided
Afterwards, it is all identical that three tables, which correspond to the Pi value of P point (ADC, Pi),.
In the LUT table of different temperature, the value of identical Pi value corresponding A DC is difference, and ADC different is because of APD
Temperature is different, also different by the voltage of APD diode] it is -40dBm, -35dBm, -34dBm~-6dBm, -5dBm (according to
0.025Uw is converted into decimal recording LUT);Need to calibrate the receiving end optical power that optical module is 10 DEG C in temperature.It is false in test
If what temperature was given under conditions of being 10 DEG C actually enters light -20.5dBm optical power, ADC value at this time is 1200, need to calibrate optical module
The optical power that receiving end reports:
Because 10 DEG C of temperature not within the scope of the temperature setting of any table, then needs two steps to calculate:
1, need two Temp_Gate=25 DEG C of look-up table of adjacent temperature;Temp_Gate=0 DEG C:
2, by Temp_Gate=25 DEG C of LUT, search two points adjacent with ADC=1200 in LUT, it is assumed that ADC1
For the decimal system 1000, ADC2 is the decimal system 1500;The corresponding optical power value of this two o'clock is respectively -21dBm, -20dBm, by light function
It is respectively 252,317 that rate value, which is converted into the decimal system according to 0.025uW for unit);Adjacent with light is entered is -21dBm, and -20dBm is then
There are point P1 (ADC1, -21), P2 (ADC2, -20), linear difference is done by this two o'clock.(then there are point P1 (1000,252), P2
(1500,317);Point P (1200, Pt) is asked by the linear difference of ADC and optical power, that is, brings above formula (1) into, i.e.,
Pt=1200* (317-252)/(1500-1000)-(317-252)/(1500-1000) * 1500+317=278
First point in the linear relationship of light power and temperature, new Pt ' (Pt1, T1) i.e. Pt1 ' (278,25), i.e.,
First check point is Pt1 ' (278,25).
Based on 3rd embodiment, proposes the 5th embodiment of the calibration method of optical module receiving end optical power of the invention, ask
Refering to Fig. 6, step S32 includes:
Step S321 is searched adjacent with the practical optical power value under the current temperature value based on third mapping table
Two third performance numbers;
Step S322 obtains third voltage value based on the third performance number;
Step S323 obtains corresponding two thirds relationship point based on two third performance numbers and two third voltage value;
Step 324, the second check point is calculated as linear difference to two third relationship points.
In the present embodiment, the specific algorithm of the second check point are as follows: similarly with the algorithm of the first check point, in Temp_Gate
The value of Pt2 can be calculated in the P adjacent with ADC point in=0 DEG C of LUT.Assuming that its calculated result is 278, then obtaining light function
Second point in the linear relationship of rate and temperature, i.e. Pt2 ' (278,0)
Further, the step S33 are as follows: first check point and the second check point are calculated as linear difference
Second optical power value.
Specifically distance illustrates step S33, is Pt1 ' (278,25) the first check point is being calculated, the second check point is
Pt2 ' (278,0) by the linear difference of optical power and temperature, is calculated when obtaining T3=10 DEG C of value at this time according to formula (2)
It is also 278 to receiving end optical power value Pt ' at this time;
Formula (2): Pt '=T3* (Pt1-Pt2)/(T1-T2)+Pt1- (Pt1-Pt2)/(T1-T2) * T1
That is Pt '=10* (278-278)/(25-0)+278- (278-278)/(25-0) * 25=278
According to formula (2), so that it may obtain at 10 DEG C, the value of the receiving end optical power 278 of optical module at this time passes through 0.025uW
Power is converted into for unit
For Pt Power=10*LOG10 (278/40000)=- 21.5802dBm.
I.e. calculated second optical power value is -21.5802dBm, is phase with actual optical power value -21.5dBm
Poor 0.0802dBm, the difference of receiving end optical power value and optical power is smaller after calibration, meets client and (it is strong to receive signal to RSSI
Degree) high-precision requirement.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, optical mode is stored on the readable storage medium storing program for executing
The calibration procedure of the calibration procedure of block receiving end optical power, the optical module receiving end optical power realizes institute as above when being executed by processor
The step of calibrating installation for the optical module receiving end optical power stated.
The specific embodiment of readable storage medium storing program for executing of the present invention is each with the calibrating installation of above-mentioned optical module receiving end optical power
Embodiment is essentially identical, and this will not be repeated here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that appliance arrangement (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of calibration method of optical module receiving end optical power, which is characterized in that the calibration side of the optical module receiving end optical power
Method the following steps are included:
When the avalanche photodide of optical module receives light, the current virtual voltage of the avalanche photodide is calculated
Value, and judge the relationship of current temperature value Yu each temperature threshold range;Wherein, each temperature threshold range respectively corresponds one
Mapping table, and the mapping table be each temperature threshold range optical power value and avalanche photodide it is original
The set of the relationship point of voltage value;
If the current temperature value within the scope of the first temperature threshold in each temperature threshold range, searches described
Corresponding first mapping table of one temperature threshold range, and the optical module receiving end is calculated based on first mapping table
Corresponding first optical power value;
If the current temperature value not within the scope of each temperature threshold, searches the adjacent temperature threshold pair of the current temperature value
The second mapping table and third mapping table answered, and it is based on second mapping table and third mapping relations meter
Calculate the second optical power value of receiving end of optical module.
2. the calibration method of optical module receiving end optical power as described in claim 1, which is characterized in that the snow in optical module
The step that avalanche photo diode receives light includes:
When the avalanche photodide of optical module receives light, gone out according to the current mirror that the avalanche photodide flows through
Monitor current and sampling resistor calculate current voltage, current voltage are converted into ten's digit through digital analog converter, and remember
Record is actual voltage value.
3. the calibration method of optical module receiving end optical power as described in claim 1, which is characterized in that described to be based on described first
Mapping table calculates the step of optical module receiving end corresponding first optical power value and includes:
Practical optical power under being searched based on first mapping table with the current temperature value is worth adjacent two the
One performance number;
The first relationship point of two first performance numbers and the first voltage value is obtained based on first mapping table;
Corresponding first optical power value of the optical module receiving end is calculated as linear difference to two the first relationship points.
4. the calibration method of optical module receiving end optical power as described in claim 1, which is characterized in that described to be based on described second
Mapping table and third mapping table calculate the step of the second optical power value of receiving end of optical module and include:
The first check point is calculated based on the second mapping table;
The second check point is calculated based on third mapping table;
Second optical power value is calculated based on first check point and the second check point.
5. the calibration method of optical module receiving end optical power as claimed in claim 4, which is characterized in that described to be based on the second mapping
Relation table calculate the first check point the step of include:
It is searched based on the second mapping table and is worth two adjacent the second function with the practical optical power under the current temperature value
Rate value;
Second voltage value is obtained based on second performance number;
Corresponding two the second relationship points are obtained based on two the second performance numbers and two second voltage values;
The first check point is calculated as linear difference to two the second relationship points.
6. the calibration method of optical module receiving end optical power as claimed in claim 4, which is characterized in that described to be mapped based on third
Relation table calculate the second check point the step of include:
It is searched based on third mapping table and is worth two adjacent third function with the practical optical power under the current temperature value
Rate value;
Third voltage value is obtained based on the third performance number;
Corresponding two thirds relationship point is obtained based on two third performance numbers and two third voltage value;
The second check point is calculated as linear difference to two third relationship points.
7. the calibration method of optical module receiving end optical power as claimed in claim 6, which is characterized in that described to be based on described first
Check point and the second check point calculate the step of second optical power value and include:
Second optical power value is calculated as linear difference to first check point and the second check point.
8. such as the calibration method of optical module receiving end optical power described in any one of claims 1 to 6, which is characterized in that described
There are 32 points in first mapping table, the second relationship map relation table and third relation mapping table, and has 128 in every table
Bit byte.
9. a kind of calibrating installation of optical module receiving end optical power, which is characterized in that described device include: main control unit, memory,
Processor and the calibration procedure of optical module receiving end optical power that is stored on the memory and can run on the processor,
It realizes when the calibration procedure of the optical module receiving end optical power is executed by the processor such as any one of claims 1 to 8 institute
The step of calibration method for the optical module receiving end optical power stated.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with optical module receiving end optical power on the readable storage medium storing program for executing
It is realized when the calibration procedure of calibration procedure, the optical module receiving end optical power is executed by processor as any in claim 1 to 8
The step of calibration method of optical module receiving end optical power described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811297893.5A CN109327258A (en) | 2018-11-01 | 2018-11-01 | Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811297893.5A CN109327258A (en) | 2018-11-01 | 2018-11-01 | Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109327258A true CN109327258A (en) | 2019-02-12 |
Family
ID=65260803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811297893.5A Pending CN109327258A (en) | 2018-11-01 | 2018-11-01 | Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109327258A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135101A (en) * | 2019-05-24 | 2019-08-16 | 国网河南省电力公司信息通信公司 | An Algorithm for Optimizing Optical Power Accuracy of PD Detection in Optical Cable Monitoring System |
CN111064508A (en) * | 2019-12-30 | 2020-04-24 | 东莞铭普光磁股份有限公司 | Optical power monitoring method, device, equipment and storage medium |
CN112104417A (en) * | 2020-08-14 | 2020-12-18 | 武汉光迅科技股份有限公司 | Optical power detection and parameter calibration method and device, electronic equipment and storage medium |
CN112367116A (en) * | 2020-10-14 | 2021-02-12 | 武汉光迅科技股份有限公司 | Calibration method and device for optical power, electronic equipment and storage medium |
CN112564826A (en) * | 2020-12-10 | 2021-03-26 | 四川华拓光通信股份有限公司 | Calibration method for monitoring optical power at receiving end of optical module |
CN112670822A (en) * | 2020-12-07 | 2021-04-16 | 武汉凌云光电科技有限责任公司 | Method and system for eliminating influence of reflected laser on constant power control of semiconductor laser |
CN113258999A (en) * | 2021-06-25 | 2021-08-13 | 武汉联特科技股份有限公司 | Method for calibrating optical power reported by optical receiving module, optical receiving module and medium |
CN115085804A (en) * | 2021-03-11 | 2022-09-20 | 青岛海信宽带多媒体技术有限公司 | Optical module and received optical power calculation method |
CN115548858A (en) * | 2022-11-24 | 2022-12-30 | 南京伟思医疗科技股份有限公司 | Laser control method with multi-stage energy monitoring and energy correction functions |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104821845A (en) * | 2015-05-13 | 2015-08-05 | 四川华拓光通信股份有限公司 | Method for calibrating luminous power of receiving end of optical module |
US9397746B1 (en) * | 2015-04-09 | 2016-07-19 | International Business Machines Corporation | Tuning external cavity lasers within CWDM transmitters for temperature insensitivity and superchannel construction |
CN107483111A (en) * | 2017-06-27 | 2017-12-15 | 青岛海信宽带多媒体技术有限公司 | A kind of calibration method and device of the optical module transmitting luminous power based on temperature |
-
2018
- 2018-11-01 CN CN201811297893.5A patent/CN109327258A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9397746B1 (en) * | 2015-04-09 | 2016-07-19 | International Business Machines Corporation | Tuning external cavity lasers within CWDM transmitters for temperature insensitivity and superchannel construction |
CN104821845A (en) * | 2015-05-13 | 2015-08-05 | 四川华拓光通信股份有限公司 | Method for calibrating luminous power of receiving end of optical module |
CN107483111A (en) * | 2017-06-27 | 2017-12-15 | 青岛海信宽带多媒体技术有限公司 | A kind of calibration method and device of the optical module transmitting luminous power based on temperature |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135101A (en) * | 2019-05-24 | 2019-08-16 | 国网河南省电力公司信息通信公司 | An Algorithm for Optimizing Optical Power Accuracy of PD Detection in Optical Cable Monitoring System |
CN111064508A (en) * | 2019-12-30 | 2020-04-24 | 东莞铭普光磁股份有限公司 | Optical power monitoring method, device, equipment and storage medium |
CN111064508B (en) * | 2019-12-30 | 2021-03-16 | 东莞铭普光磁股份有限公司 | Optical power monitoring method, device, equipment and storage medium |
CN112104417B (en) * | 2020-08-14 | 2022-03-08 | 武汉光迅科技股份有限公司 | Optical power detection and parameter calibration method and device, electronic equipment and storage medium |
CN112104417A (en) * | 2020-08-14 | 2020-12-18 | 武汉光迅科技股份有限公司 | Optical power detection and parameter calibration method and device, electronic equipment and storage medium |
CN112367116A (en) * | 2020-10-14 | 2021-02-12 | 武汉光迅科技股份有限公司 | Calibration method and device for optical power, electronic equipment and storage medium |
CN112670822A (en) * | 2020-12-07 | 2021-04-16 | 武汉凌云光电科技有限责任公司 | Method and system for eliminating influence of reflected laser on constant power control of semiconductor laser |
CN112670822B (en) * | 2020-12-07 | 2022-06-21 | 武汉凌云光电科技有限责任公司 | Method and system for eliminating influence of reflected laser on constant power control of semiconductor laser |
CN112564826A (en) * | 2020-12-10 | 2021-03-26 | 四川华拓光通信股份有限公司 | Calibration method for monitoring optical power at receiving end of optical module |
CN112564826B (en) * | 2020-12-10 | 2023-03-03 | 四川华拓光通信股份有限公司 | Calibration method for monitoring optical power at receiving end of optical module |
CN115085804A (en) * | 2021-03-11 | 2022-09-20 | 青岛海信宽带多媒体技术有限公司 | Optical module and received optical power calculation method |
CN113258999A (en) * | 2021-06-25 | 2021-08-13 | 武汉联特科技股份有限公司 | Method for calibrating optical power reported by optical receiving module, optical receiving module and medium |
CN113258999B (en) * | 2021-06-25 | 2021-09-17 | 武汉联特科技股份有限公司 | Method for calibrating optical power reported by optical receiving module, optical receiving module and medium |
CN115548858A (en) * | 2022-11-24 | 2022-12-30 | 南京伟思医疗科技股份有限公司 | Laser control method with multi-stage energy monitoring and energy correction functions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109327258A (en) | Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power | |
EP3396658A1 (en) | Method and apparatus for adjusting screen color and storage medium | |
KR20190027609A (en) | Apparatus and method for estimating state of charge for battery and method thereof | |
CN211927125U (en) | Temperature measurement circuit, temperature measurement and light measurement circuit, chip, module and electronic equipment | |
US11193803B2 (en) | Measurement system | |
JP2015145823A (en) | Temperature detection device | |
CN105259528B (en) | A kind of the internal calibration circuit and calibration method of microwave power probe | |
WO2022040928A1 (en) | Temperature measurement circuit, temperature measurement and light measurement circuit, temperature measurement method, and temperature measurement and light measurement method | |
CN112104417B (en) | Optical power detection and parameter calibration method and device, electronic equipment and storage medium | |
US10514308B2 (en) | Method for detecting environmental value in electronic device and electronic device | |
WO2020043527A1 (en) | Temperature sensor arrangement, light sensor arrangement, mobile computing device including the same and methods using the same | |
CN111771129B (en) | Device, method and equipment for measuring current | |
US10982971B2 (en) | Method and apparatus for detecting background noise of sensor | |
CN110736807A (en) | Method for detecting gas concentration and gas detection device | |
CN113984338B (en) | Temperature control laser mode-jump detection method, device and storage medium | |
CN109148981B (en) | Method and device for determining open-circuit voltage of battery, storage medium and electronic equipment | |
JP2000241258A (en) | Instrument and method for temperature measurement | |
Yu et al. | Optimization of linearity of piezoresistive pressure sensor based on pade approximation | |
US20210097955A1 (en) | Automatically calibrating display color output on lid closure | |
US11846676B2 (en) | Method and apparatus for predicting remaining charging time and storage medium | |
CN110244812A (en) | The bias control method and apparatus of avalanche photodide, storage medium | |
JPH0440007A (en) | Temperature compensator and method of preparing temperature compensating data | |
CN103746720A (en) | Adjusting system and adjusting method for wireless communication module | |
CN107748342A (en) | Coulomb meter calibration method, mobile terminal and computer-readable storage medium | |
CN112653459A (en) | Radio frequency signal source capable of being calibrated in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190212 |
|
RJ01 | Rejection of invention patent application after publication |