A kind of lower teletype command coding/decoding method of rotary steerable drilling system
Technical field
The present invention relates to for oil exploration and development fields, particularly relate to a kind of for passing under surface instruction time, downhole system is to the reception of surface instruction and coding/decoding method.
Background technology
In petroleum drilling operation, the rotary steerable drilling system to drilling process closed loop control can be realized and be applied to gradually in petroleum exploration and development operation. At present, in rotary steerable drilling field, major part key technology all rests in external Ji Jia oil and gas development service company hands, and domestic corporation is in the early stage of development in this field. Along with the fast development of Chinese national economy, the exploration and development demand of petroleum resources is increasingly urgent, the requirement of efficient oil drilling system is more and more higher. Therefore, develop the rotary steerable drilling system of oneself maturation, have become as the vital task of domestic petroleum drilling well industry.
Relative to conventional oil drilling system, one key character of rotary steerable drilling system is exactly the closed loop control achieving drilling process, both in drilling process, downhole system is when without stopping boring, can receiving the surface instruction transmitted by mud the running status adjusting drilling tool, a wherein crucial step is exactly downhole system accurately receiving and resolving lower teletype command.
Existing decoding method, such as referenced patent number: ZL201210113132, it is turned on and off according to the sequential specified typically via controlling pulse valve, produce four mud pressure negative pulses in shaft bottom and complete the transmission of teletype command under a rotary steering, four mud pressure negative pulses arrange two command areas and a check field, get up to characterize the lower teletype command sent by the pulse interval permutation and combination in two command areas, the pulse interval of check field is used as the lower teletype command of verification; Corresponding with coded method, the trailing edge of four the mud pressure negative pulses in shaft bottom is detected by coding/decoding method by shaft bottom mud pressure gauge, obtain time parameter corresponding with command area and check field in actual measurement pulse, then pass through calculating and parse the lower teletype command that shaft bottom receives, and verify its correctness. The method instruction decoding method is more complicated, and owing to subsurface environment is extremely complex, there is the interference factors such as the vibration of various high intensity, impact, electromagnetic interference, reception and the correct identification of the downhole system mud pulse signal to passing down can be influenced to different extents, even can cause under information and pass failure.
Therefore, breath of delivering a letter under how receiving and correctly identify is the problem that must solve in rotary steerable drilling system development process.
Summary of the invention
The purpose of this invention is to provide the processing method that a kind of breath of can subsurface being delivered a letter accurately receives and identifies, and solves down breath of delivering a letter and because of decay, interference and the reception that causes and identifies the difficult problem that error rate is high.
The technical scheme is that
The lower teletype command coding/decoding method of a kind of rotary steerable drilling system, the steps include:
1) lower teletype command is converted to the mud flow rate information setting pulsewidth by rotary steering system by instruction converting unit, is sent to the downhole control system of rotary steering system;
2) downhole control system Real-time Collection mud flow rate information, and be filtered the data on flows collected within the scope of certain time processing, if the data peaks after processing reaches setting value H, then it is determined with under command information starts and passes, carry out step 3); Otherwise do not have under command information to pass;
3) downhole control system Real-time Collection mud flow rate information carry out matched filtering process, the pulse position information passed down;
4) downhole control system calculates the Grad of each pulse according to the pulse position information determined, if Signal gradient varies more than setting value h1 and for just, then judging rising edge of a pulse occur; If Signal gradient varies more than setting value h2 and is negative, then judge that pulse falling edge occurs;
5) downhole control system obtains the command information that passes down according to the pulse signature messages determined.
Further, described pulse signature messages includes position and the pulse width of pulse signal.
Further, when passing under being determined with command information and starting, described downhole control system sends instructions to the uploading tools of downhole control system immediately, stops the work of this uploading tools.
Further, described setting value H is more than setting value h1, setting value h2.
Further, described setting value h1 > h2.
Compared with prior art, the positive effect of the present invention is:
Complex environment due to down-hole; often produce the vibration of high intensity, impact; produce either large or small pulse; time and size that these interference signals produce are difficult to control; and then the transmission severe jamming to mud-pulse information; the present invention utilizes matched filtering algorithm, by the suitable adjustment passing down pulse width, improve under deliver a letter the accuracy rate of breath identification. By (decline) rate of change along neighbouring Signal gradient that mud-pulse is risen, it is determined that mud-pulse position, thus the command information passed down according to the pulse information decoded, substantially increase the accuracy rate of decoding.
Accurately identifying out for the ease of downhole system will have under information to pass, the present invention spreads when beginning under information, first producing a stronger pulse information, namely peak value H is more than the peak value of information pulse, in order to downhole system is accurately judged to pass having under information and preparation for acquiring, identification and decoding.
Considering that pulse is in actual propagation process, trailing edge generally can lower than the height of rising edge, and therefore the detected value in pulse detection process is set as h1 < h2 by the present invention.
Accompanying drawing explanation
Accompanying drawing is the method flow diagram of the present invention.
Detailed description of the invention
The algorithm structure of the present invention is divided into two parts, utilizes matched filtering algorithm pulse signals to process, to determine whether to pass under information; Determine after having and passing under information, utilize the graded information of mud-pulse, it is determined that the rising edge of mud-pulse and trailing edge, it is determined that the position of mud-pulse, thus realize under deliver a letter the accurate reception of breath. Algorithm flow chart is as shown in drawings.
One. pass evaluation algorithm under information
Rotary steering system is in drilling process, and lower teletype command is converted to mud flow rate information by instruction converting unit and is sent to downhole control system by aboveground control system; Downhole control system constantly gathers mud flow rate information, and utilizes matched filtering algorithm to process the data on flows collected within the scope of certain time. Data after matched filtering are judged, if the data peaks after processing reaches some setting value H, then it is assumed that have information to pass under starting, otherwise it is assumed that pass under there is no information.
Two. pass pulse recognition algorithm under information
Due to it is determined that pass under having information, downhole control system can send instruction immediately, stop down-hole uploading tools work (with reduce under deliver a letter the interference of breath), and pass pulse information under gathering. To the pulse information gathered, calculate its Grad, if Signal gradient varies more than a certain setting value h1 and for just, then it is assumed that rising edge of a pulse occurs; If Signal gradient varies more than a certain setting value h2 and is negative, then it is assumed that pulse falling edge occur; Last downhole control system obtains, according to decoded pulse signal, the command information that subsurface passes.