CN112032577A - Oil stealing and leakage monitoring device and method for optical cable in oil pipeline - Google Patents

Oil stealing and leakage monitoring device and method for optical cable in oil pipeline Download PDF

Info

Publication number
CN112032577A
CN112032577A CN202010874271.5A CN202010874271A CN112032577A CN 112032577 A CN112032577 A CN 112032577A CN 202010874271 A CN202010874271 A CN 202010874271A CN 112032577 A CN112032577 A CN 112032577A
Authority
CN
China
Prior art keywords
turning
bvfdata
pipeline
judging whether
optical cable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010874271.5A
Other languages
Chinese (zh)
Other versions
CN112032577B (en
Inventor
袁明
李立功
盛立文
闫继送
乔山
葛崇琳
张洋
李明达
郎金鹏
王建国
方玉朝
李述标
董杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electronics Technology Instruments Co Ltd CETI
Original Assignee
China Electronics Technology Instruments Co Ltd CETI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Electronics Technology Instruments Co Ltd CETI filed Critical China Electronics Technology Instruments Co Ltd CETI
Priority to CN202010874271.5A priority Critical patent/CN112032577B/en
Publication of CN112032577A publication Critical patent/CN112032577A/en
Application granted granted Critical
Publication of CN112032577B publication Critical patent/CN112032577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • F17D5/02Preventing, monitoring, or locating loss
    • F17D5/06Preventing, monitoring, or locating loss using electric or acoustic means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H9/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means
    • G01H9/004Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means using fibre optic sensors

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

The invention discloses a device and a method for monitoring oil stealing and leakage of an optical cable in an oil pipeline, and belongs to the field of oil and gas storage and transportation and optical fiber sensing. Based on the optical fiber vibration distribution testing technical principle, the optical cable is distributed in the oil pipeline, and the event analysis algorithm of the vibration distribution data and the temperature distribution data of the optical cable in the oil pipeline is combined, so that the monitoring optical cable can be prevented from being damaged by lawless persons, the oil stealing event can be early warned in time by analyzing the vibration distribution data in the monitoring oil pipeline when the lawless persons excavate the pipeline and drill the pipeline and combining the difference of the vibration data and the normal vibration data characteristic in the pipeline at the moment, and when oil gas in the pipeline leaks, the leakage point can be found in time and disposed in time by analyzing and early warning the vibration change generated when the pipeline leaks and the change of the temperature distribution data of the oil pipeline, and the loss caused by the subsequent environmental pollution problem caused by the oil gas leakage can be avoided and reduced.

Description

Oil stealing and leakage monitoring device and method for optical cable in oil pipeline
Technical Field
The invention belongs to the field of oil and gas storage and transportation and optical fiber sensing, and particularly relates to a device and a method for monitoring oil stealing and leakage of an optical cable in an oil pipeline.
Background
In the oil and gas field, the state monitoring of the oil conveying pipeline is one of the difficulties, and along with the increasing requirement on intellectualization in the oil and gas field, the traditional oil theft prevention technology and the leakage monitoring technology are also more and more difficult to meet the intellectualization requirement of the oil and gas conveying pipeline.
The traditional oil pipeline oil theft prevention technology mostly adopts technologies such as manual patrol, video monitoring, unmanned aerial vehicle patrol, negative pressure wave, optical fiber vibration monitoring and the like, the manual patrol technology mostly depends on the experience of patrol personnel, and the patrol state cannot be kept in real time; the video monitoring can only monitor the area where the camera is arranged, and cannot monitor the complex environment shaded by forests, lawns and houses; the unmanned aerial vehicle cannot be continuously monitored for 24 hours in patrol, and the missed inspection period is easy to occur; the negative pressure wave technology can realize 24-hour continuous monitoring, but is not sensitive enough to small-flow oil theft and is difficult to find accurately in time; the optical fiber vibration monitoring technology can realize 24-hour continuous monitoring by arranging the sensing optical cable outside the oil-gas pipeline and giving an alarm by sensing the vibration of the optical cable during excavation, but the optical cable outside the pipe is easily damaged intentionally, and the scheme can not exert due effects after multiple places are damaged intentionally. Meanwhile, for oil pipeline leakage monitoring, the problem can only be found through oil transportation flow change in the traditional technology, the scheme is insensitive to small flow change, the problem is difficult to find, and meanwhile, the leakage point cannot be positioned.
The traditional oil pipeline oil theft prevention technology mostly adopts technologies such as manual patrol, video monitoring, unmanned aerial vehicle patrol, negative pressure wave, optical fiber vibration monitoring and the like, the manual patrol technology mostly depends on the experience of patrol personnel, and the patrol state cannot be kept in real time; the video monitoring can only monitor the area where the camera is arranged, and cannot monitor the complex environment shaded by forests, lawns and houses; the unmanned aerial vehicle cannot be continuously monitored for 24 hours in patrol, and the missed inspection period is easy to occur; the negative pressure wave technology can realize 24-hour continuous monitoring, but is not sensitive enough to small-flow oil theft and is difficult to find accurately in time; the optical fiber vibration monitoring technology can realize 24-hour continuous monitoring by arranging the sensing optical cable outside the oil-gas pipeline and giving an alarm by sensing the vibration of the optical cable during excavation, but the optical cable outside the pipe is easily damaged intentionally, and the scheme can not exert due effects after multiple places are damaged intentionally. Meanwhile, for oil pipeline leakage monitoring, the problem can only be found through oil transportation flow change in the traditional technology, the scheme is insensitive to small flow change, the problem is difficult to find, and meanwhile, the leakage point cannot be positioned.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides the device and the method for monitoring the oil stealing and leakage of the optical cable in the oil pipeline, which have reasonable design, overcome the defects of the prior art and have good effect.
In order to achieve the purpose, the invention adopts the following technical scheme:
an oil stealing and leakage monitoring device for an optical cable in an oil pipeline comprises a main server, a pipeline state monitoring system, a watertight optical cable connector, an optical cable jumper, a high-pressure-resistant perforated short-circuit optical fiber flange kit and an oil-resistant armored optical cable;
the pipeline state monitoring system comprises a first pipeline state monitoring system and a second pipeline state monitoring system;
the main server controls the first pipeline state monitoring system and the second pipeline state monitoring system through a wired/wireless network;
the first pipeline state monitoring system is a pipeline state monitoring subsystem at the initial position of a monitored section of an oil pipeline and is connected with an oil-resistant armored optical cable through an optical cable jumper, a watertight optical cable connector and a high-pressure-resistant perforated short-circuit optical fiber flange suite;
the second pipeline state monitoring system is a pipeline state monitoring subsystem at the monitored end position of the oil pipeline and is connected with the oil-resistant armored optical cable through an optical cable jumper, a watertight optical cable connector and a high-pressure-resistant perforated short-circuit optical fiber flange suite;
the watertight optical cable connector can ensure normal transmission and test of optical signals in the oil-resistant armored optical cable in an oil pipeline below 6MPa through the high-pressure-resistant perforated short-circuit optical fiber flange sleeve;
the optical cable jumper is mainly used for connecting the first pipeline state monitoring system and the second pipeline state monitoring system with the oil-resistant armored optical cable through watertight optical cable connectors and high-pressure-resistant perforated short-circuit optical fiber flange kits, or connecting the oil-resistant armored optical cable separated by the pipeline gate with the oil-resistant armored optical cable through the watertight optical cable connectors and the high-pressure-resistant perforated short-circuit optical fiber flange kits;
the oil-proof armored optical cable is provided with watertight optical cable connectors at two ends.
Preferably, the first pipeline monitoring system and the second pipeline monitoring system in the pipeline state monitoring system each include the following structures:
the device comprises a CPU module, a first laser control module, a 1550nm optical isolator, a 1550nm1:9 optical coupler, a 1550nm frequency shift modulation module, a 1550nm pulse modulation module, an EDFA, a circulator, a 1550nm1:1 coupler, a polarization scrambler module, a first O/E module, a high-pass filter, a first pre-amplification module, a first A/D module, a first acquisition module, a WDM, a second O/E module, a second pre-amplification module, a second A/D module, a second acquisition module, a third O/E module, a third pre-amplification module, a third A/D module, a third acquisition module and a measured optical fiber/optical cable;
the CPU module, the first laser control module, the 1550nm optical isolator and the 1550nm1:9 optical coupler are sequentially connected through a circuit; the 1550nm1:9 optical coupler has 90% output port connected to the 1550nm frequency shift modulation module and 10% output port connected to the scrambler module; one ends of the 1550nm frequency shift modulation module, the 1550nm pulse modulation module, the EDFA and the circulator are sequentially connected through a line; two 50% output ends of the 1550nm1:1 coupler are respectively connected with the other ends of the polarization scrambler module and the circulator, and the input end of the polarization scrambler module is connected with the first O/E module; the third end of the circulator is connected with a 1550nm port of the WDM;
the first O/E module, the high-pass filter, the first pre-amplification module, the first A/D module, the first acquisition module and the CPU module are sequentially connected through a circuit;
the second O/E module, the second pre-amplification module, the second A/D module, the second acquisition module and the CPU module are sequentially connected through a line; the second O/E module is connected with 1455nm port of WDM;
the third O/E module, the third pre-amplification module, the third A/D module, the third acquisition module and the CPU module are sequentially connected through a line; the third O/E module is connected with a 1660nm port of the WDM;
the output end of the WDM is connected with the tested optical fiber/optical cable;
preferably, the working wavelength range of the 1550nm laser is 1550nm +/-5 nm; the pulse modulation range of the 1550nm pulse modulation module is 1 ns-16380 ns; the second O/E module is a photoelectric conversion module.
In addition, the invention also provides an oil stealing and leakage monitoring method for the optical cable in the oil pipeline, which adopts the oil stealing and leakage monitoring device for the optical cable in the oil pipeline and comprises the following specific steps:
step 101: determining whether the tested pipeline is an old pipeline reconstruction or a new pipeline construction;
step 102: determining whether an old pipeline is reconstructed, if so, turning to a step 103, otherwise, turning to a step 110;
step 103: carrying out on-site investigation along the laying path of the old pipeline, carrying out detailed investigation on the current condition, the surrounding environment and the like of the pipeline, making engineering design and construction plan, and preparing required materials;
step 104: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 105: waiting for renovating and maintaining the emptying pipeline of the whole section of pipeline;
step 106: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 107: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 108: at the punching position of the outlet of each oil-resistant armored optical cable in the pipe, connecting a high-pressure-resistant perforated short-circuit optical fiber flange kit with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, and fixing the high-pressure-resistant perforated short-circuit optical fiber flange kit on a pipeline from the punching position of the outlet of the optical cable;
step 109: after the pipeline needing to be provided with the optical cable in the pipe is arranged, connecting each section of pipeline through an optical cable jumper and accessing the pipeline into a pipeline state monitoring system, and turning to step 119;
step 110: entering a new pipeline construction process;
step 111: carrying out on-site investigation along the laying path of the new pipeline, and making the engineering design and the construction plan of the system according to the construction plan of the new pipeline to prepare required materials;
step 112: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 113: waiting for the new pipeline of the current subsection to be laid;
step 114: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 115: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 116: at the punching position of the outlet of each oil-resistant armored optical cable in the pipe, connecting a high-pressure-resistant perforated short-circuit optical fiber flange kit with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, and fixing the high-pressure-resistant perforated short-circuit optical fiber flange kit on a pipeline from the punching position of the outlet of the optical cable;
step 117: judging whether all 1-DN segments are laid, if not, entering the laying of the next segment, turning to the step 113, and if yes, turning to the step 118;
step 118: connecting all sections of pipelines through optical cable jumpers and connecting the pipelines into a pipeline state monitoring system;
step 119: testing the optical cable in the pipe through a pipeline state monitoring system;
step 120: judging whether the test is successful, if the test is failed, turning to a step 121, and if the test is successful, turning to a step 122;
step 121: sequentially checking all optical cable lines and troubleshooting problems;
step 122: and finishing the ending work.
Preferably, the method for testing the reference data of the pipeline state monitoring system specifically comprises the following steps:
step 201: starting up a main server;
step 202: self-checking the database;
step 203: judging whether the self-checking is passed or not, if not, turning to the step 204, and turning to the step 205;
step 204: displaying, recording and reporting alarm information;
step 205: reading test parameters from a database, setting the reference test time BT as 10s and the reference test times as 10 times;
step 206: communicating with a first pipeline state monitoring system for self-checking;
step 207: judging whether the self-checking passes or not, if not, turning to step 208;
step 208: displaying, recording and reporting alarm information, and turning to step 206;
step 209: communicating with a second pipeline state monitoring system for self-checking;
step 210: judging whether the self-checking passes or not, if so, turning to step 212, and not turning to step 211;
step 211: displaying, recording and reporting alarm information, and turning to step 209;
step 212: setting test parameters to a first pipeline state monitoring system and a second pipeline state monitoring system;
step 213: starting a benchmark test;
step 214: stopping the test of the second pipeline state monitoring system, and starting a benchmark test function of the first pipeline state monitoring system;
step 215: monitoring the state of a first pipeline state monitoring system through communication, and waiting for the first pipeline state monitoring system to complete a benchmark test function;
step 216: reading a reference vibration frequency data set BVFDATA of the first pipeline state monitoring system, taking the reference vibration frequency data set BVFDATA as a reference vibration frequency data set BVFDATA1 of the first pipeline state monitoring system, reading a reference temperature data set BTDATA of the first pipeline state monitoring system, taking the reference temperature data set BTDATA as a reference temperature data set BTDATA1 of the first pipeline state monitoring system, and storing the reference temperature data set BTDATA in a database;
step 217: stopping the benchmark test of the first pipeline state monitoring system and starting the benchmark test function of the second pipeline state monitoring system;
step 218: monitoring the system state through the second pipeline state, and waiting for the system to complete the benchmark test function;
step 219: reading a reference vibration frequency data set BVFDATA of the second pipeline state monitoring system, taking the reference vibration frequency data set BVFDATA as a reference vibration frequency data set BVFDATA2 of the second pipeline state monitoring system, reading a reference temperature data set BTDATA of the second pipeline state monitoring system, taking the reference temperature data set BTDATA as a reference temperature data set BTDATA2 of the second pipeline state monitoring system, and storing the reference temperature data set BTDATA in a database;
step 220: and logging out of the server system.
Preferably, the working method of the normal monitoring condition of the pipeline state monitoring system specifically includes the following steps:
step 301: starting a main server;
step 302: self-checking the database, wherein the self-checking is not passed to the step 303, and the self-checking is passed to the step 304;
step 303: displaying, recording and reporting alarm information, and turning to step 302;
step 304: self-checking and passing;
step 305: reading test parameters from a database, and setting the alternative test time TL within the range of 30 seconds to 10 minutes;
step 306: communicating with a first pipeline state monitoring system for self-checking;
step 307: if the self-check is passed, go to step 308, go to step 309;
step 308: displaying, recording and reporting alarm information, and turning to step 306;
step 309: communicating with a second pipeline state monitoring system for self-checking;
step 310: if the self-check is passed, go to step 311, go to step 312;
step 311: displaying, recording and reporting alarm information, and turning to step 309;
step 312: setting test parameters to a first pipeline state monitoring system and a second pipeline state monitoring system;
step 313: clearing a test timer TLTIME;
step 314: stopping the test of the second pipeline state monitoring system, starting the test of the first pipeline state monitoring system, and starting a cycle timing thread;
step 315: waiting for the first pipeline state monitoring system to test alarm information;
step 316: refresh test timer TLTIME;
step 317: judging whether alarm information is received, if not, transferring to step 318, and transferring to step 319;
step 318: judging whether TLTIME is larger than or equal to TL, if so, turning to step 320, and if not, turning to step 315;
step 319: displaying, recording and reporting alarm information, and turning to step 318;
step 320: clearing a test timer TLTIME;
step 321: stopping the test of the first pipeline state monitoring system, starting the test of the second pipeline state monitoring system, and starting a cycle timing thread;
step 322: waiting for the second pipeline state monitoring system to test alarm information;
step 323: refresh test timer TLTIME;
step 324: judging whether alarm information is received or not, if not, turning to step 325, and if yes, turning to step 326;
step 325: judging whether TLTIME is larger than or equal to TL, if yes, turning to step 327, and if not, turning to step 322;
step 326: displaying, recording and reporting alarm information, and turning to step 325;
step 327: checking whether the administrator stops the test, yes to step 328, no to step 313;
step 328: and logging out of the server system.
Preferably, the first pipeline condition monitoring system benchmarking method in step 214, and the second pipeline condition monitoring system benchmarking method in step 217, each include the steps of:
step 401: starting a benchmark test function;
step 402: reading a set parameter pulse width PW; reading a measuring range RN; reading a vibration distance resolution VSD; reading a temperature distance resolution TSD; reading vibration test time VTTIME; reading vibration frequency analysis time VTANYS; reading temperature test time TTTIME; reading a base number DN;
step 403: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km);
calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km);
calculating vibration distance data quantity VN (equal to RN/VSD)
Calculating vibration time data amount VM as VTANYS/VTTIME
Calculating the temperature distance data quantity TN (RN)/TSD;
step 404: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 405: starting acquisition and pulse generation time sequence control, and turning to step 406 and step 418;
step 406: starting a temperature testing thread;
step 407: temporarily counting NVTI equal to 0, and initializing temperature data TDATA [1 to DN ] [1 to TN ];
step 408: reading states of the second acquisition module and the third acquisition module;
step 409: judging whether the temperature test is finished for 1 time or not; yes to go to step 410, no to step 408;
step 410: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 411: calculating temperature distribution data TD [1 to TN ] according to TDS [1 to TN ] and TDAS [1 to TN ], TDATA [ NVTI ] [1 to TN ] ═ TD [1 to TN ];
step 412: judging whether NVTI is more than or equal to DN, if yes, turning to step 414, and if not, turning to step 413;
step 413: NVTI +1, go to step 408
Step 414: analyzing a reference temperature data set BTDATA according to TDATA [ 1-DN ] [ 1-TN ];
step 415: ending the temperature testing thread, and turning to step 427;
step 416: starting a vibration testing thread;
step 417: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration data VDATA [1 to DN ] [1 to VM ] [1 to VN ];
step 418: reading the state of a first acquisition module;
step 419: judging whether the vibration test is finished for 1 time, if yes, turning to step 420, and if not, turning to step 418;
step 420: reading collected data VD [ 1-VN ], and enabling VDATA [ NVTJ +1] [ NVTI +1] [ 1-VN ] to be VD [ 1-VN ];
step 421: judging whether NVTI is larger than or equal to VM, if yes, turning to step 423, and if not, turning to step 422
Step 422: NVTI +1, go to step 418;
step 423: judging whether NVTJ is larger than or equal to DN, if yes, turning to step 425, and if not, turning to step 424;
step 424: NVTJ is NVTJ + 1;
NVTI is 0, go to step 418;
step 425: analyzing a reference vibration frequency data set BVFDATA according to VDATA [ 1-DN ] [ 1-VM ] [ 1-VN ];
step 426: ending the vibration testing thread, and turning to step 427;
step 427: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting BVFDATA and BTDATA to the server.
Preferably, in step 414, the method for analyzing the reference temperature data set includes the following specific steps:
step 41601: reading temperature data TDATA 1-DN 1-TN;
step 41602: the provisional count I ═ 0, J ═ 0; initializing a reference temperature data set BTDATA [ 1-TN ];
step 41603: temporary data TT is 0;
step 41604: TT + TDATA [ I +1] [ J +1 ];
step 41605: judging whether I is not less than DN, if yes, turning to step 41607, and if not, turning to step 41606;
step 41606: turning to step 41604, I ═ I + 1;
step 41607: BTDATA [ J ] ═ TT;
step 41608: judging whether J is larger than or equal to TN, if so, turning to a step 41610, and if not, turning to a step 41609;
step 41609: j equals J +1, go to step 41603;
step 41610: the reference temperature data set BTDATA is returned.
Preferably, in step 425, the method for analyzing the reference vibration frequency data set includes the following specific steps:
step 42701: reading vibration data VDATA 1-DN 1-VM 1-VN, reading vibration determination threshold VITH,
initializing all data in a reference vibration frequency data set BVFDATA to zero, wherein the BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet termination frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 42702: initializing a temporary variable I ═ 0, J ═ 0, and K ═ 0; initializing temporary frequency data FTDATA [ 1-VM ] as 0;
step 42703: FTDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 42704: initializing a temporary variable P ═ 0;
step 42705: judging whether FTDATA [ P +1] is less than or equal to VITH, if yes, turning to the step 42706, and if not, turning to the step 42707;
step 42706: FTDATA [ P +1] ═ 0, go to step 42707;
step 42707: judging whether P is less than or equal to VM, if yes, turning to a step 42708, and if not, turning to a step 42709;
step 42708: turning to step 42705 when P is P + 1;
step 42709: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 42710: judging whether FTDATA [ P +1] >0, if yes, turning to step 42712, and if not, turning to step 42711;
step 42711: turning to step 42710 when P is P + 1;
step 42712: p ═ 0 or FTDATA [ P ] ═ 0;
step 42713: FS ═ P +1, Q ═ P + 1;
step 42714: judging whether FTDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 42716, and if not, turning to step 42715;
step 42715: turning to step 42714 when Q is Q + 1;
step 42716: judging whether Q +1 is larger than or equal to VM, if so, turning to a step 42717, and if not, turning to a step 42718;
step 42717: step 42719 is performed after FE + Q and FC are the subscripts of the positions of FTDATA [ FS to FE ];
step 42718: the position subscripts of FE ═ Q and FC ═ FTDATA [ FS-FE ];
step 42719: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 42720, if no, then go to step 42721;
step 42720: turning to step 42724 when P is Q +1 and FT is 0;
step 42721: p ═ Q +1, FT ═ 0;
step 42722: performing frequency wave packet data repeat analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ] and BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA, and if no repeat wave packet data is found, adding FS, FE and FC data to the data;
step 42723: judging whether P < VM, if yes, turning to a step 42705, and if not, turning to a step 42724;
step 42724: judging whether J is less than VN, if so, turning to a step 42725, and if not, turning to a step 42726;
step 42725: j is J +1, go to step 42703;
step 42726: judging whether the I < DN is transferred to the step 42727 or not, and transferring to the step 42728;
step 42727: turning to step 42702 when D is D + 1;
step 42728: the reference vibration data set BVFDATA is returned.
Preferably, in step 42722, the method for repeatedly analyzing the frequency wave packet data of the reference vibration frequency data set specifically includes the following steps:
step 42751: reading FS, FC, FE data, and starting to perform frequency wave packet data repeated analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ], BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA;
step 42752: BVFDATA _ N [ J ] > 0;
step 42753: initializing temporary count BVFNT 1, repeat flag BREP 0, initializing temporary variables FST, FCT, FET, FN, NMAX BVFDATA _ N [ J ];
step 42754: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 42757, and if not, turning to step 42755;
step 42755: judging whether BVFNT < NMAX, if yes, turning to step 42756, and if not, turning to step 42758;
step 42756: BVFNT ═ BVFNT +1, go to step 42754;
step 42757: turning to step 42758 when BREP is 1;
step 42758: judging whether the BREP value is 0, if so, turning to a step 42760, and if not, turning to a step 42759;
step 42759: FS, FC, FE belong to the repeated frequency wave packet, and are not increased, go to step 42787;
step 42760: judging whether BVFDATA _ N [ J ] <1, if yes, going to step 42763, if no, going to step 42761;
step 42761: FN is 1, FST is FS, FCT is FC, FET is FE;
step 42762: BVFDATA _ N [ J ] ═ 1, BVFDATA _ PF [ J ] [ FN ] ═ FCT, BVFDATA _ SF [ J ] [ FN ] ═ FST, BVFDATA _ EF [ J ] [ FN ] ═ FET;
step 42763: judging whether FC < BVFDATA _ PF [ J ] [1], if yes, turning to step 42764, and if not, turning to step 42769;
step 42764: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [1], if yes, turning to step 42766, and if not, turning to step 42765;
step 42765: go to step 42767 if FET is FE;
step 42766: FET ═ BVFDATA _ SF [ J ] [1] -1;
step 42767: FN is equal to 1, FST is equal to FS, FCT is equal to FC;
step 42768: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][2~NMAX]=BVFDATA_PF[J][1~NMAX-1],BVFDATA_PF[J][1]=FC,
BVFDATA_SF[J][2~NMAX]=BVFDATA_SF[J][1~NMAX-1],BVFDATA_SF[J][1]=FS,
BVFDATA_EF[J][2~NMAX]=BVFDATA_EF[J][1~NMAX-1],BVFDATA_EF[J][1]=FE;
step 42769: judging whether FC is larger than BVFDATA _ PF [ J ] [ NMAX ], if yes, turning to the step 42770, and if not, turning to the step 42775;
step 42770: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ NMAX ], if yes, turning to the step 42772, and if not, turning to the step 42771;
step 42771: turning to step 42773 when FST is equal to FS;
step 42772: FST ═ BVFDATA _ EF [ J ] [ NAMX ] + 1;
step 42773: FN ═ NMAX +1, FET ═ FE, FCT ═ FC;
step 42774: BVFDATA _ N [ J ] -, BVFDATA _ N [ J ] +1, BVFDATA _ PF [ J ] [ FN ] -, FC,
BVFDATA_SF[J][FN]=FS,BVFDATA_EF[J][FN]=FE;
step 42775: initializing IIII as 1;
step 42776: judging whether FC > BVFDATA _ PF [ J ] [ IIII ], if yes, turning to step 42779 and step 42782, and if no, turning to step 42777;
step 42777: IIII < NMAX-1;
step 42778: turning to step 42776 if IIII is IIII + 1;
step 42779: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ IIII ], if yes, turning to the step 42781, and if not, turning to the step 42780;
step 42780: turning to step 42785 when FST is equal to FS;
step 42781: (vii) FST ═ BVFDATA _ EF [ J ] [ IIII ] +1, go to step 42785;
step 42782: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [ IIII +1], if yes, turning to the step 42783, and if not, turning to the step 42784;
step 42783: (vii) FET BVFDATA _ SF [ J ] [ IIII +1] -1, go to step 42785;
step 42784: turning to step 42785 if the FET is FE;
step 42785: FN ═ IIII +1, FCT ═ FC;
step 42786: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][FN+1~NMAX+1]=BVFDATA_PF[J][FN~NMAX], BVFDATA_PF[J][FN]=FCT,
BVFDATA_SF[J][FN+1~NMAX+1]=BVFDATA_SF[J][FN~NMAX], BVFDATA_SF[J][FN]=FST, BVFDATA_EF[J][FN+1~NMAX+1]=BVFDATA_EF[J][FN~NMAX], BVFDATA_EF[J][FN]=FET;
step 42787: the reference vibration frequency data set BVFDATA is returned.
Preferably, the normal working method of the pipeline state monitoring system specifically comprises the following steps:
step 501: starting an alarm test function;
step 502: reading setting parameters including pulse width PW, measuring range RN, vibration distance resolution VSD, temperature distance resolution TSD, vibration test time VTTIME, vibration frequency analysis time VTANYS, temperature test time TTTIME, vibration judgment threshold VITH, vibration duration threshold VTTH, temperature judgment threshold TITH, temperature duration threshold TTTH, reference vibration frequency data set BVFDATA and reference temperature data set BTDATA;
step 503: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km); calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km); calculating the vibration distance data quantity VN to be RN/VSD; calculating the vibration time data amount VM as VTANYS/VTTIME; calculating the temperature distance data quantity TN (RN)/TSD; calculating a temperature duration time threshold value TTTHN (TTTH/TTTIME) 1.1; calculating a vibration duration time threshold value VTTHN (VTTH/VTANYS) 1.1;
step 504: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 505: starting a normal alarm test, and turning to step 506 and step 518;
step 506: starting a temperature testing thread;
step 507: temporarily counting NVTI equal to 0, and initializing temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ] equal to 0;
step 508: reading states of the second acquisition module and the third acquisition module;
step 509: judging whether the temperature test is finished for 1 time, if yes, turning to step 510, and if not, turning to step 508;
step 510: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 511: calculating temperature distribution data TD [ 1-TN ] according to TDS [ 1-VN ] and TDAS [ 1-TN ];
step 512: pressing TD [ 1-VN ] into temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ];
step 513: judging whether NVTI is more than or equal to TTTHN-1, if yes, turning to step 515, and if no, turning to step 514
Step 514: turning to step 508 when NVTI is NVTI + 1;
step 515: analyzing whether temperature alarm data exist in TDATA (1-TTTHN) (1-TN), and if the temperature alarm data exist, sending a temperature leakage alarm information data set WTIDATA to a main server;
step 516: judging whether the test ending information is received, if yes, turning to a step 517, and if not, turning to a step 514;
517: ending the temperature testing thread, and turning to step 531;
step 518: starting a vibration testing thread;
step 519: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration stack data VDATA [1 to VTTHN ] [1 to VM ] [1 to VN ]
Initializing temporary vibration data VDATA _ T [ 1-VM ] [ 1-VN ];
step 520: reading the state of the acquisition module 1;
step 521: judging whether the vibration test is finished for 1 time, if yes, turning to step 522, and if not, turning to step 520;
step 522: reading collected data VD 1-VN,
VDATA_T[NVTI+1][1~VN]=VD[1~VN];
step 523: judging whether NVTI is larger than or equal to VM, if yes, turning to step 525, and if not, turning to step 524;
step 524: turning to step 520, when NVTI is NVTI + 1;
step 525: pressing VDATA _ T [ 1-VTTHN ] [ 1-VN ] into the vibration stack data VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ];
step 526: judging whether NVTJ is larger than or equal to VTTHN, if yes, turning to a step 528, and if not, turning to a step 527;
step 527: NVTJ +1
Turning to step 520 when NVTI is 0;
step 528: analyzing whether the VDATA (1-VTTHN) (1-VM) (1-VN) needs vibration leakage alarm or not, and if the vibration leakage alarm is needed, sending a vibration leakage alarm data set WVIDATA to a general server;
step 529: judging whether test ending information is received, if yes, turning to step 530, and if not, turning to step 527;
step 530: ending the vibration testing thread;
step 531: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting WTIDATA and WVIDATA to the server.
Preferably, in step 515, the method for analyzing temperature alarm data specifically includes the following steps:
step 51501: reading TDATA [ 1-TTTHN ] [ 1-TN ], reading a set parameter pulse width PW, a temperature distance resolution TSD, a temperature judgment threshold TITH, a temperature duration time threshold TTTH, a temperature duration time threshold TTTHN and a reference temperature data set BTDATA, wherein the internal data of the reference temperature data set BTDATA [ 1-TN ];
step 51502: initializing a leakage alarm information data set WTIDATA, wherein WTIDATA _ N is equal to 0, and WTIDATA _ DIS [ 1-TN ];
step 51503: initializing differential data DTDATA [1 to TTTHN ] [1 to TN ] ═ 0, and temporarily counting III ═ 1;
step 51504: calculating differential data DTDATA [ III ] [1 to TN ] ═ TDATA [ III ] [1 to TN ] -BTDATA [1 to TN ];
step 51505: judging whether III is less than TTTHN, if yes, turning to a step 51506, and if not, turning to a step 51507;
step 51506: if III is III +1, go to step 51504;
step 51507: calculating a temperature event distance threshold value TDTHN (PW/10 ns 1 m/TSD), wherein the minimum value is 1;
the threshold value TTN of the duration times of the temporary temperature events is TTTH/TTTIME, and the minimum value is 1; (ii) a
Step 51508: initializing temporary determination data DPD [1 to TN ] ═ 0, temporary count III ═ 1, and JJJ ═ 1;
step 51509: judging whether DTDATA [ III ] [ JJJ ] ≦ -1 × TITI, if yes, turning to the step 51510, and if not, turning to the step 51511;
step 51510: DPD [ jjjj ] ═ DPD [ JJJ ] + 1;
step 51511: judging whether JJJ < TN, if yes, turning to the step 51512, and if not, turning to the step 51513;
step 51512: step 51509 is executed if JJJ is equal to JJJ + 1;
step 51513: judging whether III < TTTHN, if yes, turning to step 51514, and if not, turning to step 51515;
step 51514: III ═ III +1
Step 51509 is executed if JJJ is equal to 1;
step 51515: temporary count III ═ 1
Step 51516: judging whether DPD [ III ] is equal to or larger than TN, if yes, turning to step 51518, and if not, turning to step 51517;
step 51517: if III is III +1, go to step 51516;
step 51518: temporary count jjjj ═ 1, BW ═ 1
Step 51519: judging whether DPD [ III + JJ ] is more than or equal to TN, if yes, turning to the step 51520, and if not, turning to the step 51522;
step 51520: judging whether III + JJ > TTN, if yes, turning to step 51522, and if not, turning to step 51521
Step 51521: turning to step 51519 if JJJ is JJJ + 1;
step 51522: WTIDATA _ N ═ WTIDATA _ N +1
WTIDATA_DIS[WTIDATA_N]=III;
Step 51523: judging whether III + JJ > TN-1 or not, if yes, turning to step 51525, and if not, turning to step 51524;
step 51524: if III is III + JJJ +1, go to step 51516
Step 51525: and returning a leakage alarm information data set WTIDATA.
Preferably, in step 528, the method for analyzing the vibration leakage alarm data specifically includes the following steps:
step 52801: reading VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ], reading a vibration determination threshold VITH, and reading a reference vibration frequency data set BVFDATA, wherein BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet ending frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 52802: the temporary vibration event duration threshold VVN is TTTH/TTTIME, the minimum value is 1, and a leakage alarm information data set WVIDATA is initialized, including WVIDATA _ N is 0, WVIDATA _ DIS [1 to VN ];
step 52803: initializing the temporary variables I ═ 0, J ═ 0, and K ═ 0
Initializing temporary frequency data VFDATA [1 to VM ] ═ 0;
step 52804: VFDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 52805: initializing a temporary variable P ═ 0;
step 52806: judging whether VFDATA [ P +1] is less than or equal to VITH, if yes, turning to step 52807, and if not, turning to step 52808;
step 52807: VFDATA [ P +1] ═ 0;
step 52808: judging whether P is less than or equal to VM, if yes, turning to step 52809, and if not, turning to step 52810;
step 52809: turning to step 52806 when P is P + 1;
step 52810: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 52811: judging whether VFDATA [ P +1] >0, if yes, going to step 52813, if no, going to step 52812;
step 52812: determining whether P is equal to 0 or VFDATA [ P ] is equal to 0, if yes, go to step 52813, if no, go to step 52814;
step 52813: go to step 52811 if P + 1;
step 52814: FS ═ P +1, Q ═ P + 1;
step 52815: judging whether VFDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 52816, and if no, turning to step 52817;
step 52816: go to step 52815 when Q is Q + 1;
step 52817: judging whether Q +1 is more than or equal to VM, if yes, turning to step 52818, and if not, turning to step 52819;
step 52818: step 52820 is executed if FE is Q +1 and FC is VFDATA [ FS to FE ] as the position subscript;
step 52819: the position subscripts of FE ═ Q and FC ═ VFDATA [ FS-FE ];
step 52820: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 52822, and if no, then go to step 52821;
step 52821: go to step 52829 when P is Q +1 and FT is 0;
step 52822: p ═ Q +1, FT ═ 0;
step 52823: initializing a temporary count BVFNT ═ 1, NMAX ═ BVFDATA _ N [ J ];
step 52824: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 52825, and if no, turning to step 52827;
step 52825: determining whether BVFNT < NMAX, yes to step 52826, no to step 52827;
step 52826: BVFNT ═ BVFNT + 1;
step 52827: judging whether the BVFNT is more than or equal to VVN, turning to step 52828, and turning to step 52829;
step 52828: WVIDATA _ N ═ WVIDATA _ N +1, and WVIDATA _ DIS [ J ] ═ FC, go to step 52830;
step 52829: determine if P < VM, go to 52830, no go to 52824;
step 52830: determine if J < VN, proceed to 52831, and proceed to 52832;
step 52831: j equals J +1, go to step 52804;
step 52832: judging whether I < DN, if yes, going to step 52833, and if not, going to step 52834;
step 52833: if I is equal to I +1, go to step 52804;
step 52834: and returning a leakage alarm information data set WTIDATA.
The invention has the following beneficial technical effects:
the invention provides a method for monitoring oil stealing and leakage of an optical cable in an oil pipeline, which is based on the technical principle of optical fiber vibration distribution testing, the optical cable is arranged in the oil pipeline, and the event analysis algorithm of the vibration distribution data and the temperature distribution data of the optical cable in the pipe is combined, so that the damage of lawless persons to the monitoring optical cable can be avoided, and when the lawless persons excavate the pipeline and drill the pipeline, by analyzing the vibration distribution data in the monitored oil pipeline and combining the difference between the vibration data and the vibration data in the pipeline at ordinary times, the oil stealing early warning system can perform early warning on timely oil stealing events, can perform analysis and early warning on vibration change generated when a pipeline leaks oil gas and oil pipeline temperature distribution data change when the pipeline leaks, find leakage points timely, deal with timely and avoid and reduce loss caused by subsequent environmental pollution problems caused by oil gas leakage.
(1) The sensing optical cable can be prevented from being damaged by the outside to influence the monitoring effect;
(2) the oil-gas pipeline can be continuously monitored for 24 hours, and the oil stealing and leakage timely early warning can be realized;
(3) the monitoring device can monitor newly-built oil and gas pipelines and can also improve the existing old pipelines to realize the monitoring effect.
Drawings
FIG. 1 is a schematic view of a general scheme of a method for monitoring oil stealing and leakage of an optical cable in an oil pipeline.
(a) The method is a schematic diagram of a pipeline oil stealing and leakage monitoring scheme based on optical cables arranged in an oil pipeline;
(b) the vibration frequency curve and the temperature distribution curve are schematic diagrams when no oil stealing/leakage exists;
(c) the invention is a schematic diagram of a vibration frequency curve and a temperature distribution curve when oil stealing/leakage occurs;
1-a main server; 2-a first pipeline condition monitoring system; 3-a second pipeline condition monitoring system; 4-watertight optical cable connectors; 5-optical cable jumper; 6-high pressure resistant perforated short-circuit optical fiber flange external member; 7-oil-resistant armored optical cable.
FIG. 2 is a schematic view of the working flow of the method for monitoring oil stealing and leakage of the optical cable in the oil pipeline
FIG. 3 is a schematic diagram of the assembly and post-assembly of a high pressure resistant holed short circuited optical fiber flange kit;
(a) assembling a schematic diagram for the high-pressure-resistant perforated short-circuit optical fiber flange kit;
(b) the high-pressure-resistant perforated short-circuit optical fiber flange kit is assembled;
FIG. 4 is a schematic diagram of an exemplary embodiment of a pipeline condition monitoring subsystem.
Wherein, 2-1-CPU module; 2-2-a first laser control module; 2-3-1550nm laser control module; 2-4-1550nm optical isolator; 2-5-1550nm1:9 optical coupler; 2-6-1550nm frequency shift modulation module; 2-7-1550nm pulse modulation module; 2-8-EDFA; 2-9-circulator; 2-10-1550nm1:1 coupler; 2-11-a polarization scrambler module; 2-12-a first O/E module; 2-13-high pass filter; 2-14-a first pre-amplification module; 2-15-a first a/D module; 2-16-a first acquisition module; 2-17-WDM; 2-18-a second O/E module; 2-19-a second pre-amplification module; 2-20-a second a/D module; 2-21-a second acquisition module; 2-22-third O/E module; 2-23-a third pre-amplification module; 2-24-a third a/D module; 2-25-a third acquisition module; 2-26-measured optical fiber/cable.
Fig. 5 is a schematic diagram of a workflow of starting benchmark data testing of a total server of the pipeline state monitoring system.
Fig. 6 is a schematic diagram of the working process of the pipeline condition monitoring system.
Fig. 7 is a schematic flow chart of the working flow of the pipeline state monitoring subsystem test analysis benchmark data.
FIG. 8 is a schematic diagram of a flow of analysis of a reference temperature data set of a pipeline condition monitoring subsystem.
FIG. 9 is a schematic diagram of a flow of analysis of a reference vibration data set of a pipeline condition monitoring subsystem.
FIG. 10 is a schematic diagram of a process of repeated analysis of frequency wave packet data in a reference vibration frequency data set
FIG. 11 is a schematic diagram of the normal operation of the pipeline condition monitoring subsystem.
Fig. 12 is a schematic view of a process of analyzing temperature alarm data of the pipeline state monitoring subsystem.
Fig. 13 is a schematic view of a flow chart of analyzing vibration leakage alarm data of the pipeline state monitoring subsystem.
Detailed Description
The invention is described in further detail below with reference to the following figures and detailed description:
the invention relates to an oil-stealing and leakage monitoring device for an optical cable in an oil pipeline, which has the overall scheme shown in figure 1, and the optical cable arranged in the pipeline is alternately and continuously tested by a pipeline state monitoring system at two ends controlled by a main server, so that the condition that the optical cable is broken to cause that the whole pipeline cannot be monitored is avoided.
A monitoring device for oil stealing and leakage of an optical cable in an oil pipeline comprises a main server 1, a first pipeline state monitoring system 2, a second pipeline state monitoring system 3, a watertight optical cable connector 4, an optical cable jumper 5, a high-pressure-resistant perforated short-circuit optical fiber flange kit 6 and an oil-resistant armored optical cable 7;
the main server controls the first pipeline state monitoring system and the second pipeline state monitoring system through a wired/wireless network;
the first pipeline state monitoring system is a pipeline state monitoring subsystem at the initial position of a monitored section of an oil pipeline and is connected with an oil-resistant armored optical cable 7 through an optical cable jumper 5, a watertight optical cable connector 4 and a high-pressure-resistant perforated short-circuit optical fiber flange suite 6;
the second pipeline state monitoring system is a pipeline state monitoring subsystem at the monitored end position of the oil pipeline and is connected with an oil-resistant armored optical cable 7 through an optical cable jumper 5, a watertight optical cable connector 4 and a high-pressure-resistant perforated short-circuit optical fiber flange suite 6;
the watertight optical cable connector 4 can ensure normal transmission and test of optical signals in the oil-resistant armored optical cable 7 in an oil pipeline with the pressure lower than 6MPa through the high-pressure-resistant perforated short-circuit optical fiber flange kit 6;
the optical cable jumper is mainly used for connecting the first pipeline state monitoring system 2 and the second pipeline state monitoring system 3 with the oil-resistant armored optical cable 7 through the watertight optical cable connector 4 and the high-pressure-resistant perforated short-circuit optical fiber flange suite 6, or connecting the oil-resistant armored optical cables 7 at two ends separated by the pipeline gate through the watertight optical cable connector 4 and the high-pressure-resistant perforated short-circuit optical fiber flange suite 6;
and the oil-resistant armored optical cable 7 is provided with watertight optical cable connectors 4 at two ends.
The flow of the method for monitoring oil stealing and leakage of the optical cable in the oil pipeline is shown in figure 2, and the method comprises the following specific steps:
step 101: determining whether the tested pipeline is an old pipeline reconstruction or a new pipeline construction;
step 102: determining whether an old pipeline is reconstructed, if so, turning to a step 103, otherwise, turning to a step 110;
step 103: carrying out on-site investigation along the laying path of the old pipeline, carrying out detailed investigation on the current condition, the surrounding environment and the like of the pipeline, making engineering design and construction plan, and preparing required materials;
step 104: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 105: waiting for renovating and maintaining the emptying pipeline of the whole section of pipeline;
step 106: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 107: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 108: at the position of the hole punched at the outlet of each oil-resistant armored optical cable in the pipe, a high-pressure-resistant perforated short-circuit optical fiber flange kit is connected with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, the high-pressure-resistant perforated short-circuit optical fiber flange kit is fixed on a pipeline from the position of the hole punched at the outlet of the optical cable, and the layout is schematically shown in fig. 3;
step 109: after the pipeline needing to be provided with the optical cable in the pipe is arranged, connecting each section of pipeline through an optical cable jumper and accessing the pipeline into a pipeline state monitoring system, and turning to step 119;
step 110: entering a new pipeline construction process;
step 111: carrying out on-site investigation along the laying path of the new pipeline, and making the engineering design and the construction plan of the system according to the construction plan of the new pipeline to prepare required materials;
step 112: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 113: waiting for the new pipeline of the current subsection to be laid;
step 114: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 115: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 116: at the punching position of the outlet of each oil-resistant armored optical cable in the pipe, connecting a high-pressure-resistant perforated short-circuit optical fiber flange kit with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, and fixing the high-pressure-resistant perforated short-circuit optical fiber flange kit on a pipeline from the punching position of the outlet of the optical cable; the layout is schematically shown in FIG. 3;
step 117: judging whether all 1-DN segments are laid, if not, entering the laying of the next segment, turning to the step 113, and if yes, turning to the step 118;
step 118: connecting all sections of pipelines through optical cable jumpers and connecting the pipelines into a pipeline state monitoring system;
step 119: testing the optical cable in the pipe through a pipeline state monitoring system;
step 120: judging whether the test is successful, if the test is failed, turning to a step 121, and if the test is successful, turning to a step 122;
step 121: sequentially checking all optical cable lines and troubleshooting problems;
step 122: and finishing the ending work.
The components of a typical embodiment of the pipeline state monitoring subsystem in the invention are shown in fig. 4, and the vibration and temperature state monitoring of the optical fiber/optical cable is realized through a single optical fiber, and the pipeline state monitoring subsystem specifically comprises the following components:
the device comprises a CPU module, a first laser control module, a 1550nm optical isolator, a 1550nm1:9 optical coupler, a 1550nm frequency shift modulation module, a 1550nm pulse modulation module, an EDFA, a circulator, a 1550nm1:1 coupler, a polarization scrambler module, a first O/E module, a high-pass filter, a first pre-amplification module, a first A/D module, a first acquisition module, a WDM, a second O/E module, a second pre-amplification module, a second A/D module, a second acquisition module, a third O/E module, a third pre-amplification module, a third A/D module, a third acquisition module and a measured optical fiber/optical cable;
the CPU module, the first laser control module, the 1550nm optical isolator and the 1550nm1:9 optical coupler are sequentially connected through a circuit; the 1550nm1:9 optical coupler has 90% output port connected to the 1550nm frequency shift modulation module and 10% output port connected to the scrambler module; one ends of the 1550nm frequency shift modulation module, the 1550nm pulse modulation module, the EDFA and the circulator are sequentially connected through a line; two 50% output ends of the 1550nm1:1 coupler are respectively connected with the other ends of the polarization scrambler module and the circulator, and the input end of the polarization scrambler module is connected with the first O/E module; the third end of the circulator is connected with a 1550nm port of the WDM;
the first O/E module, the high-pass filter, the first pre-amplification module, the first A/D module, the first acquisition module and the CPU module are sequentially connected through a circuit;
the second O/E module, the second pre-amplification module, the second A/D module, the second acquisition module and the CPU module are sequentially connected through a line; the second O/E module is connected with 1455nm port of WDM;
the third O/E module, the third pre-amplification module, the third A/D module, the third acquisition module and the CPU module are sequentially connected through a line; the third O/E module is connected with a 1660nm port of the WDM;
the output end of the WDM is connected with the tested optical fiber/optical cable;
the working wavelength range of the 1550nm laser is 1550nm +/-5 nm; the pulse modulation range of the 1550nm pulse modulation module is 1 ns-16380 ns; the second O/E module is a photoelectric conversion module.
In the invention, after the pipeline is laid and put into use, the reference data needs to be tested for the whole system when the initial test is carried out, the working flow of starting the reference data test by the general server of the pipeline state monitoring system is shown in figure 5, and the specific steps are as follows:
step 201: starting up a main server;
step 202: self-checking the database;
step 203: judging whether the self-checking is passed or not, if not, turning to the step 204, and turning to the step 205;
step 204: displaying, recording and reporting alarm information;
step 205: reading test parameters from a database, setting the reference test time BT as 10s and the reference test times as 10 times;
step 206: communicating with a pipeline state monitoring subsystem at the initial position of a monitored section of the oil pipeline for self-checking;
step 207: judging whether the self-checking passes or not, if not, turning to step 208;
step 208: displaying, recording and reporting alarm information, and turning to step 206;
step 209: communicating with a pipeline state monitoring subsystem at a monitored end point position of an oil pipeline for self-checking;
step 210: judging whether the self-checking passes or not, if so, turning to step 212, and not turning to step 211;
step 211: displaying, recording and reporting alarm information, and turning to step 209;
step 212: setting test parameters for a pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline and a pipeline state monitoring subsystem at the monitored end position of the oil pipeline;
step 213: starting a benchmark test;
step 214: stopping testing of the pipeline state monitoring subsystem at the monitored end position of the oil pipeline, starting a benchmark testing function of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline, and enabling the specific flow of the benchmark testing function to be visible in step 401;
step 215: monitoring the state of a pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline through communication, and waiting for the completion of a benchmark test function;
step 216: reading a reference vibration frequency data set BVFDATA of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline as a reference vibration frequency data set BVFDATA1 of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline, and a reference temperature data set BTDATA as a reference temperature data set BTDATA1 of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline, and storing the data into a database;
step 217: stopping the benchmark test of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline, and starting the benchmark test function of the pipeline state monitoring subsystem at the monitored end position of the oil pipeline; the specific flow of the benchmark test function is shown in step 401;
step 218: monitoring the state of a pipeline state monitoring subsystem at the monitored end position of the oil pipeline through communication, and waiting for the completion of a benchmark test function;
step 219: reading a reference vibration frequency data set BVFDATA of a pipeline state monitoring subsystem at a monitored end position of an oil pipeline as a reference vibration frequency data set BVFDATA2 of the pipeline state monitoring subsystem at the monitored end position of the oil pipeline, and a reference temperature data set BTDATA as a reference temperature data set BTDATA2 of the pipeline state monitoring subsystem at the monitored end position of the oil pipeline, and storing the data into a database;
step 220: and logging out of the server system.
The working flow of the normal monitoring condition of the pipeline state monitoring system is shown in fig. 6, and the specific steps are as follows:
step 301: starting a main server;
step 302: self-checking the database, wherein the self-checking is not passed to the step 303, and the self-checking is passed to the step 304;
step 303: displaying, recording and reporting alarm information, and turning to step 302;
step 304: self-checking and passing;
step 305: reading test parameters from a database, and setting the alternative test time TL within the range of 30 seconds to 10 minutes;
step 306: communicating with a pipeline state monitoring subsystem at the initial position of a monitored section of the oil pipeline for self-checking;
step 307: if the self-check is passed, go to step 308, go to step 309;
step 308: displaying, recording and reporting alarm information, and turning to step 306;
step 309: communicating with a pipeline state monitoring subsystem at a monitored end point position of an oil pipeline for self-checking;
step 310: if the self-check is passed, go to step 311, go to step 312;
step 311: displaying, recording and reporting alarm information, and turning to step 309;
step 312: setting test parameters for a pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline and a pipeline state monitoring subsystem at the monitored end position of the oil pipeline;
step 313: clearing a test timer TLTIME;
step 314: stopping testing of a pipeline state monitoring subsystem at a monitored end position of an oil pipeline, starting testing of the pipeline state monitoring subsystem at a monitored section initial position of the oil pipeline, and starting a cycle timing thread;
step 315: waiting for the test alarm information of the pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline;
step 316: refresh test timer TLTIME;
step 317: judging whether alarm information is received, if not, transferring to step 318, and transferring to step 319;
step 318: judging whether TLTIME is larger than or equal to TL, if so, turning to step 320, and if not, turning to step 315;
step 319: displaying, recording and reporting alarm information, and turning to step 318;
step 320: clearing a test timer TLTIME;
step 321: stopping testing of a pipeline state monitoring subsystem at the initial position of the monitored section of the oil pipeline, starting testing of the pipeline state monitoring subsystem at the monitored end position of the oil pipeline, and starting a cycle timing thread;
step 322: waiting for the test alarm information of the pipeline state monitoring subsystem at the monitored end point position of the oil pipeline;
step 323: refresh test timer TLTIME;
step 324: judging whether alarm information is received or not, if not, turning to step 325, and if yes, turning to step 326;
step 325: judging whether TLTIME is larger than or equal to TL, if yes, turning to step 327, and if not, turning to step 322;
step 326: displaying, recording and reporting alarm information, and turning to step 325;
step 327: checking whether the administrator stops the test, yes to step 328, no to step 313;
step 328: and logging out of the server system.
The pipeline state monitoring subsystem of the invention needs to collect and analyze the datum data before the subsystem is formally operated for the first time, and is used as the monitoring datum for alarming, the working flow of the pipeline state monitoring subsystem testing and analyzing datum data collection and analysis is shown in figure 7, and the concrete steps are as follows:
step 401: starting a benchmark test function;
step 402: reading a set parameter pulse width PW; reading a measuring range RN; reading a vibration distance resolution VSD; reading a temperature distance resolution TSD; reading vibration test time VTTIME; reading vibration frequency analysis time VTANYS; reading temperature test time TTTIME; reading a base number DN;
step 403: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km);
calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km);
calculating vibration distance data quantity VN (equal to RN/VSD)
Calculating vibration time data amount VM as VTANYS/VTTIME
Calculating the temperature distance data quantity TN (RN)/TSD;
step 404: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 405: starting acquisition and pulse generation time sequence control, and turning to step 406 and step 418;
step 406: starting a temperature testing thread;
step 407: temporarily counting NVTI equal to 0, and initializing temperature data TDATA [1 to DN ] [1 to TN ];
step 408: reading states of the second acquisition module and the third acquisition module;
step 409: judging whether the temperature test is finished for 1 time or not; yes to go to step 410, no to step 408;
step 410: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 411: calculating temperature distribution data TD [1 to TN ] according to TDS [1 to TN ] and TDAS [1 to TN ], TDATA [ NVTI ] [1 to TN ] ═ TD [1 to TN ];
step 412: judging whether NVTI is more than or equal to DN, if yes, turning to step 414, and if not, turning to step 413;
step 413: NVTI +1, go to step 408
Step 414: analyzing a reference temperature data set BTDATA according to TDATA [ 1-DN ] [ 1-TN ]; the specific steps are shown in 41601;
step 415: ending the temperature testing thread, and turning to step 427;
step 416: starting a vibration testing thread;
step 417: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration data VDATA [1 to DN ] [1 to VM ] [1 to VN ];
step 418: reading the state of a first acquisition module;
step 419: judging whether the vibration test is finished for 1 time, if yes, turning to step 420, and if not, turning to step 418;
step 420: reading collected data VD [ 1-VN ], and enabling VDATA [ NVTJ +1] [ NVTI +1] [ 1-VN ] to be VD [ 1-VN ];
step 421: judging whether NVTI is larger than or equal to VM, if yes, turning to step 423, and if not, turning to step 422
Step 422: NVTI +1, go to step 418;
step 423: judging whether NVTJ is larger than or equal to DN, if yes, turning to step 425, and if not, turning to step 424;
step 424: NVTJ is NVTJ + 1;
NVTI is 0, go to step 418;
step 425: analyzing a reference vibration frequency data set BVFDATA according to VDATA [ 1-DN ] [ 1-VM ] [ 1-VN ]; the specific steps are shown in 42701;
step 426: ending the vibration testing thread, and turning to step 427;
step 427: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting BVFDATA and BTDATA to the server.
The analysis flow of the reference temperature data set of the pipeline state monitoring subsystem in the invention is shown in fig. 8, and the specific steps are as follows:
step 41601: reading temperature data TDATA 1-DN 1-TN;
step 41602: the provisional count I ═ 0, J ═ 0; initializing a reference temperature data set BTDATA [ 1-TN ];
step 41603: temporary data TT is 0;
step 41604: TT + TDATA [ I +1] [ J +1 ];
step 41605: judging whether I is not less than DN, if yes, turning to step 41607, and if not, turning to step 41606;
step 41606: turning to step 41604, I ═ I + 1;
step 41607: BTDATA [ J ] ═ TT;
step 41608: judging whether J is larger than or equal to TN, if so, turning to a step 41610, and if not, turning to a step 41609;
step 41609: j equals J +1, go to step 41603;
step 41610: the reference temperature data set BTDATA is returned.
The analysis flow of the pipeline state monitoring subsystem reference vibration data set is shown in fig. 9, and the specific steps are as follows:
step 42701: reading vibration data VDATA 1-DN 1-VM 1-VN, reading vibration determination threshold VITH,
initializing all data in a reference vibration frequency data set BVFDATA to zero, wherein the BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet termination frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 42702: initializing a temporary variable I ═ 0, J ═ 0, and K ═ 0; initializing temporary frequency data FTDATA [ 1-VM ] as 0;
step 42703: FTDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 42704: initializing a temporary variable P ═ 0;
step 42705: judging whether FTDATA [ P +1] is less than or equal to VITH, if yes, turning to the step 42706, and if not, turning to the step 42707;
step 42706: FTDATA [ P +1] ═ 0, go to step 42707;
step 42707: judging whether P is less than or equal to VM, if yes, turning to a step 42708, and if not, turning to a step 42709;
step 42708: turning to step 42705 when P is P + 1;
step 42709: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 42710: judging whether FTDATA [ P +1] >0, if yes, turning to step 42712, and if not, turning to step 42711;
step 42711: turning to step 42710 when P is P + 1;
step 42712: p ═ 0 or FTDATA [ P ] ═ 0;
step 42713: FS ═ P +1, Q ═ P + 1;
step 42714: judging whether FTDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 42716, and if not, turning to step 42715;
step 42715: turning to step 42714 when Q is Q + 1;
step 42716: judging whether Q +1 is larger than or equal to VM, if so, turning to a step 42717, and if not, turning to a step 42718;
step 42717: step 42719 is performed after FE + Q and FC are the subscripts of the positions of FTDATA [ FS to FE ];
step 42718: the position subscripts of FE ═ Q and FC ═ FTDATA [ FS-FE ];
step 42719: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 42720, if no, then go to step 42721;
step 42720: turning to step 42724 when P is Q +1 and FT is 0;
step 42721: p ═ Q +1, FT ═ 0;
step 42722: performing frequency wave packet data repeat analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ] and BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA, and if no repeat wave packet data is found, adding FS, FE and FC data to the data; the specific steps are shown in step 42751;
step 42723: judging whether P < VM, if yes, turning to a step 42705, and if not, turning to a step 42724;
step 42724: judging whether J is less than VN, if so, turning to a step 42725, and if not, turning to a step 42726;
step 42725: j is J +1, go to step 42703;
step 42726: judging whether the I < DN is transferred to the step 42727 or not, and transferring to the step 42728;
step 42727: turning to step 42702 when D is D + 1;
step 42728: the reference vibration data set BVFDATA is returned.
The flow of repeatedly analyzing the frequency wave packet data of the reference vibration frequency data set in the process of analyzing the reference vibration data set of the pipeline state monitoring subsystem in the invention is shown in fig. 10, and the specific steps are as follows:
step 42751: reading FS, FC, FE data, and starting to perform frequency wave packet data repeated analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ], BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA;
step 42752: BVFDATA _ N [ J ] > 0;
step 42753: initializing temporary count BVFNT 1, repeat flag BREP 0, initializing temporary variables FST, FCT, FET, FN, NMAX BVFDATA _ N [ J ];
step 42754: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 42757, and if not, turning to step 42755;
step 42755: judging whether BVFNT < NMAX, if yes, turning to step 42756, and if not, turning to step 42758;
step 42756: BVFNT ═ BVFNT +1, go to step 42754;
step 42757: turning to step 42758 when BREP is 1;
step 42758: judging whether the BREP value is 0, if so, turning to a step 42760, and if not, turning to a step 42759;
step 42759: FS, FC, FE belong to the repeated frequency wave packet, and are not increased, go to step 42787;
step 42760: judging whether BVFDATA _ N [ J ] <1, if yes, going to step 42763, if no, going to step 42761;
step 42761: FN is 1, FST is FS, FCT is FC, FET is FE;
step 42762: BVFDATA _ N [ J ] ═ 1, BVFDATA _ PF [ J ] [ FN ] ═ FCT, BVFDATA _ SF [ J ] [ FN ] ═ FST, BVFDATA _ EF [ J ] [ FN ] ═ FET;
step 42763: judging whether FC < BVFDATA _ PF [ J ] [1], if yes, turning to step 42764, and if not, turning to step 42769;
step 42764: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [1], if yes, turning to step 42766, and if not, turning to step 42765;
step 42765: go to step 42767 if FET is FE;
step 42766: FET ═ BVFDATA _ SF [ J ] [1] -1;
step 42767: FN is equal to 1, FST is equal to FS, FCT is equal to FC;
step 42768: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][2~NMAX]=BVFDATA_PF[J][1~NMAX-1],BVFDATA_PF[J][1]=FC,
BVFDATA_SF[J][2~NMAX]=BVFDATA_SF[J][1~NMAX-1],BVFDATA_SF[J][1]=FS,
BVFDATA_EF[J][2~NMAX]=BVFDATA_EF[J][1~NMAX-1],BVFDATA_EF[J][1]=FE;
step 42769: judging whether FC is larger than BVFDATA _ PF [ J ] [ NMAX ], if yes, turning to the step 42770, and if not, turning to the step 42775;
step 42770: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ NMAX ], if yes, turning to the step 42772, and if not, turning to the step 42771;
step 42771: turning to step 42773 when FST is equal to FS;
step 42772: FST ═ BVFDATA _ EF [ J ] [ NAMX ] + 1;
step 42773: FN ═ NMAX +1, FET ═ FE, FCT ═ FC;
step 42774: BVFDATA _ N [ J ] -, BVFDATA _ N [ J ] +1, BVFDATA _ PF [ J ] [ FN ] -, FC,
BVFDATA_SF[J][FN]=FS,BVFDATA_EF[J][FN]=FE;
step 42775: initializing IIII as 1;
step 42776: judging whether FC > BVFDATA _ PF [ J ] [ IIII ], if yes, turning to step 42779 and step 42782, and if no, turning to step 42777;
step 42777: IIII < NMAX-1;
step 42778: turning to step 42776 if IIII is IIII + 1;
step 42779: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ IIII ], if yes, turning to the step 42781, and if not, turning to the step 42780;
step 42780: turning to step 42785 when FST is equal to FS;
step 42781: (vii) FST ═ BVFDATA _ EF [ J ] [ IIII ] +1, go to step 42785;
step 42782: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [ IIII +1], if yes, turning to the step 42783, and if not, turning to the step 42784;
step 42783: (vii) FET BVFDATA _ SF [ J ] [ IIII +1] -1, go to step 42785;
step 42784: turning to step 42785 if the FET is FE;
step 42785: FN ═ IIII +1, FCT ═ FC;
step 42786: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][FN+1~NMAX+1]=BVFDATA_PF[J][FN~NMAX], BVFDATA_PF[J][FN]=FCT,
BVFDATA_SF[J][FN+1~NMAX+1]=BVFDATA_SF[J][FN~NMAX], BVFDATA_SF[J][FN]=FST, BVFDATA_EF[J][FN+1~NMAX+1]=BVFDATA_EF[J][FN~NMAX], BVFDATA_EF[J][FN]=FET;
step 42787: the reference vibration frequency data set BVFDATA is returned.
The normal working flow of the pipeline state monitoring subsystem in the invention is shown in fig. 11, and the specific steps are as follows:
step 501: starting an alarm test function;
step 502: reading setting parameters including pulse width PW, measuring range RN, vibration distance resolution VSD, temperature distance resolution TSD, vibration test time VTTIME, vibration frequency analysis time VTANYS, temperature test time TTTIME, vibration judgment threshold VITH, vibration duration threshold VTTH, temperature judgment threshold TITH, temperature duration threshold TTTH, reference vibration frequency data set BVFDATA and reference temperature data set BTDATA;
step 503: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km); calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km); calculating the vibration distance data quantity VN to be RN/VSD; calculating the vibration time data amount VM as VTANYS/VTTIME; calculating the temperature distance data quantity TN (RN)/TSD; calculating a temperature duration time threshold value TTTHN (TTTH/TTTIME) 1.1; calculating a vibration duration time threshold value VTTHN (VTTH/VTANYS) 1.1;
step 504: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 505: starting a normal alarm test, and turning to step 506 and step 518;
step 506: starting a temperature testing thread;
step 507: temporarily counting NVTI equal to 0, and initializing temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ] equal to 0;
step 508: reading states of the second acquisition module and the third acquisition module;
step 509: judging whether the temperature test is finished for 1 time, if yes, turning to step 510, and if not, turning to step 508;
step 510: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 511: calculating temperature distribution data TD [ 1-TN ] according to TDS [ 1-VN ] and TDAS [ 1-TN ];
step 512: pressing TD [ 1-VN ] into temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ];
step 513: judging whether NVTI is more than or equal to TTTHN-1, if yes, turning to step 515, and if no, turning to step 514
Step 514: turning to step 508 when NVTI is NVTI + 1;
step 515: analyzing whether alarm data exist in TDATA (1-TTTHN) (1-TN), and if the alarm data exist, sending a leakage alarm information data set WTIDATA to a main server;
step 516: judging whether the test ending information is received, if yes, turning to a step 517, and if not, turning to a step 514;
517: ending the temperature testing thread, and turning to step 531;
step 518: starting a vibration testing thread;
step 519: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration stack data VDATA [1 to VTTHN ] [1 to VM ] [1 to VN ]
Initializing temporary vibration data VDATA _ T [ 1-VM ] [ 1-VN ];
step 520: reading the state of the acquisition module 1;
step 521: judging whether the vibration test is finished for 1 time, if yes, turning to step 522, and if not, turning to step 520;
step 522: reading collected data VD 1-VN,
VDATA_T[NVTI+1][1~VN]=VD[1~VN];
step 523: judging whether NVTI is larger than or equal to VM, if yes, turning to step 525, and if not, turning to step 524;
step 524: turning to step 520, when NVTI is NVTI + 1;
step 525: pressing VDATA _ T [ 1-VTTHN ] [ 1-VN ] into the vibration stack data VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ];
step 526: judging whether NVTJ is larger than or equal to VTTHN, if yes, turning to a step 528, and if not, turning to a step 527;
step 527: NVTJ +1
Turning to step 520 when NVTI is 0;
step 528: analyzing whether the VDATA (1-VTTHN) (1-VM) (1-VN) needs to alarm or not, if so, sending a vibration alarm data set WVIDATA to a general server
Step 529: judging whether test ending information is received, if yes, turning to step 530, and if not, turning to step 527;
step 530: ending the vibration testing thread;
step 531: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting WTIDATA and WVIDATA to the server.
The temperature alarm data analysis flow of the pipeline state monitoring subsystem in the invention is shown in fig. 12, and the specific steps are as follows:
step 51501: reading TDATA [ 1-TTTHN ] [ 1-TN ], reading a set parameter pulse width PW, a temperature distance resolution TSD, a temperature judgment threshold TITH, a temperature duration time threshold TTTH, a temperature duration time threshold TTTHN and a reference temperature data set BTDATA, wherein the internal data of the reference temperature data set BTDATA [ 1-TN ];
step 51502: initializing a leakage alarm information data set WTIDATA, wherein WTIDATA _ N is equal to 0, and WTIDATA _ DIS [ 1-TN ];
step 51503: initializing differential data DTDATA [1 to TTTHN ] [1 to TN ] ═ 0, and temporarily counting III ═ 1;
step 51504: calculating differential data DTDATA [ III ] [1 to TN ] ═ TDATA [ III ] [1 to TN ] -BTDATA [1 to TN ];
step 51505: judging whether III is less than TTTHN, if yes, turning to a step 51506, and if not, turning to a step 51507;
step 51506: if III is III +1, go to step 51504;
step 51507: calculating a temperature event distance threshold value TDTHN (PW/10 ns 1 m/TSD), wherein the minimum value is 1;
the threshold value TTN of the duration times of the temporary temperature events is TTTH/TTTIME, and the minimum value is 1; (ii) a
Step 51508: initializing temporary determination data DPD [1 to TN ] ═ 0, temporary count III ═ 1, and JJJ ═ 1;
step 51509: judging whether DTDATA [ III ] [ JJJ ] ≦ -1 × TITI, if yes, turning to the step 51510, and if not, turning to the step 51511;
step 51510: DPD [ jjjj ] ═ DPD [ JJJ ] + 1;
step 51511: judging whether JJJ < TN, if yes, turning to the step 51512, and if not, turning to the step 51513;
step 51512: step 51509 is executed if JJJ is equal to JJJ + 1;
step 51513: judging whether III < TTTHN, if yes, turning to step 51514, and if not, turning to step 51515;
step 51514: III ═ III +1
Step 51509 is executed if JJJ is equal to 1;
step 51515: temporary count III ═ 1
Step 51516: judging whether DPD [ III ] is equal to or larger than TN, if yes, turning to step 51518, and if not, turning to step 51517;
step 51517: if III is III +1, go to step 51516;
step 51518: temporary count jjjj ═ 1, BW ═ 1
Step 51519: judging whether DPD [ III + JJ ] is more than or equal to TN, if yes, turning to the step 51520, and if not, turning to the step 51522;
step 51520: judging whether III + JJ > TTN, if yes, turning to step 51522, and if not, turning to step 51521
Step 51521: turning to step 51519 if JJJ is JJJ + 1;
step 51522: WTIDATA _ N ═ WTIDATA _ N +1
WTIDATA_DIS[WTIDATA_N]=III;
Step 51523: judging whether III + JJ > TN-1 or not, if yes, turning to step 51525, and if not, turning to step 51524;
step 51524: if III is III + JJJ +1, go to step 51516
Step 51525: and returning a leakage alarm information data set WTIDATA.
The flow of analyzing the vibration leakage alarm data of the pipeline state monitoring subsystem in the invention is shown in fig. 13, and the specific steps are as follows:
step 52801: reading VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ], reading a vibration determination threshold VITH, and reading a reference vibration frequency data set BVFDATA, wherein BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet ending frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 52802: the temporary vibration event duration threshold VVN is TTTH/TTTIME, the minimum value is 1, and a leakage alarm information data set WVIDATA is initialized, including WVIDATA _ N is 0, WVIDATA _ DIS [1 to VN ];
step 52803: initializing the temporary variables I ═ 0, J ═ 0, and K ═ 0
Initializing temporary frequency data VFDATA [1 to VM ] ═ 0;
step 52804: VFDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 52805: initializing a temporary variable P ═ 0;
step 52806: judging whether VFDATA [ P +1] is less than or equal to VITH, if yes, turning to step 52807, and if not, turning to step 52808;
step 52807: VFDATA [ P +1] ═ 0;
step 52808: judging whether P is less than or equal to VM, if yes, turning to step 52809, and if not, turning to step 52810;
step 52809: turning to step 52806 when P is P + 1;
step 52810: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 52811: judging whether VFDATA [ P +1] >0, if yes, going to step 52813, if no, going to step 52812;
step 52812: determining whether P is equal to 0 or VFDATA [ P ] is equal to 0, if yes, go to step 52813, if no, go to step 52814;
step 52813: go to step 52811 if P + 1;
step 52814: FS ═ P +1, Q ═ P + 1;
step 52815: judging whether VFDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 52816, and if no, turning to step 52817;
step 52816: go to step 52815 when Q is Q + 1;
step 52817: judging whether Q +1 is more than or equal to VM, if yes, turning to step 52818, and if not, turning to step 52819;
step 52818: step 52820 is executed if FE is Q +1 and FC is VFDATA [ FS to FE ] as the position subscript;
step 52819: the position subscripts of FE ═ Q and FC ═ VFDATA [ FS-FE ];
step 52820: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 52822, and if no, then go to step 52821;
step 52821: go to step 52829 when P is Q +1 and FT is 0;
step 52822: p ═ Q +1, FT ═ 0;
step 52823: initializing a temporary count BVFNT ═ 1, NMAX ═ BVFDATA _ N [ J ];
step 52824: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 52825, and if no, turning to step 52827;
step 52825: determining whether BVFNT < NMAX, yes to step 52826, no to step 52827;
step 52826: BVFNT ═ BVFNT + 1;
step 52827: judging whether the BVFNT is more than or equal to VVN, turning to step 52828, and turning to step 52829;
step 52828: WVIDATA _ N ═ WVIDATA _ N +1, and WVIDATA _ DIS [ J ] ═ FC, go to step 52830;
step 52829: determine if P < VM, go to 52830, no go to 52824;
step 52830: determine if J < VN, proceed to 52831, and proceed to 52832;
step 52831: j equals J +1, go to step 52804;
step 52832: judging whether I < DN, if yes, going to step 52833, and if not, going to step 52834;
step 52833: if I is equal to I +1, go to step 52804;
step 52834: and returning a leakage alarm information data set WTIDATA.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

