CN107231190A - A kind of optical power monitoring circuit and method - Google Patents
A kind of optical power monitoring circuit and method Download PDFInfo
- Publication number
- CN107231190A CN107231190A CN201710601164.3A CN201710601164A CN107231190A CN 107231190 A CN107231190 A CN 107231190A CN 201710601164 A CN201710601164 A CN 201710601164A CN 107231190 A CN107231190 A CN 107231190A
- Authority
- CN
- China
- Prior art keywords
- sampling resistor
- analog switch
- adc values
- optical power
- luminous power
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 85
- 230000003287 optical effect Effects 0.000 title claims abstract description 64
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000005070 sampling Methods 0.000 claims abstract description 210
- 230000014509 gene expression Effects 0.000 claims abstract description 22
- 238000004364 calculation method Methods 0.000 claims abstract description 17
- 230000000052 comparative effect Effects 0.000 claims abstract description 7
- 230000005622 photoelectricity Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000005259 measurement Methods 0.000 description 24
- 230000006870 function Effects 0.000 description 13
- 230000005611 electricity Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000035772 mutation Effects 0.000 description 2
- 235000011449 Rosa Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000035945 sensitivity 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
-
- 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/60—Receivers
Abstract
This application discloses a kind of optical power monitoring method, including gather the ADC values for the electric signal that light-receiving component is generated according to current luminous power;The ADC values are compared with threshold value, analog switch is switched on by the first sampling resistor or the second sampling resistor according to comparative result;The other end of first sampling resistor and second sampling resistor is respectively connecting to the first port and second port of microprocessor;The resistance of first sampling resistor is less than the resistance of second sampling resistor;According to the ADC values collected, calculation expression corresponding with the sampling resistor connected is selected to calculate luminous power.The application is using two different sampling resistors of resistance, and the luminous power to different range carries out sampling monitoring respectively, thus preferable monitoring accuracy can be all obtained in the range of full optical power.Disclosed herein as well is a kind of optical power monitoring circuit, equally with above-mentioned beneficial effect.
Description
Technical field
The application is related to field of photoelectric technology, more particularly to a kind of optical power monitoring circuit and method.
Background technology
With the development and progress of technology, photoelectric technology has obtained widely should in today's society all trades and professions
With.
In photoelectric technology, optical module (Optical Module) can carry out opto-electronic conversion as a class infrastructure device
And meet SFF-8472 agreements;Light-receiving component (Receiver Optical Subassembly, ROSA) therein generally by
Avalanche photodide (Avalanche Photo Diode, APD) or PIN diode are constituted with trans-impedance amplifier, will can be received
To optical signal be converted to electric signal, so that microprocessor (Microcontroller Unit, MCU) by sampling resistor to being adopted
The electric signal collected is calculated and analyzed, that is, carries out received signal strength indicator (Received Signal Strength
Indication, RSSI) monitoring and calculating.
In the prior art, when carrying out the optical power monitoring of wide scope using optical module, part monitoring section usually occurs
Between measuring accuracy it is low or even the problem of can not monitor.This is due in the prior art, only to set a sampling resistor, and
Its resistance size is nonadjustable, therefore it can not adapt to the optical power monitoring of wide scope:For the sampling resistor that resistance is larger,
When luminous power to be monitored is larger, the value of its obtained voltage signal is also than larger, and the detectable electricity of single-chip microcomputer ADC
Pressure value has the upper limit, and having exceeded can make ADC enter saturation after certain numerical value, cause the monitoring result of luminous power not
Accurately;And for the less sampling resistor of resistance, when luminous power to be monitored is smaller, its obtained voltage signal is likely to
Less than the resolution ratio of single-chip microcomputer ADC, thus also can not accurate measurements.
The content of the invention
The purpose of the application is to provide a kind of optical power monitoring circuit and method, so as to which wide scope luminous power is effectively ensured
The accuracy of monitoring.
In order to solve the above technical problems, the application provides a kind of optical power monitoring circuit, including:Light-receiving component, simulation
Switch, the first sampling resistor, the second sampling resistor and microprocessor;
Wherein, the resistance of first sampling resistor is less than the resistance of second sampling resistor;The light-receiving component
By the analog switch, it is connected with first sampling resistor and second sampling resistor switching, the first sampling electricity
The other end of resistance and second sampling resistor is respectively connecting to the first port and second port of the microprocessor;It is described micro-
Processor gathers the light-receiving component according to luminous power institute by first sampling resistor or second sampling resistor
The electric signal of generation, is monitored to luminous power.
Alternatively, the analog switch is single-pole double-throw switch (SPDT);The moved end of the analog switch is connected to the light-receiving
Component, the analog switch first not moved end be connected to first sampling resistor, the second not moved end of the analog switch
Second sampling resistor is connected to, the control signal end of the analog switch is connected to the 3rd port of the microprocessor;
When the control signal that the microprocessor that the control signal end is received is sent is first state, the moved end is connected to
Described first not moved end, when the control signal that the microprocessor that the control signal end is received is sent is the second state
When, the moved end is connected to the described second not moved end.
Alternatively, the optical power monitoring circuit also includes the bias voltage adjustment mould being connected with the light-receiving component
Block, for providing suitable bias voltage to the light-receiving component.
Alternatively, the optical power monitoring circuit also includes image current source module, for the light-receiving component to be produced
Raw photoelectricity traffic mirroring goes out current signal, and the current signal flows into first sampling resistor or institute through the analog switch
State the second sampling resistor.
Alternatively, when the monitoring range of the light-receiving component is -45dBm~-8dBm, and the voltage of the microprocessor
When monitoring range is 0~2.5V, the first sampling resistor resistance is 10k Ω, and the first sampling resistor resistance is 150k Ω.
Present invention also provides a kind of optical power monitoring method, including:
The ADC values for the electric signal that collection light-receiving component is generated according to current luminous power;
The ADC values are compared with threshold value, analog switch is switched on by the first sampling electricity according to comparative result
Resistance or the second sampling resistor;The other end of first sampling resistor and second sampling resistor is respectively connecting to microprocessor
The first port and second port of device;The resistance of first sampling resistor is less than the resistance of second sampling resistor;
According to the ADC values collected, calculation expression corresponding with the sampling resistor connected is selected to calculate luminous power.
Alternatively, the analog switch acquiescence connects first sampling resistor.
Alternatively, it is described to be compared the ADC values with threshold value, analog switch is switched on according to comparative result
First sampling resistor or the second sampling resistor include:
Judge whether the analog switch connects first sampling resistor;
If the analog switch connects first sampling resistor, judge whether the ADC values are less than the first threshold value;
If so, the analog switch then is switched on into second sampling resistor;
If the analog switch is not switched on first sampling resistor, judge whether the ADC values are more than second
Limit value;If so, the analog switch then is switched on into first sampling resistor;First threshold value is less than described second
Threshold value.
Alternatively, the ADC values that the basis is collected, select calculation expression corresponding with the sampling resistor connected
Calculating luminous power includes:
If the analog switch connects first sampling resistor, according to P=x4*a4_1+x3*a3_1+x2*a2_1+x*a1_1
+b_1Luminous power is calculated, wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_1、a3_1、a2_1、a1_1、b_1For first
Group calibration factor;
If the analog switch connects second sampling resistor, according to P=x4*a4_2+x3*a3_2+x2*a2_2+x*a1_2
+b_2Luminous power is calculated, wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_2、a3_2、a2_2、a1_2、b_2For second
Group calibration factor.
Alternatively, the determination step of first group of calibration factor includes:
When the analog switch connects first sampling resistor, the corresponding ADC of five difference luminous powers is collected
Value, and five ADC values are all higher than first threshold value;
Fourth order polynomial fitting is carried out according to the different luminous powers and its corresponding ADC values, calculating obtains described first
Group calibration factor;
The determination step of second group of calibration factor includes:
When the analog switch connects second sampling resistor, the corresponding ADC of five difference luminous powers is collected
Value, and five ADC values are respectively less than second threshold value;
Fourth order polynomial fitting is carried out according to the different luminous powers and its corresponding ADC values, calculating obtains described second
Group calibration factor.
In optical power monitoring method provided herein, generated by gathering light-receiving component according to current luminous power
Electric signal ADC values;The ADC values are compared with threshold value, analog switch is switched on according to comparative result
One sampling resistor or the second sampling resistor;The other end of first sampling resistor and second sampling resistor is connected respectively
To the first port and second port of microprocessor;The resistance of first sampling resistor is less than the resistance of second sampling resistor
Value;According to the ADC values collected, calculation expression corresponding with the sampling resistor connected is selected to calculate luminous power.
It can be seen that, compared to prior art, in optical power monitoring method provided herein, it is possible to use analog switch exists
One is selected in two resistances sampling resistor of different sizes is used for the monitoring of luminous power, therefore, for the light work(of different range
Rate, can be respectively adopted different size of sampling resistor and be monitored, to meet the measurement of different luminous power magnitude ranges respectively
Required precision, is realized to the accurate measurements in the gamut of luminous power.Optical power monitoring circuit provided herein can be real
Existing above-mentioned optical power monitoring method, equally with above-mentioned beneficial effect.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, needed in being described below to the embodiment of the present application
The accompanying drawing to be used makees brief introduction.Certainly, about in only the application of the accompanying drawing description of the embodiment of the present application below
A part of embodiment, to those skilled in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to the accompanying drawing of offer, the other accompanying drawings obtained fall within the protection domain of the application.
A kind of theory diagram for optical power monitoring circuit that Fig. 1 is provided by the embodiment of the present application;
The measurement result figure for the gamut luminous power down-sampling voltage that Fig. 2 is provided by the embodiment of the present application;
A kind of flow chart for optical power monitoring method that Fig. 3 is provided by the embodiment of the present application;
The flow chart for another optical power monitoring method that Fig. 4 is provided by the embodiment of the present application;
The flow of the fourth order polynomial function expression fit procedure for the luminous power that Fig. 5 is provided by the embodiment of the present application
Figure.
Embodiment
In order to more clearly and completely be described to the technical scheme in the embodiment of the present application, below in conjunction with this Shen
Accompanying drawing that please be in embodiment, the technical scheme in the embodiment of the present application is introduced.Obviously, described embodiment is only
Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of the application protection.
It refer to Fig. 1, a kind of theory diagram for optical power monitoring circuit that Fig. 1 is provided by the embodiment of the present application, mainly
Including light-receiving component 1, analog switch 2, the first sampling resistor 3, the second sampling resistor 4 and microprocessor 5;Wherein light-receiving group
Part 1 includes avalanche photodide 11 and trans-impedance amplifier 12.Certainly, as it was previously stated, avalanche photodide 11 here
Can be PIN diode, the embodiment of the present application is not defined to this.
As shown in figure 1, the light-receiving component 1 being connected with power supply is by analog switch 2, can with the first sampling resistor 3 and
The switching connection of second sampling resistor 4.Wherein, the negative pole end and positive source of the avalanche photodide 11 in light-receiving component 1
Connection, to obtain the photoelectric current for the luminous power positive change that reverse biased generation is received with it;Avalanche photodide 11
Positive terminal is connected with the input of trans-impedance amplifier 12, and the moved end of analog switch 2 is connected with the output end of trans-impedance amplifier 12, and
The first moved end and the second moved end of analog switch 2 are connected with the first sampling resistor 3 and the second sampling resistor 4 respectively.First sampling
The other end of the sampling resistor 4 of resistance 3 and second is respectively connecting to the first port and second port of microprocessor 5.Need explanation
, the resistance of the resistance of the first sampling resistor 3 mentioned here and the second sampling resistor 4 might as well make the first sampling electricity
The resistance of resistance 3 is less than the resistance of the second sampling resistor 4.In addition, the opening for single-pole double throw type of analog switch 2 shown in Fig. 1
Close, those skilled in the art can also use other kinds of analog switch, such as two single-pole single-throw switch (SPST)s, the embodiment of the present application
This is not defined.
Usually, optical power monitoring circuit can also include bias voltage adjustment module and the mirror being connected with light-receiving component
Image current source module.Bias voltage adjustment module can be used for providing suitable bias voltage to light-receiving component, its general bag
Include boost control circuit and booster circuit;Boost control circuit can be used for the control signal sent according to microprocessor, to rising
The bias voltage that volt circuit is exported is adjusted.The photoelectricity traffic mirroring that image current source module can produce light-receiving component
Go out current signal, can be employed to ensure that the stability of output.The current signal exported through mirror current source is flowed into through analog switch
First sampling resistor or the second sampling resistor, so that microprocessor is acquired monitoring to the sampled voltage on sampling resistor.
In actual use, voltage-regulation functional module and mirror current source functional module are all integrated with many chips, such as
The chips such as MAX15059, therefore, as a kind of preferred embodiment, can use such chip to be supervised to facilitate to luminous power
Survey.
When optical power monitoring circuit works, the luminous power size that light-receiving component 1 is received according to it is produced after amplification
The photoelectric current of correspondence size;According to the connection object of analog switch, photoelectric current flows into the first sampling resistor or the second sampling electricity
Resistance;Microprocessor 5 gathered after the voltage signal on the first sampling resistor or the second sampling resistor, by collecting
Data are analyzed and calculated, and obtain luminous power size, luminous power is monitored so as to realize.Wherein, analog switch is cut
Operation is changed specifically to be controlled by microprocessor:When the currently monitored luminous power size is beyond the setting of the first sampling resistor
During measurement range, microprocessor can control analog switch and be switched on to the second sampling resistor;Similarly, when the currently monitored light
Watt level beyond the setting of the second sampling resistor measurement range when, microprocessor can control analog switch be switched on
First sampling resistor.
Need exist for further illustrating, the embodiment of the present application is specific to the first sampling resistor and the second sampling resistor
Resistance is not defined.For each optical power monitoring circuit, the resistance of two sampling resistors should be according to specific application
It is required that being chosen with situation.Specifically, when carrying out the selection of sampling resistor resistance, it can be supervised first according to luminous power RSSI
Scope and microprocessor ADC is surveyed substantially to calculate the monitoring range of sampled voltage, select two it is of different sizes
Sampling resistor resistance;Then the two sampling resistors are accessed into circuit respectively, and to sampling resistor two in gamut luminous power
The sampled voltage at end is measured;Finally the sampling resistor resistance of selection can suitably be adjusted according to measurement data, directly
To the ideal measurement result of acquisition.
Ideal measurement result mentioned here, which is not necessarily referring to each sampling resistor, can adapt to the light work(in gamut
Rate is monitored, and is only referred to, when the first sampling resistor less using resistance, when monitoring larger luminous power, its two ends
The voltage range that be able to can be monitored without departing from microprocessor of sampled voltage;And use the second larger sampling resistor of resistance
When, when monitoring less luminous power, the sampled voltage at its two ends can still meet the requirement of microprocessor resolution ratio.
If for example, optical power monitoring circuit is -45dBm~-8dBm to the monitoring range of luminous power, it is possible to by consulting
The working characteristics of light-receiving component obtains its photoelectric current magnitude range that correspondence is produced in this reference optical power, in conjunction with micro- place
Manage monitoring range 0~2.5V of the device ADC to sampled voltage, it is possible to preliminary by calculating the estimated first sampling electricity
Resistance and the resistance of the second sampling resistor:10kΩ、150kΩ.Respectively to the sampled voltage at the two sampling resistor two ends-
Measured under 45dBm~-8dBm gamut luminous power, obtain partial data as shown in table 1.
Table 1
The measurement data of first sampling resistor can be seen that when the luminous power of monitoring is less than -32.31dBm from table 1,
Sensitivity of the sampled voltage to luminous power is very low, and can not be recognized by microprocessor;On the other hand, second from table 1
The measurement data of sampling resistor can be seen that when the luminous power of monitoring is more than -20.18dBm, and the numerical value of sampled voltage has surpassed
Go out the higher limit 2.5V of the normal monitoring range of microprocessor, then the ADC of microprocessor is entered saturation state,
And accurate measurements can not be carried out.Because -32.31dBm is less than -20.18dBm, illustrate that two selected here sampling resistors are deposited
In jointly applicable optical power monitoring scope, in the absence of in a certain section of reference optical power both can not accurate measurements show
As, thus their value is rational from the principle.Therefore, you can the first sampling resistor resistance is taken as 10k Ω, and
The resistance of two sampling resistors is taken as 150k Ω.
But, because the data gone out given in form are limited, so, after sampling resistor resistance is determined, in addition it is also necessary to enter
The specific optical power monitoring scope that one step is applicable each sampling resistor is determined.It is easily understood that sampling resistor
The measurement range to luminous power being applicable it is related to the resistance of sampling resistor.Usually, once the resistance of sampling resistor is true
It is fixed, it is possible to according to the relation between the sampled voltage at luminous power and sampling resistor two ends, it is determined that and setting the institute of sampling resistor
The measurement range of applicable luminous power, and then obtain the ADC values of correspondence sampled voltage.
Fig. 2 is refer to, Fig. 2 is gamut luminous power down-sampling voltage measurements figure.Wherein, the monitoring range of luminous power
For -45dBm~-8dBm, sampled voltage monitoring range is 0~2.5V.Dotted line in figure represents that the measurement of the first sampling resistor is bent
Line, solid line represents the experiment curv of the second sampling resistor.
It can be observed from fig. 2 that data and data rate of change of the curve of the first sampling resistor in the range of low optical power are all
Very little, especially when luminous power is less than -25dBm, now corresponding sampled voltage is less than first voltage value V1
0.05V, if the ADC of microprocessor changes digit into 12, the ADC values obtained after analog-to-digital conversion should be approximately less than
82, and the curve of the second sampling resistor meets the resolution ratio of microprocessor enough, then in the optical power monitoring circuit corresponding to Fig. 1
First threshold value of the first sampling resistor is 82.Meanwhile, the data of the curve of the second sampling resistor in high reference optical power
All very big with data rate of change, especially when luminous power is higher than -20dBm, now corresponding sampled voltage is higher than second
Magnitude of voltage V2 is 1.89V, then the 12 of microprocessor ADC should to the ADC values obtained after sampled voltage analog-to-digital conversion
Approximately more than 3096, and the curve of the first sampling resistor can ensure within 0~2.5V of microprocessor voltage monitoring scope, then scheme
The second threshold value of the second sampling resistor is 3096 in optical power monitoring circuit corresponding to 1.
Therefore, analyzed more than, you can will be above -25dBm and be set to monitoring model of first sampling resistor to luminous power
Enclose, the threshold range of corresponding ADC values is 82~4096, will be less than -20dBm and is set to prison of second sampling resistor to luminous power
Scope is surveyed, the threshold range of corresponding ADC values is 0~3096;Then, when luminous power size is within the scope of -25dBm~-20dBm
When, it can be sampled using any one in two sampling resistors, the interval range is time stagnant scope of analog switch.
Certainly, the monitoring range of sampling resistor can also be taken as other value, and the application merely provides a kind of preferred embodiment, this area
Technical staff can need voluntarily to select and set reasonable value according to practical application.
Analog switch operationally, specifically can be used for the sampling to being connected into circuit according to the control signal of microprocessor
Resistance is switched over.In order to evade the risk that excessive sampled voltage causes to damage to microprocessor, analog switch acquiescence is connected
First sampling resistor.According to Fig. 2, when microprocessor is by judging that the ADC values for finding sampled voltage are less than the first threshold value 82,
The control signal of the second state is sent to analog switch, make analog switch disconnect with the connection of the first sampling resistor, and by the
Two sampling resistors access circuit;When microprocessor finds that the ADC values of sampled voltage are higher than the second threshold value 3096, i.e., to simulation
Switch sends the control signal of first state, simulation is disconnected the connection with the second sampling resistor, and the first sampling resistor is accessed
Circuit.
The first state of control signal mentioned here and the second state can be respectively 0 and 1, can also be respectively 1 He
0.In addition, analog switch can select ADG619 or other models;Moreover, as it was previously stated, can also select other kinds of
Analog switch, such as two single-pole single-throw switch (SPST)s.The embodiment of the present application is to this without limiting, and those skilled in the art can be with
Voluntarily select and set according to actual conditions.
It can be seen that, in the optical power monitoring circuit that the embodiment of the present application is provided, by analog switch there is provided resistance is different
Two sampling resistors, therefore microprocessor can select corresponding sampling resistor to be sampled in different reference optical powers
Monitoring, so that the monitoring result in full power range all has preferable precision.
It refer to Fig. 3, a kind of flow chart for optical power monitoring method that Fig. 3 is provided by the embodiment of the present application, main bag
Include following steps:
Step 301:The ADC values for the electric signal that collection light-receiving component is generated according to current luminous power.
As it was previously stated, in order to ensure circuit safety, general acquiescence accesses the first sampling resistor in circuit.
Step 302:ADC values and threshold value are compared.
In order to judge should specifically to be sampled using which sampling resistor, it is necessary to judge ADC values.Described door
Limit value includes corresponding first threshold value of the first sampling resistor, and corresponding second threshold value of the second sampling resistor.
Step 303:Analog switch is switched on by the first sampling resistor or the second sampling resistor according to comparative result.
When in the first sampling resistor access circuit, if current ADC values are less than the first threshold value, mould should be controlled
Intend switch to change in the second sampling resistor access circuit;When in the second sampling resistor access circuit, if current ADC values are big
In the second threshold value, then analog switch should be controlled to change and access the first sampling resistor in circuit.And when ADC values are in the first thresholding
No matter it is currently which sampling resistor access circuit when between value and the second threshold value, can be without carrying out analog switch
Switching.
Relating to how to the switching of the specific comparison and sampling switch for carrying out ADC values, the optical power monitoring shown in Fig. 4 refer to
Method, is just no longer discussed in detail here.
Step 304:According to the ADC values collected, calculation expression meter corresponding with the sampling resistor connected is selected
Calculate luminous power.
After have switched the sampling resistor of suitable current optical power monitoring scope, after just being converted according to digital-to-analogue
ADC values, are calculated the actual luminous power size received.Because sampled voltage is directly related to sampling resistor resistance, therefore,
It is easily understood that two sampling resistors should correspond to two different calculation expressions.Due to the photoelectric current of light-receiving component
Not simple linear relationship or other clear and definite functional relations between luminous power size, therefore carrying out calculating luminous power
When, the method that can be typically fitted using data fits functional relation between the two.When carrying out Function Fitting, recommend
But it is not limited to fitting of a polynomial, especially fourth order polynomial to be fitted, according to experiment experience, it is more suitable for luminous power and sampling
Functional relation between voltage.
When calculating luminous power using fourth order polynomial fitting function, corresponding first calculation expression of the first sampling resistor
For:
P=x4*a4_1+x3*a3_1+x2*a2_1+x*a1_1+b_1,
Wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_1、a3_1、a2_1、a1_1、b_1For first group of calibration
Coefficient;
And similarly, corresponding second calculation expression of the second sampling resistor is:
P=x4*a4_2+x3*a3_2+x2*a2_2+x*a1_2+b_2,
Wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_2、a3_2、a2_2、a1_2、b_2For second group of calibration
Coefficient.
Wherein, about the fourth order polynomial Function Fitting process of luminous power, i.e., first group calibration factor, second group of calibration system
Several continuous modes refer to Fig. 5.
It refer to Fig. 4, another luminous power that Fig. 4 is provided by the embodiment of the present application on the basis of method shown in Fig. 3
Monitoring method, is mainly included the following steps that.Wherein, same or similar content refer to the optical power monitoring side shown in Fig. 3
Method, is just repeated no more here.
Step 401:The ADC values for the electric signal that collection light-receiving component is generated according to current luminous power.
Step 402:Judge whether current first sampling resistor accesses circuit;If so, then entering step 403, if it is not, then entering
Enter step 404.
As it was previously stated, considering in safety factor, analog switch can give tacit consent to the first sampling resistor of connection.It therefore, it can
First circuit whether is accessed to the first sampling resistor to judge.Certainly, the content that can also be will determine that here is changed to " current
Whether two sampling resistors access circuit ", the embodiment of the present application is not defined to this, as long as sampling that can be to currently connecting
Resistance carries out clear and definite.
Step 403:Judge whether ADC values are less than the first threshold value, if so, then entering step 405, if it is not, then entering step
Rapid 407.
After confirmation is in the first sampling resistor access circuit after judgement, it is applicable for the first sampling resistor
ADC values, can be compared by monitoring range with the first threshold value, if ADC values are less than the first threshold value, illustrate this time
Power bracket can then enter the switching that step 405 carries out sampling resistor not in the reasonable monitoring range of the first sampling resistor;
If on the contrary, ADC values are more than the first threshold value, step 407 can be directly entered and calculate luminous power.
Step 404:Judge whether ADC values are more than the second threshold value, if so, then entering step 406, if it is not, then entering step
Rapid 408.
Similarly, after confirmation is in the second sampling resistor access circuit after judgement, for the second sampling resistor
ADC values, can be compared by the monitoring range being applicable with the second threshold value, if ADC values are higher than the second threshold value, say
Bright now reference optical power can enter step 406 not in the reasonable monitoring range of the second sampling resistor, then and carry out sampling electricity
The switching of resistance;If on the contrary, ADC values are less than the second threshold value, step 408 can be directly entered and calculate luminous power.
Step 405:Analog switch is switched on the second sampling resistor.
Step 406:Analog switch is switched on the first sampling resistor.
Step 407:According to ADC values, luminous power is calculated using the first calculation expression.
As it was previously stated, the calculation expression of luminous power is recommended to use fourth order polynomial fitting function, the first calculation expression
In coefficient it is relevant with the resistance of the first sampling resistor, can by measurement and fit procedure calculate.
Step 408:According to ADC values, luminous power is calculated using the second calculation expression.
Similarly, the coefficient in the second calculation expression is relevant with the resistance of the second sampling resistor, equally can be by
Measurement and fit procedure are calculated.
Table 2 is refer to, table 2 is given using the part luminous power obtained by optical power monitoring method shown in the application Fig. 4
Monitoring result and its precision.As can be seen from Table 2, the monitoring accuracy in luminous power gamut is within 1.4dBm.
Table 2
It can be seen that, the optical power monitoring method that the embodiment of the present application is provided, by by the ADC values and threshold value of sampled voltage
It is compared, suitable sampling resistor can be selected to carry out optical power monitoring in different reference optical powers so that in light work(
The monitoring result with preferable precision can be obtained in rate gamut.
Referring to Fig. 5, the fourth order polynomial function expression for the luminous power that Fig. 5 is provided by the embodiment of the present application was fitted
The flow chart of journey, is mainly included the following steps that:
Step 501:Collect five groups of corresponding ADC values of different luminous powers.
Due to being to carry out fourth order polynomial Function Fitting, that is, there are five undetermined parameters, it is therefore desirable to carry out five point fittings.
When determining first group of calibration factor, the first sampling resistor is accessed into circuit, and ensure that five groups of data obtained by measurement all exist
In the range of the optical power monitoring that first sampling resistor is applicable.Indeed, it is possible at least 5 points of multimetering is carried out, then therefrom
Choose five groups of data and be fitted calculating.Also, in order to prevent value mutation of sampling, recommend but be not limited to by maximum optical power
Value -8dBm starts, and is gradually reduced luminous power and measures, and remains that sampled voltage ADC values are higher than the first threshold value.Due to
The individual difference of intermodule in circuit, when sometimes possible luminous power is not yet less than -25dBm, sampled voltage ADC values are less than
First threshold value, then can cause the switching action of analog switch, and luminous power now should be transferred into higher value again, be further continued for
Progressively reduce luminous power and measure.
Similarly, when determining second group of calibration factor, the second sampling resistor is accessed into circuit, and ensure measurement gained
The five groups of data arrived are all in the range of the optical power monitoring that the second sampling resistor is applicable.Also, in order to prevent value mutation of sampling,
Recommend but be not limited to by luminous power minimum value -45dBm, gradually increase luminous power and measure, and remain sampling
Voltage ADC values are less than the second threshold value.Once because there are sampled voltage ADC values more than the second thresholding in the individual difference of intermodule
The situation of value, should be transferred to smaller value again by luminous power, be further continued for incrementally increasing luminous power and measure.
Step 502:Five groups of data are substituted into luminous power fourth order polynomial fitting function expression formula and solve calibration factor.
The five groups of data obtained using the first sampling resistor measurement are substituted into the first calculation expression, you can solve first
Group calibration factor;Similarly, the five groups of data obtained using second group of sampling resistor measurement are substituted into the second calculation expression, i.e.,
Second group of calibration factor can be solved.
It should be noted that when using other kinds of fitting function expression formula, it would however also be possible to employ similar measurement step
Suddenly specific expression formula calibration factor is obtained.In addition, the calculating process of above Function Fitting can be programmed in fact by debugging software
It is existing, to facilitate microprocessor to obtain calibration factor and luminous power calculated.As for specifically use which kind of programming language and
Which kind of programmed statements, the embodiment of the present application is not defined, and those skilled in the art can voluntarily select according to actual conditions
And realize.
The embodiment of each in the application is described by the way of progressive, and what each embodiment was stressed is and other realities
Apply the difference of example, between each embodiment identical similar portion mutually referring to.For system disclosed in embodiment
Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
.
Professional further appreciates that, with reference to the method and step of the embodiments described herein description, energy
It is enough to be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate the interchangeable of hardware and software
Property, the composition and step of each example are generally described according to function in the above description.These functions are actually with hard
Part or software mode are performed, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be with
Described function is realized using distinct methods to each specific application, but this realization is it is not considered that beyond this Shen
Scope please.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Technical scheme provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is set forth, the explanation of above example be only intended to help understand the present processes and its
Core concept.It should be pointed out that for those skilled in the art, not departing from the premise of the application principle
Under, some improvement and modification can also be carried out to the application, these are improved and modification also falls into the protection of the application claim
In the range of.
Claims (10)
1. a kind of optical power monitoring circuit, it is characterised in that including light-receiving component, analog switch, the first sampling resistor, second
Sampling resistor and microprocessor;
Wherein, the resistance of first sampling resistor is less than the resistance of second sampling resistor;The light-receiving component passes through
The analog switch, with first sampling resistor and second sampling resistor switching be connected, first sampling resistor with
The other end of second sampling resistor is respectively connecting to the first port and second port of the microprocessor;The microprocessor
Device is used to control the analog switch to be switched on first sampling resistor or second sampling resistor, gathers the light
Electric signal of the receiving unit according to produced by luminous power, is monitored to luminous power.
2. optical power monitoring circuit according to claim 1, it is characterised in that the analog switch is single-pole double-throw switch (SPDT);
The moved end of the analog switch is connected to the light-receiving component, the analog switch first not moved end be connected to described first
Sampling resistor, the analog switch second not moved end be connected to second sampling resistor, the control letter of the analog switch
Number end is connected to the 3rd port of the microprocessor;The control sent when the microprocessor that the control signal end is received
When signal processed is first state, the moved end is connected to the described first not moved end, received when the control signal end described in
When the control signal that microprocessor is sent is the second state, the moved end is connected to the described second not moved end.
3. optical power monitoring circuit according to claim 2, it is characterised in that the optical power monitoring circuit also includes and institute
The bias voltage adjustment module of light-receiving component connection is stated, for providing bias voltage to the light-receiving component.
4. optical power monitoring circuit according to claim 2, it is characterised in that the optical power monitoring circuit also includes mirror image
Current source module, the photoelectricity traffic mirroring for the light-receiving component to be produced goes out current signal, and the current signal is through described
Analog switch flows into first sampling resistor or second sampling resistor.
5. according to any one of Claims 1-4 optical power monitoring circuit, it is characterised in that when the light-receiving component
Monitoring range be -45dBm~-8dBm, and the microprocessor voltage monitoring scope be 0~2.5V when, it is described first sampling
Resistance is 10k Ω, and the first sampling resistor resistance is 150k Ω.
6. a kind of optical power monitoring method, it is characterised in that including:
The ADC values for the electric signal that collection light-receiving component is generated according to current luminous power;
The ADC values are compared with threshold value, according to comparative result by analog switch be switched on the first sampling resistor or
The sampling resistor of person second;The other end of first sampling resistor and second sampling resistor is respectively connecting to microprocessor
First port and second port;The resistance of first sampling resistor is less than the resistance of second sampling resistor;
According to the ADC values collected, calculation expression corresponding with the sampling resistor connected is selected to calculate luminous power.
7. optical power monitoring method according to claim 6, it is characterised in that the analog switch acquiescence connects described first
Sampling resistor.
8. optical power monitoring method according to claim 7, it is characterised in that described to carry out the ADC values and threshold value
Compare, analog switch is switched on into the first sampling resistor or the second sampling resistor according to comparative result includes:
Judge whether the analog switch connects first sampling resistor;
If the analog switch connects first sampling resistor, judge whether the ADC values are less than the first threshold value;If
It is that the analog switch is then switched on second sampling resistor;
If the analog switch is not switched on first sampling resistor, judge whether the ADC values are more than the second threshold value;
If so, the analog switch then is switched on into first sampling resistor;First threshold value is less than second thresholding
Value.
9. according to any one of claim 6 to the 8 optical power monitoring method, it is characterised in that what the basis was collected
ADC values, selecting calculation expression corresponding with the sampling resistor connected to calculate luminous power includes:
If the analog switch connects first sampling resistor, according to P=x4*a4_1+x3*a3_1+x2*a2_1+x*a1_1+b_1
Luminous power is calculated, wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_1、a3_1、a2_1、a1_1、b_1For first group of school
Quasi- coefficient;
If the analog switch connects second sampling resistor, according to P=x4*a4_2+x3*a3_2+x2*a2_2+x*a1_2+b_2
Luminous power is calculated, wherein, P is luminous power size, and unit is dBm, and x is ADC values, a4_2、a3_2、a2_2、a1_2、b_2For second group of school
Quasi- coefficient.
10. optical power monitoring method according to claim 9, it is characterised in that the measure step of first group of calibration factor
Suddenly include:
When the analog switch connects first sampling resistor, the corresponding ADC values of five difference luminous powers are collected, and
Five ADC values are all higher than first threshold value;
Fourth order polynomial fitting is carried out according to different luminous powers and its corresponding ADC values, calculating obtains first group of calibration system
Number;
The determination step of second group of calibration factor includes:
When the analog switch connects second sampling resistor, the corresponding ADC values of five difference luminous powers are collected, and
Five ADC values are respectively less than second threshold value;
Fourth order polynomial fitting is carried out according to different luminous powers and its corresponding ADC values, calculating obtains second group of calibration system
Number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710601164.3A CN107231190A (en) | 2017-07-21 | 2017-07-21 | A kind of optical power monitoring circuit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710601164.3A CN107231190A (en) | 2017-07-21 | 2017-07-21 | A kind of optical power monitoring circuit and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107231190A true CN107231190A (en) | 2017-10-03 |
Family
ID=59956859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710601164.3A Pending CN107231190A (en) | 2017-07-21 | 2017-07-21 | A kind of optical power monitoring circuit and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231190A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108489915A (en) * | 2018-02-13 | 2018-09-04 | 中国海洋石油集团有限公司 | A kind of fluid measurement optical system |
CN108809419A (en) * | 2018-09-20 | 2018-11-13 | 东莞铭普光磁股份有限公司 | A kind of optical power monitoring circuit and optical power monitoring method |
CN112511221A (en) * | 2020-10-30 | 2021-03-16 | 武汉联特科技股份有限公司 | Method and equipment for improving receiving and reporting monitoring power range of optical module |
CN114070392A (en) * | 2020-08-04 | 2022-02-18 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN114070393A (en) * | 2020-08-04 | 2022-02-18 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN114389690A (en) * | 2022-01-12 | 2022-04-22 | 青岛海信宽带多媒体技术有限公司 | Optical module and optical power abnormity judgment and correction method thereof |
CN108809419B (en) * | 2018-09-20 | 2024-05-14 | 东莞铭普光磁股份有限公司 | Optical power monitoring circuit and optical power monitoring method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102590601A (en) * | 2012-01-19 | 2012-07-18 | 厦门优迅高速芯片有限公司 | Wide-range current monitoring device |
CN102970076A (en) * | 2012-11-07 | 2013-03-13 | 武汉光迅科技股份有限公司 | Photoelectric detection circuit |
CN103368640A (en) * | 2013-05-10 | 2013-10-23 | 深圳市易飞扬通信技术有限公司 | Improved system of expanding optical module digital diagnostic monitoring |
CN203554442U (en) * | 2013-10-22 | 2014-04-16 | 青岛海信宽带多媒体技术有限公司 | RSSI monitoring circuit |
CN103997369A (en) * | 2014-04-01 | 2014-08-20 | 深圳市共进电子股份有限公司 | Monitoring method of variable gain burst receiving optical power monitoring circuit, and variable gain burst receiving optical power monitoring circuit |
CN204462242U (en) * | 2015-01-08 | 2015-07-08 | 聚光科技(杭州)股份有限公司 | Weak current signal detection device |
WO2016106544A1 (en) * | 2014-12-30 | 2016-07-07 | 华为技术有限公司 | Analog-to-digital converter protection circuit and control method thereof, and controller |
US20170141872A1 (en) * | 2015-11-13 | 2017-05-18 | Sumitomo Electric Industries, Ltd. | Optical receiver and method of monitoring optical power of optical signal input thereto |
CN206922759U (en) * | 2017-07-21 | 2018-01-23 | 东莞铭普光磁股份有限公司 | A kind of optical power monitoring circuit |
-
2017
- 2017-07-21 CN CN201710601164.3A patent/CN107231190A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102590601A (en) * | 2012-01-19 | 2012-07-18 | 厦门优迅高速芯片有限公司 | Wide-range current monitoring device |
CN102970076A (en) * | 2012-11-07 | 2013-03-13 | 武汉光迅科技股份有限公司 | Photoelectric detection circuit |
CN103368640A (en) * | 2013-05-10 | 2013-10-23 | 深圳市易飞扬通信技术有限公司 | Improved system of expanding optical module digital diagnostic monitoring |
CN203554442U (en) * | 2013-10-22 | 2014-04-16 | 青岛海信宽带多媒体技术有限公司 | RSSI monitoring circuit |
CN103997369A (en) * | 2014-04-01 | 2014-08-20 | 深圳市共进电子股份有限公司 | Monitoring method of variable gain burst receiving optical power monitoring circuit, and variable gain burst receiving optical power monitoring circuit |
WO2016106544A1 (en) * | 2014-12-30 | 2016-07-07 | 华为技术有限公司 | Analog-to-digital converter protection circuit and control method thereof, and controller |
CN204462242U (en) * | 2015-01-08 | 2015-07-08 | 聚光科技(杭州)股份有限公司 | Weak current signal detection device |
US20170141872A1 (en) * | 2015-11-13 | 2017-05-18 | Sumitomo Electric Industries, Ltd. | Optical receiver and method of monitoring optical power of optical signal input thereto |
CN206922759U (en) * | 2017-07-21 | 2018-01-23 | 东莞铭普光磁股份有限公司 | A kind of optical power monitoring circuit |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108489915A (en) * | 2018-02-13 | 2018-09-04 | 中国海洋石油集团有限公司 | A kind of fluid measurement optical system |
CN108809419A (en) * | 2018-09-20 | 2018-11-13 | 东莞铭普光磁股份有限公司 | A kind of optical power monitoring circuit and optical power monitoring method |
CN108809419B (en) * | 2018-09-20 | 2024-05-14 | 东莞铭普光磁股份有限公司 | Optical power monitoring circuit and optical power monitoring method |
CN114070392A (en) * | 2020-08-04 | 2022-02-18 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN114070393A (en) * | 2020-08-04 | 2022-02-18 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN114070393B (en) * | 2020-08-04 | 2023-02-17 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN112511221A (en) * | 2020-10-30 | 2021-03-16 | 武汉联特科技股份有限公司 | Method and equipment for improving receiving and reporting monitoring power range of optical module |
CN114389690A (en) * | 2022-01-12 | 2022-04-22 | 青岛海信宽带多媒体技术有限公司 | Optical module and optical power abnormity judgment and correction method thereof |
WO2023134271A1 (en) * | 2022-01-12 | 2023-07-20 | 青岛海信宽带多媒体技术有限公司 | Optical module optical power anomaly determination and correction method and optical module |
CN114389690B (en) * | 2022-01-12 | 2024-04-12 | 青岛海信宽带多媒体技术有限公司 | Optical module and optical power abnormality judgment and correction method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107231190A (en) | A kind of optical power monitoring circuit and method | |
CN206922759U (en) | A kind of optical power monitoring circuit | |
CN105571739B (en) | A kind of electric vehicle charging pipette tips system for detecting temperature and detection method | |
CN103149546B (en) | The field integrated tester of a kind of portable electric energy measuring terminal | |
CN110187282A (en) | Battery charge state evaluation method and estimation device | |
CN105891757B (en) | Open-loop Hall sensor measurement accuracy calibration device and calibration method thereof | |
CN203444012U (en) | High accuracy and rapid speed measurement circuit of wide range current in power system | |
CN104242393A (en) | Battery management system based on dynamic SOC estimation system | |
CN111751750B (en) | Multi-stage closed-loop lithium battery SOC estimation method based on fuzzy EKF | |
CN204030697U (en) | Based on the battery management system of dynamic SOC estimating system | |
CN104965158A (en) | Improved ultrahigh-frequency partial discharge capacity detection acquiring device and method | |
CN107656213B (en) | Intelligent test method and system for battery core | |
CN112363071A (en) | Non-rechargeable battery residual capacity estimation system and method and electronic equipment | |
CN112782598B (en) | Metering method, metering device, metering equipment and metering storage medium for electric quantity information | |
CN204881767U (en) | Measure device and car of fuel liquid level | |
WO2023109882A1 (en) | Smart power meter | |
CN208597080U (en) | A kind of optical power monitoring circuit | |
CN213986757U (en) | Non-rechargeable battery residual capacity estimation system and electronic equipment | |
CN115166494B (en) | Intelligent IT online circuit detection monitoring device | |
CN105429096A (en) | Over-current protection method for ammeter and over-current protection circuit | |
CN115951123A (en) | Electric energy metering method and system based on wireless communication | |
CN108572273B (en) | Low current measuring circuit and measuring method thereof | |
CN210835177U (en) | Battery detection circuit | |
CN112147409B (en) | Online impedance detection method and device for low-voltage distribution line | |
CN104569840A (en) | Aging detection method and device for individual battery |
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: 20171003 |
|
RJ01 | Rejection of invention patent application after publication |