The implementation method of optical fiber vibration processor system
Technical field
The present invention relates to the circumference safety-security area, and be particularly related to a kind of implementation method that is applied to the optical fiber vibration processor system of circumference safety-security area.
Background technology
At present, the safety-protection system that is applied to perimeter alarm mainly comprises: microwave warning system, active infrared warning system, reveal cable perimeter alarm system, electrostatic induction perimeter alarm system and camera video recognition system etc.But when above-mentioned traditional perimeter alarm system is applied in the monitoring under the long distance condition, will there be a lot of problems.For example monitor mode such as microwave warning system or active infrared warning system can only be applicable to sighting distance and flat site; Receive the such environmental effects such as height, complications, turning, bending of landform very big; And they are not suitable for weather extremes, are subject to the natural climate influence, and accuracy rate is also lower.Because sensor unit generally is active, so under the situation of long distance monitoring, be difficult to solve the problem of open-air power supply, the life-span of sensor unit is also shorter simultaneously, and under the situation that long-time continuous is used, the maintenance cost of equipment is also higher.
Therefore, the complete orientable perimeter alarm system of optical fiber has remarkable advantages as brand-new security protection equipment.Warning system is divided into outdoor monitoring optical cable and comprehensive treatment equipment two parts.Comprehensive treatment equipment is positioned at the Control Room machine room, divides by function, can be made up of light source, light path output module, photoelectric switching circuit, analog-to-digital conversion module, digital signal processing module and alarm module.Its course of work is: light source is under the control of light source driving circuit, and the light that sends is monitored optical cable outside the inlet chamber after the light path output module is handled; The light that outdoor monitoring optical cable returns arrives after the photoelectric switching circuit, handles through analog to digital conversion and digital signal processing module; Analyze and identify disturbing signal afterwards, and then carry out corresponding alarm operation according to analysis result to disturbing signal.
In the prior art, adopt ripe on the market capture card, collecting on the PC through analog to digital conversion and digital signal processing module data processed; Utilize PC to handle, this type capture card function singleness is only accomplished data acquisition function; Do not have processing capacity, PC processing simultaneously is to adopt software processing method, and software processing method speed is slow; Big to this system data amount, the characteristics of Processing Algorithm more complicated can't real-time implementation; There is the shortcoming of loss of data, thereby causes system to have the fact of failing to report.
Summary of the invention
The present invention proposes a kind of implementation method of optical fiber vibration processor system; The distributed vibration of location type that is applied to the circumference safety-security area passes device (the Position Distributed Vibration Sensor of system; PDVS) electronics signal processing system can effectively produce intrusion event and report to the police, and satisfies the system real time requirement; The handling property of raising system, and reduce rate of failing to report.
In order to achieve the above object; The present invention proposes a kind of implementation method of optical fiber vibration processor system; Said optical fiber vibration processor system comprises analog digital change-over panel, signal processor, coprocessor, first memory and second memory, and this method comprises the following steps:
Step S10: said analog digital change-over panel carries out analog to digital conversion to the simulating signal that collects;
Step S20: said signal processor is gathered the output data of analog digital change-over panel, and it is carried out in real time laterally average treatment, and the data after disposing are write first memory;
Carry out step S30 afterwards: said signal processor vertically reads the data in the first memory, and each column data Fourier transform is handled, and gives coprocessor with the data transmission that disposes;
Carry out step S40 when carrying out step S30: said signal processor is gathered the output data of analog digital change-over panel, and it is carried out in real time laterally average treatment, and the data after disposing are write second memory;
Carry out step S50 afterwards: said signal processor vertically reads the data in the second memory, and each column data Fourier transform is handled, and gives coprocessor with the data transmission that disposes;
Carry out step S60 after step S30 and step S50 dispose: said coprocessor is adjudicated the data of handling through Fourier transform, and court verdict is beamed back signal processor;
Step S70: said signal processor is transferred to host computer with court verdict through interface.
Further, said signal processor is the FPGA signal processor.
Further, said coprocessor is the DSP digital signal processor.
Further, said Fourier transform is treated to Fast Fourier Transform (FFT).
Further, said coprocessor adopts the algorithm of support vector machine judgement and distinguishes vibration event.
Further, said interface is a pci interface.
The implementation method of the optical fiber vibration processor system that the present invention proposes, the performance advantage of the current device of this method utilization combines a kind of design proposal of optimum to realize.The raising of processing speed leans on PC software to realize it being limited, and effective method is to adopt hardware to realize the processing of key algorithm, and is more in short supply but the shortcoming of hardware handles is a hardware resource, especially limited storage space; In order to solve this key issue; The present invention adopts extensive high-performance FPGA+DSP structure; The advantage of this scheme is: FPGA not only parallel processing capability is strong, and processing speed fast (hardware handles), realizes so algorithm big operand or that rate request is harsh is placed on the FPGA the inside; And the advantage of DSP is to handle the algorithm (for example SVM algorithm) of more complicated, therefore utilizes FPGA and DSP to combine, and can increase substantially the handling property of system, satisfies the system real time requirement simultaneously, and reduces rate of failing to report.
Description of drawings
Shown in Figure 1 is preferred embodiment optical fiber vibration processor system synoptic diagram of the present invention.
Shown in Figure 2 for the implementation method process flow diagram of preferred embodiment optical fiber vibration processor system of the present invention.
Shown in Figure 3 for the implementation method schematic diagram of preferred embodiment optical fiber vibration processor system of the present invention.
Embodiment
In order more to understand technology contents of the present invention, special act specific embodiment also cooperates appended graphic explanation following.
The present invention proposes a kind of implementation method of optical fiber vibration processor system; The distributed vibration of location type that is applied to the circumference safety-security area passes device (the Position Distributed Vibration Sensor of system; PDVS) electronics signal processing system can effectively produce intrusion event and report to the police, and satisfies the system real time requirement; The handling property of raising system, and reduce rate of failing to report.
Please refer to Fig. 1, shown in Figure 1 is preferred embodiment optical fiber vibration processor system synoptic diagram of the present invention.The present invention proposes a kind of implementation method of optical fiber vibration processor system, and said optical fiber vibration processor system comprises analog digital change-over panel 100, signal processor 200, coprocessor 300, first memory 410 and second memory 420.Said signal processor 200 be field programmable gate array (Field-ProgrammableGate Array, FPGA) signal processor, said coprocessor 300 be the DSP digital signal processor (Digital Signal Processing, DSP).
Please refer to Fig. 2 again, shown in Figure 2ly be the implementation method process flow diagram of preferred embodiment optical fiber vibration processor system of the present invention.In order to guarantee the real-time of system, adopt the storage organization of table tennis Ram.The implementation method of the optical fiber vibration processor system that the present invention proposes comprises the following steps:
Step S10: said analog digital change-over panel carries out analog to digital conversion to the simulating signal that collects;
Step S20: said signal processor is gathered the output data of analog digital change-over panel, and it is carried out in real time laterally average treatment, and the data after disposing are write first memory; The technology that adopts is a pipelining, needs altogether to gather and processing M group data, and every group of data volume is N, and every group of data data of corresponding positions is to be mutually related in the M group data.Because the photosignal noise ratio that receives of system is bigger, in order to improve signal to noise ratio (S/N ratio), so adopt horizontal averaging method, for example laterally k point is average, and then original every group of data have N data, horizontal on average after, data volume is compressed to every group of N/k data.
Carry out step S30 afterwards: said signal processor vertically reads the data in the first memory, and each column data Fourier transform is handled, and gives coprocessor with the data transmission that disposes; Said Fourier transform is treated to Fast Fourier Transform (FFT) (FFT), reads the one group of data that just obtains each position to horizontal average result by row, every group of M data, N group altogether.Every group of data are FFT, and its result outputs to the SVM algoritic module.
Carry out step S40 when carrying out step S30: said signal processor is gathered the output data of analog digital change-over panel, and it is carried out in real time laterally average treatment, and the data after disposing are write second memory; Same collection and the processing M group data of needing altogether.
Carry out step S50 afterwards: said signal processor vertically reads the data in the second memory, and each column data Fourier transform is handled, and gives coprocessor with the data transmission that disposes; Said Fourier transform is treated to Fast Fourier Transform (FFT) (FFT), reads the one group of data that just obtains each position to horizontal average result by row, every group of M data, N group altogether.Every group of data are FFT, and its result outputs to the SVM algoritic module.
Carry out step S60 after step S30 and step S50 dispose: said coprocessor is adjudicated the data of handling through Fourier transform, and court verdict is beamed back signal processor; Said coprocessor adopts the algorithm of support vector machine judgement and distinguishes vibration event, and SVM (Support Vector Machine) algorithm is an efficient algorithm that is used for machine learning and machine training, and native system is used for judgement and distinguishes vibration event.Each group FFT result to transmitting does judgement with the SVM algorithm, and keeps in every group court verdict, if do the N group judgement that is over, court verdict is beamed back signal processor.
Step S70: said signal processor is transferred to host computer with court verdict through interface; Signal processor is transferred to the host computer upper application software with the N group court verdict that sends through pci interface.
Repeat the processing of above-mentioned steps, out of service up to system.
With reference to figure 3, shown in Figure 3ly be the implementation method schematic diagram of preferred embodiment optical fiber vibration processor system of the present invention.From memory RAM, after vertical sense data, in FPGA, carry out FFT and handle, result transmission is carried out SVM to DSP adjudicate, export court verdict to host computer through FPGA again.
In sum, the implementation method of the optical fiber vibration processor system that the present invention proposes, the performance advantage of the current device of this method utilization combines a kind of design proposal of optimum to realize.The raising of processing speed leans on PC software to realize it being limited, and effective method is to adopt hardware to realize the processing of key algorithm, and is more in short supply but the shortcoming of hardware handles is a hardware resource, especially limited storage space; In order to solve this key issue; The present invention adopts extensive high-performance FPGA+DSP structure; The advantage of this scheme is: FPGA not only parallel processing capability is strong, and processing speed fast (hardware handles), realizes so algorithm big operand or that rate request is harsh is placed on the FPGA the inside; And the advantage of DSP is to handle the algorithm (for example SVM algorithm) of more complicated, therefore utilizes FPGA and DSP to combine, and can increase substantially the handling property of system, satisfies the system real time requirement simultaneously, and reduces rate of failing to report.
Though the present invention discloses as above with preferred embodiment, so it is not in order to limit the present invention.Have common knowledge the knowledgeable in the technical field under the present invention, do not breaking away from the spirit and scope of the present invention, when doing various changes and retouching.Therefore, protection scope of the present invention is as the criterion when looking claims person of defining.