Claims (13)

1. The utility model provides an oil is stolen to optical cable in oil pipeline pipe and reveals monitoring devices which characterized in that: the system comprises a main server, a pipeline state monitoring system, a watertight optical cable connector, an optical cable jumper, a high-pressure-resistant perforated short-circuit optical fiber flange kit and an oil-resistant armored optical cable;
the pipeline state monitoring system comprises a first pipeline state monitoring system and a second pipeline state monitoring system;
the main server controls the first pipeline state monitoring system and the second pipeline state monitoring system through a wired/wireless network;
the first pipeline state monitoring system is a pipeline state monitoring subsystem at the initial position of a monitored section of an oil pipeline and is connected with an oil-resistant armored optical cable through an optical cable jumper, a watertight optical cable connector and a high-pressure-resistant perforated short-circuit optical fiber flange suite;
the second pipeline state monitoring system is a pipeline state monitoring subsystem at the monitored end position of the oil pipeline and is connected with the oil-resistant armored optical cable through an optical cable jumper, a watertight optical cable connector and a high-pressure-resistant perforated short-circuit optical fiber flange suite;
the watertight optical cable connector can ensure normal transmission and test of optical signals in the oil-resistant armored optical cable in an oil pipeline below 6MPa through the high-pressure-resistant perforated short-circuit optical fiber flange sleeve;
the optical cable jumper is mainly used for connecting the first pipeline state monitoring system and the second pipeline state monitoring system with the oil-resistant armored optical cable through watertight optical cable connectors and high-pressure-resistant perforated short-circuit optical fiber flange kits, or connecting the oil-resistant armored optical cable separated by the pipeline gate with the oil-resistant armored optical cable through the watertight optical cable connectors and the high-pressure-resistant perforated short-circuit optical fiber flange kits;
the oil-proof armored optical cable is provided with watertight optical cable connectors at two ends.
2. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 1, characterized in that: first pipeline monitoring system, second pipeline monitoring system in the pipeline state monitoring system all include following structure:
the device comprises a CPU module, a first laser control module, a 1550nm optical isolator, a 1550nm1:9 optical coupler, a 1550nm frequency shift modulation module, a 1550nm pulse modulation module, an EDFA, a circulator, a 1550nm1:1 coupler, a polarization scrambler module, a first O/E module, a high-pass filter, a first pre-amplification module, a first A/D module, a first acquisition module, a WDM, a second O/E module, a second pre-amplification module, a second A/D module, a second acquisition module, a third O/E module, a third pre-amplification module, a third A/D module, a third acquisition module and a measured optical fiber/optical cable;
the CPU module, the first laser control module, the 1550nm optical isolator and the 1550nm1:9 optical coupler are sequentially connected through a circuit; the 1550nm1:9 optical coupler has 90% output port connected to the 1550nm frequency shift modulation module and 10% output port connected to the scrambler module; one ends of the 1550nm frequency shift modulation module, the 1550nm pulse modulation module, the EDFA and the circulator are sequentially connected through a line; two 50% output ends of the 1550nm1:1 coupler are respectively connected with the other ends of the polarization scrambler module and the circulator, and the input end of the polarization scrambler module is connected with the first O/E module; the third end of the circulator is connected with a 1550nm port of the WDM;
the first O/E module, the high-pass filter, the first pre-amplification module, the first A/D module, the first acquisition module and the CPU module are sequentially connected through a circuit;
the second O/E module, the second pre-amplification module, the second A/D module, the second acquisition module and the CPU module are sequentially connected through a line; the second O/E module is connected with 1455nm port of WDM;
the third O/E module, the third pre-amplification module, the third A/D module, the third acquisition module and the CPU module are sequentially connected through a line; the third O/E module is connected with a 1660nm port of the WDM;
the output end of the WDM is connected with the tested optical fiber/optical cable;
3. the oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 2, characterized in that: the working wavelength range of the 1550nm laser is 1550nm +/-5 nm; the pulse modulation range of the 1550nm pulse modulation module is 1 ns-16380 ns; the second O/E module is a photoelectric conversion module.
4. A method for monitoring oil stealing and leakage of an optical cable in an oil pipeline is characterized by comprising the following steps: the oil-stealing and leakage monitoring device for the optical cable in the oil pipeline according to claim 2 comprises the following steps:
step 101: determining whether the tested pipeline is an old pipeline reconstruction or a new pipeline construction;
step 102: determining whether an old pipeline is reconstructed, if so, turning to a step 103, otherwise, turning to a step 110;
step 103: carrying out on-site investigation along the laying path of the old pipeline, carrying out detailed investigation on the current condition, the surrounding environment and the like of the pipeline, making engineering design and construction plan, and preparing required materials;
step 104: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 105: waiting for renovating and maintaining the emptying pipeline of the whole section of pipeline;
step 106: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 107: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 108: at the punching position of the outlet of each oil-resistant armored optical cable in the pipe, connecting a high-pressure-resistant perforated short-circuit optical fiber flange kit with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, and fixing the high-pressure-resistant perforated short-circuit optical fiber flange kit on a pipeline from the punching position of the outlet of the optical cable;
step 109: after the pipeline needing to be provided with the optical cable in the pipe is arranged, connecting each section of pipeline through an optical cable jumper and accessing the pipeline into a pipeline state monitoring system, and turning to step 119;
step 110: entering a new pipeline construction process;
step 111: carrying out on-site investigation along the laying path of the new pipeline, and making the engineering design and the construction plan of the system according to the construction plan of the new pipeline to prepare required materials;
step 112: segmenting pipelines according to the quantity of pipeline gates, and determining the number DN of segments;
step 113: waiting for the new pipeline of the current subsection to be laid;
step 114: punching holes at the positions of outlets at two ends of an oil-resistant armored optical cable in a pipe at the starting end and the terminating end of the pipe and at two sides of a gate through which pipeline lines are to be laid on the optical cable;
step 115: oil-resistant armored optical cables in the pipes are arranged in a segmented manner through traction of a continuous rod;
step 116: at the punching position of the outlet of each oil-resistant armored optical cable in the pipe, connecting a high-pressure-resistant perforated short-circuit optical fiber flange kit with watertight optical cable connectors at two ends of the oil-resistant armored optical cable in the pipe, and fixing the high-pressure-resistant perforated short-circuit optical fiber flange kit on a pipeline from the punching position of the outlet of the optical cable;
step 117: judging whether all 1-DN segments are laid, if not, entering the laying of the next segment, turning to the step 113, and if yes, turning to the step 118;
step 118: connecting all sections of pipelines through optical cable jumpers and connecting the pipelines into a pipeline state monitoring system;
step 119: testing the optical cable in the pipe through a pipeline state monitoring system;
step 120: judging whether the test is successful, if the test is failed, turning to a step 121, and if the test is successful, turning to a step 122;
step 121: sequentially checking all optical cable lines and troubleshooting problems;
step 122: and finishing the ending work.
5. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 2, characterized in that: the method for testing the reference data of the pipeline state monitoring system specifically comprises the following steps:
step 201: starting up a main server;
step 202: self-checking the database;
step 203: judging whether the self-checking is passed or not, if not, turning to the step 204, and turning to the step 205;
step 204: displaying, recording and reporting alarm information;
step 205: reading test parameters from a database, setting the reference test time BT as 10s and the reference test times as 10 times;
step 206: communicating with a first pipeline state monitoring system for self-checking;
step 207: judging whether the self-checking passes or not, if not, turning to step 208;
step 208: displaying, recording and reporting alarm information, and turning to step 206;
step 209: communicating with a second pipeline state monitoring system for self-checking;
step 210: judging whether the self-checking passes or not, if so, turning to step 212, and not turning to step 211;
step 211: displaying, recording and reporting alarm information, and turning to step 209;
step 212: setting test parameters to a first pipeline state monitoring system and a second pipeline state monitoring system;
step 213: starting a benchmark test;
step 214: stopping the test of the second pipeline state monitoring system, and starting a benchmark test function of the first pipeline state monitoring system;
step 215: monitoring the state of a first pipeline state monitoring system through communication, and waiting for the first pipeline state monitoring system to complete a benchmark test function;
step 216: reading a reference vibration frequency data set BVFDATA of the first pipeline state monitoring system, taking the reference vibration frequency data set BVFDATA as a reference vibration frequency data set BVFDATA1 of the first pipeline state monitoring system, reading a reference temperature data set BTDATA of the first pipeline state monitoring system, taking the reference temperature data set BTDATA as a reference temperature data set BTDATA1 of the first pipeline state monitoring system, and storing the reference temperature data set BTDATA in a database;
step 217: stopping the benchmark test of the first pipeline state monitoring system and starting the benchmark test function of the second pipeline state monitoring system;
step 218: monitoring the system state through the second pipeline state, and waiting for the system to complete the benchmark test function;
step 219: reading a reference vibration frequency data set BVFDATA of the second pipeline state monitoring system, taking the reference vibration frequency data set BVFDATA as a reference vibration frequency data set BVFDATA2 of the second pipeline state monitoring system, reading a reference temperature data set BTDATA of the second pipeline state monitoring system, taking the reference temperature data set BTDATA as a reference temperature data set BTDATA2 of the second pipeline state monitoring system, and storing the reference temperature data set BTDATA in a database;
step 220: and logging out of the server system.
6. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 2, characterized in that: the working method of the normal monitoring condition of the pipeline state monitoring system specifically comprises the following steps:
step 301: starting a main server;
step 302: self-checking the database, wherein the self-checking is not passed to the step 303, and the self-checking is passed to the step 304;
step 303: displaying, recording and reporting alarm information, and turning to step 302;
step 304: self-checking and passing;
step 305: reading test parameters from a database, and setting the alternative test time TL within the range of 30 seconds to 10 minutes;
step 306: communicating with a first pipeline state monitoring system for self-checking;
step 307: if the self-check is passed, go to step 308, go to step 309;
step 308: displaying, recording and reporting alarm information, and turning to step 306;
step 309: communicating with a second pipeline state monitoring system for self-checking;
step 310: if the self-check is passed, go to step 311, go to step 312;
step 311: displaying, recording and reporting alarm information, and turning to step 309;
step 312: setting test parameters to a first pipeline state monitoring system and a second pipeline state monitoring system;
step 313: clearing a test timer TLTIME;
step 314: stopping the test of the second pipeline state monitoring system, starting the test of the first pipeline state monitoring system, and starting a cycle timing thread;
step 315: waiting for the first pipeline state monitoring system to test alarm information;
step 316: refresh test timer TLTIME;
step 317: judging whether alarm information is received, if not, transferring to step 318, and transferring to step 319;
step 318: judging whether TLTIME is larger than or equal to TL, if so, turning to step 320, and if not, turning to step 315;
step 319: displaying, recording and reporting alarm information, and turning to step 318;
step 320: clearing a test timer TLTIME;
step 321: stopping the test of the first pipeline state monitoring system, starting the test of the second pipeline state monitoring system, and starting a cycle timing thread;
step 322: waiting for the second pipeline state monitoring system to test alarm information;
step 323: refresh test timer TLTIME;
step 324: judging whether alarm information is received or not, if not, turning to step 325, and if yes, turning to step 326;
step 325: judging whether TLTIME is larger than or equal to TL, if yes, turning to step 327, and if not, turning to step 322;
step 326: displaying, recording and reporting alarm information, and turning to step 325;
step 327: checking whether the administrator stops the test, yes to step 328, no to step 313;
step 328: and logging out of the server system.
7. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 5, characterized in that: the first pipeline condition monitoring system benchmarking method in step 214, and the second pipeline condition monitoring system benchmarking method in step 217, each include the steps of:
step 401: starting a benchmark test function;
step 402: reading a set parameter pulse width PW; reading a measuring range RN; reading a vibration distance resolution VSD; reading a temperature distance resolution TSD; reading vibration test time VTTIME; reading vibration frequency analysis time VTANYS; reading temperature test time TTTIME; reading a base number DN;
step 403: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km);
calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km);
calculating vibration distance data quantity VN (equal to RN/VSD)
Calculating vibration time data amount VM as VTANYS/VTTIME
Calculating the temperature distance data quantity TN (RN)/TSD;
step 404: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 405: starting acquisition and pulse generation time sequence control, and turning to step 406 and step 418;
step 406: starting a temperature testing thread;
step 407: temporarily counting NVTI equal to 0, and initializing temperature data TDATA [1 to DN ] [1 to TN ];
step 408: reading states of the second acquisition module and the third acquisition module;
step 409: judging whether the temperature test is finished for 1 time or not; yes to go to step 410, no to step 408;
step 410: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 411: calculating temperature distribution data TD [1 to TN ] according to TDS [1 to TN ] and TDAS [1 to TN ], TDATA [ NVTI ] [1 to TN ] ═ TD [1 to TN ];
step 412: judging whether NVTI is more than or equal to DN, if yes, turning to step 414, and if not, turning to step 413;
step 413: NVTI +1, go to step 408
Step 414: analyzing a reference temperature data set BTDATA according to TDATA [ 1-DN ] [ 1-TN ];
step 415: ending the temperature testing thread, and turning to step 427;
step 416: starting a vibration testing thread;
step 417: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration data VDATA [1 to DN ] [1 to VM ] [1 to VN ];
step 418: reading the state of a first acquisition module;
step 419: judging whether the vibration test is finished for 1 time, if yes, turning to step 420, and if not, turning to step 418;
step 420: reading collected data VD [ 1-VN ], and enabling VDATA [ NVTJ +1] [ NVTI +1] [ 1-VN ] to be VD [ 1-VN ];
step 421: judging whether NVTI is larger than or equal to VM, if yes, turning to step 423, and if not, turning to step 422
Step 422: NVTI +1, go to step 418;
step 423: judging whether NVTJ is larger than or equal to DN, if yes, turning to step 425, and if not, turning to step 424;
step 424: NVTJ is NVTJ + 1;
NVTI is 0, go to step 418;
step 425: analyzing a reference vibration frequency data set BVFDATA according to VDATA [ 1-DN ] [ 1-VM ] [ 1-VN ];
step 426: ending the vibration testing thread, and turning to step 427;
step 427: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting BVFDATA and BTDATA to the server.
8. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 7, characterized in that: in step 414, the method for analyzing the reference temperature data set includes the following specific steps:
step 41601: reading temperature data TDATA 1-DN 1-TN;
step 41602: the provisional count I ═ 0, J ═ 0; initializing a reference temperature data set BTDATA [ 1-TN ];
step 41603: temporary data TT is 0;
step 41604: TT + TDATA [ I +1] [ J +1 ];
step 41605: judging whether I is not less than DN, if yes, turning to step 41607, and if not, turning to step 41606;
step 41606: turning to step 41604, I ═ I + 1;
step 41607: BTDATA [ J ] ═ TT;
step 41608: judging whether J is larger than or equal to TN, if so, turning to a step 41610, and if not, turning to a step 41609;
step 41609: j equals J +1, go to step 41603;
step 41610: the reference temperature data set BTDATA is returned.
9. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 7, characterized in that: in step 425, the method for analyzing the reference vibration frequency data set includes the following steps:
step 42701: reading vibration data VDATA 1-DN 1-VM 1-VN, reading vibration determination threshold VITH,
initializing all data in a reference vibration frequency data set BVFDATA to zero, wherein the BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet termination frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 42702: initializing a temporary variable I ═ 0, J ═ 0, and K ═ 0; initializing temporary frequency data FTDATA [ 1-VM ] as 0;
step 42703: FTDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 42704: initializing a temporary variable P ═ 0;
step 42705: judging whether FTDATA [ P +1] is less than or equal to VITH, if yes, turning to the step 42706, and if not, turning to the step 42707;
step 42706: FTDATA [ P +1] ═ 0, go to step 42707;
step 42707: judging whether P is less than or equal to VM, if yes, turning to a step 42708, and if not, turning to a step 42709;
step 42708: turning to step 42705 when P is P + 1;
step 42709: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 42710: judging whether FTDATA [ P +1] >0, if yes, turning to step 42712, and if not, turning to step 42711;
step 42711: turning to step 42710 when P is P + 1;
step 42712: p ═ 0 or FTDATA [ P ] ═ 0;
step 42713: FS ═ P +1, Q ═ P + 1;
step 42714: judging whether FTDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 42716, and if not, turning to step 42715;
step 42715: turning to step 42714 when Q is Q + 1;
step 42716: judging whether Q +1 is larger than or equal to VM, if so, turning to a step 42717, and if not, turning to a step 42718;
step 42717: step 42719 is performed after FE + Q and FC are the subscripts of the positions of FTDATA [ FS to FE ];
step 42718: the position subscripts of FE ═ Q and FC ═ FTDATA [ FS-FE ];
step 42719: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 42720, if no, then go to step 42721;
step 42720: turning to step 42724 when P is Q +1 and FT is 0;
step 42721: p ═ Q +1, FT ═ 0;
step 42722: performing frequency wave packet data repeat analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ] and BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA, and if no repeat wave packet data is found, adding FS, FE and FC data to the data;
step 42723: judging whether P < VM, if yes, turning to a step 42705, and if not, turning to a step 42724;
step 42724: judging whether J is less than VN, if so, turning to a step 42725, and if not, turning to a step 42726;
step 42725: j is J +1, go to step 42703;
step 42726: judging whether the I < DN is transferred to the step 42727 or not, and transferring to the step 42728;
step 42727: turning to step 42702 when D is D + 1;
step 42728: the reference vibration data set BVFDATA is returned.
10. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 9, characterized in that: in step 42722, the method for repeatedly analyzing the frequency wave packet data of the reference vibration frequency data set specifically includes the following steps:
step 42751: reading FS, FC, FE data, and starting to perform frequency wave packet data repeated analysis on BVFDATA _ PF [ J ] [ 1-VM ], BVFDATA _ SF [ J ] [ 1-VM ], BVFDATA _ EF [ J ] [ 1-VM ] and BVFDATA _ N [ J ] in the reference vibration frequency data set BVFDATA;
step 42752: BVFDATA _ N [ J ] > 0;
step 42753: initializing temporary count BVFNT 1, repeat flag BREP 0, initializing temporary variables FST, FCT, FET, FN, NMAX BVFDATA _ N [ J ];
step 42754: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 42757, and if not, turning to step 42755;
step 42755: judging whether BVFNT < NMAX, if yes, turning to step 42756, and if not, turning to step 42758;
step 42756: BVFNT ═ BVFNT +1, go to step 42754;
step 42757: turning to step 42758 when BREP is 1;
step 42758: judging whether the BREP value is 0, if so, turning to a step 42760, and if not, turning to a step 42759;
step 42759: FS, FC, FE belong to the repeated frequency wave packet, and are not increased, go to step 42787;
step 42760: judging whether BVFDATA _ N [ J ] <1, if yes, going to step 42763, if no, going to step 42761;
step 42761: FN is 1, FST is FS, FCT is FC, FET is FE;
step 42762: BVFDATA _ N [ J ] ═ 1, BVFDATA _ PF [ J ] [ FN ] ═ FCT, BVFDATA _ SF [ J ] [ FN ] ═ FST, BVFDATA _ EF [ J ] [ FN ] ═ FET;
step 42763: judging whether FC < BVFDATA _ PF [ J ] [1], if yes, turning to step 42764, and if not, turning to step 42769;
step 42764: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [1], if yes, turning to step 42766, and if not, turning to step 42765;
step 42765: go to step 42767 if FET is FE;
step 42766: FET ═ BVFDATA _ SF [ J ] [1] -1;
step 42767: FN is equal to 1, FST is equal to FS, FCT is equal to FC;
step 42768: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][2~NMAX]=BVFDATA_PF[J][1~NMAX-1],BVFDATA_PF[J][1]=FC,
BVFDATA_SF[J][2~NMAX]=BVFDATA_SF[J][1~NMAX-1],BVFDATA_SF[J][1]=FS,
BVFDATA_EF[J][2~NMAX]=BVFDATA_EF[J][1~NMAX-1],BVFDATA_EF[J][1]=FE;
step 42769: judging whether FC is larger than BVFDATA _ PF [ J ] [ NMAX ], if yes, turning to the step 42770, and if not, turning to the step 42775;
step 42770: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ NMAX ], if yes, turning to the step 42772, and if not, turning to the step 42771;
step 42771: turning to step 42773 when FST is equal to FS;
step 42772: FST ═ BVFDATA _ EF [ J ] [ NAMX ] + 1;
step 42773: FN ═ NMAX +1, FET ═ FE, FCT ═ FC;
step 42774: BVFDATA _ N [ J ] -, BVFDATA _ N [ J ] +1, BVFDATA _ PF [ J ] [ FN ] -, FC,
BVFDATA_SF[J][FN]=FS,BVFDATA_EF[J][FN]=FE;
step 42775: initializing IIII as 1;
step 42776: judging whether FC > BVFDATA _ PF [ J ] [ IIII ], if yes, turning to step 42779 and step 42782, and if no, turning to step 42777;
step 42777: IIII < NMAX-1;
step 42778: turning to step 42776 if IIII is IIII + 1;
step 42779: judging whether FS is less than or equal to BVFDATA _ EF [ J ] [ IIII ], if yes, turning to the step 42781, and if not, turning to the step 42780;
step 42780: turning to step 42785 when FST is equal to FS;
step 42781: (vii) FST ═ BVFDATA _ EF [ J ] [ IIII ] +1, go to step 42785;
step 42782: judging whether FE is larger than or equal to BVFDATA _ SF [ J ] [ IIII +1], if yes, turning to the step 42783, and if not, turning to the step 42784;
step 42783: (vii) FET BVFDATA _ SF [ J ] [ IIII +1] -1, go to step 42785;
step 42784: turning to step 42785 if the FET is FE;
step 42785: FN ═ IIII +1, FCT ═ FC;
step 42786: BVFDATA _ N [ J ] ═ BVFDATA _ N [ J ] +1,
BVFDATA_PF[J][FN+1~NMAX+1]=BVFDATA_PF[J][FN~NMAX],BVFDATA_PF[J][FN]=FCT,
BVFDATA_SF[J][FN+1~NMAX+1]=BVFDATA_SF[J][FN~NMAX],BVFDATA_SF[J][FN]=FST,BVFDATA_EF[J][FN+1~NMAX+1]=BVFDATA_EF[J][FN~NMAX],BVFDATA_EF[J][FN]=FET;
step 42787: the reference vibration frequency data set BVFDATA is returned.
11. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 2, characterized in that: the normal working method of the pipeline state monitoring system specifically comprises the following steps:
step 501: starting an alarm test function;
step 502: reading setting parameters including pulse width PW, measuring range RN, vibration distance resolution VSD, temperature distance resolution TSD, vibration test time VTTIME, vibration frequency analysis time VTANYS, temperature test time TTTIME, vibration judgment threshold VITH, vibration duration threshold VTTH, temperature judgment threshold TITH, temperature duration threshold TTTH, reference vibration frequency data set BVFDATA and reference temperature data set BTDATA;
step 503: calculating the vibration accumulation times VADDT (VTTIME) 1m/10ns/(RN +1 km); calculating the temperature accumulation times TADDT (TTTIME) 1m/10ns/(RN +1 km); calculating the vibration distance data quantity VN to be RN/VSD; calculating the vibration time data amount VM as VTANYS/VTTIME; calculating the temperature distance data quantity TN (RN)/TSD; calculating a temperature duration time threshold value TTTHN (TTTH/TTTIME) 1.1; calculating a vibration duration time threshold value VTTHN (VTTH/VTANYS) 1.1;
step 504: starting a 1550nm laser, starting a 1550nm frequency shift modulation module, starting a scrambler module, sending a pulse width parameter PW to the 1550nm pulse modulation module, sending a vibration accumulation frequency VADDT and a vibration distance data volume VN parameter to a first acquisition module, and sending a temperature accumulation frequency TADDT and a temperature distance data volume TN parameter to a second acquisition module and a third acquisition module;
step 505: starting a normal alarm test, and turning to step 506 and step 518;
step 506: starting a temperature testing thread;
step 507: temporarily counting NVTI equal to 0, and initializing temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ] equal to 0;
step 508: reading states of the second acquisition module and the third acquisition module;
step 509: judging whether the temperature test is finished for 1 time, if yes, turning to step 510, and if not, turning to step 508;
step 510: reading anti-stokes collected data TDS [ 1-TN ] from the second collection module, and reading stokes collected data TDAS [ 1-TN ] from the third collection module;
step 511: calculating temperature distribution data TD [ 1-TN ] according to TDS [ 1-VN ] and TDAS [ 1-TN ];
step 512: pressing TD [ 1-VN ] into temperature stack data TDATA [ 1-TTTHN ] [ 1-TN ];
step 513: judging whether NVTI is more than or equal to TTTHN-1, if yes, turning to step 515, and if no, turning to step 514
Step 514: turning to step 508 when NVTI is NVTI + 1;
step 515: analyzing whether temperature alarm data exist in TDATA (1-TTTHN) (1-TN), and if the temperature alarm data exist, sending a temperature leakage alarm information data set WTIDATA to a main server;
step 516: judging whether the test ending information is received, if yes, turning to a step 517, and if not, turning to a step 514;
517: ending the temperature testing thread, and turning to step 531;
step 518: starting a vibration testing thread;
step 519: the temporary count NVTI is 0, the temporary count NVTJ is 0, and the vibration stack data VDATA [1 to VTTHN ] [1 to VM ] [1 to VN ]
Initializing temporary vibration data VDATA _ T [ 1-VM ] [ 1-VN ];
step 520: reading the state of the acquisition module 1;
step 521: judging whether the vibration test is finished for 1 time, if yes, turning to step 522, and if not, turning to step 520;
step 522: reading collected data VD 1-VN,
VDATA_T[NVTI+1][1~VN]=VD[1~VN];
step 523: judging whether NVTI is larger than or equal to VM, if yes, turning to step 525, and if not, turning to step 524;
step 524: turning to step 520, when NVTI is NVTI + 1;
step 525: pressing VDATA _ T [ 1-VTTHN ] [ 1-VN ] into the vibration stack data VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ];
step 526: judging whether NVTJ is larger than or equal to VTTHN, if yes, turning to a step 528, and if not, turning to a step 527;
step 527: NVTJ +1
Turning to step 520 when NVTI is 0;
step 528: analyzing whether the VDATA (1-VTTHN) (1-VM) (1-VN) needs vibration leakage alarm or not, and if the vibration leakage alarm is needed, sending a vibration leakage alarm data set WVIDATA to a general server;
step 529: judging whether test ending information is received, if yes, turning to step 530, and if not, turning to step 527;
step 530: ending the vibration testing thread;
step 531: and waiting for the vibration testing thread and the temperature testing thread to be completely finished, and transmitting WTIDATA and WVIDATA to the server.
12. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 11, characterized in that: in step 515, the method for analyzing temperature alarm data specifically includes the following steps:
step 51501: reading TDATA [ 1-TTTHN ] [ 1-TN ], reading a set parameter pulse width PW, a temperature distance resolution TSD, a temperature judgment threshold TITH, a temperature duration time threshold TTTH, a temperature duration time threshold TTTHN and a reference temperature data set BTDATA, wherein the internal data of the reference temperature data set BTDATA [ 1-TN ];
step 51502: initializing a leakage alarm information data set WTIDATA, wherein WTIDATA _ N is equal to 0, and WTIDATA _ DIS [ 1-TN ];
step 51503: initializing differential data DTDATA [1 to TTTHN ] [1 to TN ] ═ 0, and temporarily counting III ═ 1;
step 51504: calculating differential data DTDATA [ III ] [1 to TN ] ═ TDATA [ III ] [1 to TN ] -BTDATA [1 to TN ];
step 51505: judging whether III is less than TTTHN, if yes, turning to a step 51506, and if not, turning to a step 51507;
step 51506: if III is III +1, go to step 51504;
step 51507: calculating a temperature event distance threshold value TDTHN (PW/10 ns 1 m/TSD), wherein the minimum value is 1;
the threshold value TTN of the duration times of the temporary temperature events is TTTH/TTTIME, and the minimum value is 1; (ii) a
Step 51508: initializing temporary determination data DPD [1 to TN ] ═ 0, temporary count III ═ 1, and JJJ ═ 1;
step 51509: judging whether DTDATA [ III ] [ JJJ ] ≦ -1 × TITI, if yes, turning to the step 51510, and if not, turning to the step 51511;
step 51510: DPD [ jjjj ] ═ DPD [ JJJ ] + 1;
step 51511: judging whether JJJ < TN, if yes, turning to the step 51512, and if not, turning to the step 51513;
step 51512: step 51509 is executed if JJJ is equal to JJJ + 1;
step 51513: judging whether III < TTTHN, if yes, turning to step 51514, and if not, turning to step 51515;
step 51514: III ═ III +1
Step 51509 is executed if JJJ is equal to 1;
step 51515: temporary count III ═ 1
Step 51516: judging whether DPD [ III ] is equal to or larger than TN, if yes, turning to step 51518, and if not, turning to step 51517;
step 51517: if III is III +1, go to step 51516;
step 51518: temporary count jjjj ═ 1, BW ═ 1
Step 51519: judging whether DPD [ III + JJ ] is more than or equal to TN, if yes, turning to the step 51520, and if not, turning to the step 51522;
step 51520: judging whether III + JJ > TTN, if yes, turning to step 51522, and if not, turning to step 51521
Step 51521: turning to step 51519 if JJJ is JJJ + 1;
step 51522: WTIDATA _ N ═ WTIDATA _ N +1
WTIDATA_DIS[WTIDATA_N]=III;
Step 51523: judging whether III + JJ > TN-1 or not, if yes, turning to step 51525, and if not, turning to step 51524;
step 51524: if III is III + JJJ +1, go to step 51516
Step 51525: and returning a leakage alarm information data set WTIDATA.
13. The oil pipeline in-pipe optical cable oil theft and leakage monitoring device of claim 11, characterized in that: in step 528, the method for analyzing the vibration leakage alarm data specifically includes the following steps:
step 52801: reading VDATA [ 1-VTTHN ] [ 1-VM ] [ 1-VN ], reading a vibration determination threshold VITH, and reading a reference vibration frequency data set BVFDATA, wherein BVFDATA comprises vibration frequency wave packet data BVFDATA _ N [ 1-VN ], vibration frequency peak frequency data BVFDATA _ PF [ 1-VN ] [ 1-VM ], vibration frequency wave packet starting frequency BVFDATA _ SF [ 1-VN ] [ 1-VM ], and vibration frequency wave packet ending frequency BVFDATA _ EF [ 1-VN ] [ 1-VM ];
step 52802: the temporary vibration event duration threshold VVN is TTTH/TTTIME, the minimum value is 1, and a leakage alarm information data set WVIDATA is initialized, including WVIDATA _ N is 0, WVIDATA _ DIS [1 to VN ];
step 52803: initializing the temporary variables I ═ 0, J ═ 0, and K ═ 0
Initializing temporary frequency data VFDATA [1 to VM ] ═ 0;
step 52804: VFDATA [1 to VM ] ═ fast fourier transform (VDATA [ I +1] [1 to VM ] [ J +1 ]);
step 52805: initializing a temporary variable P ═ 0;
step 52806: judging whether VFDATA [ P +1] is less than or equal to VITH, if yes, turning to step 52807, and if not, turning to step 52808;
step 52807: VFDATA [ P +1] ═ 0;
step 52808: judging whether P is less than or equal to VM, if yes, turning to step 52809, and if not, turning to step 52810;
step 52809: turning to step 52806 when P is P + 1;
step 52810: initializing a temporary variable P ═ 0, Q ═ 0, FS ═ 0, FE ═ 0, FC ═ 0, and FT ═ 0;
step 52811: judging whether VFDATA [ P +1] >0, if yes, going to step 52813, if no, going to step 52812;
step 52812: determining whether P is equal to 0 or VFDATA [ P ] is equal to 0, if yes, go to step 52813, if no, go to step 52814;
step 52813: go to step 52811 if P + 1;
step 52814: FS ═ P +1, Q ═ P + 1;
step 52815: judging whether VFDATA [ Q +1] <0 or Q +1 is not less than VM, if yes, turning to step 52816, and if no, turning to step 52817;
step 52816: go to step 52815 when Q is Q + 1;
step 52817: judging whether Q +1 is more than or equal to VM, if yes, turning to step 52818, and if not, turning to step 52819;
step 52818: step 52820 is executed if FE is Q +1 and FC is VFDATA [ FS to FE ] as the position subscript;
step 52819: the position subscripts of FE ═ Q and FC ═ VFDATA [ FS-FE ];
step 52820: determining whether FC is 1, or FC is VM, or (FE-FS) <1, if yes, then go to step 52822, and if no, then go to step 52821;
step 52821: go to step 52829 when P is Q +1 and FT is 0;
step 52822: p ═ Q +1, FT ═ 0;
step 52823: initializing a temporary count BVFNT ═ 1, NMAX ═ BVFDATA _ N [ J ];
step 52824: judging whether FC < BVFDATA _ EF [ J ] [ BVFNT ] and FC > BVFDATA _ SF [ J ] [ BVFNT ], if yes, turning to step 52825, and if no, turning to step 52827;
step 52825: determining whether BVFNT < NMAX, yes to step 52826, no to step 52827;
step 52826: BVFNT ═ BVFNT + 1;
step 52827: judging whether the BVFNT is more than or equal to VVN, turning to step 52828, and turning to step 52829;
step 52828: WVIDATA _ N ═ WVIDATA _ N +1, and WVIDATA _ DIS [ J ] ═ FC, go to step 52830;
step 52829: determine if P < VM, go to 52830, no go to 52824;
step 52830: determine if J < VN, proceed to 52831, and proceed to 52832;
step 52831: j equals J +1, go to step 52804;
step 52832: judging whether I < DN, if yes, going to step 52833, and if not, going to step 52834;
step 52833: if I is equal to I +1, go to step 52804;
step 52834: and returning a leakage alarm information data set WTIDATA.
CN202010874271.5A 2020-08-27 2020-08-27 Oil stealing and leakage monitoring device and method for optical cable in oil pipeline Active CN112032577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010874271.5A CN112032577B (en) 2020-08-27 2020-08-27 Oil stealing and leakage monitoring device and method for optical cable in oil pipeline

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010874271.5A CN112032577B (en) 2020-08-27 2020-08-27 Oil stealing and leakage monitoring device and method for optical cable in oil pipeline

