Summary of the invention
The invention mainly solves the technical problem of providing a kind of breakpoints of optical fiber method for detecting position, apparatus and system, energy
Enough improve the precision and efficiency of breakpoints of optical fiber detection.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of breakpoints of optical fiber position inspection is provided
Survey method, this method comprises: being sampled when getting fiber optic telecommunications to fiber optic telecommunications number, to obtain several signals
Value and corresponding sampling time;Wherein, fiber optic telecommunications number are converted to by the optical signal of fiber reflection;It determines less than the
One signal value of one threshold value corresponding first sampling time;And before first sampling time when adjacent second sampling
Between corresponding signal value signal value corresponding with the third sampling time before second sampling time difference it is absolute
When value is greater than second threshold, described optical fiber connector the distance between is calculated at breakpoints of optical fiber according to second sampling time,
With the position of the determination breakpoints of optical fiber.
It is wherein, described that the distance between described optical fiber connector is calculated at breakpoints of optical fiber according to second sampling time,
It specifically includes: calculating at the breakpoints of optical fiber the distance between described optical fiber connector according to formula L=(c*T/n)/2;Wherein,
C is the speed of light in a vacuum, and T is second sampling time, and n is the refractive index of the optical fiber.
Wherein, the sampling period sampled to fiber optic telecommunications number is 10ns.
Wherein, fiber optic telecommunications number are digital electric signal;Wherein, digital electric signal is converted by analog electrical signal,
Analog electrical signal is converted to by the optical signal of fiber reflection.
Wherein, the second sampling time corresponding signal value adjacent before first sampling time with described second
When the absolute value of the difference of third sampling time corresponding signal value before sampling time is greater than second threshold, according to described the
Two sampling times calculated at breakpoints of optical fiber the distance between described optical fiber connector, specifically included: in first sampling time
Before adjacent second sampling time corresponding signal value and multiple sampling times before second sampling time
When the absolute value of the difference of the average value of corresponding signal value is greater than second threshold, it is disconnected that optical fiber is calculated according to second sampling time
Point place and the distance between the optical fiber connector.
Wherein, the determination is less than the signal value corresponding first sampling time of first threshold, specifically includes: determining
Less than multiple signal values of first threshold, and it is the smallest with the sampling time in the multiple signal value corresponding multiple sampling times
Time value was the first sampling time.
In order to solve the above technical problems, the present invention is using an another technical solution: providing a kind of breakpoints of optical fiber position
Detection device characterized by comprising sampling module, for being adopted to fiber optic telecommunications number when getting fiber optic telecommunications
Sample, to obtain several signal values and corresponding sampling time;Wherein, fiber optic telecommunications number are turned by the optical signal of fiber reflection
It gets in return;Determining module, for determining a signal value corresponding first sampling time for being less than first threshold;And it is used for
Before first sampling time adjacent the second sampling time corresponding signal value with before second sampling time
When the absolute value of the difference of one third sampling time corresponding signal value is greater than second threshold, calculated according to second sampling time
The distance between with the optical fiber connector at breakpoints of optical fiber, with the position of the determination breakpoints of optical fiber.
Wherein, the determining module be specifically used for according to formula L=(c*T/n)/2 calculate breakpoints of optical fiber at and optical fiber connector
The distance between;Wherein, c is the speed of light in a vacuum, and T is second sampling time, and n is the refractive index of the optical fiber.
Wherein, fiber optic telecommunications number are digital electric signal;Wherein, digital electric signal is converted by analog electrical signal,
Analog electrical signal is converted to by the optical signal of fiber reflection.
In order to solve the above technical problems, the present invention is using an another technical solution: a kind of breakpoints of optical fiber position detection
System characterized by comprising signal receiving/transmission device, for inputting the first optical signal from optical fiber connector and obtaining described first
The second optical signal that optical signal reflects in the optical fiber;Photoelectric conversion device, for converting mould for the second optical signal
Quasi- electric signal;Digiverter, for converting digital electric signal for analog electrical signal;Breakpoints of optical fiber position detecting device;
Wherein, the breakpoints of optical fiber position detecting device is breakpoints of optical fiber position detecting device as above.
The beneficial effects of the present invention are: being in contrast to the prior art, the present invention can pass through the first sampling time,
The judgement of three signal values of two sampling times and third sampling time, quickly positions the breakpoint location in optical fiber, together
The mechanism of the multiple judgement of Shi Caiyong makes the positioning accuracy of breakpoint location be improved.
Specific embodiment
Refering to fig. 1, the flow chart of one embodiment of breakpoints of optical fiber method for detecting position of the present invention, this method comprises:
S11: when getting fiber optic telecommunications, sampling fiber optic telecommunications number, with obtain several signal values and
The corresponding sampling time;Wherein, fiber optic telecommunications number are converted to by the optical signal of fiber reflection.
Optionally, the optical signal of fiber reflection is the first optical signal for being passed through from optical fiber connector each position warp in a fiber
Cross Rayleigh scattering formation and reflection the second optical signal.
Optionally, fiber optic telecommunications number are digital electric signal;Wherein, digital electric signal is to convert to obtain by analog electrical signal
, analog electrical signal is converted to by the optical signal of fiber reflection.Due to the optical signal of backscattering and its faint, and its
Noise is smaller, and difficulty is larger during to optical signal prosessing, precision is smaller, therefore converts optical signal into analog telecommunications
Number be convenient for signal processing.Here it can be converted by general photoelectric converter, such as APD (Avalanche Photo
Diode, avalanche photodide) etc..
Optionally, analog-digital converter can be used by analog electrical signal being converted to digital electric signal.
Optionally, the frequency of sampling can be arbitrarily arranged according to the precision of detection, with obtain each sampled point time and
The signal value of digital electric signal when the time.Optionally, the sampling period sampled to digital electric signal is 10ns.It can manage
Solution, can be at interval by analog electrical signal conversion simultaneously when analog electrical signal is converted to digital electric signal
The discrete digital signal of 10ns, can also be after being converted into digital signal, then to digital signal samples, is to form the period
The digital electric signal of 10ns.
Optionally, analog electrical signal can also directly be sampled, and is not converted into digital electric signal, the period of sampling
It may be set to be 10ns.
S12: a signal value corresponding first sampling time for being less than first threshold is determined.
Due to can all generate Rayleigh scattering between from optical fiber connector to breakpoints of optical fiber, and at breakpoint after will not dissipate
The optical signal penetrated or scattered is less, thus at breakpoint after signal value should be 0 or minimum, in practice, it has been found that breakpoint
Still there is the signal of reflection after place, and signal value is smaller.Therefore, first threshold can be less than according to signal value come to breakpoints of optical fiber
Position carries out an anticipation.
Optionally, first threshold here is a very little signal value, specific numerical value be according to the optical signal being passed through,
What many factors such as optical fiber property determined, here with no restriction.
Optionally, if while starting to receive the second optical signal of reflection, photoelectric conversion and modulus are carried out with regard to synchronous
Conversion, then when can be the first sampling with the first signal value corresponding sampling time less than first threshold detected
Between.
Optionally, if carrying out photoelectric conversion and analog-to-digital conversion again after signal has all received, it is determined that less than first
Multiple signal values of threshold value, and with sampling time the smallest time value in multiple signal values corresponding multiple sampling times for first
Sampling time.
S13: before the first sampling time adjacent the second sampling time corresponding signal value in the second sampling time
When the absolute value of the difference of a third sampling time corresponding signal value before is greater than second threshold, counted according to the second sampling time
The distance between optical fiber connector is calculated at breakpoints of optical fiber, to determine the position of breakpoints of optical fiber.
Since reflected energy of the first incident optical signal at breakpoints of optical fiber is larger, in corresponding digital electric signal
Signal value at breakpoint is also just very big, and is far longer than the other positions before breakpoint location.Therefore, using this judgement side
Formula, to determine the position of breakpoints of optical fiber.
Referring to Fig.2, in one embodiment of breakpoints of optical fiber method for detecting position of the present invention second optical signal schematic diagram,
In, abscissa T indicates the time of received second optical signal, and ordinate P indicates light signal strength, the i.e. size of signal value, this
In above-mentioned S11-S13 is illustrated from principle:
0-t3 sections: after the first optical signal is passed through optical fiber, each point in optical fiber can carry out first optical signal auspicious
Benefit scattering and backscattering, i.e., most of signal energy are kept to front transfer, and fraction signal energy is transmitted to opposite direction, due to
The distance of signal transmitting is continuously increased, and signal strength constantly weakens.
T3-t2 sections: in signal transmitting, if encountering breakpoint, signal can not continue forward to transmit, can only be anti-to opposite direction
It penetrates, therefore, signal strength can increase suddenly.
T2-t1 sections: for theoretically, the part after breakpoint does not have signal, but since breakpoint location forms the original of breakpoint
The diversification of cause, breakpoints of optical fiber are frequently not direct fracture, but fibre core, protective layer partial destruction, therefore, after t2, often
It can also detect faint signal.
According to above-mentioned principle, in conjunction with S12 and S13, it is first determined it is disconnected to exclude optical fiber by the faint first time t1 of signal strength
Distance after point;Judging the signal strength of the signal strength of the time t2 before t1 and the time point t3 before t2 again, there are one
Fixed gap, the then it can be assumed that position t2 is the breakpoint location of optical fiber.
Specifically, show refering to the structure that Fig. 3 and Fig. 4, Fig. 3 are one embodiments of breakpoints of optical fiber method for detecting position of the present invention
It is intended to, Fig. 4 is the schematic diagram of the digital electric signal after sampling in one embodiment of breakpoints of optical fiber method for detecting position of the present invention, under
Face is illustrated with a specific example:
As shown in figure 3, light source (such as pulse laser) is passed through the first optical signal from optical fiber connector, the first optical signal is in optical fiber
In each position can all reflect, receive obtained the second optical signal of reflection from optical fiber connector;Second optical signal is converted
For electric signal;Electric signal is sampled, to obtain several signal values and corresponding sampling time;Electric signal after sampling is such as
Shown in Fig. 4.
The corresponding first sampling time t1 of a signal value for being less than first threshold is first determined, when the letter for being less than first threshold
When number value has multiple, when with sampling time the smallest time value in multiple signal values corresponding multiple sampling times being the first sampling
Between.
Before the first sampling time t1 the adjacent corresponding signal value of the second sampling time t2 in the second sampling time
When the absolute value of the difference of the corresponding signal value of a third sampling time t3 before t2 is greater than second threshold, then second can be determined
The corresponding position sampling time t2 is breakpoints of optical fiber position.
Optical fiber connector the distance between is finally calculated at breakpoints of optical fiber according to the second sampling time t2, to determine that optical fiber is disconnected
The position of point.
Wherein, the distance between optical fiber connector is calculated at breakpoints of optical fiber according to the second sampling time, is specifically included: according to
Formula L=(c*T/n)/2 calculates at breakpoints of optical fiber the distance between optical fiber connector;Wherein, c is the speed of light in a vacuum, T
It is the refractive index of optical fiber for the second sampling time t2, n.
It is worth noting that, also needing to consider remaining length of the optical fiber in optical cable when calculating fiber lengths, can specifically join
Examine following formula: L1=(L-S)/(1+P), wherein L is the distance that algorithm above measures, and S is the unilateral disk in cable splice closure
Length is stayed, generally taking 0.6-1.2m, P is the remaining length of the optical cable, different because of cable configuration difference.
Optionally, S13 may also is that
Before the first sampling time adjacent the second sampling time corresponding signal value with before the second sampling time
Corresponding signal value of multiple sampling times average value absolute value of the difference be greater than second threshold when, according to the second sampling time
The distance between optical fiber connector is calculated at breakpoints of optical fiber.
In this way, can signal value caused by the abnormal signal to avoid some positions it is excessive or too small, to sentence
The case where disconnected failure.
It is different from the prior art, present embodiment can be adopted by the first sampling time, the second sampling time and third
The judgement of three signal values of sample time, quickly positions the breakpoint location in optical fiber, while using the mechanism of multiple judgement
So that the positioning accuracy of breakpoint location is improved.
Refering to Fig. 5, the structural schematic diagram of one embodiment of breakpoints of optical fiber position detecting device of the present invention, which includes:
Sampling module 51, for being sampled to fiber optic telecommunications number when getting fiber optic telecommunications, to obtain several
Signal value and corresponding sampling time;Wherein, fiber optic telecommunications number are converted to by the optical signal of fiber reflection.
Determining module 52, for determining a signal value corresponding first sampling time for being less than first threshold;And it is used for
Adjacent the second sampling time corresponding signal value and the third before the second sampling time before the first sampling time
When the absolute value of the difference of sampling time corresponding signal value is greater than second threshold, calculated at breakpoints of optical fiber according to the second sampling time
The distance between optical fiber connector, to determine the position of breakpoints of optical fiber.
Optionally, fiber optic telecommunications number are digital electric signal;Wherein, digital electric signal is to convert to obtain by analog electrical signal
, analog electrical signal is converted to by the optical signal of fiber reflection.
Optionally, determining module 52 be specifically used for according to formula L=(c*T/n)/2 calculate breakpoints of optical fiber at and optical fiber connector
The distance between;Wherein, c is the speed of light in a vacuum, and T was the second sampling time, and n is the refractive index of optical fiber.
Optionally, determining module 52 is specifically used for the second sampling time corresponding letter adjacent before the first sampling time
The absolute value of the difference of the average value of number corresponding with multiple sampling times before the second sampling time signal value of value is greater than the
When two threshold values, optical fiber connector the distance between is calculated at breakpoints of optical fiber according to the second sampling time.
Optionally, determining module 52 is specifically used for determining the multiple signal values for being less than first threshold, and with multiple signal values
Sampling time the smallest time value was the first sampling time in corresponding multiple sampling times.
Refering to Fig. 6, the structural schematic diagram of another embodiment of breakpoints of optical fiber position detecting device of the present invention, the device 60 packet
Include processor 61, memory 62, input unit 63 and output device 64.Wherein, processor 61, memory 62, input unit
63 and output device 64 may each be one or more, in Fig. 6 only for one, they can be connected by bus.
Memory 62 is for storage system program, operation program or some necessary datas etc..
Input unit 63 is for obtaining fiber optic telecommunications number.Wherein, fiber optic telecommunications number are converted by the optical signal of fiber reflection
It obtains.
Processor 61 is for sampling fiber optic telecommunications number, to obtain several signal values and corresponding sampling time.
Processor 61 is less than a signal value corresponding first sampling time of first threshold for determining;And for the
Adjacent the second sampling time corresponding signal value is sampled with the third before the second sampling time before one sampling time
The absolute value of the difference of time corresponding signal value be greater than second threshold when, according to the second sampling time calculate breakpoints of optical fiber at and light
The distance between fine end, to determine the position of breakpoints of optical fiber.
In several embodiments provided by the present invention, it should be understood that disclosed method and device, Ke Yitong
Other modes are crossed to realize.For example, device embodiments described above are only schematical, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can integrate in one processing unit, it can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit in above-mentioned other embodiments is realized in the form of SFU software functional unit and as independence
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention
Technical solution substantially all or part of the part that contributes to existing technology or the technical solution can be in other words
It is expressed in the form of software products, which is stored in a storage medium, including some instructions are used
So that a computer equipment (can be personal computer, server or the network equipment etc.) or processor
(processor) all or part of the steps of each embodiment the method for the present invention is executed.And storage medium packet above-mentioned
It includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), the various media that can store program code such as magnetic or disk.
Refering to Fig. 7, the structural schematic diagram of one embodiment of breakpoints of optical fiber position detecting system of the present invention, which includes:
Signal receiving/transmission device 71 is used to input the first optical signal from optical fiber connector and the first optical signal of acquisition is anti-in a fiber
The second optical signal penetrated.
Photoelectric conversion device 72, for converting analog electrical signal for the second optical signal.
Digiverter 73, for converting digital electric signal for analog electrical signal.
Breakpoints of optical fiber position detecting device 74;Wherein, breakpoints of optical fiber position detecting device 74 is such as above each embodiment party
Breakpoints of optical fiber position detecting device in formula, embodiments thereof are similar, and which is not described herein again.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.