A kind of quick method for early warning based on phase sensitive optical time domain reflectometer
Technical field
The present invention relates to the fields, particularly a kind of quick early warning based on phase sensitive optical time domain reflectometer such as circumference security protection optical fiber phase sensitive optical time domain reflectometer.
Background technology
Phase sensitive optical time domain reflectometer (Φ-OTDR) is a kind of novel distributed fiberoptic sensor, long-range and Real-Time Monitoring can be carried out to the vibration signal in optical fiber certain limit along the line, meanwhile, the proposition of phase demodulating method, makes Φ-OTDR achieve quantitative measurment.Phase demodulating precision, up to 0.1rad, ensure that the accuracy of follow-up mode identification.In Φ-OTDR, a series of pulse detection light is injected in sensor fibre, carries out relevant detection and demodulation to its echo.The position of disturbance point is determined by the time of return of echo; Disturbance information embodies in the amplitude and phase place of light signal, is obtained by a series of phase demodulating method.Due to the performance that it is superior, Φ-OTDR has extraordinary prospect in fields such as circumference intrusion detection, security protections.
Usually, when phase sensitive optical time domain reflectometer detects disturbing signal, system can directly give the alarm.But in practical application, quite a few disturbing signal is " safety ", the wind etc. in the walking about of such as cat, environment all can produce disturbance.But, these disturbances do not need to give the alarm.For this reason, before giving the alarm, carry out simple identification to disturbing signal to be necessary.
Prior art one [H.F.TaylorandC.E.Lee.Apparatusandmethodforfiberopticintr usionsensing.U.S.Patent5,1993:194847.] in, phase sensitive optical time domain reflectometer technology is proposed first, but what adopt is the method for direct detection, adopt strength information as the signal of system, after there is disturbance, directly send warning.Its poor signal to noise, is difficult to carry out effective identification and effectively early warning to disturbance.
Prior art two [Zhou Jun, Pan Zhengqing, Liang Kezhen, Ye Qing, Cai Haiwen, Qu Ronghui, optical frequency division multiplex phase sensitive optical time domain reflectometer, patent of invention, application number: 201210124995.3] digital coherent proposed for phase sensitive optical time domain reflectometer detects, frequency multiplexing technique and Brillouin amplification technology.This coherence detection can demodulate phase information effectively, and real reflection optical fiber, by the change of disturbance, fundamentally improves system accuracies and reliability; The frequency multiplexing technique then impact of interference fading in resolution system technology, improves signal to noise ratio (S/N ratio), for the differentiation of disturbing signal and identification lay the foundation.But not the classification of disturbing signal and warning aspect are not studied in this technology.
Prior art three [HuiZhu, ChaoPan, XiaohanSun, " VibrationPatternRecognitionandClassificationinOTDRBasedD istributedOptical-FiberVibrationSensingSystem " .SmartSensorPhenomena, Technology, Networks, andSystemsIntegration2014] in, propose a kind of zero-crossing rate method of improvement, i.e. LCR (levelcrossingrate).The method is simple, quick, in its experimental data, can see that the difference between variety classes signal is very little.Can infer, its error recognition rate can be higher.
Prior art four [Zheng Yin, Duan Fajie, Tu Qinchang, Wei Bo, phase sensitive optical time domain reflectometer identification intrusion event algorithm, photon journal, 44 (1), 2015] on the basis of traditional algorithm, have studied that the vibration of time domain single-point judges, the vibration of spatial domain consecutive point judges, characteristic quantity peak ratio judges the algorithm that combines.In Φ-OTDR, pulse internal interference inevitably will produce decline, violent on light intensity signal impact, seriously will reduce the effect of the algorithm based on light intensity.
In addition, some other Method and Technology is also had at area of pattern recognition, such as neural network, fuzzy diagnosis etc.But these methods are very complicated, computing is consuming time, are not suitable for the application of quick early warning, meanwhile, these methods often need a large amount of training templates.
Summary of the invention
In order to overcome the above-mentioned shortcoming in first technology, the object of the invention is to, proposing a kind of quick early warning system based on phase sensitive optical time domain reflectometer and method, developing the key issues such as the computing faced is consuming time, the requirement of technical sophistication, training template is many to breaking through current phase sensitive optical time domain reflectometer in fields such as intrusion detection early warning.
Technical solution of the present invention is as follows: a kind of quick early warning system based on phase sensitive optical time domain reflectometer and method, comprises disturbance monitoring and location, disturbing signal identification module;
Disturbance monitoring and locating module: disturbance monitoring part carries out difference to the beat signal intensity of phase sensitive optical time domain reflectometer; The quick early warning system moment based on phase sensitive optical time domain reflectometer monitors this beat signal intensity difference, once change, then illustrates and has occurred the disturbing signal that disturbance produces; Locating module is then the positional information utilizing the mistiming of optical time domain reflectometer echo to determine disturbance point;
Disturbing signal identification module comprises the part of module such as pre-service, feature extraction, template training, pattern classification and aftertreatment; Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point; Pretreated signal obtains the feature of disturbing signal through feature extraction; Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal; The feature of disturbing signal is mated with the various template preset, and determines the kind of signal, be pattern classification according to matching degree.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police;
Described feature extraction is carried out according to zero-crossing rate and short-time energy method; The phase time signal of disturbance point is divided into some frames; When the zero-crossing rate of certain frame or short-time energy are greater than the threshold value of setting, then using the signal of this frame directly as the characteristic signal of disturbing signal;
Described feature extraction is carried out according to zero-crossing rate.The phase time signal of disturbance point is divided into some frames.When the zero-crossing rate of certain frame is greater than the threshold value of setting, then using the signal of this frame directly as the characteristic signal of disturbing signal.
Described feature extraction is carried out according to short-time energy method.The phase time signal of disturbance point is divided into some frames.When the short-time energy of certain frame is greater than the threshold value of setting simultaneously, then the signal of this frame is directly as the characteristic signal of disturbing signal.
Described pattern classification is that characteristic signal is carried out Fourier transform, and tries to achieve the Euclidean distance of frequency spectrum and each template.If characteristic signal and the Euclidean distance of certain template are less than its corresponding threshold value, then think this disturbance therewith template be same class signal, otherwise be not such signal.
Described pattern classification is the power spectrum asking for characteristic signal, and tries to achieve the Euclidean distance of frequency spectrum and each template.If characteristic signal and the Euclidean distance of certain template are less than its corresponding threshold value, then think this disturbance therewith template be same class signal, otherwise be not such signal.
Described pattern classification is that characteristic signal is carried out Fourier transform, and tries to achieve the Euclidean distance of frequency spectrum and each template.If the Euclidean distance of characteristic signal and certain template square be less than its corresponding threshold value, then think this disturbance therewith template be same class signal, otherwise be not such signal.
Concrete principle of the present invention is as follows:
(1) zero-crossing rate and short-time energy
Zero-crossing rate is generally used for that extraction amplitude is less, vibrate violent signal, and short-time energy is then for extracting the larger signal of amplitude.Both all need pending signal to be divided into multiple frame.Exist overlapping between adjacent frame, to guarantee the continuity of signal.
Usually, the Zero-crossing Number ZCN of a frame is expressed as:
Zero-crossing rate ZCR following expression calculates:
Wherein N is the length of this frame, and n is the integer (n is ordinal number, is embodied on cumulative sum symbol) of 1 to N.Sgn (x) is sign function, is expressed as:
The expression formula of zero-crossing rate is various, and only conduct cited herein illustrates, should not limit the protection domain of the application with this.
The short-time energy of one frame then can represent by following several expression formula:
These three kinds of expression formulas are applicable to the signal of different short-time energy scope respectively, only for the explanation to the method, are not limited to this.
(2) pattern classification
Pattern classification adopts the Euclidean distance based on spectrum analysis.Frequency spectrum calculates according to the following formula
In formula, M is the length of characteristic signal, and x (n) is characteristic signal.The FFT frequency spectrum of characteristic signal and the Euclidean distance of template are as basis for estimation.Be:
Wherein, F
signaland F
modelbe respectively the FFT frequency spectrum of perturbation features signal and template, d is Euclidean distance.When this distance is less than threshold value, then think that this signal belongs to this template.Be not limited to Euclidean distance herein, Euclidean distance square etc. all should within protection scope of the present invention.
(3) noiseproof feature of described method for classifying modes
Due to extract from disturbing signal characteristic signal time very short, be set to M.Suppose sampling frequency f0, then the minimum frequency space of FFT frequency spectrum is f0/M=Δ f.When being FFT to characteristic signal, be equivalent to carry out filtering at frequency domain comb function to it.The frequency range of dressing function is Δ f ~ f0/2.Usually, most of neighbourhood noise is low frequency, and the noise especially lower than Δ f can by filtering.In addition, about the filtering of white noise due to comb function, it also can weaken greatly on the impact of signal.
Described Fourier transform also can by the various ways such as discrete Fourier transformation or power spectrum.
Therefore, beneficial effect of the present invention:
(1) propose a kind of quick method for early warning based on phase sensitive optical time domain reflectometer, promoted the application of phase sensitive optical time domain reflectometer in fields such as intrusion detections, but be not limited thereto.
(2) mode that combines of using degree disturbance monitoring and phase signal identification, greatly save the time of disturbances location, meanwhile, the accuracy of phase signal ensure that the reliability of subsequent perturbations identification.
(3) have employed efficient method for classifying modes, calculate simple, rapid, and the method has certain anti-noise ability, thus ensure that the quick, accurate of early warning.
Beneficial effect of the present invention: when this disturbing signal to be determined is danger signal, send early warning.By the method, not only can shorten pre-warning time greatly, and can effectively identify disturbing source type, avoid unnecessary responding.The present invention not only greatly promotes the application in circumference invasion etc. of phase sensitive optical time domain reflectometer, and more the quick early warning of other field provides good reference.
Accompanying drawing explanation
Fig. 1 is a kind of quick method for early warning overview flow chart based on phase sensitive optical time domain reflectometer of the present invention;
Fig. 2 is the structural drawing of key algorithm of the present invention;
The phase information of Φ-OTDR demodulation shown in Fig. 3 (a).
The Zero-crossing Number (ZCN) of each frame shown in the middle red solid line of Fig. 3 (b), blueness (being respectively shallow and dark) solid line and short-time energy (E).
Fig. 4 (a) is the time-domain signal of four kinds of signals (play wall Toeing, kick wall Heeling, running on spot Running and natural wind wind).The Fourier transform frequency spectrum of Fig. 4 (b) then its correspondence.
Fig. 5 is the frequency spectrum of calculating four kinds of signals and the Euclidean distance of template frequency spectrum, identifies signal.Dotted line is the threshold value of setting.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further illustrated, but be not limited thereto.According to thought of the present invention, some implementation methods can be adopted.Following several scheme only illustrates as the explanation of this invention thought, and concrete scheme is not limited thereto.
Quick method for early warning of the present invention utilizes the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position; The phase versus time change of disturbance point is identified and classified, preliminary judgement is made to " danger " of disturbing signal, determines whether send warning.As shown in Figure 1, the method comprises 5 key steps:
1) strength signal of phase place optical time domain reflectometer first, is utilized to monitor optical fiber disturbance situation along the line;
2) utilize the principle of optical time domain reflection, determine the position of disturbance point;
3) after determining the position of disturbance point, the phase versus time information of demodulation disturbance point;
4) multiple template is utilized to identify phase signal and classify;
5) according to the recognition result of signal, make the judgement whether carrying out alarm, and take appropriate measures.
Described step refers to overview flow chart shown in Fig. 1.Disturbed depth part shown in Fig. 1 in detail as shown in Figure 2.This disturbed depth part is mainly divided into 5 processes:
1) multiple training template is utilized, training template 1 as shown in Figure 2, training template 2 ... training template n etc., extract its feature, arrange corresponding template, as template 1, template 2 ... template n etc., as shown in dotted line frame in Fig. 2;
2) phase signal of disturbance point is carried out pre-service;
3) the feature morphogenesis characters signal of signal after pre-service is extracted, i.e. feature extraction;
4) ask for the frequency spectrum of characteristic signal, and mate with each template, find the template that matching degree is best, disturbing signal is classified;
5) according to the classification situation of disturbing signal, information such as reporting to the police or do not report to the police is provided.
Embodiment one, is the quick method for early warning adopting zero-crossing rate to extract feature, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates the zero-crossing rate of each frame, when being greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, and asks for the Fourier transform frequency spectrum of characteristic signal and the Euclidean distance of template frequency spectrum, if be less than threshold value, then belongs to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
Embodiment two, is the quick method for early warning adopting short-time energy to extract feature, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates the short-time energy of each frame, when being greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, and asks for the Fourier transform frequency spectrum of characteristic signal and the Euclidean distance of template frequency spectrum, if be less than threshold value, then belongs to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
Embodiment three, is that adopt zero-crossing rate and short-time energy with quick method for early warning that is extracted feature, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates zero-crossing rate and the short-time energy of each frame, when both are all greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, and asks for the Fourier transform frequency spectrum of characteristic signal and the Euclidean distance of template frequency spectrum, if be less than threshold value, then belongs to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
As shown in Fig. 3 (a), there is disturbing signal at 3 time points in the phase information of Φ-OTDR demodulation.The Zero-crossing Number (ZCN) of each frame and short-time energy (E) are respectively as shown in red solid line, blue solid lines in Fig. 3 (b).Dotted line is the threshold value of setting.Fig. 4 (a) is the time-domain signal of four kinds of signals (play wall Toeing, kick wall Heeling, running on spot Running and natural wind wind), and they simulate well illegally climbs wall invasion, mankind's normal activity and environmental factor.The Fourier transform frequency spectrum of Fig. 4 (b) then its correspondence.By the Euclidean distance of the frequency spectrum and template frequency spectrum that calculate four kinds of signals, signal is identified.Various types of signal carries out 5 tests respectively, and the result of Euclidean distance as shown in Figure 5.Dotted line is the threshold value of setting.Can find out, the discrimination of the method is very high.
Embodiment four, is the quick method for early warning adopting zero-crossing rate and short-time energy or extracted feature, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates zero-crossing rate and the short-time energy of each frame, when one of them is greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, and asks for the Fourier transform frequency spectrum of characteristic signal and the Euclidean distance of template frequency spectrum, if be less than threshold value, then belongs to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
Embodiment five, is the quick method for early warning adopting power spectrum to carry out pattern classification, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates zero-crossing rate and the short-time energy of each frame, when both are all greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, and asks for the power spectrum of characteristic signal and the Euclidean distance of template power spectrum, if be less than threshold value, then belongs to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
Embodiment six, adopts the quick method for early warning square carrying out pattern classification of Euclidean distance, comprises disturbance monitoring and the part such as location, disturbing signal identification.
Disturbance monitoring is utilize the strength signal of phase place optical time domain reflectometer monitor optical fiber disturbance along the line and position with location, and disturbing signal identification comprises the parts such as pre-service, feature extraction, template training, pattern classification and aftertreatment.Pre-service carries out the process such as simple denoising to the phase time signal of disturbance point.Pretreated signal is divided into some Frames, calculates zero-crossing rate and the short-time energy of each frame, when both are all greater than threshold value, then using the signal of this frame as characteristic signal.Template training is then the feature according to a series of inhomogeneity disturbing signal, builds the template of multiclass signal.The feature of disturbing signal is mated with the various template preset, ask for the Fourier spectrum of characteristic signal and the Euclidean distance of template merit frequency spectrum square, if be less than threshold value, then belong to such signal, thus realize the classification of signal.Aftertreatment is then make for the result of pattern classification measures such as reporting to the police or do not report to the police.
Above scheme all can carry out multiple expansion or distortion, just repeats no more as space is limited, but all belongs to this patent.Should not illustrate according to this to limit the scope of the invention.