Publications (2)

Publication Number Publication Date
CN112032577A true CN112032577A (en) 2020-12-04
CN112032577B CN112032577B (en) 2022-06-24

Family

ID=73580129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010874271.5A Active CN112032577B (en) 2020-08-27 2020-08-27 Oil stealing and leakage monitoring device and method for optical cable in oil pipeline

Country Status (1)

Country Link
CN (1) CN112032577B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113702332A (en) * 2021-08-23 2021-11-26 贵州电网有限责任公司 SF6 electrical equipment fault component CO2Concentration detection device and method
CN113884247A (en) * 2021-12-09 2022-01-04 南京派光智慧感知信息技术有限公司 Comprehensive monitoring system and method for oil and gas pipeline
CN114088241A (en) * 2021-10-21 2022-02-25 武汉理工大学 Weak fiber grating array temperature/vibration composite sensing optical cable and use method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414283A (en) * 2002-12-10 2003-04-30 西安交通大学 Oil gas pipeline leak intelligent on line monitoring method based on distribution type optical fibre sensor
CN201096589Y (en) * 2007-06-27 2008-08-06 中国石油天然气股份有限公司 Distributed Optical Fiber Pipeline Safety Early Warning System Based on Phase Interference
CN101255950A (en) * 2007-06-14 2008-09-03 北京华银广誉石油科技有限公司 Intelligent warning system for computation and pipe monitoring of oil transportation collection and transmission system
CN101620299A (en) * 2008-12-24 2010-01-06 深圳市恒捷丰光电科技有限公司 A kind of flexible metal casing fiber optic patch cord
KR20100135115A (en) * 2009-06-16 2010-12-24 (주) 이우티이씨 Detection and management system for underground facility using optical fiber sensor and magnetic marker
CN101968161A (en) * 2010-11-10 2011-02-09 于晋龙 Distributed optical fiber polarization sensor based automatic early warning system of intelligent pipeline
CN104565826A (en) * 2013-10-29 2015-04-29 中国石油天然气股份有限公司 Pipeline optical fiber safety monitoring and early warning method and system
CN105351756A (en) * 2015-11-23 2016-02-24 杨璐馨 Pipeline leakage recognizing and positioning system and method based on sound wave imaging

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414283A (en) * 2002-12-10 2003-04-30 西安交通大学 Oil gas pipeline leak intelligent on line monitoring method based on distribution type optical fibre sensor
CN101255950A (en) * 2007-06-14 2008-09-03 北京华银广誉石油科技有限公司 Intelligent warning system for computation and pipe monitoring of oil transportation collection and transmission system
CN201096589Y (en) * 2007-06-27 2008-08-06 中国石油天然气股份有限公司 Distributed Optical Fiber Pipeline Safety Early Warning System Based on Phase Interference
CN101620299A (en) * 2008-12-24 2010-01-06 深圳市恒捷丰光电科技有限公司 A kind of flexible metal casing fiber optic patch cord
KR20100135115A (en) * 2009-06-16 2010-12-24 (주) 이우티이씨 Detection and management system for underground facility using optical fiber sensor and magnetic marker
CN101968161A (en) * 2010-11-10 2011-02-09 于晋龙 Distributed optical fiber polarization sensor based automatic early warning system of intelligent pipeline
CN104565826A (en) * 2013-10-29 2015-04-29 中国石油天然气股份有限公司 Pipeline optical fiber safety monitoring and early warning method and system
CN105351756A (en) * 2015-11-23 2016-02-24 杨璐馨 Pipeline leakage recognizing and positioning system and method based on sound wave imaging

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113702332A (en) * 2021-08-23 2021-11-26 贵州电网有限责任公司 SF6 electrical equipment fault component CO2Concentration detection device and method
CN114088241A (en) * 2021-10-21 2022-02-25 武汉理工大学 Weak fiber grating array temperature/vibration composite sensing optical cable and use method thereof
CN113884247A (en) * 2021-12-09 2022-01-04 南京派光智慧感知信息技术有限公司 Comprehensive monitoring system and method for oil and gas pipeline

