Workover treatment automatic data collection analysis system and control method
Technical field
The present invention relates to oil field equipment data collection and transmission technical fields, are a kind of workover treatment automated datas
Acquisition analysis system and control method.
Background technology
During traditional oil well repairing operation, workover treatment personnel first gradually propose sucker rod, the oil pipe in well,
It is put on the pipe support of ground neatly, in carrying Tubing During Running, according to code requirement, need to often carry 10 oil pipes and be perfused into pit shaft centainly
The liquid of volume, to prevent gas blowout accident occurs.To the oil pipe of proposition(Bar)It needs manually to measure length one by one and record.To making
During industry down-hole oil tube, also to rely on artificial experience to observe flooded conditions, need to take measures or close when more than well workover specification
Well.
Above-mentioned operation process is manual operation in traditional workover treatment, has the following problems:
1. measuring oil pipe(Bar)It when length, is carried out by 3 people, wherein two people draw tape measuring, 1 people record, there are efficiencies
It is low, measurement error is uncontrollable, records the drawbacks such as error-prone;
2. propose oil pipe operation, often carrying 10 oil pipes needs liquid filling primary, by manually bucket water lift being used to be perfused or by with a scale
Container tapping complete, efficiency is low;
3. when lower oil pipe, spillway discharge need to be judged by artificial experience, and there are lag issues.
Invention content
The present invention provides workover treatment automatic data collection analysis system and control methods, overcome above-mentioned existing skill
The deficiency of art, into pit shaft, liquid filling is equal when can effectively solve oil pipe length measuring present in existing workover treatment, carry oil pipe
By being accomplished manually, caused measurement error is uncontrollable, ineffective problem;Further solves oil pipe during well workover
Overflow judges the problem of lag when lower structure.
One of technical scheme of the present invention is realized by following measures:A kind of workover treatment automatic data collection
Analysis system includes host computer, PLC module, oil pipe length measuring device, the automatic liquid filling system of liquid filling tank and the inspection of liquid collecting tank liquid level
Alarm system is surveyed, the PLC module is communicated to connect by network and host computer, and the oil pipe length measuring device includes Laser Measuring
Away from sensor and automatic measurement trigger switch, laser range sensor is used to measure the length value of the oil pipe and oil pipe of measurement is long
Angle value is sent to PLC module, and tubing length analog signals are sent to host computer and shown by PLC module, and automatic measurement triggering is opened
Pass sends on-off model to PLC module after being triggered, PLC module record once above carries oil pipe and record is above carried oil pipe
Number be sent to host computers storage, the automatic liquid filling system of liquid filling tank include be mounted on liquid filling tank in first liquid level gauge and priming pump,
First liquid level gauge is used to measure the liquid level of the liquid in liquid filling tank, and host computer often records five times and above puies forward oil pipe i.e. control PLC module
Control signal is sent, PLC module controls liquid filling pump startup, and the liquid in liquid filling tank is discharged;The liquid collecting tank level detection alarm
System includes the second liquid level gauge being mounted on liquid collecting top tank structure and the alarm being installed on the outside of liquid collecting tank, and second liquid level gauge will
The real-time level data of the liquid collecting tank of measurement are sent to PLC module, and the alarm is connect with host computer.
Here is the further optimization and/or improvements to foregoing invention technical solution:
Above-mentioned first liquid level gauge is the first magnetostriction liquidometer, and second liquid level gauge is the second magnetostriction liquidometer.
Be additionally provided on above-mentioned liquid filling tank manual/auto change-over switch and manually boot and close priming pump it is manual by
Button, manual/auto change-over switch are connect with priming pump and hand push button respectively.
Above-mentioned oil pipe length measuring device further includes manual measurement trigger switch, is touched manually for being sent to PLC controller
The on-off model of hair.
Technical scheme of the present invention second is that being realized by following measures:One kind is above-mentioned to be automated using workover treatment
The control method of the tubing length automatic measurement of data acquisition and analysis system, includes the following steps:
The first step, system initialization;
Second step measures the length of oil pipe;
Third walks, and laser range sensor surveys the length L of 10 frequency measurement oil pipes with each second1And it is uploaded to PLC module;
4th step, after automatic measurement trigger switch is triggered, automatic measurement trigger switch sends on-off model to PLC module;
5th step chooses what the measurement that present laser distance measuring sensor uploads obtained when PLC module receives on-off model
Tubing length L1, according to formula L=L0+L1It calculates and is tested tubing length total length L, L0For the length definite value of oil pipe;
The tested oil pipe total length L being calculated is sent to host computer and is shown, stores by the 6th step, PLC module;It tests
After a piece oil pipe, if carrying out the measurement of next tested oil pipe or sucker rod again, second step is returned to.
The three of technical scheme of the present invention are realized by following measures:One kind is above-mentioned to be automated using workover treatment
The control method of the automatic liquid filling of data acquisition and analysis system, includes the following steps:
The first step, staff select oil pipe outer diameter, determine the outer diameter size of oil pipe, meanwhile, into PLC input oil pipe outer diameter and
Priming pump actual displacement;
Second step determines whether to carry tubing manipulation, if so, being walked into third;If it is not, then terminating;
Third walks, and PLC module judges whether to receive the trigger signal of automatic measurement trigger switch transmission, if receiving, PLC moulds
Block automatically records the quantity that oil pipe is above put forward, if not receiving, manually starts manual measurement trigger switch;
4th step judges that can priming pump start automatically under the control of PLC module, if can, enter the 5th step;If cannot,
Then enter the 6th step;
5th step, the priming pump in liquid filling tank start automatically under the control of PLC module, are above carried when the oil pipe of host computer record
When quantity is 5, start liquid filling, pouring amount controls filling time according to liquid filling pumpage difference by PLC module, and priming pump reaches
Autostop after specified time enters the 5th step if priming pump cannot start automatically;
6th step manually presses hand push button, and manual/automatic selector switch is placed in manual position, opens priming pump, and priming pump is opened
Begin to run, after reaching specified time, staff presses hand push button and closes priming pump.
The four of technical scheme of the present invention are realized by following measures:One kind is above-mentioned to be automated using workover treatment
The control method of the liquid collecting jar liquid surface overflow monitoring, alarming of data acquisition and analysis system, includes the following steps:
The first step, system initialization;
Second step, the second liquid level gauge liquid level per minute read in a liquid collecting tank, second liquid level gauge work as the liquid collecting tank of reading
Preceding liquid level data is sent to PLC module;
Third walks, and the current liquid level of the liquid collecting tank level threshold and the liquid collecting tank that are arranged in PLC module is compared, and judges current
Whether liquid level is less than level threshold;
4th step returns to second step if current level is less than level threshold;If current level is more than or equal to level threshold,
Into the 5th step;
5th step, PLC module trigger alarm and carry out audible alarm;
6th step, staff eliminates alarm equipment alarm manually, and is handled.
The present invention realizes the linear measure longimetry of tested oil pipe by laser range sensor automatic range, realizes and manually arrives
The transformation of machine automatic measurement, while measurement data is uploaded and be stored in host computer by network automatically, eliminate it is artificial because
Plain and generation typing mistake, improves measurement accuracy, improves the continuity of work flow, improves the work effect of operation
Rate.By installing first liquid level gauge in liquid collecting tank, liquid collecting tank liquid level situation of change is monitored in real time, and give full play to PLC module
Automation advantage, realize liquid level variation be more than setting value alarm, prompt operating personnel adopt an effective measure in time, repaiied with meeting
Well operations specification.By installing second liquid level gauge and priming pump in liquid filling tank, and the automation for giving full play to PLC module is excellent
Gesture fully achieves using the oil pipe tally function realized and substitutes artificial liquid filling by automated system and operate, and further plays
The effect for above putting forward oil pipe tally function, improves the continuity and working efficiency of work flow.
Description of the drawings
Attached drawing 1 is the electric control block diagram of the embodiment of the present invention 1.
Attached drawing 2 is the method flow diagram of the embodiment of the present invention 2.
Attached drawing 3 is the method flow diagram of the embodiment of the present invention 3.
Attached drawing 4 is the method flow diagram of the embodiment of the present invention 4.
Specific implementation mode
The present invention is not limited by following embodiments, can be determined according to the technique and scheme of the present invention with actual conditions specific
Embodiment.
With reference to embodiment and attached drawing, the invention will be further described:
Embodiment 1:As shown in Fig. 1, a kind of workover treatment automatic data collection analysis system include host computer, PLC module,
The automatic liquid filling system of oil pipe length measuring device, liquid filling tank and liquid collecting tank level detection alarm system, the PLC module pass through net
Network and host computer communicate to connect, and the oil pipe length measuring device includes laser range sensor and automatic measurement trigger switch,
Laser range sensor is used to measure the length value of oil pipe and the tubing length value of measurement is sent to PLC module, and PLC module will
Tubing length analog signals are sent to host computer and show, automatic measurement trigger switch sends on-off model extremely after being triggered
PLC module, PLC module receive an on-off model, then record and carry one, oil pipe and record is above carried oil pipe quantity hair
Send to host computer store, the automatic liquid filling system of liquid filling tank include be mounted on liquid filling tank in first liquid level gauge and priming pump, first
Liquid level gauge is used to measure the liquid level of the liquid in liquid filling tank, and host computer often records five and above carries oil pipe then to PLC module transmission control
Signal processed, PLC module control liquid filling pump startup, and the liquid in liquid filling tank is discharged;The liquid collecting tank level detection alarm system packet
The alarm for including the second liquid level gauge on the liquid collecting top tank structure and being installed on the outside of liquid collecting tank, second liquid level gauge is by measurement
The real-time level data of liquid collecting tank are sent to PLC module, and the alarm is connect with host computer.
The present invention monitors liquid level and rises situation, pass through liquid collecting tank in real time by installing high precision liquid level gauge in liquid collecting tank
Liquid level rises situation judgement and returns whether liquid measure is more than code requirement, realizes and substitutes the purpose that artificial experience judges.Here liquid filling
Pump can be submersible pump.
In measurement practical to tubing length, laser range sensor output 4mA-20mA signals simultaneously access PLC module
Analog channel, for exporting length analog signals.
The automatic liquid filling system work process of liquid filling tank is:When workover treatment process is " carrying oil pipe " process, by upper
Machine operating process selects, and starts automatic liquid filling program, and the oil pipe of proposition carries out linear measure longimetry, and PLC module is touched by automatic measurement
Hair switch is automatic to be counted, and each count results are sent to host computer and stored by PLC module.When host computer count value reaches 5
When, host computer sends control signal to PLC module, is located at the control that the submersible pump in liquid filling tank controls program in PLC module
Lower startup starts liquid filling.Pouring amount is different according to its different control time of liquid filling pumpage, reaches autostop after specified time.
The course of work of liquid collecting tank level detection alarm system is:Liquid collecting tank level detection alarm system is powered on, is initialized
After the completion, host computer carries out liquid level ascending amount comparison per minute according to the real-time level monitoring data of liquid collecting tank, and converts adult
Product variation, when change rate is more than setting value, PC control alarm makes a sound alarm;By host computer according to liquid collecting tank reality
When liquid level carry out liquid level variation calculate and judge, be not necessarily to manual intervention, can to a certain extent to well kick play alarm,
Forewarning function.
The oil pipe length measuring device course of work is:(1)Before workover treatment starts, automated system is powered on and is completed certainly
Inspection, operating personnel set pound sign, oil pipe outer diameter on host computer, carry the/basic parameter of lower oil pipe;(2)After workover treatment starts,
Laser range sensor measures tubing length and is sent to PLC module, and PLC module records tubing length data, is uploaded to upper
Machine shows and records.
Can according to actual needs, above-mentioned workover treatment automatic data collection analysis system is advanced optimized or/and
It improves:
As shown in Fig. 1, first liquid level gauge is the first magnetostriction liquidometer, and second liquid level gauge is the second magnetostrictive liquid level
Meter.
As shown in Fig. 1, be additionally provided with manual/auto change-over switch and manually boot and close priming pump it is manual by
Button, manual/auto change-over switch are connect with priming pump and hand push button respectively.When manual operation mode, by manual/auto conversion
Switch is placed in manual position, presses hand push button control liquid filling pump operation and stopping.
As shown in Fig. 1, oil pipe length measuring device further includes manual measurement trigger switch, for being sent out to PLC controller
Send the on-off model triggered manually.
Embodiment 2:As shown in Fig. 2, using workover treatment automatic data collection analysis system tubing length automatic measurement
Control method, include the following steps:
The first step, system initialization;
Second step measures the length of oil pipe;
Third walks, and laser range sensor surveys the length L of 10 frequency measurement oil pipes with each second1And it is uploaded to PLC module;
4th step, after automatic measurement trigger switch is triggered, automatic measurement trigger switch sends on-off model to PLC module;
5th step chooses what the measurement that present laser distance measuring sensor uploads obtained when PLC module receives on-off model
Tubing length L1, according to formula L=L0+L1It calculates and is tested tubing length total length L, L0For the length definite value of oil pipe;
The tested oil pipe total length L being calculated is sent to host computer and is shown, stores by the 6th step, PLC module;It tests
After a piece oil pipe, if carrying out the measurement of next tested oil pipe or sucker rod again, second step is returned to.
Embodiment 3:As shown in figure 3, using the controlling party of the automatic liquid filling of workover treatment automatic data collection analysis system
Method includes the following steps:
The first step, staff select oil pipe outer diameter, determine the outer diameter size of oil pipe, meanwhile, into PLC input oil pipe outer diameter and
Priming pump actual displacement;
Second step determines whether to carry tubing manipulation, if so, being walked into third;If it is not, then terminating;
Third walks, and PLC module judges whether to receive the trigger signal of automatic measurement trigger switch transmission, if receiving, PLC moulds
Block automatically records the quantity that oil pipe is above put forward, if not receiving, manually starts manual measurement trigger switch;
4th step judges that can priming pump start automatically under the control of PLC module, if can, enter the 5th step;If cannot,
Then enter the 6th step;
5th step, the priming pump in liquid filling tank start automatically under the control of PLC module, are above carried when the oil pipe of host computer record
When quantity is 5, start liquid filling, pouring amount controls filling time according to liquid filling pumpage difference by PLC module, and priming pump reaches
Autostop after specified time enters the 5th step if priming pump cannot start automatically;
6th step manually presses hand push button, and manual/automatic selector switch is placed in manual position, opens priming pump, and priming pump is opened
Begin to run, after reaching specified time, staff presses hand push button and closes priming pump.
Embodiment 4:As shown in figure 4, being supervised using workover treatment automatic data collection analysis system liquid collecting jar liquid surface overflow
Alert control method is observed and predicted, is included the following steps:
The first step, system initialization;
Second step, the second liquid level gauge liquid level per minute read in a liquid collecting tank, second liquid level gauge work as the liquid collecting tank of reading
Preceding liquid level data is sent to PLC module;
Third walks, and the current liquid level of the liquid collecting tank level threshold and the liquid collecting tank that are arranged in PLC module is compared, and judges current
Whether liquid level is less than level threshold;
4th step returns to second step if current level is less than level threshold;If current level is more than or equal to level threshold,
Into the 5th step;
5th step, PLC module trigger alarm and carry out audible alarm;
6th step, staff eliminates alarm equipment alarm manually, and is handled.
Host computer carries out liquid level variation calculating according to liquid collecting tank real-time level and judges, is not necessarily to manual intervention, can be certain
Alarm, forewarning function are played to well kick in degree.
The above technical characteristic constitutes the embodiment of the present invention, can basis with stronger adaptability and implementation result
Actual needs increases and decreases non-essential technical characteristic, to meet the needs of different situations.