Background technology
In oil and gas exploitation process, down-hole sensing equipment can measure the numerical value of multiple physical quantitys of down-hole, the pressure and temperature value of such as down-hole, subsurface reservoir situation of change and underground equipment operating mode can be judged better according to these measured values, thus determine system of reasonably exploiting and the measure of inspection pump, the exploitation of petroleum gas is had very important significance.Down-hole sensing equipment carries out communication by logging cable and ground passage usually, realizes uploading of downhole data.
Due to the diversity of Oil/gas Well well rod structure, the diversity of winning apparatus, work condition abnormality in pit shaft is complicated, logging cable is easy to be subject to rub, pull, extrude, corrosion etc. and be subject to major injury, thus makes the communication between ground and down-hole sensing equipment occur interrupting.And the operating cost changing logging cable is very expensive, and the production loss that stopping production replacing cable can be caused to cause.Market is all simplex between most system ground and underground equipment, and what adopt is twin-core or single core armoured cable, once wherein a core is short-circuited or open circuit fault, then and system complete failure.
The ground of some system and underground equipment all have employed binary channels design, have employed four-core or three core armoured cables, achieve 1+1 backup, improve the reliability of this system further.But because often pair of core in four-core and equipment two passages are fixed correspondence, once often have a cable core to break down in pair core, then the communication of two passages all can be interrupted.Such as, in quad (as shown in Figure 1), this quad is A, B, C, D tetra-core compositions, wherein AB core partners core (i.e. first via communication line), CD core forms another to core (i.e. No. second communication line), because the passage U1 of equipment and passage U2 correspond to two pairs of cores respectively, when having a core to break down in every pair core, then the communication of two passages all can be interrupted, so just cause two-way measured value to upload all to lose efficacy, therefore the design of binary channels 1+1 backup does not also reach optimized state.
Summary of the invention
The present invention mainly provides a kind of automatic switching method of underground logging cable, when any two cores of four-core logging cable or three core armoured cables break down, by automatic detection and the switching of ground and underground equipment, two other fault-free cable core is matched, thus recovers the a-road-through news between down-hole and ground.
The technical scheme solved the problems of the technologies described above is as follows:
An automatic switching method for underground logging cable, comprises the following steps:
Step 1, is controlled by ground and data processing unit, telecommunication cable and down-hole sensing unit, sets up at least two-way communication between ground passage and down-hole sensing passage;
Step 2, ground controls and data processing unit and/or down-hole sensing unit detect the communication state between ground passage and down-hole sensing passage;
Step 3, if step 2 detects communication when occurring abnormal, then ground controls and data processing unit and/or down-hole sensing unit judge whether communication abnormality way is two-way Zhong mono-tunnel;
Step 4, if the judged result of step 3 is no, namely all there is exception in two-way communication, and it is abnormal to be detected as telecommunication cable, the cable core switching matrix that then ground controls and data processing unit controls in this unit carries out poll switching, the cable core switching matrix that down-hole sensing unit controls in this unit carries out poll switching, makes two-way cable core carry out new pairing;
Step 5, when again matching, detects and whether at least can recover a-road-through news.
Preferably, described telecommunication cable is quad or three core armoured cables.
Preferably, in step 1, two-way communication is configured to:
The first via is: the first subchannel of ground passage one carries out communication by the first subchannel of the first cable core, down-hole passage one and down-hole sensing passage one successively; Second subchannel of ground passage one carries out communication by the second subchannel of the second cable core, down-hole passage one and down-hole sensing passage one successively;
Second tunnel is: the first subchannel of ground passage two carries out communication by the first subchannel of the 3rd cable core, down-hole passage two and down-hole sensing passage two successively; Second subchannel of ground passage two carries out communication by the first subchannel of the 4th cable core, down-hole passage two and down-hole sensing passage two successively.
Preferably, in step 2, with this, ground control and data processing unit, detecting that resistance and the operating current of abnormal rear detection telecommunication cable appear in communication, judge that whether telecommunication cable is impaired.
Preferably, in step 3, if anomalous communication is two-way Zhong mono-tunnel, the then warning information of reporting fault place passage, and the data on the normal road of communication are reported.
Preferably, in step 4, ground controls and the data processing unit cable core switching matrix controlled in this unit carries out poll switching time, and it is unequal for switching time that the cable core switching matrix controlled in this unit with down-hole sensing unit carries out poll.
Preferably, down-hole sensing unit carries out poll switching time to the cable core switching matrix in this unit, is at least that ground controls and the data processing unit cable core switching matrix controlled in this unit carries out 3 times of poll switching time.
Preferably, in the poll handoff procedure of step 4, ground control and data processing unit to send communication frame to down-hole cycle time and to wait for the acknowledgement frame of down-hole sensing unit, ground control and data processing unit send the cycle time of communication frame downwards, and it is unequal for switching time that the cable core switching matrix controlled in this unit with down-hole sensing unit carries out poll.
Preferably, ground controls and data processing unit sends cycle time of communication frame downwards, is less than the down-hole sensing unit cable core switching matrix controlled in this unit and carries out poll switching time.
Preferably, cable core switching matrix is electronic switch or micro-machinery switch.
By detection of the present invention, when only having, riches all the way gives birth to communication failure, and the cable core switching matrix at cable two ends does not carry out switching action.Whole system still can be carried out downhole data by the normal passage of another road communication and be uploaded.There is the alarm of faulty channel to indicate simultaneously.When two-way communication all exception occurs, and it is abnormal to be detected as cable, then firing cable core detects and matcher automatically.If only have in four-core that two cores have fault and other two cores are good, then automatically detected and matcher by cable core, a-road-through news can be recovered, keep downhole data to upload.The position of fault two core can be indicated simultaneously.When cable has more than three cores to break down, then cable core detects and matcher also cannot recover communication automatically, and now ground installation reports downhole communication complete failure alarm prompt.When communication abnormality is caused due to wiring error in cable two ends, also automatically recover communication by same method, thus reduce the complexity of system operation maintenance.
In sum, by method of the present invention, when any two cores of four-core logging cable (or three core armoured cables) break down, by automatic detection and the switching of ground and underground equipment, two other fault-free cable core is matched, thus the a-road-through news recovered between down-hole and ground, make downhole measurement successfully can be uploaded to ground installation, thus significantly improve the reliability of whole system.
Embodiment
As shown in Figure 2, the present invention comprises ground, down-hole and controls and data processing unit, down-hole sensing unit and connect the telecommunication cable at two ends on hardware.Ground controls and data processing unit is connected with one end of telecommunication cable, ground controls and data processing unit comprises processor, two-way independently communication channel, cable detection unit and 1 4x4 cable core switching matrix, cable detection unit has the detection resistance of telecommunication cable and the function of operating current, judges that whether telecommunication cable is impaired with this.Down-hole sensing unit is connected with the other end of telecommunication cable, down-hole sensing unit at least comprises two groups of sensing detection passages mutually backed up, and 1 4x4 cable core switching matrix, all have processor in two groups of sensing detection passages mutually backed up, down-hole sensing unit uploads by four-core or three core armoured cables the data that two-way detects in real time respectively.Telecommunication cable is four-core logging cable or three core armoured cables.Above-mentioned 4x4 cable core switching matrix can be electronic switch or micromechanics (MEMS) switch.
As shown in Figures 2 to 5, the automatic switching method of underground logging cable of the present invention, comprises the following steps:
Step 1, program initialization, controlled by ground and data processing unit, telecommunication cable and down-hole sensing unit, set up at least two-way communication between ground passage and down-hole sensing passage, be the data transmission of 1+1 backup formula, if a wherein road fault, another road still can uploading data.In the present invention, quad is adopted to be described for telecommunication cable, in this step, the concrete configuration of two-way communication is (the first width figure as in Fig. 4 and Fig. 5): the first via is: the first subchannel U1_A of ground passage one carries out communication by the first subchannel D1_A of the first cable core A, down-hole passage one and down-hole sensing passage one successively; Second subchannel U1_B of ground passage one carries out communication by the second subchannel D1_B of the second cable core B, down-hole passage one and down-hole sensing passage one successively.
Second tunnel is: the first subchannel U2_A of ground passage two carries out communication by the first subchannel D2_A of the 3rd cable core C, down-hole passage two and down-hole sensing passage two successively; Second subchannel U2_B of ground passage two carries out communication by the first subchannel D2_B of the 4th cable core D, down-hole passage two and down-hole sensing passage two successively.
Step 2, ground controls and data processing unit and/or down-hole sensing unit detect the communication state between ground passage and down-hole sensing passage; In step 2, with this, ground control and data processing unit, detecting that resistance and the operating current of abnormal rear detection telecommunication cable appear in communication, judge that whether telecommunication cable is impaired.
Step 3, if step 2 detects communication when occurring abnormal, then ground controls and data processing unit and/or down-hole sensing unit judge whether the way of communication abnormality is two-way Zhong mono-tunnel.In step 3, if anomalous communication is two-way Zhong mono-tunnel, the then warning information of reporting fault place passage, and the data on the normal road of communication are reported.When this illustrates the a-road-through news exception in two-way, and another road communication is intact, and the data of detection can be uploaded by an intact road, do not impact the work of system.
Step 4, if the judged result of step 3 is no, namely all there is exception in two-way communication, and it is abnormal to be detected as telecommunication cable, illustrate that in two-way communication, each road has at least a cable core to damage or fault, at this moment needs cable core intact in two-way to re-start configuration, be used for recovering communication.Detailed process is:
The cable core switching matrix that ground controls and data processing unit controls in this unit carries out poll switching, and the cable core switching matrix that down-hole sensing unit controls in this unit carries out poll switching, makes two-way cable core carry out new pairing.Namely control cable core switching matrix inner separately by ground and down-hole, make not have out of order cable core and cable core switching matrix to form new configuration relation.
In step 4, ground controls and the data processing unit cable core switching matrix controlled in this unit to carry out poll switching time be T1, it is T2 that the cable core switching matrix controlled in this unit with down-hole sensing unit carries out poll switching time, T1 and T2 is unequal, the object of such setting is: the cable core switching matrix switching cycle one fast of ground cable core switching matrix and down-hole is slow, can be used for ensureing that wherein two fault-free cable cores have an opportunity to dock.Down-hole sensing unit carries out poll switching time to the cable core switching matrix in this unit, at least that ground controls and the data processing unit cable core switching matrix controlled in this unit carries out 3 times of poll switching time, namely T1 is at least that 3 times of T2 are (also passable conversely, and T2 is at least 3 times of T1), can ensure that the cable core switching matrix on ground often switches once like this, the cable core switching matrix of down-hole at least can travel through a different cable core and connect configuration.
In the poll handoff procedure of step 4, ground control and data processing unit to send communication frame to down-hole cycle time and to wait for the acknowledgement frame of down-hole sensing unit, the cycle time that ground control and data processing unit send communication frame is downwards T3, and it is unequal for switching time that the cable core switching matrix controlled in this unit with down-hole sensing unit carries out poll.Ground control and data processing unit send T3 cycle time of communication frame downwards, be less than the down-hole sensing unit cable core switching matrix controlled in this unit and carry out poll T2 switching time, i.e. T3 < T2, with ensure down-hole sensing unit can receive ground the communication frames sent out.
Step 5, when again matching, detects and whether at least can recover a-road-through news.If testing result is yes, this illustrates in four cables core in two-way communication to only have that two cores have fault and other two cores are good, then automatically detected and matcher by cable core, can recover a-road-through news, maintenance downhole data is uploaded.The position of fault two core can be indicated simultaneously.
If the testing result of step 5 is no, then enter step 6, the alarm of downhole communication complete failure indicates, and this illustrates in telecommunication cable has more than three cores to break down, then cable core detects and matcher also cannot recover communication automatically, and now ground installation reports downhole communication complete failure alarm prompt.
Be illustrated for wherein two the cable core communication abnormalities in quad below:
As the first width figure of Fig. 4 and Fig. 5, step 1, communication initial configuration is, the first via is: the first subchannel U1_A of ground passage one carries out communication by the first subchannel D1_A of the first cable core A, down-hole passage one and down-hole sensing passage one successively; Second subchannel U1_B of ground passage one carries out communication by the second subchannel D1_B of the second cable core B, down-hole passage one and down-hole sensing passage one successively.
Second tunnel is: the first subchannel U2_A of ground passage two carries out communication by the first subchannel D2_A of the 3rd cable core C, down-hole passage two and down-hole sensing passage two successively; Second subchannel U2_B of ground passage two carries out communication by the first subchannel D2_B of the 4th cable core D, down-hole passage two and down-hole sensing passage two successively.
Simplified illustration: below in the description that step 3 is later, to the first cable core A, the second cable core B, the 3rd cable core C, the 4th cable core D, adopts A, B, C, D to represent accordingly, represents passage one passage 1, represent passage dual-purpose passage 2.
Step 2, when ground control and data processing unit and down-hole sensing unit detect ground and down-hole two-way communication all occur abnormal after, then firing cable core detects and matching function automatically respectively.Here be described for the first cable core A and the second cable core D fault, other AC, BC, BD two core processing method that breaks down is identical
Step 3, ground control and data processing unit control the switching of the 4X4 cable core switching matrix of this unit, and down-hole sensing unit controls the switching of the cable core switching matrix of this unit.The poll switching cycle of two cable core switching matrixs needs one at a slow speed and another is for switching fast, to ensure that wherein two fault-free cable cores can be had an opportunity docking.The such as switching time of ground 4X4 cable core switching matrix 1 is T1, and the switching time of downhole cable core switching matrix 2 is T2, and T1 is at least greater than 3T2 (also can T2 be at least greater than 3T1).To ensure that ground matrix often switches once, down-hole matrix at least can travel through a different cable core connection configuration.
Step 4, as shown in Figure 4, ground control and data processing unit in cable core switching matrix, transfer sequence is followed successively by AB (passage 1), CD (passage 2) → AC (passage 1), BD (passage 2) → AD (passage 1), BC (passage 2), and each switching time is spaced apart T1.Surface units sends communication frame with T3 cycle time to down-hole and waits for the acknowledgement frame of down-hole sensing unit.T3<T2, with ensure down-hole sensing unit can receive ground the communication frames sent out.
As shown in Figure 5, the cable core switching matrix of down-hole sensing unit, transfer sequence is followed successively by AB (passage 1), CD (passage 2) → AC (passage 1), BD (passage 2) → AD (passage 1), BC (passage 2), and each switching time is spaced apart T2.If certain passage of down-hole sensing equipment receive within the T2 time ground installation the communication frame sent out, then keep this matrix position constant.Simultaneously device replied acknowledgement frame earthward.
In this example embodiment, because cable core A and D breaks down, after switching, the cable core switching matrix in ground control and data processing unit is made to be positioned at AD (passage 1), BC (passage 2), and the cable core switching matrix of down-hole sensing unit is positioned at AD (passage 1), BC (passage 2), ground controls and the passage 2 of data processing unit and down-hole sensing unit can carry out normal communication by cable core BC, thus completes the automatic matching of cable core and recovered the communication on ground and down-hole.If ground and down-hole switching matrix, through repeatedly traveling through switching, still cannot recover communication, then show that this logging cable has at least more than 3 cores to break down, then report the alarm of downhole communication complete failure.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.