Specific embodiment
Refering to fig. 1, the flow diagram of one embodiment of fiber-optic vibration detection method of the present invention, this method comprises:
S11: when receiving fiber optic telecommunications, the signal value at target fiber position multiple moment is obtained;Wherein, optical fiber electricity
Signal is 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 starting point 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, in one embodiment, the frequency of sampling
Rate being passed through frequency and determine according to the first optical signal.For example, the first optical signal is the pulsed optical signals being continuously passed through,
After being passed through the first optical signal, constantly the second optical signal of reflection is sampled in optical fiber starting point, then passes through photoelectric conversion
Digital electric signal is obtained with analog-to-digital conversion.For example, the first optical signal is the optical signal that pulse width is 10ns, according to formula L=
(c*T/n)/2, it is assumed that take light velocity c=3*108M/s, T=10ns, n=1.5, then L=1m, i.e., every 1 meter of optical fiber can obtain
To a signal value, then can sample to obtain optical fiber starting point to totally 100000 signals at 100 kilometers of optical fiber every 1ms
Value.
Further, next 1ms can just obtain the signal from optical fiber origin-to-destination totally 100000 positions again, in this way,
The same position will obtain a signal value in every 1ms, it can obtain the signal value of the every 1ms of target fiber position.
It is worth noting that, 10ns and 1ms here be citing, in practice, can according to the length of optical fiber,
The frequency of sampling carrys out any setting.
S12: target fiber position the totally first quantity moment pair adjacent before object time and object time is determined
First average value of the signal value answered.
Wherein, signal value is the amplitude of target fiber position at a time.
Optionally, object time refer to need to judge target fiber position at the time of sometime whether vibrating, due to
Vibration detection is real-time, is mainly used for judging whether optical fiber current time has vibration, we generally require detecting vibration
It gives notice immediately when dynamic information, therefore object time can be the current time for getting newest fiber optic telecommunications number.If
Existing data are handled, to judge whether optical fiber once had vibration, which is also possible to past
It anticipates a moment.
It, may be internal due to signal interference etc. since target fiber position is too strong in the randomness of the signal value at a moment
Or external reason causes the signal value at this moment abnormal, therefore multiple moment of the selection here including object time
The average value of signal value.
Referring to Fig.2, in one embodiment of fiber-optic vibration detection method of the present invention target fiber position signal value schematic diagram.
A indicates that the first quantity moment corresponding signal value, B indicate the second quantity moment corresponding signal value.Here
The first quantity in figure is 5, the second quantity is 20 and only illustrates.
S13: target fiber position the second quantity moment corresponding letter adjacent before the first quantity moment is determined
Number value the second average value.
Optionally, the second quantity is greater than the first quantity.Due to next needing the average value of the first quantity signal value
It compares, therefore in one embodiment, the second quantity can be arranged with the average value of the second quantity signal value before
It is larger, can preferably embody variation of the signal relative to signal before in the first quantity in this way.In other implementations
In mode, the first quantity can also be enabled and the second quantity is equal or the second quantity is less than the first quantity.
S14: if the first average value is greater than the second average value, record target fiber position is first state, if first is average
Value is less than or equal to the second average value, and record target fiber position is the second state.
Optionally, the first quantity is 16, i.e. 16ms, and the second quantity is 128, i.e. 128ms.Wherein, the first average value is
DataVector, the second average value are MeanData, to the state of target fiber position be arranged a current state mark flag with
And last status indication pre_flag, with " 1 " for first state, with " -1 " for the second state.It should be understood that with the time
Variation, the first average value DataVector, the second average value MeanData, current state label flag and last label
Pre_flag is continually changing.
Specifically, as DataVector > MeanData, flag=1 is enabled;As DataVector≤MeanData, enable
Flag=-1.
S15: when the state of target fiber position changes, determine that target fiber position is vibrated.
Wherein, the state of the target fiber position namely flag that changes changes, in other words flag and pre_
Flag is different.
Optionally, current status indication flag and the system last status indication pre_flag saved can be carried out
Compare, if the value of flag-pre_flag is equal to 0 (i.e. 1-1=0 or -1- (- 1)=0), then it represents that the target fiber position
No change has taken place for state, if the value of flag-pre_flag is equal to 2 or -2 (i.e. 1- (- 1)=2 or -1- (1)=- 2),
The state for representing the target fiber position is changed, i.e. target fiber position is vibrated.
Optionally, when detecting for the first time, pre_flag=-1 can be defaulted;In addition, if of the first quantity and the second quantity
Number is unsatisfactory for preset quantity, can reduce quantity or default pre_flag=-1.
The above S14 and S15 and its optional embodiment, we term it " zero passage detections ".
Optionally, when the state of target fiber position changes, with the difference of the second average value and the first average value
As target fiber position object time Oscillation Amplitude;When the state of target fiber position does not change, using 0 as
Oscillation Amplitude of the target fiber position in object time.
Specifically, if the value of flag-pre_flag is equal to 0, the amplitude of the target fiber position is 0 deposit system, if
The value of flag-pre_flag is equal to 2 or -2, just using the absolute value of the difference of DataVector-MeanData as the target light
The amplitude of fine position is stored in system.
Optionally, after the state judgement at a moment is completed, pre_flag is updated to the value of current flag, and
MeanData and DataVector is updated, continues to carry out detection judgement to the signal value of following instant.
Refering to Fig. 3, the amplitude schematic diagram of different fiber positions in one embodiment of fiber-optic vibration detection method of the present invention.
Wherein, abscissa indicates fiber position, i.e. the distance between the certain point of optical fiber and optical fiber starting point, and ordinate indicates
A certain fiber position current time Oscillation Amplitude (difference of 0 or DataVector-MeanData in i.e. discussed above it is exhausted
To value).Since the Oscillation Amplitude of each fiber position is continually changing, so the signal value of each position is not in Fig. 3
Disconnected variation, when the status indication of certain point is changed, illustrates that the point vibrates, just show the amplitude of the point.
For example, we can with it is seen from figure 3 that, have slight vibration between optical fiber starting point 120m-140m;In another example
There is biggish vibration between optical fiber starting point 280m-300m.
Furthermore it is also possible to fiber-optic vibration feelings in such a way that global histogram+details histogram+history graphs combine
Condition is shown, and above-mentioned Fig. 3 is global histogram, comprises only limit by selecting or inputting a certain distance or distance segment to show
The details histogram of a (such as 9) distance;Can also be shown by selecting or inputting a certain distance or distance segment this away from
From or distance segment history amplitude.
Optionally, can also include: after S15
S16: the signal transmission distance between target fiber position and optical fiber starting point is determined.
Optionally, the signal transmission distance between target fiber position and optical fiber starting point is determined, specifically: according to formula L
=(c*T/n)/2 calculates the distance between target fiber position and optical fiber starting point;Wherein, c is the speed of light in a vacuum, and T is
Time span of the target fiber position in fiber optic telecommunications number, n are the refractive index of optical fiber.
It is worth noting that, T here is different with " moment " mentioned above.For example, every 1ms is passed through to optical fiber
One optical signal and reflect obtain the second optical signal, obtain fiber optic telecommunications number using photoelectric conversion and analog-to-digital conversion.Due to difference
Time of fiber position reflected light signal is different, and the signal apart from the remoter reflection of optical fiber starting point is weaker, therefore, obtain this
Fiber optic telecommunications number are the deamplification for continuing an extremely short time (being often much smaller than 1ms), can pass through this signal
In different time different fiber positions is calculated.
S17: the reality between target fiber position and optical fiber starting point is determined according to default calibration data and signal transmission distance
Border distance;Wherein, calibration data are preset by multiple specified actual ranges and according to the vibration signal meter of multiple specified actual ranges
Obtained signal transmission distance compares to obtain.
Since optical fiber has bending in the duct, spirals, the fiber position measured is only capable of calculating the letter of optical fiber
Number transmission range (i.e. the length of optical fiber) rather than the distance of practical road surface or pipeline, thus can make a fiber position with
The corresponding calibration data of actual range.
For example, manually or mechanically the optical fiber of specified actual range can be enabled to vibrate using modes such as percussions, simultaneously
It receives data corresponding signal transmission distance is calculated and keeps, repeatedly the optical fiber of different physical locations be measured, just
It can establish actual range and the one-to-one calibration data of signal transmission distance.
Specifically, when manually or mechanically tapping the optical fiber of specified actual range, according to the above global histogram, in amplitude
Change and records distance value identical with specified actual range on maximum histogram.It is different from the prior art, present embodiment is logical
It crosses and the signal of a fiber position different moments is detected, fast and accurately in optical fiber by the way of zero passage detection
Some position whether vibrate and judged, improve the sensitivity and efficiency of fiber-optic vibration monitoring.
Refering to Fig. 4, the structural schematic diagram of one embodiment of fiber-optic vibration detection device of the present invention, which includes:
Sampling module 41, for obtaining the signal value at target fiber position multiple moment when receiving fiber optic telecommunications,
Wherein, fiber optic telecommunications number are converted to by the optical signal of fiber reflection.
Determining module 42, for determining target fiber position the totally first number adjacent before object time and object time
Measure the first average value of moment corresponding signal value;And determine that target fiber position is adjacent before the first quantity moment
The second quantity moment corresponding signal value the second average value.
Logging modle 43, for when the first average value is greater than the second average value, record target fiber position to be the first shape
State, when the first average value is less than or equal to the second average value, record target fiber position is the second state.
Determining module 44 is vibrated, for determining target fiber position mesh when the state of target fiber position changes
Mark fiber position is vibrated.
Optionally, which further includes amplitude confirmation module, for changing in the state of the target fiber position
When, using the difference of second average value and first average value as the target fiber position in the present sample
The Oscillation Amplitude at quarter;Or when the state of the target fiber position does not change, exist using 0 as the target fiber position
The Oscillation Amplitude of the current sample time.
Optionally, which further includes apart from confirmation module, for determining between target fiber position and optical fiber one end
Signal transmission distance;The reality between target fiber position and optical fiber one end is determined according to default calibration data and signal transmission distance
Border distance;Wherein, calibration data are preset by multiple specified actual ranges and according to the vibration signal meter of multiple specified actual ranges
Obtained signal transmission distance compares to obtain.
Specifically, it is specifically used for calculating target fiber position and optical fiber according to formula L=(c*T/n)/2 apart from confirmation module
The distance between one end;Wherein, c is the speed of light in a vacuum, and T is that time of the target fiber position in fiber optic telecommunications number is long
Degree, n are the refractive index of optical fiber.
Present embodiment is the device based on above embodiment, and embodiments thereof are similar, and which is not described herein again.
Refering to Fig. 5, the structural schematic diagram of another embodiment of fiber-optic vibration detection device of the present invention, the device 50 includes place
Manage device 51, memory 52, input unit 53 and output device 54.Wherein, processor 51, memory 52, input unit 53 with
And output device 54 may each be one or more, in Fig. 5 only for one, they can be connected by bus.
Memory 52 is for storage system program, operation program or some necessary datas etc..
Processor 51 is for executing following steps:
When receiving fiber optic telecommunications, the signal value at target fiber position multiple moment is obtained;Wherein, fiber optic telecommunications number
It is to be converted to by the optical signal of fiber reflection;Determine that target fiber position is adjacent before object time and object time
First average value of the totally first quantity moment corresponding signal value;Determine target fiber position before the first quantity moment
Second average value of adjacent the second quantity moment corresponding signal value;If the first average value is greater than the second average value, record
Target fiber position is first state, if the first average value is less than or equal to the second average value, record target fiber position is the
Two-state;And when the state of target fiber position changes, determine that target fiber position is vibrated.
Processor 51 is also used to execute following steps:
When the state of target fiber position changes, using the difference of the second average value and the first average value as target
Oscillation Amplitude of the fiber position in object time;When the state of target fiber position does not change, using 0 as target optical fiber
Oscillation Amplitude of the position in object time.
Processor 51 is also used to execute following steps:
Determine the signal transmission distance between target fiber position and optical fiber starting point;It is passed according to default calibration data and signal
Defeated distance determines the actual range between target fiber position and optical fiber starting point;Wherein, calibration data are preset by multiple specified realities
Border distance and compare to obtain according to the signal transmission distance that the vibration signal of multiple specified actual ranges is calculated.
Wherein it is determined that the signal transmission distance between target fiber position and optical fiber starting point, specifically: according to formula L=
(c*T/n)/2 the distance between target fiber position and optical fiber starting point are calculated;Wherein, c is the speed of light in a vacuum, and T is mesh
Time span of the fiber position in fiber optic telecommunications number is marked, n is the refractive index 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. 6, fiber-optic vibration detection system of the present invention, which includes:
Signal receiving/transmission device 61 is used to input the first optical signal from optical fiber starting point and the first optical signal of acquisition is anti-in a fiber
The second optical signal penetrated.
Photoelectric conversion device 62, for converting analog electrical signal for the second optical signal.
Digiverter 63, for converting digital electric signal for analog electrical signal.
Fiber-optic vibration detection device 64;Wherein, fiber-optic vibration detection device 64 is such as the light in above each embodiment
Fine vibration detection device, 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.