Also Published As

Publication number Publication date
CN112032577B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN112032577B (en) Oil stealing and leakage monitoring device and method for optical cable in oil pipeline
CN107120536A (en) A kind of distributed pipeline state intelligent monitoring system
CN101183899B (en) BP network based pipeline security identifying method for optical fiber pipeline leakage monitoring device
CN106788696A (en) The monitoring of optical cable on-line intelligence and fault location system based on GIS platform
CN207539636U (en) A kind of distributed pipeline state intelligent monitoring system
CN101684891B (en) Stress wave and optical fiber sensing compound pipeline safety early warning system
CN112377817B (en) Municipal pipe network pipe burst monitoring system and method
CN103063738A (en) Detecting method of outer anti-corrosion layer of buried fuel gas steel pipeline
CN107013812A (en) A kind of THM coupling line leakage method
CN105509979A (en) Fiber optic negative pressure wave-based oil and gas pipeline leakage monitoring positioning system and method
CN114575927A (en) Rail transit safety monitoring system and method
CN111122068A (en) Water pipeline leakage position positioning method based on optical fiber hydrophone
CN201273456Y (en) Stress wave and optical fiber sensing compound pipeline safety early warning system
CN101447832A (en) Method for measuring performance parameters of optical fiber cable circuit with ultra-long distance
CN114842603A (en) High tension cable prevents outer broken monitoring and early warning system
CN111239842A (en) Rainwater invasion optical cable monitoring system and method based on distributed optical fiber sensing technology
CN113128709B (en) Water supply network leakage management system
CN113884247A (en) Comprehensive monitoring system and method for oil and gas pipeline
CN101750572A (en) Real-time safety monitoring method and system for high-voltage underground long-distance power supply cable
CN116026449B (en) Vibration positioning monitoring system based on single-core optical fiber sensing
CN114088308B (en) Vibration pickup and leakage detection method for transport pipeline based on low-reflection chirped grating array
CN116625588A (en) Dam water seepage early warning system and method
Yan et al. Distributed vibration sensing system for oil and gas pipelines based on COTDR and BP neural network
CN101240876B (en) Pipeline intrusion source positioning method
CN113063844A (en) Method for judging pipeline safety based on non-contact detection and comparison of pipeline magnetic field strength at different times

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Applicant after: CLP kesiyi Technology Co.,Ltd.

Address before: 266555 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Applicant before: CHINA ELECTRONICS TECHNOLOGY INSTRUMENTS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant