Summary of the invention
The technical problem that present invention mainly solves is to provide a kind of breakpoints of optical fiber method for detecting position, Apparatus and system, it is possible to increase the precision of breakpoints of optical fiber detection and efficiency.
For solving above-mentioned technical problem, the technical scheme that the present invention adopts is: provide a kind of breakpoints of optical fiber method for detecting position, the method includes: when getting fiber optic telecommunications, and fiber optic telecommunications number is sampled, to obtain the sampling time of several signal values and correspondence;Wherein, fiber optic telecommunications number is to be converted to by the optical signal of fiber reflection;Determine first sampling time corresponding less than a signal value of first threshold;And the signal value that adjacent the second sampling time is corresponding before the first sampling time is more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber according to the second sampling time.
Wherein, calculate the distance between breakpoints of optical fiber place and optical fiber connector according to the second sampling time, specifically include: calculate the distance between breakpoints of optical fiber place and optical fiber connector according to formula L=(c*T/n)/2;Wherein, c is light speed in a vacuum, and T was the second sampling time, and n is the refractive index of optical fiber.
Wherein, sampling period fiber optic telecommunications number sampled is 10ns.
Wherein, fiber optic telecommunications number is digital electric signal;Wherein, digital electric signal is converted by analog electrical signal and obtains, and analog electrical signal is to be converted to by the optical signal of fiber reflection.
Wherein, signal value corresponding to the second sampling time adjacent before the first sampling time is more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated according to the second sampling time, to determine the position of breakpoints of optical fiber, specifically include: signal value corresponding to the second sampling time adjacent before the first sampling time is more than Second Threshold, and second the absolute value of difference of meansigma methods of signal value corresponding to the sampling time signal value corresponding with the multiple sampling times before the second sampling time more than four threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated according to the second sampling time.
Wherein it is determined that first sampling time corresponding less than a signal value of first threshold, specifically include: determine the multiple signal values less than first threshold, and with the minimum time value of sampling time in multiple sampling times corresponding to multiple signal values for the first sampling time.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provide a kind of breakpoints of optical fiber position detecting device, this device includes: sampling module, for when getting fiber optic telecommunications, fiber optic telecommunications number is sampled, to obtain the sampling time of several signal values and correspondence;Wherein, fiber optic telecommunications number is to be converted to by the optical signal of fiber reflection;Determine module, for determining first sampling time corresponding less than a signal value of first threshold;And for signal value corresponding to the second sampling time adjacent before the first sampling time more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber according to the second sampling time.
Wherein it is determined that module specifically for calculating the distance between breakpoints of optical fiber place and optical fiber connector according to formula L=(c*T/n)/2;Wherein, c is light speed in a vacuum, and T was the second sampling time, and n is the refractive index of optical fiber.
Wherein, fiber optic telecommunications number is digital electric signal;Wherein, digital electric signal is converted by analog electrical signal and obtains, and analog electrical signal is to be converted to by the optical signal of fiber reflection.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provide a kind of breakpoints of optical fiber position detecting system, this system includes: signal receiving/transmission device, for inputting the first optical signal from optical fiber connector and obtaining the first optical signal and reflect the second optical signal obtained in a fiber;Photoelectric conversion device, for being converted into analog electrical signal by the second optical signal;Digiverter, for being converted into digital electric signal by analog electrical signal;Breakpoints of optical fiber position detecting device;Wherein, breakpoints of optical fiber position detecting device is breakpoints of optical fiber position detecting device as above.
The invention has the beneficial effects as follows: be different from the situation of prior art, the present invention can pass through the judgement of the first sampling time, the second sampling time and the 3rd three signal values of sampling time, quickly the breakpoint location in optical fiber is positioned, adopt the mechanism of multiple judgement that the positioning precision of breakpoint location is improved simultaneously.
Detailed description of the invention
Consulting Fig. 1, the flow chart of breakpoints of optical fiber method for detecting position one embodiment of the present invention, the method includes:
S11: when getting fiber optic telecommunications, samples to fiber optic telecommunications number, to obtain the sampling time of several signal values and correspondence;Wherein, fiber optic telecommunications number is to be converted to by the optical signal of fiber reflection.
Optionally, the optical signal of fiber reflection be from the first optical signal each position in a fiber that optical fiber connector passes into through Rayleigh scattering formed and the second optical signal of reflecting.
Optionally, fiber optic telecommunications number is digital electric signal;Wherein, digital electric signal is converted by analog electrical signal and obtains, and analog electrical signal is to be converted to by the optical signal of fiber reflection.Due to the optical signal of backscattering and faint, and its noise is smaller, and in the process to optical signal prosessing, difficulty is relatively big, precision is less, therefore converts optical signal into analog electrical signal and is easy to the process of signal.Here can be changed by general optical-electrical converter, for instance APD (AvalanchePhotoDiode, avalanche photodide) etc..
Optionally, analog electrical signal is converted to digital electric signal and can adopt analog-digital converter.
Optionally, the frequency of sampling arbitrarily can be arranged according to the precision of detection, the signal value of digital electric signal during to obtain time of each sampled point and this time.Optionally, sampling period digital electric signal sampled is 10ns.Understandable, just can analog electrical signal be converted to the discrete digital signal being spaced apart 10ns when analog electrical signal is converted to digital electric signal simultaneously, can also after converting digital signal to, then to digital signal samples, to form the digital electric signal that the cycle is 10ns.
Optionally, it is also possible to analog electrical signal is made directly sampling, and is not converted into digital electric signal, the cycle of sampling is it can also be provided that 10ns.
S12: determine first sampling time corresponding less than a signal value of first threshold.
Ruili scattering all can be produced due to from optical fiber connector to optical fiber end points, and the optical signal of scattering or scattering after end points place, will not be occurred less, therefore the signal value after end points place should be 0 or minimum, finds in practice, still have the signal of reflection after end points place, and signal value is less.Therefore, it can less than first threshold, breakpoints of optical fiber position carry out an anticipation according to signal value.
Optionally, first threshold here is an only small signal value, and its concrete numerical value is to determine according to many factors such as the optical signal passed into, optical fiber properties, is not limited as here.
Optionally, if while starting to receive the second optical signal of reflection, being just synchronously performed opto-electronic conversion and analog digital conversion, then can with first sampling time corresponding less than a signal value of first threshold detecting for the first sampling time.
Optionally, if carrying out opto-electronic conversion and analog digital conversion after signal has all received again, it is determined that less than multiple signal values of first threshold, and with the minimum time value of sampling time in multiple sampling times corresponding to multiple signal values for the first sampling time.
S13: signal value corresponding to the second sampling time adjacent before the first sampling time is more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber according to the second sampling time.
Owing to the first incident optical signal reflected energy at optical fiber end points place is relatively big, in therefore corresponding digital electric signal, the signal value at end points place is also just very big, and is far longer than other positions before breakpoint location.Therefore, adopt dual judgement, to determine the position of breakpoints of optical fiber.
Consult Fig. 2, the schematic diagram of the second optical signal in breakpoints of optical fiber method for detecting position one embodiment of the present invention, wherein, abscissa T represents the time of the second optical signal of reception, vertical coordinate P represents light signal strength, i.e. signal value size, principle, above-mentioned S11-S13 is illustrated here:
0-t3 section: after the first optical signal passes into optical fiber, this the first optical signal can be carried out Rayleigh scattering backscattering by each point in optical fiber, namely major part signal energy keeps to front transfer, fraction signal energy is transmitted to opposite direction, owing to the distance of signal transmission is continuously increased, signal intensity constantly weakens.
T3-t2 section: in signal transmits, if running into breakpoint, signal cannot continue forward transmission, can only reflect to opposite direction, and therefore, signal intensity can increase suddenly.
T2-t1 section: in theory, the part after breakpoint does not have signal, but forms the variation of the reason of breakpoint due to breakpoint location; breakpoints of optical fiber is frequently not direct fracture, but fibre core, protective layer partial destruction, therefore; after t2, also tend to be able to detect that faint signal.
According to above-mentioned principle, in conjunction with S12 and S13, it is first determined the very first time t1 that signal intensity is faint, get rid of the distance after breakpoints of optical fiber;Judging the signal intensity of time point t3 before the signal intensity of time t2 before t1 and t2 again, if the signal intensity of t2 is relatively big, and there is a certain distance in the signal intensity of the signal intensity of t2 and t3, then it can be assumed that t2 position is the breakpoint location of optical fiber.
Specifically, consult Fig. 3 and Fig. 4, Fig. 3 is the structural representation of breakpoints of optical fiber method for detecting position one embodiment of the present invention, and Fig. 4 is the schematic diagram of digital electric signal in breakpoints of optical fiber method for detecting position one embodiment of the present invention, illustrates with a specific example below:
As it is shown on figure 3, light source (such as pulse laser) passes into the first optical signal from optical fiber connector, the first optical signal each position in a fiber all can be reflected, and receives, from optical fiber connector, the second optical signal that reflection obtains;Second optical signal is converted into the signal of telecommunication;The signal of telecommunication is sampled, to obtain the sampling time of several signal values and correspondence;The signal of telecommunication after sampling is as shown in Figure 4.
First determining the first sampling time t1 corresponding less than a signal value of first threshold, when having multiple less than a signal value of first threshold, the time value that the sampling time is minimum in multiple sampling times that multiple signal values are corresponding is for the first sampling time.
Before the first sampling time t1, adjacent second corresponding for sampling time t2 signal value is more than Second Threshold, and second the absolute value of difference of corresponding for the sampling time t2 signal value signal value corresponding for sampling time t3 with the 3rd before the second sampling time t2 more than three threshold values time, then may determine that the second corresponding for sampling time t2 position is breakpoints of optical fiber position.
The distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber finally according to the second sampling time t2.
Wherein, calculate the distance between breakpoints of optical fiber place and optical fiber connector according to the second sampling time, specifically include: calculate the distance between breakpoints of optical fiber place and optical fiber connector according to formula L=(c*T/n)/2;Wherein, c is light speed in a vacuum, and T was the second sampling time, and n is the refractive index of optical fiber.
It should be noted that, also need to when calculating fiber lengths consider the optical fiber remaining length in optical cable, specifically it is referred to below equation: L1=(L-S)/(1+P), wherein, L is the distance that algorithm above records, and the unilateral dish that S is in cable splice closure stays length, generally takes 0.6-1.2m, P is the remaining length of this optical cable, different because cable configuration is different.
Optionally, S13 it may also is that
Signal value corresponding to the second sampling time adjacent before the first sampling time is more than Second Threshold, and second the absolute value of difference of meansigma methods of signal value corresponding to the sampling time signal value corresponding with the multiple sampling times before the second sampling time more than four threshold values time, calculate the distance between breakpoints of optical fiber place and optical fiber connector according to the second sampling time.
In this way, it is possible to avoid the signal value that the abnormal signal of some positions causes excessive or too small, thus judging failed situation.
It is different from prior art, present embodiment can pass through the judgement of the first sampling time, the second sampling time and the 3rd three signal values of sampling time, quickly the breakpoint location in optical fiber is positioned, adopt the mechanism of multiple judgement that the positioning precision of breakpoint location is improved simultaneously.
Consulting Fig. 5, the structural representation of breakpoints of optical fiber position detecting device one embodiment of the present invention, this device includes:
Sampling module 51, for when getting fiber optic telecommunications, sampling to fiber optic telecommunications number, to obtain the sampling time of several signal values and correspondence;Wherein, fiber optic telecommunications number is to be converted to by the optical signal of fiber reflection.
Determine module 52, for determining first sampling time corresponding less than a signal value of first threshold;And for signal value corresponding to the second sampling time adjacent before the first sampling time more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber according to the second sampling time.
Optionally, fiber optic telecommunications number is digital electric signal;Wherein, digital electric signal is converted by analog electrical signal and obtains, and analog electrical signal is to be converted to by the optical signal of fiber reflection.
Optionally, it is determined that module 52 specifically for calculating the distance between breakpoints of optical fiber place and optical fiber connector according to formula L=(c*T/n)/2;Wherein, c is light speed in a vacuum, and T was the second sampling time, and n is the refractive index of optical fiber.
Optionally, determine module 52 specifically for signal value corresponding to the second sampling time adjacent before the first sampling time more than Second Threshold, and second the absolute value of difference of meansigma methods of signal value corresponding to the sampling time signal value corresponding with the multiple sampling times before the second sampling time more than four threshold values time, calculate the distance between breakpoints of optical fiber place and optical fiber connector according to the second sampling time.
Optionally, it is determined that module 52 is specifically for determining the multiple signal values less than first threshold, and with the minimum time value of sampling time in multiple sampling times corresponding to multiple signal values for the first sampling time.
Consulting Fig. 6, the structural representation of breakpoints of optical fiber another embodiment of position detecting device of the present invention, this device 60 includes processor 61, memorizer 62, input equipment 63 and output device 64.Wherein, processor 61, memorizer 62, input equipment 63 and output device 64 may each be one or more, and only for one in Fig. 6, they can be connected by bus.
Memorizer 62 is used for storing system program, operation program or some necessary datas etc..
Input equipment 63 is used for obtaining fiber optic telecommunications number.Wherein, fiber optic telecommunications number is to be converted to by the optical signal of fiber reflection.
Processor 61 is for sampling to fiber optic telecommunications number, to obtain the sampling time of several signal values and correspondence.
Processor 61 is additionally operable to determine first sampling time corresponding less than a signal value of first threshold;And for signal value corresponding to the second sampling time adjacent before the first sampling time more than Second Threshold, and second the absolute value of difference of signal value corresponding to the sampling time signal value corresponding with the 3rd sampling time before the second sampling time more than three threshold values time, the distance between breakpoints of optical fiber place and optical fiber connector is calculated, to determine the position of breakpoints of optical fiber according to the second sampling time.
In several embodiments provided by the present invention, it should be understood that disclosed method and device, it is possible to realize by another way.Such as, device embodiments described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If the integrated unit in other embodiments above-mentioned is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
Consulting Fig. 7, breakpoints of optical fiber position detecting system of the present invention, this system includes:
Signal receiving/transmission device 71, for inputting the first optical signal from optical fiber connector and obtaining the first optical signal and reflect the second optical signal obtained in a fiber.
Photoelectric conversion device 72, for being converted into analog electrical signal by the second optical signal.
Digiverter 73, for being converted into digital electric signal by analog electrical signal.
Breakpoints of optical fiber position detecting device 74;Wherein, breakpoints of optical fiber position detecting device 74 is the breakpoints of optical fiber position detecting device in each embodiment above, and its embodiment is similar, repeats no more here.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.