CN105897332B - Detection device and detection method - Google Patents

Detection device and detection method Download PDF

Info

Publication number
CN105897332B
CN105897332B CN201610216827.5A CN201610216827A CN105897332B CN 105897332 B CN105897332 B CN 105897332B CN 201610216827 A CN201610216827 A CN 201610216827A CN 105897332 B CN105897332 B CN 105897332B
Authority
CN
China
Prior art keywords
voltage
constant
output
operating mode
optical attenuator
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.)
Active
Application number
CN201610216827.5A
Other languages
Chinese (zh)
Other versions
CN105897332A (en
Inventor
林生霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201610216827.5A priority Critical patent/CN105897332B/en
Publication of CN105897332A publication Critical patent/CN105897332A/en
Application granted granted Critical
Publication of CN105897332B publication Critical patent/CN105897332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Optical Modulation, Optical Deflection, Nonlinear Optics, Optical Demodulation, Optical Logic Elements (AREA)

Abstract

A kind of detection device of offer of the embodiment of the present invention and detection method, are related to fiber optic communication field.The device includes input power detection module, adjustable optical attenuator, output power detection module and control module;Control module, for receive setting instruction, setting instruction comprising operating mode indicate information, according to instruction information by the operating mode of detection device be adjusted to instruction information indicated by operating mode;Input power is transmitted to control module by input power detection module, the input power for detecting the incident light of adjustable optical attenuator under operating mode;Adjustable optical attenuator decays for the incident light to adjustable optical attenuator, obtains emergent light;Output power is transmitted to control module by output power detection module, the output power for detecting the emergent light of adjustable optical attenuator under operating mode;Control module is additionally operable to the attenuation coefficient according to input power, output power and analog optical fiber, determines the simulated range under operating mode.

Description

Detection device and detection method
Technical field
The present invention relates to fiber optic communication field more particularly to a kind of detection devices and detection method.
Background technology
Low, transmission frequency bandwidth, big, small, light-weight, the anti-electromagnetism of capacity is lost since optical fiber has in information transmission The advantages that interference, thus the application of Fibre Optical Communication Technology is more and more extensive, fiber optic communication be exactly using light wave as information carrier, with Communication mode of the optical fiber as transmission medium.It, can be due to fiber optic materials, the fibre core number of optical fiber when light wave transmits in a fiber The a variety of causes such as amount, the diameter of fibre core cause the transmission loss of optical fiber, and this transmission loss is directly related to optical fiber biography The length of defeated distance, therefore, it is necessary to be detected to the optical fiber transmission of long transmission line.
Currently, when being detected to the optical fiber transmission of long transmission line, fixed attenuator is typically utilized to replace optical fiber cable, i.e., It is connected and fixed attenuator between two detection devices, replaces optical fiber cable in transmission process by the decaying of fixed attenuator Then transmission loss determines the transmission range of optical fiber by the attenuation of fixed attenuator.But fixed attenuator is to pass through What the mode of connector was docked, and this docking will produce certain insertion loss, to only pass through fixed attenuator Attenuation determines that the transmission range of optical fiber can have certain error, and then causes the precision measured not high.
Invention content
A kind of detection device of the embodiment of the present invention offer and detection method, it is not high to solve measurement accuracy in the prior art The problem of.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, provide a kind of detection device, described device includes sequentially connected input power detection module, adjustable Optical attenuator, output power detection module, and the control module that is connect with each of the above module, wherein
The control module, for receiving setting instruction, which instructs the instruction information for including operating mode, is referred to according to this Show that the operating mode of detection device is adjusted to the operating mode indicated by the instruction information by information;Wherein, the operating mode Indicate that the operating mode indicated by information can be preset operating mode, which may include constant voltage mould Formula, constant output pattern or constant attenuation pattern, certainly, in practical applications, which may be other, the present invention This is not construed as limiting.
Input power detection module, for detecting under the operating mode, the corresponding input of incident light of adjustable optical attenuator Power, and input power is transmitted to the control module, which includes at least one incident light;
Adjustable optical attenuator is decayed for the incident light to adjustable optical attenuator, obtains going out for adjustable optical attenuator Light is penetrated, which includes at least one emergent light;
Output power detection module, for detecting under the operating mode, the corresponding output of emergent light of adjustable optical attenuator Power, and output power is transmitted to the control module;
Control module is additionally operable in this operating mode, according to the decaying of input power, output power and analog optical fiber Coefficient determines the simulated range under the operating mode.
Specifically, input power detection module may include photoelectric converter, current-voltage converter and analog-digital converter ADC.The photoelectric converter can be photodiode PD, photodetector etc., for being converted to accordingly the optical signal of input Electric signal;The current-voltage converter can be difference channel, for current signal to be converted to corresponding voltage signal, And the voltage signal exported from the current-voltage converter is analog voltage signal;Analog-digital converter ADC, being used for will be from electric current- The analog voltage signal of electric pressure converter output is converted to corresponding digital voltage signal, and the digital voltage signal is transferred to Control module.In addition, output power detection module is similar with output power detection module, details are not described herein by the present invention.
With reference to first aspect, in the first possible realization method of first aspect, which further includes two Light opens the light matrix, and two optical switch matrixes are located at input power detection module and adjustable optical attenuator and adjustable light decay Subtract between device and output power detection module, wherein
Optical switch matrix, when for being detected to multiple light-pathes, successively in incident light target incident light and with The light-path of the corresponding target emergent light of target incident light carries out photoswitch switching.
With reference to first aspect or the first possible realization method of first aspect, second in first aspect are possible Realization method in, if operating mode indicated by the instruction information is constant-voltage mode, the control module include processor, Digital analog converter DAC and amplifier, wherein
Processor, for digital constant voltage to be arranged;
DAC, for the digital constant voltage to be converted into analog constant voltage;
Amplifier is amplified place for the operating voltage range according to adjustable optical attenuator to the analog constant voltage Reason, and by amplified analog constant voltage output to adjustable optical attenuator;
Adjustable optical attenuator, specifically for being decayed to incident light according to amplified analog constant voltage, obtaining can The emergent light of optical attenuator;
Processor is additionally operable under the constant-voltage mode, according to input power, output power and the analog optical fiber Attenuation coefficient determines the simulated range under the constant-voltage mode.
It should be noted that when the operating mode is constant-voltage mode, the pattern is not by incident light and emergent light The influence of correspondence, and be mainly used for simulating what connector of the luminous power of different optical modules under constant attenuation itself introduced Loss.
With reference to first aspect or the first possible realization method of first aspect, the third in first aspect are possible Realization method in, if operating mode indicated by the instruction information is constant output pattern, the control module include processor, DAC and comparator, wherein
Processor is transmitted to output power detection module for receiving setting instruction, and by setting instruction;
Output power detection module is additionally operable to that the first constant output is arranged according to the operating mode, constant by first Output power is converted to the first output voltage, and the first output voltage is transmitted to processor, and the first constant output is The corresponding output power of emergent light;
Processor is additionally operable to the first digital voltage of setting;
DAC, for the first digital voltage to be converted into the first analog voltage;
Comparator obtains comparison result, and comparison result is passed for comparing the first output voltage and the first analog voltage Transport to processor;
Processor is additionally operable to adjust the first digital voltage according to comparison result, so that the first digital voltage and the first output Voltage is consistent, and the first digital voltage of adjusting is exported to adjustable optical attenuator;
Adjustable optical attenuator obtains adjustable specifically for being decayed to incident light according to the first digital voltage of adjusting The emergent light of optical attenuator;Wherein, the corresponding output power of emergent light is the first constant output;
Processor is additionally operable under the constant output pattern, according to input power, the first constant output and simulation The attenuation coefficient of optical fiber determines the simulated range under the constant output pattern.
It should be noted that the first constant output can be configured, and can be according to the reception for receiving emergent light The specific requirement at end is configured, and this is not limited by the present invention.
In addition, when the operating mode is constant output pattern, the pattern is mainly by output power in a perseverance Definite value, output quantity not with the variation of input quantity influence, you can the output power of optical attenuator not with the variation of input power and Variation, the receiving terminal for simulating emergent light detect sending ending equipment light in lower limit to luminous power in the optical fiber of certain distance The minimal power requirements of module.
With reference to first aspect or the first possible realization method of first aspect, in the 4th kind of possibility of first aspect Realization method in, if operating mode indicated by the instruction information is constant attenuation pattern, the control module include processor, DAC, first comparator and the second comparator, wherein
Processor is transmitted to input power detection module and output for receiving setting instruction, and by setting instruction Power detection module;
Input power detection module is additionally operable to the first constant input power of setting, the first constant input power is converted to First input voltage, and the first input voltage is transmitted to processor, the first constant input power is that incident light is corresponding defeated Enter power;
Output power detection module is additionally operable to the second constant output of setting, the second constant output is converted to Second output voltage, and the second output voltage is transmitted to processor, the second constant output is that emergent light is corresponding defeated Go out power;
Processor is additionally operable to the second digital voltage of setting and third digital voltage;
Third digital voltage for the second digital voltage to be converted to the second analog voltage, and is converted to third by DAC Analog voltage;
First comparator obtains the first comparison result for comparing the first input voltage and the second analog voltage, and by One comparison result is transmitted to processor;
Second comparator obtains the second comparison result for comparing the second output voltage and third analog voltage, and by Two comparison results are transmitted to processor;
Processor is additionally operable to adjust the second digital voltage according to the first comparison result, so that the second digital voltage and first Input voltage is consistent, and adjusts third digital voltage according to the second comparison result, so that third digital voltage and second Output voltage is consistent, and the second digital voltage of adjusting and third digital voltage are exported to adjustable optical attenuator;
Adjustable optical attenuator, be specifically used for according to the second digital voltage of adjusting and third digital voltage to the incident light into Row decaying, obtains the emergent light of adjustable optical attenuator;Wherein, the corresponding input power of incident light is the first constant input power, It is the second constant output that emergent light, which corresponds to output power,;
Processor is additionally operable under the constant attenuation pattern, according to the first constant input power, the second constant output And the attenuation coefficient of analog optical fiber, determine the simulated range under the constant attenuation pattern.
It should be noted that the constant attenuation pattern refers to that the attenuation of adjustable optical attenuator 102 is set as constant Value, and since the corresponding input power of incident light subtracts the corresponding output power of emergent light, that is, it is equal to declining for adjustable optical attenuator Decrement therefore can be by being arranged constant input power and constant output power, to ensure declining for the adjustable optical attenuator It is reduced to constant pad value.
Second aspect provides a kind of detection method, applied to the detection device for including adjustable optical attenuator, this method packet It includes:
Setting instruction is received, which, which instructs, includes the instruction information of operating mode, according to the instruction information by the detection The operating mode of device is adjusted to the operating mode indicated by the instruction information;
It detects under the operating mode, the corresponding input power of incident light of adjustable optical attenuator, incident light includes at least one A incident light;
Decay to the incident light of adjustable optical attenuator, obtain the emergent light of adjustable optical attenuator, emergent light includes extremely A few emergent light;
It detects under the operating mode, the corresponding output power of emergent light of adjustable optical attenuator;
In this operating mode, according to the attenuation coefficient of input power, output power and analog optical fiber, the work is determined Simulated range under pattern.
In conjunction with second aspect, in the first possible realization method of second aspect, this method further includes:
When being detected to multiple light-pathes, successively in the incident light target incident light and with target incident light pair The light-path for the target emergent light answered carries out photoswitch switching.
In conjunction with the possible realization method of the first of second aspect or second aspect, second in second aspect may Realization method in, if operating mode indicated by the instruction information is constant-voltage mode, this should according to the instruction information The operating mode of detection device is adjusted to the operating mode indicated by the instruction information, specially:
Digital constant voltage is set;
Digital constant voltage is converted into analog constant voltage;
According to the operating voltage range of adjustable optical attenuator, processing is amplified to the analog constant voltage, and will put The operating mode of detection device is adjusted to constant voltage mould by the analog constant voltage output after big to adjustable optical attenuator Formula;
Correspondingly, the incident light to adjustable optical attenuator is decayed, specially:According to amplified analog constant voltage Decay to incident light, obtains the emergent light of adjustable optical attenuator.
In conjunction with the possible realization method of the first of second aspect or second aspect, the third in second aspect may Realization method in, if operating mode indicated by the instruction information is constant output pattern, this should according to the instruction information The operating mode of detection device is adjusted to the operating mode indicated by the instruction information, specially:
The first constant output is set according to the operating mode, the first constant output is converted into the first output electricity Pressure, the first constant output are the corresponding output power of the emergent light;
First digital voltage is set;
First digital voltage is converted into the first analog voltage;
Compare the first output voltage and the first analog voltage, obtains comparison result;
The first digital voltage is adjusted according to comparison result, so that the first digital voltage is consistent with the first output voltage, And export the first digital voltage of adjusting to adjustable optical attenuator, the operating mode of the detection device is adjusted to constant defeated Go out pattern;
Correspondingly, the incident light to adjustable optical attenuator is decayed, specially:According to the first digital voltage pair of adjusting Incident light is decayed, and the emergent light of adjustable optical attenuator is obtained;Wherein, the corresponding output power of the emergent light is first constant Output power.
In conjunction with the possible realization method of the first of second aspect or second aspect, in the 4th kind of possibility of second aspect Realization method in, if operating mode indicated by the instruction information is constant attenuation pattern, this should according to the instruction information The operating mode of detection device is adjusted to the operating mode indicated by the instruction information, specially:
First constant input power is set, the first constant input power is converted into the first input voltage, first is constant defeated It is the corresponding input power of incident light to enter power;
Second constant output is set, the second constant output is converted into the second output voltage, second is constant defeated It is the corresponding output power of the emergent light to go out power;
Second digital voltage and third digital voltage are set;
Second digital voltage is converted into the second analog voltage, and third digital voltage is converted into third simulation electricity Pressure;
Compare the first input voltage and the second analog voltage, obtains the first comparison result;
Compare the second output voltage and third analog voltage, obtains the second comparison result;
The second digital voltage is adjusted according to the first comparison result, so that the second digital voltage and the first input voltage keep one It causes, and third digital voltage is adjusted according to the second comparison result, so that third digital voltage and the second output voltage keep one It causes, and the second digital voltage of adjusting and third digital voltage is exported to adjustable optical attenuator, by the work of the detection device Operation mode is adjusted to constant attenuation pattern;
Correspondingly, the incident light to adjustable optical attenuator is decayed, specially:According to the second digital voltage of adjusting and Third digital voltage decays to incident light, obtains the emergent light of adjustable optical attenuator;Wherein, the corresponding input of the incident light Power is the first constant input power, and it is the second constant output which, which corresponds to output power,.
A kind of detection device and detection method that the embodiment of the present invention provides pass through and receive setting instruction, setting instruction The operating mode of detection device is adjusted to indicated by instruction information by the instruction information for including operating mode according to instruction information Operating mode, and the corresponding input power of incident light of adjustable optical attenuator under the operating mode is detected, and to adjustable light decay The incident light for subtracting device is decayed, and the emergent light of adjustable optical attenuator is obtained, and detects variable optical attenuation under the operating mode The corresponding output power of emergent light of device, later, in this operating mode according to detection obtain input power, go out power and The attenuation coefficient of analog optical fiber determines the simulated range under the operating mode, so as to the realization pair under different working modes The detection of the corresponding simulated range of analog optical fiber, and ensure higher measurement accuracy.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the present invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of detection device provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of input power detection module provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of control module provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another control module provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another control module provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another detection device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of optical switch matrix provided in an embodiment of the present invention;
Fig. 8 is a kind of flow diagram of detection method provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of another detection method provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
Fig. 1 be a kind of structural schematic diagram of detection device provided in an embodiment of the present invention, referring to Fig. 1, the device include according to The input power detection module 101 of secondary connection, adjustable optical attenuator 102, output power detection module 103 and with it is above every The control module 104 of a module connection.
Wherein, control module 104, for receiving setting instruction, which instructs the instruction information for including operating mode, root The operating mode of the detection device is adjusted to the operating mode indicated by the instruction information according to the instruction information;
It should be noted that in embodiments of the present invention, the operating mode indicated by the instruction information of the operating mode can Think preset operating mode, which may include constant-voltage mode, constant output pattern or constant attenuation Pattern, certainly, in practical applications, which may be other, and the embodiment of the present invention is not construed as limiting this.
Input power detection module 101, for detecting under the operating mode, the incident light of adjustable optical attenuator is corresponding defeated Enter power, which includes at least one incident light;It that is to say, the input power detection module 101 is for detecting tunable optical The corresponding input power of incident light of attenuator.
Specifically, as shown in Fig. 2, the input power detection module 101 includes photoelectric converter 1011, current-voltage turn Parallel operation 1012 and analog-digital converter ADC 1013.Wherein, which can be photodiode PD, photodetection Device etc. that is to say, for the optical signal of input to be converted to corresponding electric signal for turning the incident light of adjustable optical attenuator It is changed to corresponding electric signal, i.e. current signal;The current-voltage converter 1012 can be difference channel, for believing electric current Corresponding voltage signal number is converted to, and the voltage signal exported from the current-voltage converter 1012 is analog voltage signal; Analog-digital converter ADC 1013, for being converted to accordingly the analog voltage signal exported from current-voltage converter 1012 Digital voltage signal, and the digital voltage signal is transferred to control module 104, this can be determined based on the digital voltage signal The corresponding input power of incident light.
Certainly, which can also be replaced using logafier, that is to say, by right The corresponding input power of number amplifier detection incident light, to further increase detection sensitivity, specific logafier The relevant technologies can be referred to, the embodiment of the present invention is not explained herein.
It should be noted that the incident light of the adjustable optical attenuator includes at least one incident light, it that is to say, the tunable optical The incident light of attenuator may include an incident light, can also include multiple incident lights.
Adjustable optical attenuator 102 decays for the incident light to adjustable optical attenuator, obtains adjustable optical attenuator Emergent light, the emergent light include at least one emergent light;
It should be noted that adjustable optical attenuator 102 can carry out optical signal continuous variable decaying, and each tunable optical Decaying has corresponding technical indicator, for example, operation wavelength, attenuation range, resolution ratio, operating voltage range etc..
In addition, the emergent light includes at least one emergent light, the emergent light for referring to the adjustable optical attenuator may include one A emergent light can also include multiple emergent lights.
Output power detection module 103, for detecting under the operating mode, the emergent light of adjustable optical attenuator is corresponding defeated Go out power;It that is to say, which is used to detect the corresponding output work of emergent light of adjustable optical attenuator Rate.
It should be noted that the concrete composition of output power detection module 103 and above-mentioned input power detection module 101 Form similar, details are not described herein for the embodiment of the present invention.
Control module 104 is used in this operating mode, according to declining for input power, output power and analog optical fiber Subtract coefficient, determines the simulated range under the operating mode.
Since the corresponding input power of the incident light of the adjustable optical attenuator 102 subtracts the corresponding output power of emergent light, Equal to the attenuation of adjustable optical attenuator 102, and with the attenuation coefficient of the attenuation divided by analog optical fiber, you can corresponding to obtain Simulated range, analog optical fiber herein refers to the optical fiber for needing to carry out analog detection, and the attenuation coefficient of analog optical fiber is desirable The attenuation coefficient for the optical fiber simulated.
It should be noted that the attenuation coefficient of optical fiber refers to pad value of the every kilometer of optical fiber to optical signal power, and it is different Optical fiber due to the difference of the parameters such as its material, fibre core number, core diameter, thus corresponding attenuation coefficient may also be different.
Further, in embodiments of the present invention, since the preset operating mode of the detection device includes constant voltage mould Formula, constant output pattern and constant attenuation pattern, and for different operating modes, specific method of adjustment is different, divides below Three kinds of different operating modes of safety pin pair are illustrated.
If the first, as shown in figure 3, operating mode indicated by the instruction information is constant-voltage mode, that is to say, will The operating voltage of adjustable optical attenuator 102 is set as constant voltage value, the control module 104 may include processor 1041, Digital analog converter DAC 1042 and amplifier 1043, and processor 1041 is connect with DAC1042, DAC1042 and amplifier 1043 Connection, wherein
Processor 1041, for digital constant voltage to be arranged;
DAC1042, for the digital constant voltage to be converted into analog constant voltage;
Amplifier 1043, for according to the operating voltage range of the adjustable optical attenuator 102, to the analog constant voltage into Row enhanced processing, and give amplified analog constant voltage output to the adjustable optical attenuator;
Correspondingly, the adjustable optical attenuator 102, is specifically used for carrying out incident light according to amplified analog constant voltage Decaying, obtains the emergent light of the adjustable optical attenuator 102;
Specifically, when corresponding digital constant voltage is arranged in processor 1041, and it is by DAC1042 that the digital constant is electric Pressure is converted into after analog constant voltage, in order to ensure that the analog constant voltage can be with the work electricity of adjustable optical attenuator 102 Pressure range matches, and needs to be amplified processing to the analog constant voltage, is put for example, carrying out operation to the analog constant voltage Greatly, so that amplified analog constant voltage is in the operating voltage range of the adjustable optical attenuator 102, by analog constant electricity Pressure output is to adjustable optical attenuator 102, you can with guarantee, the adjustable optical attenuator 102 is worked with constant-voltage mode.
After the operating mode of the detection device is adjusted to constant-voltage mode, processor 1041 is additionally operable at this Under constant-voltage mode, detected according to the input power of the detection of input power detection module 101, output power detection module 103 Output power and analog optical fiber attenuation coefficient, determine the simulated range under the constant-voltage mode.
That is to say, with the obtained input power of detection subtract output power to get to adjustable optical attenuator 102 in constant electricity Attenuation under die pressing type, with the attenuation coefficient of the attenuation divided by analog optical fiber to get to corresponding simulated range.
It should be noted that when the operating mode is constant-voltage mode, the pattern is not by incident light and emergent light The influence of correspondence, and be mainly used for simulating what connector of the luminous power of different optical modules under constant attenuation itself introduced Loss.
It, will if second, that is to say as shown in figure 4, the operating mode indicated by the instruction information is constant output pattern The corresponding output power of emergent light of adjustable optical attenuator 102 is set as constant performance number, which includes processing Device 1041, DAC1042 and comparator 1044.
Processor 1041 is transmitted to output power detection module for receiving setting instruction, and by setting instruction 103;
Output power detection module 103 is additionally operable to that the first constant output is arranged according to the operating mode, by the first perseverance Determine output power and be converted to the first output voltage, and the first output voltage is transmitted to the processor 1041, first is constant defeated It is the corresponding output power of emergent light to go out power;
Processor 1041 is additionally operable to the first digital voltage of setting;
DAC1042, for the first digital voltage to be converted into the first analog voltage;
Comparator 1044 obtains comparison result, and this is compared for comparing the first output voltage and the first analog voltage As a result it is transmitted to processor 1041;
Processor 1041 is additionally operable to adjust the first digital voltage according to the comparison result, so that the first digital voltage and the One output voltage is consistent, and the first digital voltage of adjusting is exported to adjustable optical attenuator 102;
Correspondingly, the adjustable optical attenuator 102, specifically for being declined to incident light according to the first digital voltage of adjusting Subtract, obtains the emergent light of adjustable optical attenuator;Wherein, the corresponding output power of the emergent light is the first constant output.
Specifically, when comparator 1044 compares the first output voltage and the first analog voltage, it can be by the first output electricity The positive input voltage as comparator 1044 is pressed, using the first analog voltage as the reverse input end of comparator 1044, and should The output end of comparator 1044 is connected to processor 1041, i.e., comparison result is transmitted to processor 1041.When the comparator When 1044 output end is high level, it may be determined that the first output voltage of forward direction input is higher, thus can be by increasing by the One digital voltage makes the first analog voltage reversely inputted increase, and ensures that the two is consistent;When the output end of the comparator 1044 is When low level, it may be determined that the first output voltage of forward direction input is relatively low, thus can be made instead by reducing the first digital voltage Reduce to the first analog voltage of input terminal, ensures that the two is consistent, so as to by constantly adjusting the first digital voltage, make First digital voltage is consistent with the first output voltage, and then ensures that emergent light is exported with the first constant output.
After the operating mode of the detection device is adjusted to constant output pattern, processor 1041 is additionally operable at this Under constant-voltage mode, detected according to the input power of the detection of input power detection module 101, output power detection module defeated Go out power and the attenuation coefficient of analog optical fiber, determines the simulated range under the constant-voltage mode.
It should be noted that the first constant output can be configured, and can be according to the reception for receiving emergent light The specific requirement at end is configured, and the embodiment of the present invention is not construed as limiting this.
In addition, when the operating mode is constant output pattern, the pattern is mainly by output power in a perseverance Definite value, output quantity are not influenced with the variation of input quantity, you can the output power of optical attenuator 102 is not with the variation of input power And change, in lower limit in the optical fiber of certain distance sending ending equipment is detected to luminous power for simulating the receiving terminal of emergent light The minimal power requirements of optical module.
If the third, as shown in figure 5, operating mode indicated by the instruction information is constant attenuation pattern, that is to say, will The attenuation of adjustable optical attenuator 102 is set as constant pad value, which includes processor 1041, DAC1042 With first comparator 1045 and the second comparator 1046.
Processor 1041 is transmitted to input power detection module 101 for receiving setting instruction, and by setting instruction With output power detection module 103;
Input power detection module 101 is additionally operable to the first constant input power of setting, and by the first constant input power The first input voltage is converted to, and first input voltage is transmitted to the processor 1041, the first constant input work Rate is the corresponding input power of incident light;
Output power detection module 103 is additionally operable to the second constant output of setting, and by the second constant output The second output voltage is converted to, and second output voltage is transmitted to the processor 1041, the second constant output work( Rate is the corresponding output power of emergent light;
Processor 1041 is additionally operable to the second digital voltage of setting and third digital voltage;
DAC1042 for the second digital voltage to be converted to the second analog voltage, and third digital voltage is converted to Third analog voltage;
First comparator 1045 obtains the first comparison result for comparing the first input voltage and the second analog voltage, and First comparison result is transmitted to processor 1041;
Second comparator 1046 obtains the second comparison result for comparing the second output voltage and third analog voltage, and Second comparison result is transmitted to processor 1041;
Processor 1041 is additionally operable to adjust the second digital voltage according to the first comparison result so that the second digital voltage with First input voltage is consistent, and according to the second comparison result adjust third digital voltage so that third digital voltage with Second output voltage is consistent, and the second digital voltage of adjusting and third digital voltage are exported to adjustable optical attenuator 102;
Correspondingly, the adjustable optical attenuator 102, is specifically used for the second digital voltage and third digital voltage according to adjusting Decay to incident light, obtains the emergent light of adjustable optical attenuator 102;Wherein, the corresponding input power of the incident light is the One constant input power, it is the second constant output which, which corresponds to output power,.
Specifically, when first comparator 1045 compares the first input voltage and the second analog voltage, it can be defeated by first Enter positive input voltage of the voltage as first comparator 1045, using the second analog voltage as the reversed of first comparator 1045 Input voltage, and the output end of first comparator 1045 is connected to processor 1041, i.e., the first comparison result is transmitted to processing Device 1041.When the output end of first comparator 1045 is high level, it may be determined that the first input voltage of forward direction input is higher, Thus the second analog voltage reversely inputted can be made to increase by increasing by the second digital voltage, ensure that the two is consistent;When first When the output end of comparator 1045 is low level, it may be determined that the second input voltage of forward direction input is relatively low, thus can pass through Reducing the second digital voltage makes the second analog voltage reversely inputted reduce, and ensures that the two is consistent, so as to by continuous The second digital voltage is adjusted, keeps the second digital voltage consistent with the first input voltage, and then ensures entering for adjustable optical attenuator 102 Light is penetrated to be inputted with the first constant input power.
Similarly, the second comparator 1046 compares the method and first comparator of the second output voltage and third analog voltage 1045 compare the first input voltage and the method for the second analog voltage is similar, and adjust third digital voltage by continuous, can So that the emergent light of adjustable optical attenuator 102 is exported with the second constant output.
It should be noted that the constant attenuation pattern refers to that the attenuation of adjustable optical attenuator 102 is set as constant Value, and since the corresponding input power of incident light subtracts the corresponding output power of emergent light, that is, it is equal to adjustable optical attenuator 102 Attenuation therefore can be by being arranged constant input power and constant output power, to ensure the adjustable optical attenuator 102 attenuation is constant pad value.
After the operating mode of the detection device is adjusted to constant attenuation pattern, processor 1041 is additionally operable at this Under constant attenuation pattern, according to the first constant input power, the attenuation coefficient of the second constant output and analog optical fiber, really Determine the simulated range under constant attenuation pattern.
It should be noted that when operating mode is constant attenuation pattern, which passes through according to the optical fiber of certain length Input power and output power are detected, certain pad value is set, to be kept fixed decaying, and the pattern is not by The influence of the power difference of thang-kng module.
In addition, it should also be noted that, under above-mentioned three kinds of different operating modes, place which includes Reason device 1041 and digital analog converter DAC 1042 not only can individually be set up, and can also be integrated, be that is to say, will DAC 1042 is integrated in processor 1041.In addition, the DAC 1042 can be 14 digital analog converters, so as to Ensure higher accuracy when controlling adjustable optical attenuator.
Certainly, which can also include display portion, for example, LED display etc., which can be with For showing and detecting relevant parameter information, for example, input power, output power and pad value etc., the present invention is implemented Example is not construed as limiting this.
Further, referring to Fig. 6, which can also open the light matrix 105, and two photoswitch squares including two light Battle array 105 is located at input power detection module 101 and adjustable optical attenuator 102 and adjustable optical attenuator 102 and output work Between rate detection module 103.
Wherein, optical switch matrix 105 when for being detected to multiple light-pathes, successively enter the target in incident light The light-path for penetrating light and target emergent light corresponding with target incident light carries out photoswitch switching.
It that is to say, when the incident light includes multiple incident lights, which includes multiple emergent lights, i.e., from incident light to going out Light is penetrated there are when multiple light-pathes, if desired multiple light-path is all detected, input power can be located at by adjusting Optical switch matrix 105 between detection module 101 and adjustable optical attenuator 102 selects entering for any light-path in multiple light-pathes Port is selected by the optical switch matrix 105 adjusted between adjustable optical attenuator 102 and output power detection module 103 The exit port of any light-path in multiple light-pathes is led to which the light-path between the inbound port and exit port is detected It crosses two optical switch matrixes 105 of constantly regulate and the traversal detection of multiple light-path may be implemented, and then improve detection efficiency, Also reduce hardware cost.
Wherein, as shown in fig. 7, the inbound port of each optical switch matrix includes the ports 1-n, exit port includes optical switch matrix 1-N port, and n and N is integer more than or equal to 1, the centre of inbound port and exit port is electronic switch, passes through and adjusts electronics Switch can carry out selecting corresponding port, for example, the optical switch matrix can be ADG704BRMZ etc..
A kind of detection device provided in an embodiment of the present invention, the device include sequentially connected input power detection module, Adjustable optical attenuator, output power detection module, and the control module that is connect with each of the above module;Wherein, control module For receiving setting instruction, setting instruction include the instruction information of operating mode, according to indicating information by the work of detection device Mode adjustment is the operating mode indicated indicated by information;Input power detection module, it is adjustable under the operating mode for detecting The corresponding input power of incident light of optical attenuator, and input power is transmitted to control module;Adjustable optical attenuator is used for Decay to the incident light of adjustable optical attenuator, obtains the emergent light of adjustable optical attenuator;Output power detection module, is used for The corresponding output power of emergent light of adjustable optical attenuator under the operating mode is detected, and output power is transmitted to control mould Block;Later, which is additionally operable to the input power in this operating mode, obtained according to detection, goes out power and simulation The attenuation coefficient of optical fiber determines the simulated range under the operating mode, so as to be realized to simulation under different working modes The detection of the corresponding simulated range of optical fiber, and the DAC control adjustable optical attenuators for including by control module are higher to ensure Measurement accuracy, while by the optical switch matrix of addition, traversal detection can be carried out to multiple light-pathes, substantially increase detection Efficiency also reduces hardware cost.
Fig. 8 is a kind of flow diagram of detection method provided in an embodiment of the present invention, is applied to include variable optical attenuation The detection device of device, referring to Fig. 8, this method includes following steps.
Step 201:Setting instruction is received, which instructs the instruction information for including operating mode, according to the instruction information The operating mode of the detection device is adjusted to the operating mode indicated by the instruction information.
It should be noted that in embodiments of the present invention, the operating mode indicated by the instruction information of the operating mode can Think preset operating mode, which may include constant-voltage mode, constant output pattern or constant decline Size reduction mode, certainly, in practical applications, which may be other, and the embodiment of the present invention is not construed as limiting this.
Step 202:Detect the corresponding input power of incident light of adjustable optical attenuator under the operating mode, the incident light packet Include at least one incident light.
Specifically, the detection device is first converted to the corresponding optical signal of the incident light of the adjustable optical attenuator accordingly Electric signal, i.e. current signal, then current signal is converted into corresponding voltage signal, and the voltage signal is analog voltage letter Number, later, which is converted into corresponding digital voltage signal, which is determined based on the digital voltage signal The corresponding input power of light.
It should be noted that the incident light of the adjustable optical attenuator includes at least one incident light, it that is to say, the tunable optical The incident light of attenuator may include an incident light, can also include multiple incident lights.
In addition, adjustable optical attenuator can carry out optical signal continuous variable decaying, and each variable optical attenuation has pair The technical indicator answered, for example, operation wavelength, attenuation range, resolution ratio, operating voltage range etc..
Step 203:Decay to the incident light of adjustable optical attenuator, obtain the emergent light of adjustable optical attenuator, this goes out It includes at least one emergent light to penetrate light.
It should be noted that adjustable optical attenuator can carry out optical signal continuous variable decaying, and each adjustable light decay Subtracting has corresponding technical indicator, for example, operation wavelength, attenuation range, resolution ratio, operating voltage range etc..
In addition, the emergent light includes at least one emergent light, the emergent light for referring to the adjustable optical attenuator may include one A emergent light can also include multiple emergent lights.
Step 204:Detect the corresponding output power of emergent light of adjustable optical attenuator under the operating mode.
It should be noted that the method that the corresponding output power of the emergent light of adjustable optical attenuator is detected with it is above-mentioned The method being detected to the corresponding input power of the incident light of adjustable optical attenuator is similar, and the embodiment of the present invention is no longer superfluous herein It states.
Step 205:In this operating mode, according to the attenuation coefficient of input power, output power and analog optical fiber, really Simulated range under the fixed operating mode.
Since the corresponding input power of the incident light of adjustable optical attenuator subtracts the corresponding output power of emergent light, being equal to can The attenuation of optical attenuator, and with the attenuation coefficient of the attenuation divided by analog optical fiber, you can with obtain simulating accordingly away from From analog optical fiber herein refers to the optical fiber for needing to carry out analog detection, and the attenuation coefficient of analog optical fiber is to need to be detected Optical fiber attenuation coefficient.
It should be noted that the attenuation coefficient of optical fiber refers to pad value of the every kilometer of optical fiber to optical signal power, and it is different Optical fiber due to the difference of the parameters such as its material, fibre core number, core diameter, thus corresponding attenuation coefficient may also be different.
Further, referring to Fig. 9, when the detection device further includes that two light open the light matrix, two optical switch matrixes difference It, should between input power detection module and adjustable optical attenuator and adjustable optical attenuator and output power detection module Method further includes:
Step 206:When being detected to multiple light-pathes, successively in incident light target incident light and enter with target The light-path for penetrating the corresponding target emergent light of light carries out photoswitch switching.
It that is to say, when the incident light includes multiple incident lights, which includes multiple emergent lights, i.e., from incident light to going out Light is penetrated there are when multiple light-pathes, if desired multiple light-path is all detected, input power can be located at by adjusting Optical switch matrix between detection module and adjustable optical attenuator selects the inbound port of any light-path in multiple light-pathes, passes through Optical switch matrix 105 of the adjusting between adjustable optical attenuator and output power detection module selects any in multiple light-pathes The exit port of light-path passes through two light of constantly regulate to which the light-path between the inbound port and exit port is detected The traversal detection of multiple light-path may be implemented in switch matrix, and then improves detection efficiency, also reduces hardware cost.
Further, in embodiments of the present invention, since the preset operating mode of the detection device includes constant voltage mould Formula, constant output pattern and constant attenuation pattern, and for different operating modes, specific method of adjustment is different, divides below Three kinds of different operating modes of safety pin pair are illustrated.
If the first, the operating mode indicated by the instruction information be constant-voltage mode, that is to say, by variable optical attenuation The operating voltage of device is set as constant voltage value.
Correspondingly, the operating mode of detection device is adjusted to the instruction information institute according to the instruction information in step 201 The operating mode of instruction, specially:Digital constant voltage is set;The digital constant voltage is converted into analog constant voltage;Root According to the operating voltage range of the adjustable optical attenuator, processing is amplified to the analog constant voltage, and by amplified mould Quasi- constant voltage, which exports, gives the adjustable optical attenuator, and the operating mode of detection device is adjusted to the constant-voltage mode.
Specifically, after corresponding constant voltage is set, in order to ensure that the constant voltage can be with adjustable optical attenuator Operating voltage range match, need to be amplified processing to the constant voltage, for example, to the constant voltage carry out operation put Greatly, so that amplified constant voltage is in the operating voltage range of the adjustable optical attenuator, and by amplified constant voltage It exports and gives the adjustable optical attenuator.
Correspondingly, step 203 decays to the incident light of adjustable optical attenuator, specially:According to amplified simulation Constant voltage decays to incident light, obtains the emergent light of adjustable optical attenuator.
Further, after the operating mode of the detection device is adjusted to constant-voltage mode, correspondingly, step 205 are specially:According to the attenuation coefficient of input power, output power and analog optical fiber that detection obtains, the constant electricity is determined Simulated range under die pressing type.
It should be noted that when the operating mode is constant-voltage mode, the pattern is not by incident light and emergent light The influence of correspondence, and be mainly used for simulating what connector of the luminous power of different optical modules under constant attenuation itself introduced Loss.
If second, the operating mode indicated by the instruction information is constant output pattern, that is to say, by variable optical attenuation The corresponding output power of emergent light of device is set as constant performance number.
Correspondingly, in step 201, show that the operating mode of detection device is adjusted to instruction information meaning by information according to this The operating mode shown, specially:
First constant output is set, the first constant output is converted into the first output voltage, first is constant defeated It is the corresponding output power of emergent light to go out power;
First digital voltage is set, and the first digital voltage is converted into the first analog voltage;
Compare the first output voltage and the first analog voltage, obtains comparison result;
The first digital voltage is adjusted according to comparison result, so that the first digital voltage is consistent with the first output voltage, And export the first digital voltage of adjusting to adjustable optical attenuator, the operating mode of detection device is adjusted to instruction letter The indicated constant output pattern of breath.
Correspondingly, step 203 decays to the incident light of adjustable optical attenuator, specially:According to the first of adjusting the number Word voltage decays to incident light, obtains the emergent light of adjustable optical attenuator;Wherein, the corresponding output power of the emergent light is First constant output.
It should be noted that the first constant output can be configured, and can be according to the reception for receiving emergent light The specific requirement at end is configured, and the embodiment of the present invention is not construed as limiting this.
Further, after the operating mode of the detection device is adjusted to constant output pattern, correspondingly, step 205 are specially:The attenuation coefficient of the input power, the first constant output and analog optical fiber that are obtained according to detection determines Simulated range under the constant-voltage mode.
It should be noted that when the operating mode is constant output pattern, the pattern is mainly by output power In a steady state value, output quantity is not influenced with the variation of input quantity, i.e., output power does not change with the variation of input power, is used In simulate the receiving terminal of emergent light to luminous power in lower limit when sending ending equipment optical module is detected in the optical fiber of certain distance Minimal power requirements.
If the third, the operating mode indicated by the instruction information be constant attenuation pattern, that is to say, by variable optical attenuation The attenuation of device is set as steady state value.
Correspondingly, in step 201, the operating mode of detection device is adjusted to by the instruction information institute according to the instruction information The operating mode of instruction, specially:
First constant input power is set, the first constant input power is converted into the first input voltage, first is constant defeated It is the corresponding input power of incident light to enter power;
Second constant output is set, the second constant output is converted into the second output voltage, second is constant defeated It is the corresponding output power of emergent light to go out power;
Second digital voltage and third digital voltage are set, and the second digital voltage is converted into the second analog voltage, And it states third digital voltage and is converted to third analog voltage;
Compare the first input voltage and the second analog voltage, obtain the first comparison result, and compares the second output voltage With third analog voltage, the second comparison result is obtained;
The second digital voltage is adjusted according to the first comparison result, so that the second digital voltage and the first input voltage keep one It causes, and third digital voltage is adjusted according to the second comparison result, so that third digital voltage and the second output voltage keep one It causes, and the second digital voltage of adjusting and third digital voltage is exported to adjustable optical attenuator, by the work of detection device Mode adjustment is the constant attenuation pattern.
Correspondingly, step 203 decays to the incident light of adjustable optical attenuator, specially:According to the second of adjusting the number Word voltage and third digital voltage decay to incident light, obtain the emergent light of adjustable optical attenuator;Wherein, the incident light pair The input power answered is the first constant input power, and it is the second constant output which, which corresponds to output power,.
It should be noted that the first constant input power of setting, and the first constant input power is converted into the first input The method of voltage, and the second constant output of setting, and the second constant output is converted into the second output voltage Method is that the method for constant output pattern is similar with above-mentioned second of operating mode, and details are not described herein for the embodiment of the present invention.
Further, after the operating mode of the detection device is adjusted to constant attenuation pattern, correspondingly, step 205 are specially:According to the first constant input power, the attenuation coefficient of the second constant output and analog optical fiber, determine permanent Determine the simulated range under evanescent mode.
It should be noted that the constant attenuation pattern refers to setting the attenuation of adjustable optical attenuator to constant value, And since the corresponding input power of incident light subtracts the corresponding output power of emergent light, that is, it is equal to the decaying of adjustable optical attenuator Amount therefore can be by being arranged constant input power and constant output power, to ensure the decaying of the adjustable optical attenuator Amount is constant pad value.
In addition, when operating mode is constant attenuation pattern, the pattern is according to the optical fiber of certain length, by input work Rate and output power are detected, and set certain pad value, and to be kept fixed decaying, and the pattern is not by obstructed optical module Power difference influence.
Certainly, which can also will show with relevant parameter information is detected, with facilitate it is artificial check and Confirm etc., for example, can input power, output power and pad value etc. be shown that the embodiment of the present invention does not make this It limits.
A kind of detection method provided in an embodiment of the present invention, applied to the detection device for including adjustable optical attenuator, the party For method by receiving setting instruction, which, which instructs, include the instruction information of operating mode, according to indicating information by detection device Operating mode is adjusted to the operating mode indicated by instruction information, and detects the incidence of adjustable optical attenuator under the operating mode The corresponding input power of light, decays to the incident light of adjustable optical attenuator, obtains the emergent light of adjustable optical attenuator, and The corresponding output power of emergent light for detecting adjustable optical attenuator under the operating mode, later, in this operating mode according to inspection The input power of survey, the attenuation coefficient of output power and analog optical fiber, determine the simulated range under the operating mode, so as to To realize the detection to the corresponding simulated range of analog optical fiber under different working modes, and ensure higher measurement accuracy.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (8)

1. a kind of detection device, which is characterized in that described device includes sequentially connected input power detection module, adjustable light decay Subtract device, output power detection module, and the control module being connect with each of the above module, wherein
The control module, for receiving setting instruction, the setting instruction includes the instruction information of operating mode, according to described Indicate that the operating mode of the detection device is adjusted to the operating mode indicated by the instruction information by information;
The input power detection module, for detecting under the operating mode, the incident light of the adjustable optical attenuator corresponds to Input power, and the input power is transmitted to the control module, the incident light includes at least one incident light;
The adjustable optical attenuator is decayed for the incident light to the adjustable optical attenuator, obtains the adjustable light decay Subtract the emergent light of device, the emergent light includes at least one emergent light;
The output power detection module, for detecting under the operating mode, the emergent light of the adjustable optical attenuator corresponds to Output power, and the output power is transmitted to the control module;
The control module is additionally operable under the operating mode, according to the input power, the output power and simulation The attenuation coefficient of optical fiber determines the simulated range under the operating mode;
Wherein, the detection device further includes two optical switch matrixes, and two optical switch matrixes are located at the input Power detection module and the adjustable optical attenuator and the adjustable optical attenuator and the output power detection module it Between, wherein
The optical switch matrix, when for being detected to multiple light-pathes, successively to the target incident light in the incident light The light-path of target emergent light corresponding with the target incident light carries out photoswitch switching.
2. detection device according to claim 1, which is characterized in that if the operating mode indicated by the instruction information is Constant-voltage mode, the control module include processor, digital analog converter DAC and amplifier, wherein
The processor, for digital constant voltage to be arranged;
The DAC, for the digital constant voltage to be converted into analog constant voltage;
The amplifier carries out the analog constant voltage for the operating voltage range according to the adjustable optical attenuator Enhanced processing, and give the amplified analog constant voltage output to the adjustable optical attenuator;
The adjustable optical attenuator, specifically for being declined to the incident light according to the amplified analog constant voltage Subtract, obtains the emergent light of the adjustable optical attenuator;
The processor is additionally operable under the constant-voltage mode, according to the input power, the output power and institute The attenuation coefficient for stating analog optical fiber determines the simulated range under the constant-voltage mode.
3. detection device according to claim 1, which is characterized in that if the operating mode indicated by the instruction information is Constant output pattern, the control module include processor, DAC and comparator, wherein
Setting instruction for receiving the setting instruction, and is transmitted to the output power and detects mould by the processor Block;
The output power detection module is additionally operable to that the first constant output is arranged according to the operation mode, by described One constant output is converted to the first output voltage, and first output voltage is transmitted to the processor, described First constant output is the corresponding output power of the emergent light;
The processor is additionally operable to the first digital voltage of setting;
The DAC, for first digital voltage to be converted into the first analog voltage;
The comparator obtains comparison result for first output voltage and first analog voltage, and by institute It states comparison result and is transmitted to the processor;
The processor is additionally operable to adjust first digital voltage according to the comparison result, so that the first number electricity Pressure is consistent with first output voltage, and first digital voltage of adjusting is exported to the variable optical attenuation Device;
The adjustable optical attenuator, specifically for being decayed to the incident light according to first digital voltage of adjusting, Obtain the emergent light of the adjustable optical attenuator;Wherein, the corresponding output power of the emergent light is the first constant output;
The processor is additionally operable under the constant output pattern, according to the input power, the first constant output work( The attenuation coefficient of rate and the analog optical fiber determines the simulated range under the constant output pattern.
4. detection device according to claim 1, which is characterized in that if the operating mode indicated by the instruction information is Constant attenuation pattern, the control module include processor, DAC, first comparator and the second comparator, wherein
Setting instruction for receiving the setting instruction, and is transmitted to the input power and detects mould by the processor Block and the output power detection module;
The input power detection module is additionally operable to the first constant input power of setting, first constant input power is turned It is changed to the first input voltage, and first input voltage is transmitted to the processor, first constant input power For the corresponding input power of the incident light;
The output power detection module is additionally operable to the second constant output of setting, second constant output is turned It is changed to the second output voltage, and second output voltage is transmitted to the processor, second constant output For the corresponding output power of the emergent light;
The processor is additionally operable to the second digital voltage of setting and third digital voltage;
The DAC for second digital voltage to be converted to the second analog voltage, and the third digital voltage is turned It is changed to third analog voltage;
The first comparator is used for first input voltage and second analog voltage, obtains first and compare knot Fruit, and first comparison result is transmitted to the processor;
Second comparator is used for second output voltage and the third analog voltage, obtains second and compare knot Fruit, and second comparison result is transmitted to the processor;
The processor is additionally operable to adjust second digital voltage according to first comparison result, so that second number Word voltage is consistent with first input voltage, and adjusts the third number electricity according to second comparison result Pressure, so that the third digital voltage is consistent with second output voltage, and by second digital voltage of adjusting It is exported to the adjustable optical attenuator with the third digital voltage;
The adjustable optical attenuator is specifically used for second digital voltage and the third digital voltage according to adjusting to institute It states incident light to decay, obtains the emergent light of the adjustable optical attenuator;Wherein, the corresponding input power of the incident light is First constant input power, it is the second constant output that the emergent light, which corresponds to output power,;
The processor is additionally operable under the constant attenuation pattern, according to first constant input power, second perseverance Determine output power and the attenuation coefficient of the analog optical fiber, determines the simulated range under the constant attenuation pattern.
5. a kind of detection method, which is characterized in that be applied to include adjustable optical attenuator detection device, the method includes:
Setting instruction is received, the setting instruction includes the instruction information of operating mode, according to the instruction information by the inspection The operating mode for surveying device is adjusted to the operating mode indicated indicated by information;
It detects under the operating mode, the corresponding input power of incident light of the adjustable optical attenuator, the incident light includes At least one incident light;
Decay to the incident light of the adjustable optical attenuator, obtains the emergent light of the adjustable optical attenuator, the outgoing Light includes at least one emergent light;
It detects under the operating mode, the corresponding output power of emergent light of the adjustable optical attenuator;
Under the operating mode, according to the input power, the attenuation coefficient of the output power and analog optical fiber, determine Simulated range under the operating mode;
The method further includes:
When being detected to multiple light-pathes, successively in the incident light target incident light and with the target incident light The light-path of corresponding target emergent light carries out photoswitch switching.
6. if according to the method described in claim 5, it is characterized in that, the operating mode indicated by the instruction information is constant Voltage mode, it is described that the operating mode of the detection device is adjusted to indicated by the instruction information according to the instruction information Operating mode, specially:
Digital constant voltage is set;
The digital constant voltage is converted into analog constant voltage;
According to the operating voltage range of the adjustable optical attenuator, processing is amplified to the analog constant voltage, and will The amplified analog constant voltage output gives the adjustable optical attenuator, and the operating mode of the detection device is adjusted For the constant-voltage mode;
Correspondingly, decaying to the incident light of the adjustable optical attenuator, specially:According to the amplified analog constant Voltage decays to the incident light, obtains the emergent light of the adjustable optical attenuator.
7. if according to the method described in claim 5, it is characterized in that, the operating mode indicated by the instruction information is constant Output mode, it is described that the operating mode of the detection device is adjusted to indicated by the instruction information according to the instruction information Operating mode, specially:
First constant output is set according to the operation mode, first constant output is converted into the first output Voltage, first constant output are the corresponding output power of the emergent light;
First digital voltage is set;
First digital voltage is converted into the first analog voltage;
Compare first output voltage and first analog voltage, obtains comparison result;
First digital voltage is adjusted according to the comparison result, so that first digital voltage and the first output electricity Pressure is consistent, and first digital voltage of adjusting is exported to the adjustable optical attenuator, by the detection device Operating mode be adjusted to the constant output pattern;
Correspondingly, decaying to the incident light of the adjustable optical attenuator, specially:According to the first number electricity of adjusting Pressure decays to the incident light, obtains the emergent light of the adjustable optical attenuator;Wherein, the corresponding output of the emergent light Power is the first constant output.
8. if according to the method described in claim 5, it is characterized in that, the operating mode indicated by the instruction information is constant Evanescent mode, it is described that the operating mode of the detection device is adjusted to indicated by the instruction information according to the instruction information Operating mode, specially:
First constant input power is set, first constant input power is converted into the first input voltage, described first is permanent It is the corresponding input power of the incident light to determine input power;
Second constant output is set, second constant output is converted into the second output voltage, described second is permanent It is the corresponding output power of the emergent light to determine output power;
Second digital voltage and third digital voltage are set;
Second digital voltage is converted into the second analog voltage, and the third digital voltage is converted into third simulation Voltage;
Compare first input voltage and second analog voltage, obtains the first comparison result;
Compare second output voltage and the third analog voltage, obtains the second comparison result;
Second digital voltage is adjusted according to first comparison result, so that second digital voltage and described first defeated Enter voltage to be consistent, and the third digital voltage is adjusted according to second comparison result, so that the third is digital Voltage is consistent with second output voltage, and second digital voltage of adjusting and the third digital voltage is defeated Go out to the adjustable optical attenuator, the operating mode of the detection device is adjusted to the constant attenuation pattern;
Correspondingly, decaying to the incident light of the adjustable optical attenuator, specially:According to the second number electricity of adjusting Pressure and the third digital voltage decay to the incident light, obtain the emergent light of the adjustable optical attenuator;Wherein, institute It is the first constant input power to state the corresponding input power of incident light, and it is the second constant output that the emergent light, which corresponds to output power, Power.
CN201610216827.5A 2016-04-08 2016-04-08 Detection device and detection method Active CN105897332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610216827.5A CN105897332B (en) 2016-04-08 2016-04-08 Detection device and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610216827.5A CN105897332B (en) 2016-04-08 2016-04-08 Detection device and detection method

Publications (2)

Publication Number Publication Date
CN105897332A CN105897332A (en) 2016-08-24
CN105897332B true CN105897332B (en) 2018-10-12

Family

ID=57012362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610216827.5A Active CN105897332B (en) 2016-04-08 2016-04-08 Detection device and detection method

Country Status (1)

Country Link
CN (1) CN105897332B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547097A (en) * 2017-09-22 2019-03-29 深圳市欧凌克光电科技有限公司 A kind of optical signal launcher monitoring luminous intensity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464558A (en) * 2009-01-13 2009-06-24 南京邮电大学 Electric tuning optical attenuator
CN102324986A (en) * 2011-05-25 2012-01-18 哈尔滨工业大学 Systems and methods for testing sensitivity of wireless communication product in ISM frequency band
CN103532634A (en) * 2013-10-23 2014-01-22 中国电子科技集团公司第三十四研究所 Optical fiber communication system capable of regulating received optical power adaptively and running method thereof
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050135814A1 (en) * 2003-12-17 2005-06-23 Stephen Courtney Apparatus and method for simulating a length of optical fiber

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464558A (en) * 2009-01-13 2009-06-24 南京邮电大学 Electric tuning optical attenuator
CN102324986A (en) * 2011-05-25 2012-01-18 哈尔滨工业大学 Systems and methods for testing sensitivity of wireless communication product in ISM frequency band
CN103532634A (en) * 2013-10-23 2014-01-22 中国电子科技集团公司第三十四研究所 Optical fiber communication system capable of regulating received optical power adaptively and running method thereof
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof

Also Published As

Publication number Publication date
CN105897332A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US10236995B2 (en) Optical receiver sensitivity system
CN2896248Y (en) Apparatus for conducting polarization-relative consumption and polarization degree measure using optical polarization controller
US10371573B2 (en) Electromagnetic power measurement and reporting
US9791512B2 (en) Test apparatus, test method, calibration device, and calibration method
CN103245369B (en) Novel fiber bragg grating demodulation method and system thereof based on multi-longitudinal mode F-P laser device
CN105444990A (en) Dynamic correction apparatus and method for testing optical insertion loss and optical return loss
CN107517080A (en) A kind of luminous power detection method, device, equipment and optical module
CN110912607B (en) Multi-channel radio frequency optical transmission signal amplitude and phase measuring device and measuring and verifying method
CN114614891B (en) Avalanche photodetector light responsivity measurement system and measurement method
CN103278237A (en) Device and method for optical radiation calibration
CN105897332B (en) Detection device and detection method
CN105262536A (en) Photoelectric conversion module relative intensity noise test device and test method
CN202713307U (en) Extinction ratio measurement system for optical communication
CN106788705A (en) A kind of light power meter integrated test facility
CN112688731A (en) Multichannel TEC quick temperature change system
CN116698107A (en) Multi-wavelength light responsivity measuring system of photoelectric detector
CN110677244B (en) Self-balancing method suitable for continuous variable quantum key distribution system
CN112711100B (en) MEMS optical switch switching path optimization control device and method in power system
CN213960073U (en) Light intensity modulation radio frequency signal phase consistency measuring device
CN106341189A (en) Optical module
CN104320183B (en) Optical power monitoring circuit, optical module and optical network
CN202374269U (en) Integrated array photoelectric detector and multiplexer module employing detector
CN219322399U (en) Optical module emission integrated test system and device
CN213693706U (en) Multichannel TEC temperature change system
US9438354B2 (en) Electromagnetic power measurement and reporting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant