CN112887057B - Underground data processing device and system - Google Patents

Underground data processing device and system Download PDF

Info

Publication number
CN112887057B
CN112887057B CN202110062681.4A CN202110062681A CN112887057B CN 112887057 B CN112887057 B CN 112887057B CN 202110062681 A CN202110062681 A CN 202110062681A CN 112887057 B CN112887057 B CN 112887057B
Authority
CN
China
Prior art keywords
data
processing unit
module
downlink control
uplink
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.)
Active
Application number
CN202110062681.4A
Other languages
Chinese (zh)
Other versions
CN112887057A (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.)
Beijing Gangzhen Science And Technology Co ltd
Original Assignee
Beijing Gangzhen Science And Technology Co ltd
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 Beijing Gangzhen Science And Technology Co ltd filed Critical Beijing Gangzhen Science And Technology Co ltd
Priority to CN202110062681.4A priority Critical patent/CN112887057B/en
Publication of CN112887057A publication Critical patent/CN112887057A/en
Application granted granted Critical
Publication of CN112887057B publication Critical patent/CN112887057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/001Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding applied to control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0028Formatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/04Arrangements for synchronous operation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

One or more embodiments of the present disclosure provide an apparatus and a system for processing downhole data, including a first processing unit, receiving coded downlink control data sent by a ground processing unit, decoding the coded downlink control data to obtain downlink control data, and sending the downlink control data to a second processing unit, so that the second processing unit analyzes the downlink control data to obtain a control instruction, and sending the control instruction to a corresponding data measurement instrument; on the other hand, the uplink observation data sent by the second processing unit is received, the uplink observation data is subjected to coding processing to obtain coded uplink observation data, and the coded uplink observation data is sent to the ground processing unit. The embodiment can realize the unified collection and reporting of the observation data acquired by various underground data measuring instruments to the ground part, and simultaneously realize the control and management of the ground part on the various data measuring instruments, thereby ensuring the accuracy and reliability of underground observation.

Description

Underground data processing device and system
Technical Field
One or more embodiments of the present disclosure relate to the field of downhole observation technology, and more particularly, to a downhole data processing device and system.
Background
In an underground comprehensive observation system, a plurality of data measuring instruments such as seismometers, geomagnetisms and strain sensors are generally arranged at the bottom of the well with the depth of 300 meters to 3000 meters, observation data acquired by the data measuring instruments need to be uniformly uploaded to a ground processing unit so as to realize underground data observation, and meanwhile, the ground processing unit also needs to issue control instructions to the data measuring instruments, so that unified management and control of the data measuring instruments are facilitated.
In order to realize underground observation, the underground comprehensive observation system has high accuracy requirements on acquired observation data, however, the data acquired by each data measuring instrument are different in data content, data accuracy and the like, and a data processing device between the underground data measuring instrument and a ground processing unit is needed, so that on one hand, the data acquired by various data measuring instruments are collected and uniformly transmitted to the ground processing unit, on the other hand, a control instruction issued by the ground processing unit is forwarded to the corresponding data measuring instrument, and the data accuracy is required to be ensured in the data interaction process.
Disclosure of Invention
In view of this, it is an object of one or more embodiments of the present disclosure to provide a downhole data processing apparatus and system to solve the data processing problem between the downhole data measuring instrument and the surface processing unit.
In view of the above, one or more embodiments of the present specification provide a downhole data processing apparatus comprising:
the first processing unit is used for receiving the coded downlink control data sent by the ground processing unit, decoding the coded downlink control data to obtain downlink control data, sending the downlink control data to the second processing unit, so that the second processing unit analyzes the downlink control data to obtain a control instruction, and sending the control instruction to a corresponding data measuring instrument; the ground processing unit is used for receiving the uplink observation data sent by the first processing unit, carrying out coding processing on the uplink observation data to obtain coded uplink observation data, and sending the coded uplink observation data to the ground processing unit; the uplink observation data are obtained by the second processing unit receiving the observation data of at least one data measuring instrument and formatting the observation data.
Optionally, the first processing unit includes:
the receiving module is used for receiving the uplink observation data sent by the second processing unit;
the coding module is used for coding the uplink observation data to obtain coded uplink observation data;
The first transceiver module is used for sending the coded uplink observation data to the ground processing unit and receiving coded downlink control data sent by the ground processing unit;
the decoding module is used for decoding the coded downlink control data to obtain downlink control data;
and the sending module is used for sending the downlink control data to the second processing unit.
Optionally, the receiving module is configured to sequentially receive the uplink observation data;
the coding module is used for reading data from the receiving module in sequence, and performing Miller coding processing on the read data to obtain the coded uplink observation data;
the decoding module is used for performing Miller decoding processing on the coded downlink control data to obtain the downlink control data;
the sending module is used for sending the downlink control data in sequence.
Optionally, the receiving module is a ping-pong queue formed by a write queue and a read queue, and the sending module is a sending FIFO queue.
Optionally, the coded downlink control data includes a whole second flag, a control instruction and a time parameter for time calibration;
the decoding module is used for identifying the whole second mark, determining the position of the whole second mark, and then starting decoding processing on the encoded downlink control data from the position of the whole second mark to obtain a decoded control instruction and a decoded time parameter;
The sending module is used for sending the decoded control instruction and the time parameter, so that the second processing unit analyzes the control instruction and the time parameter according to the received decoded control instruction and the received time parameter, sends the control instruction to a corresponding data measuring instrument, sends the time parameter to all data measuring instruments, and performs time calibration according to the time parameter.
Optionally, the first transceiver module is configured to receive the encoded downlink control data in a first period of time and send the encoded uplink observation data in a second period of time in a communication period.
Optionally, the receiving module is configured to receive a portion of the uplink observation data when a communication cycle begins;
the decoding module is configured to receive the encoded downlink control data at the time when the first time period is completed, and decode the encoded downlink control data to obtain the downlink control data;
and the sending module is used for sending a transmission permission signal to the second processing unit after sending part of the downlink control data, so that the second processing unit continues to send part of the uplink observation data according to the transmission permission signal until the downlink control data is completely sent and the uplink observation data is completely received.
Optionally, the communication period is 1 second, the first time period is 60 ms, the second time period is 940 ms, the data length of the encoded downlink control data is 544 bytes, and the data length of the encoded uplink observation data is 8456 bytes;
the receiving module is used for receiving 450 bytes of uplink observation data when a communication period starts;
the decoding module is used for decoding the encoded downlink control data to obtain 544 bytes of downlink control data when the encoded downlink control data of 544 bytes is received in the first time period;
and the sending module is used for sending a permission sending signal to the second processing unit after sending part of the downlink control data, so that the second processing unit can continue to send 450 bytes of uplink observation data according to the permission sending information until 544 bytes of downlink control data are completely sent and 8456 bytes of uplink observation data are completely received.
Optionally, the first processing unit is connected with the ground processing unit through at least one group of transmission lines, and the first processing unit includes at least one group of receiving module, encoding module, decoding module, transmitting module and first receiving and transmitting module;
The first transceiver module is configured to send the encoded uplink observation data to the ground processing unit through a corresponding path of transmission line, and receive encoded downlink control data sent by the ground processing unit.
The embodiment of the specification provides a comprehensive underground observation system, which comprises the underground data processing device.
As can be seen from the foregoing, the downhole data processing device and system provided in one or more embodiments of the present disclosure include a first processing unit, on one hand, receiving encoded downlink control data sent by a ground processing unit, performing decoding processing on the encoded downlink control data to obtain downlink control data, and sending the downlink control data to a second processing unit, so that the second processing unit analyzes the downlink control data to obtain a control instruction, and sends the control instruction to a corresponding data measurement instrument; on the other hand, the uplink observation data sent by the second processing unit is received, the uplink observation data is subjected to coding processing to obtain coded uplink observation data, and the coded uplink observation data is sent to the ground processing unit. The underground data processing device can realize unified collection and reporting of the observation data acquired by various underground data measuring instruments to the ground part, and meanwhile, realize control and management of the ground part on the various data measuring instruments, and ensure the accuracy and reliability of underground observation.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are necessary for the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only one or more embodiments of the present description, from which other drawings can be obtained, without inventive effort, for a person skilled in the art.
FIG. 1 is a system block diagram of a comprehensive downhole observation system according to one or more embodiments of the present disclosure;
FIG. 2 is a block diagram of a first processing unit in accordance with one or more embodiments of the present disclosure;
FIG. 3 is a block diagram of a first processing unit according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a portion of the data flow between a downhole data processing device and a surface processing unit in accordance with one or more embodiments of the present disclosure;
FIG. 5 is a schematic diagram of a communication cycle of one or more embodiments of the present disclosure;
FIG. 6 is a block diagram of a second processing unit in accordance with one or more embodiments of the present disclosure;
fig. 7 is a block diagram of an apparatus according to one or more embodiments of the present disclosure.
Detailed Description
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same.
It is noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present disclosure should be taken in a general sense as understood by one of ordinary skill in the art to which the present disclosure pertains. The use of the terms "first," "second," and the like in one or more embodiments of the present description does not denote any order, quantity, or importance, but rather the terms "first," "second," and the like are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
As described in the background section, the comprehensive observation system in the pit includes a ground section and a downhole section, the downhole section includes various data measuring instruments arranged in the pit, the various data measuring instruments are used for measuring various kinds of observation data in the pit and transmitting the observation data to a ground processing unit of the ground section, the ground processing unit realizes the downhole observation according to the various kinds of observation data received, and at the same time, the ground processing unit needs to realize the monitoring by sending control instructions to the various kinds of data measuring instruments.
The applicant finds that in the process of realizing the disclosure, the data collected by various data measuring instruments are different, the underground distance from the ground is far, and in order to realize underground observation, the observed data obtained by the ground processing unit should have high accuracy, so that data fidelity under long-distance transmission needs to be ensured in the data transmission process. If various data measuring instruments are directly connected with the ground processing unit to realize data interaction of the two, the wiring is complex, the interference is large, the reliability is low, the data precision is reduced, various observation data are required to be respectively processed, and the data processing method is complex and tedious and wastes resources.
The technical scheme of the present disclosure is further described in detail below through specific examples.
As shown in fig. 1 and 2, one or more embodiments of the present disclosure provide a downhole data processing apparatus, comprising:
the first processing unit is used for receiving the coded downlink control data sent by the ground processing unit, decoding the coded downlink control data to obtain downlink control data, sending the downlink control data to the second processing unit, so that the second processing unit analyzes the downlink control data to obtain a control instruction, and sending the control instruction to a corresponding data measuring instrument; the ground processing unit is used for receiving the uplink observation data sent by the first processing unit, carrying out coding processing on the uplink observation data to obtain coded uplink observation data, and sending the coded uplink observation data to the ground processing unit; the second processing unit receives the observation data of at least one data measuring instrument, and formats the observation data.
The downhole data processing device provided by the embodiment comprises a first processing unit and a second processing unit, wherein on one hand, the first processing unit receives coded downlink control data sent by the ground processing unit, the coded downlink control data are obtained after decoding, the second processing unit analyzes the downlink control data to obtain control instructions corresponding to each data measuring instrument, and the control instructions are sent to the corresponding data measuring instruments, so that the ground processing unit manages and controls each data measuring instrument. On the other hand, the second processing unit receives the observation data of all the underground data measuring instruments, performs uniform formatting processing on the observation data to obtain uplink observation data, and then the first processing unit codes and processes the uplink observation data and sends the uplink observation data to the ground processing unit to realize uniform collection of the observation data. By using the underground data processing device of the embodiment, unified collection and reporting of the observation data acquired by various underground data measuring instruments to the ground can be realized, and meanwhile, control and management of the various underground data measuring instruments are realized, and data precision can be ensured through data encoding and decoding.
In some embodiments, the first processing unit comprises:
the receiving module is used for receiving the uplink observation data sent by the second processing unit;
the coding module is used for coding the uplink observation data to obtain coded uplink observation data;
the first transceiver module is used for sending the coded uplink observation data to the ground processing unit and receiving the coded downlink control data sent by the ground processing unit;
the decoding module is used for decoding the coded downlink control data to obtain the downlink control data;
and the sending module is used for sending the downlink control data to the second processing unit.
In this embodiment, the first processing unit receives, on the one hand, the uplink observation data sent by the second processing unit, encodes the uplink observation data, then sends the encoded uplink observation data to the ground processing unit, and on the other hand, receives the encoded downlink control data sent by the ground processing unit, decodes the encoded downlink control data, and then sends the decoded downlink control data to the second processing unit, and by performing encoding and decoding processing on the data, accuracy and reliability of data transmission between the underground portion and the ground portion can be ensured, and accuracy of the observation data is ensured.
In some embodiments, the receiving module is configured to sequentially receive uplink observation data;
the coding module is used for reading the data from the receiving module in sequence, and performing Miller coding processing on the read data to obtain coded uplink observation data;
the decoding module is used for carrying out Miller decoding processing on the coded downlink control data to obtain the downlink control data;
and the sending module is used for sending the downlink control data in sequence.
In the embodiment, the receiving module sequentially receives the uplink observation data, the encoding module sequentially reads the data from the receiving module, and miller encoding is carried out on the read data to obtain encoded uplink observation data, so that the matching problem of the data transmission rate and the encoding rate of the uplink observation data can be solved, the data loss caused by rate mismatch is avoided, and the data integrity and accuracy are ensured; the decoding module performs Miller decoding on the encoded downlink control data, and the transmitting module transmits the decoded downlink control data, so that the rate matching problem of the data is solved, the data integrity is ensured, and the Miller encoding method is adopted, so that the encoding and decoding are simple and reliable, the identification is easy, and the processing speed is high.
In some modes, the receiving FIFO queue is adopted to sequentially receive uplink observation data, and the coding module sequentially reads the data from the receiving FIFO queue to perform Miller coding; and transmitting downlink control data by adopting a transmission FIFO queue.
In some modes, as shown in fig. 3, the first processing unit and the second processing unit are connected through an SPI interface, the second processing unit sends uplink observation data to the first processing unit through the SPI interface, the data transmission rate is a first rate, in some cases, the first rate is greater than the encoding rate of the encoding module, in order to avoid data loss, the receive FIFO queue is provided with a ping-pong queue formed by a write FIFO queue and a read FIFO queue, the write queue is used for receiving the uplink observation data, and the encoding module reads data from the write queue.
In some embodiments, the encoded downlink control data includes a whole second flag, a control instruction, and a time parameter for time calibration;
the decoding module is used for identifying the whole second mark, after determining the position of the whole second mark, starting decoding processing on the coded downlink control data from the position of the whole second mark, and obtaining a decoded control instruction and a decoded time parameter;
the sending module is used for sending the decoded control instruction and the time parameter so that the second processing unit analyzes the control instruction and the time parameter according to the received decoded control instruction and the received decoded time parameter, sends the control instruction to the corresponding data measuring instrument, sends the time parameter to all the data measuring instruments, and performs time calibration according to the time parameter.
In this embodiment, the encoded downlink control data sent by the ground processing unit to the downhole data processing device mainly includes a whole second flag, a control instruction and a time parameter, where the whole second flag is used to identify the start of a communication period between the ground processing unit and the downhole data processing device, and in one communication period, the ground processing unit and the downhole data processing device interactively encode uplink observation data and encoded downlink control data. The control instruction is a control instruction sent by the ground processing unit to the data measuring instrument, and the data measuring instrument can execute specific actions according to the control instruction. The time parameter is a time parameter which is sent to all data measuring instruments by the ground processing unit and used for calibrating time, and each measuring instrument performs time calibration according to the time parameter, so that time synchronization of each instrument in the underground comprehensive observation system can be ensured, and accuracy of observation data is ensured.
Referring to fig. 4, in some embodiments, the data format of the encoded downlink control data is:
preamble code Second mark Downstream data flag Time control code Control data part
Wherein, the preamble is a character of 2 bytes, the second mark is a character of 2 bytes, the preamble and the second mark together form a whole second mark, and the whole second mark can be defined as 11001100000111110000011111001100; the downlink data flag is a character of 4 bytes, which can be defined as 0x00000000h, and the part can be used for expansion; the time control code is 8 bytes of characters, 4 bytes are UTC time parameters, and the rest part can be used for expansion; the control data part comprises at least one group of instrument addresses and other control instructions such as corresponding control instructions and/or switching instructions, the length of the control data part is fixed to 528 bytes, and the data length of the coded downlink control data is fixed to 544 bytes. In some embodiments, the data length of the downlink control data obtained by decoding the encoded downlink control data is 544 bytes.
In some embodiments, the first transceiver module is configured to receive encoded downlink control data during a first time period and transmit encoded uplink observation data during a second time period during a communication period.
In this embodiment, the underground data processing device transmits the observation data collected by the data measurement instrument to the ground data processing unit, the ground data processing unit transmits the control instruction to the underground data processing device, and in order to realize bidirectional data transmission, the observation data and the control instruction are transmitted in a half duplex mode, that is, in a communication period, the communication period is divided into a first period and a second period, in the first period, the ground data processing unit transmits the encoded downlink control data to the underground data processing device, and in the second period, the underground data processing device transmits the encoded uplink observation data to the ground data processing unit. The half-duplex data transmission mode is adopted, so that the data communication and control functions between the underground part and the ground part can be realized, the problem of long-distance transmission is solved, and the data transmission reliability is improved.
In some embodiments, the communication period is one whole second, and the whole second may be divided into a first period of time in which the control command is transmitted from the surface portion to the downhole portion and a second period of time in which the downhole observation data is transmitted from the downhole portion to the surface portion.
In some embodiments, the receiving module is configured to receive a portion of the uplink observation data when a communication cycle begins;
the decoding module is used for receiving the coded downlink control data finishing moment in the first time period and carrying out decoding processing on the coded downlink control data to obtain downlink control data;
and the transmission module is used for transmitting a transmission permission signal to the second processing unit after transmitting part of the downlink control data, so that the second processing unit continues to transmit part of the uplink observation data according to the transmission permission signal until all the downlink control data are transmitted and all the uplink observation data are received.
In this embodiment, in order to ensure that half duplex communication is implemented in a communication period, in a data transmission process of a first processing unit and a second processing unit, when a decoding module identifies a whole second flag, and determines that a communication period starts, a receiving module starts to receive part of uplink observed data, when a first transceiver module receives coded downlink control data in a first period, the decoding module starts to decode to obtain downlink control data, a transmitting module transmits part of decoded downlink control data to the second processing unit, and then transmits a transmission permission signal to the second processing unit, and when the second processing unit receives the transmission permission signal, the second processing unit continues to transmit part of uplink observed data to the first processing unit, and continues the process of receiving part of uplink observed data and transmitting part of downlink control data in the communication period until all of uplink observed data in the communication period is received, all of downlink control data is transmitted, and data interaction in the communication period is completed. Through the data transmission control process, continuous transmission and encoding and decoding processing of data can be realized, and continuity and accuracy of data processing are ensured.
In some embodiments, the communication period is 1 second, the first time period is 60 ms, the second time period is 940 ms, the data length of the encoded downlink control data is 544 bytes, and the data length of the encoded uplink observation data is 8456 bytes;
the receiving module is used for receiving 450 bytes of uplink observation data when a communication period starts;
the decoding module is used for decoding the encoded downlink control data to obtain 544 bytes of downlink control data when the encoded downlink control data of 544 bytes is received in the first time period;
and the sending module is used for sending a permission sending signal to the second processing unit after sending part of the downlink control data so as to enable the second processing unit to continuously send 450 bytes of uplink observation data according to the permission sending information until 544 bytes of downlink control data are completely sent and 8456 bytes of uplink observation data are completely received.
In some application embodiments, as shown in connection with fig. 5, the communication period is 1 second, where 60 millimeters is used to transmit encoded downstream control data, 940 milliseconds is used to transmit encoded upstream observation data, and the data length of the encoded downstream control data is fixed at 544 bytes and the data length of the encoded upstream observation data is fixed at 8456 bytes. In a communication period, in the data transmission process of the first processing unit and the second processing unit, when the communication period is judged to start, the second processing unit transmits 450 bytes of uplink observation data to the first processing unit, the decoding module decodes all coded downlink control data received in the first period to obtain 544 bytes of downlink control data, part of the downlink control data is transmitted to the second processing unit, after part of the downlink control data is transmitted, an permission signal is transmitted to the second processing unit, after the second processing unit receives the permission signal, the second processing unit continues to transmit 450 bytes of uplink observation data to the first processing unit, and the first processing unit repeats the process of receiving part of the uplink observation data and transmitting part of the downlink control data until all the downlink control data is transmitted to the second processing unit and all the uplink observation data is received. In some aspects, the data transfer rate between the downhole data processing device and the surface processing unit is 72Kbps.
In some embodiments, the first processing unit is connected to the ground processing unit through at least one set of transmission lines, and the first processing unit includes at least one set of receiving module, encoding module, decoding module, transmitting module, and first receiving and transmitting module;
the first transceiver module is used for sending the coded uplink observation data to the ground processing unit through a corresponding transmission line and receiving the coded downlink control data sent by the ground processing unit.
In this embodiment, as shown in fig. 7, the downhole data processing device is connected with the ground processing unit through a multiplexing transmission line, and the data can be transmitted through the multiplexing transmission line, where the first processing unit sets multiple sets of receiving modules, encoding modules, decoding modules, transmitting modules and first receiving and transmitting modules corresponding to the transmission line, and when one or more transmission lines fail, the data processing is stopped by using the corresponding set of receiving modules, encoding modules, decoding modules, transmitting modules and first receiving and transmitting modules of the failed transmission line, and by switching, the data processing is performed by using the switched set of receiving modules, encoding modules, decoding modules, transmitting modules and first receiving and transmitting modules, so that normal data transmission is ensured and reliability is improved.
In some embodiments, the downhole data processing device is connected with the ground processing unit through a cable, and data transmission interaction between the downhole part and the ground part is realized by using the cable, so that the number of lines is reduced, signal interference is reduced, wiring is simplified, and maintenance is easy.
In some application scenes, the underground data processing device is connected with the ground processing unit through a seven-core cable, two parallel core wires are arranged in pairs according to the arrangement characteristic of the seven-core cable, the two core wires are divided into three pairs, the three pairs are used as three transmission lines, and the three transmission lines are used for realizing bidirectional transmission of observation data and control instructions between an underground part and a ground part.
As shown in fig. 6, in some embodiments, the observation data includes an instrument address of the data measurement instrument and corresponding data content; the second processing unit includes:
the third transceiver module is used for receiving the observation data;
the preprocessing module is used for analyzing the observed data to obtain at least one group of instrument addresses and corresponding data contents, and storing the instrument addresses and the corresponding data contents in the collection storage area;
the formatting processing module is used for formatting the data in the collecting storage area to obtain uplink observation data.
In this embodiment, the observation data received by the downhole data processing apparatus includes an instrument address and a corresponding data content, that is, the observation data transmitted by each data measurement instrument to the downhole data processing apparatus includes two parts, that is, a unique address of the instrument and data acquired by the instrument. After receiving the observation data, the third transceiver module of the downhole data processing device analyzes the observation data by the preprocessing module to obtain instrument addresses and data contents corresponding to the data measuring instruments respectively, the instrument addresses and the corresponding data contents are stored in the collecting storage area according to the instrument addresses, and the formatting processing module reads the data from the collecting storage area and performs unified formatting processing to obtain the processed uplink observation data. By collecting the observation data of each data measuring instrument according to the instrument address and carrying out unified formatting treatment, the ground processing unit can analyze the data collected by different data measuring instruments from the received data so as to carry out subsequent treatment.
In some embodiments, the formatting processing module is configured to read data with a predetermined data length from the collection storage area, and encapsulate the read data as a data portion according to a predetermined format to obtain uplink observation data.
In this embodiment, the formatting processing module reads at least one set of stored instrument addresses and corresponding data contents from the collection storage area, encapsulates the data according to a preset uplink data encapsulation format with the read data as a data portion, and obtains uplink observation data, thereby realizing uniformity of the data format.
In some embodiments, the data format of the uplink observation data is:
uplink data initiation Uplink data flag Data part End of upstream data
Wherein, the up data starts as 2 bytes of characters, which can be defined as 1010101010101010; the up data flag is a character of 4 bytes, which can be defined as 0x00000000h, and the part can be used for expansion; the end of the uplink data is a 2 byte character, which can be defined as 1010101010101010; the data portion is data read out from the collection storage area, and the length of the data portion is fixed to 8448 bytes; the data length of the upstream observation data is fixed to 8456 bytes, and if the data length read from the collection storage area is less than 8448 bytes, it can be complemented with a specific character (e.g., all zeros). In some embodiments, the data length of the encoded uplink observation data obtained by encoding the uplink observation data is 8456 bytes.
In some embodiments, the data content includes measurement data collected by the data measurement instrument and/or operational parameters of the data measurement instrument, and the collection storage area includes a data area for storing the measurement data and a parameter area for storing the operational parameters.
In this embodiment, the observation data received by the downhole data processing device includes an instrument address and a corresponding data content, the data content uploaded by the data measurement instrument includes collected measurement data and/or working parameters of the instrument, and the measurement data and the working parameters are respectively stored in the data area and the parameter area, so that the formatting process of subsequent data is facilitated. In some modes, the data measuring instrument transmits the currently acquired measurement data and the current working parameters of the instrument to the underground data processing device, in other modes, the data measuring instrument transmits the currently acquired measurement data to the underground data processing device, and when the data measuring instrument receives the issued control instruction for collecting the working parameters, the data measuring instrument transmits the current working parameters to the underground data processing device. For the measurement data, different data measurement instruments correspond to different measurement data, for example, the measurement data of the seismometer are three directional vibration signals (east-west direction, north-south direction and vertical direction vibration signals), the measurement data of the geomagnetic meter are magnetic field intensity signals and magnetic field direction signals, the measurement data of the strain gauge are mechanical signals, the measurement data of the inclinometer are inclination change signals, and the measurement data of the accelerometer are acceleration signals; for the operating parameters, different data measuring instruments correspond to different operating parameters, for example, the operating parameters of the seismometer include zero point signals, lock swing states, operating temperatures, sensitivities, and the like, and the operating parameters of the geomagnetic instrument include operating temperatures, operating humidity, sensitivities, and the like.
In some embodiments, the downlink control data includes an instrument address of the data measurement instrument and a corresponding control instruction; the second processing unit includes:
the second transceiver module is used for receiving downlink control data;
the control instruction analysis module is used for analyzing the downlink control data to obtain at least one group of instrument addresses and corresponding control instructions;
and the third transceiver module is used for sending the control instruction corresponding to the instrument address to the corresponding data measuring instrument according to the instrument address.
In this embodiment, the downhole data processing apparatus may receive downlink control data through the second transceiver module, where the downlink control data is obtained by decoding the encoded downlink control data of the ground processing unit received by the first processing unit, and the control instruction analysis module analyzes the downlink control data to obtain one or more groups of instrument addresses and corresponding control instructions, and sends the control instructions to the data measurement instrument corresponding to the instrument addresses by using the third transceiver module, so that the data measurement instrument performs a specific action according to the received control instructions.
In some manners, the control instruction is a command for controlling the data measuring instrument to execute a specific action, for example, an unlocking instruction for controlling the seismometer to unlock and lock, a zeroing instruction for controlling the seismometer to execute zeroing operation, a query instruction for querying the current working parameters of the seismometer, and the like, and the embodiment does not specifically limit the specific content and form of the control instruction.
In some embodiments, the control instructions include a time parameter;
the control instruction analysis module is used for analyzing the downlink control data to obtain time parameters;
and the third transceiver module is used for transmitting the time parameter to all the data measuring instruments so that each data measuring instrument performs time calibration according to the time parameter.
In this embodiment, since various data measurement instruments in the underground comprehensive observation system are all precise instruments, the various data measurement instruments in the system are required to achieve strict time synchronization so as to ensure the accuracy of the observation data of the underground comprehensive observation system, therefore, the ground processing unit uniformly transmits time parameters for synchronizing time to all the data measurement instruments, and all the data measurement instruments perform local time calibration according to the received time parameters so as to ensure the precise synchronization of all the instruments in the system.
As shown in fig. 7, in some embodiments, the downlink control data further includes a switching instruction for switching the transmission line; the second processing unit includes:
the first transceiver module is used for transmitting the uplink observation data with different instrument addresses to the first processing unit, so that the first processing unit encodes the uplink observation data to obtain encoded uplink observation data, and then the encoded uplink observation data is transmitted to the ground processing unit through at least one transmission line, wherein the second transceiver module corresponds to the transmission line one by one;
The control instruction analysis module is used for analyzing the downlink control data to obtain a switching instruction;
and the switching module is used for switching the second transceiver module according to the switching instruction, and transmitting uplink observation data and receiving downlink control data by using the switched second transceiver module so that the first processing unit transmits the coded uplink observation data and the coded downlink control data through the switched transmission line.
In this embodiment, the downhole data processing device is connected with a plurality of data measuring instruments, and can collect observation data of each data measuring instrument according to an instrument address, and the downhole data processing device is connected with the ground processing unit through a multiplexing transmission line, and is used for transmitting coded uplink observation data and coded downlink control data. Considering that part of the multiple transmission lines may fail, the transmission lines need to be switched in time when the failure occurs, so as to ensure normal transmission of the coded uplink observation data and the coded downlink control data and ensure data transmission reliability. Based on the purpose, the second processing unit is provided with a plurality of second transceiver modules, each second transceiver module is used for transmitting uplink observation data corresponding to different instrument addresses and receiving downlink control data corresponding to different instrument addresses, the second transceiver modules are in one-to-one correspondence with the transmission lines, when the ground processing unit judges that one or more transmission lines fail (whether the data can be normally transmitted/received, whether the data with correct format is received or not is detected and judged in a mode of the like), the encoded downlink control data containing switching instructions is transmitted to the underground data processing device, the first processing unit decodes the encoded downlink control data and transmits the decoded downlink control data to the second processing unit, the control instruction analysis module analyzes the downlink control data to obtain the switching instructions, the switching module switches the second transceiver modules according to the switching instructions, the second transceiver modules corresponding to the failed transmission lines are stopped to transmit and receive the data, and the data are transmitted and received by the switched second transceiver modules, and the reliability of data transmission is guaranteed.
In some embodiments, the switching instruction includes a faulty line identifier and a switched line identifier, each second transceiver module allocates a second transceiver module identifier, each transmission line allocates a line identifier, and the second transceiver module identifiers are in one-to-one correspondence with the line identifiers;
the switching module is used for determining the line identification with faults and the switched line identification according to the switching instruction; determining a corresponding second transceiver module identifier according to the failed line identifier, and stopping sending uplink observation data and receiving downlink control data by using the failed second transceiver module corresponding to the second transceiver module identifier; and determining a corresponding second transceiver module identifier according to the switched line identifier, and processing data of the fault second transceiver module by using the switched second transceiver module corresponding to the second transceiver module identifier.
In this embodiment, when the ground processing unit determines that a transmission line has failed, a switching instruction is issued to the downhole data processing device, and the downhole data processing device may determine, by analyzing the switching instruction, the failed transmission line and the transmission line to be switched, and then stop sending the received data by using the second transceiver module corresponding to the failed transmission line, and uniformly switch the data to be processed by the second transceiver module corresponding to the failed transmission line to the second transceiver module corresponding to the transmission line to be switched to send and receive the data, so that normal transmission line can be ensured through switching.
For example, the second transceiver module a is configured to send uplink observation data of the seismometer and receive downlink control data of the seismometer, the transmission line a is configured to transmit encoded uplink observation data and encoded downlink control data of the seismometer, the second transceiver module B is configured to send uplink observation data of the geomagnetic meter and receive downlink control data of the geomagnetic meter, and the transmission line B is configured to transmit encoded uplink observation data and encoded downlink control data of the geomagnetic meter; when the ground processing unit detects that the transmission line A fails, a switching instruction is sent to the underground data processing device, the switching instruction comprises the failed transmission line A and a transmission line B to be switched, after the switching module analyzes the switching instruction, the transmission of the coded uplink observation data and the coded downlink control data of the seismometer by the transmission line A is stopped, and the coded uplink observation data and the coded downlink control data of the seismometer and the coded uplink observation data and the coded downlink control data of the geomagnetic meter are simultaneously transmitted by the transmission line B.
One or more embodiments of the present disclosure also provide a downhole integrated observation system including at least one data measurement instrument deployed downhole, a data acquisition device, a downhole data processing device, and a surface processing unit at the surface. The data collected by each data measuring instrument is processed into digital signals by the data collecting device, then is subjected to unified collection processing by the underground data processing device and is uniformly sent to the ground processing unit, meanwhile, the ground processing unit uniformly sends control instructions to the underground data measuring instrument through the underground data processing device, underground comprehensive observation can be achieved, and observation accuracy and reliability are guaranteed.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the spirit of the present disclosure, steps may be implemented in any order, and there are many other variations of the different aspects of one or more embodiments described above which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure one or more embodiments of the present description. Furthermore, the apparatus may be shown in block diagram form in order to avoid obscuring the one or more embodiments of the present description, and also in view of the fact that specifics with respect to implementation of such block diagram apparatus are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present disclosure is intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Any omissions, modifications, equivalents, improvements, and the like, which are within the spirit and principles of the one or more embodiments of the disclosure, are therefore intended to be included within the scope of the disclosure.

Claims (8)

1. A downhole data processing device, comprising a first processing unit and a second processing unit; the first processing unit includes:
a receiving module, configured to receive, when a communication cycle starts, part of uplink observation data sent by the second processing unit; the uplink observation data comprise uplink data marks, measurement data and/or working parameters of a data measurement instrument;
the coding module is used for coding the uplink observation data to obtain coded uplink observation data;
The first transceiver module is used for transmitting the coded uplink observation data to the ground processing unit in a second time period and receiving coded downlink control data transmitted by the ground processing unit in a first time period in a communication period; the coded downlink control data comprises a whole second mark, a control instruction and a time parameter for time calibration;
the decoding module is used for receiving the coded downlink control data completion time in the first time period, identifying the whole second mark, determining the position of the whole second mark, and then starting decoding processing on the coded downlink control data from the position of the whole second mark to obtain decoded downlink control data, wherein the downlink control data comprises a control instruction and a time parameter;
the sending module is used for sending the control instruction and the time parameter so that the second processing unit analyzes the control instruction and the time parameter, sending the control instruction to a corresponding data measuring instrument, sending the time parameter to all the data measuring instruments, and carrying out time calibration on all the data measuring instruments according to the time parameter; and after the control instruction and the time parameter are sent, sending a transmission permission signal to the second processing unit, so that the second processing unit continues to send the uplink observation data according to the transmission permission signal until the downlink control data are completely sent and the uplink observation data are completely received;
The second processing unit includes:
a third transceiver module for receiving the observation data of at least one data measuring instrument;
the preprocessing module is used for analyzing the observed data to obtain at least one group of instrument addresses and corresponding data contents, and storing the instrument addresses and the corresponding data contents in a collection storage area;
the formatting processing module is used for reading at least one group of instrument addresses and corresponding data contents from the collecting and storing area, taking the read data as a data part, and packaging according to a preset uplink data packaging format to obtain the uplink observation data;
the second transceiver module is used for receiving the downlink control data;
the control instruction analysis module is used for analyzing the downlink control data to obtain at least one group of instrument addresses and corresponding control instructions;
and the third transceiver module is used for sending the control instruction corresponding to the instrument address to the corresponding data measuring instrument according to the analyzed instrument address.
2. The apparatus of claim 1, wherein the device comprises a plurality of sensors,
the receiving module is used for sequentially receiving the uplink observation data;
The coding module is used for reading data from the receiving module in sequence, and performing Miller coding processing on the read data to obtain the coded uplink observation data;
the decoding module is used for performing Miller decoding processing on the coded downlink control data to obtain the downlink control data;
the sending module is used for sending the downlink control data in sequence.
3. The apparatus of claim 2, wherein the receiving means is a ping-pong queue consisting of a write queue and a read queue, and the transmitting means is a transmit FIFO queue.
4. The apparatus of claim 1, wherein the communication period is 1 second, the first time period is 60 ms, the second time period is 940 ms, the data length of the encoded downstream control data is 544 bytes, and the data length of the encoded upstream observation data is 8456 bytes;
the receiving module is used for receiving 450 bytes of uplink observation data when a communication period starts;
the decoding module is used for decoding the encoded downlink control data to obtain 544 bytes of downlink control data when the encoded downlink control data of 544 bytes is received in the first time period;
And the sending module is used for sending a permission sending signal to the second processing unit after sending part of the downlink control data, so that the second processing unit can continue to send 450 bytes of uplink observation data according to the permission sending signal until 544 bytes of downlink control data are completely sent and 8456 bytes of uplink observation data are completely received.
5. The apparatus of claim 1, wherein the first processing unit is connected to the ground processing unit by at least one set of transmission lines, the first processing unit comprising at least one set of the receiving module, encoding module, decoding module, transmitting module, and first transceiver module;
the first transceiver module is configured to send the encoded uplink observation data to the ground processing unit through a corresponding path of transmission line, and receive encoded downlink control data sent by the ground processing unit.
6. The apparatus of claim 1, wherein the downstream control data further comprises a switching instruction for switching transmission lines; the second processing unit includes:
the first processing unit is used for encoding the uplink observation data to obtain encoded uplink observation data, and then transmitting the encoded uplink observation data to the ground processing unit through at least one transmission line, wherein the second transceiver module corresponds to the transmission line one by one;
The control instruction analysis module is used for analyzing and obtaining the switching instruction;
and the switching module is used for switching the second transceiver module according to the switching instruction, and transmitting uplink observation data and receiving downlink control data by using the switched second transceiver module so that the first processing unit transmits the coded uplink observation data and the coded downlink control data through the switched transmission line.
7. The apparatus of claim 6, wherein the switching instruction includes a failed line identifier and a switched line identifier, each second transceiver module allocates a second transceiver module identifier, each transmission line allocates a line identifier, and the second transceiver module identifiers are in one-to-one correspondence with the line identifiers;
the switching module is used for determining a corresponding second receiving and transmitting module identifier according to the line identifier with the fault, stopping sending uplink observation data and receiving downlink control data by using the fault second receiving and transmitting module corresponding to the second receiving and transmitting module identifier; and determining a corresponding second transceiver module identifier according to the switched line identifier, and processing data of the fault second transceiver module by using the switched second transceiver module corresponding to the second transceiver module identifier.
8. A downhole integrated vision system comprising a downhole data processing device according to any of claims 1-7.
CN202110062681.4A 2021-01-18 2021-01-18 Underground data processing device and system Active CN112887057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110062681.4A CN112887057B (en) 2021-01-18 2021-01-18 Underground data processing device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110062681.4A CN112887057B (en) 2021-01-18 2021-01-18 Underground data processing device and system

Publications (2)

Publication Number Publication Date
CN112887057A CN112887057A (en) 2021-06-01
CN112887057B true CN112887057B (en) 2023-07-07

Family

ID=76048952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110062681.4A Active CN112887057B (en) 2021-01-18 2021-01-18 Underground data processing device and system

Country Status (1)

Country Link
CN (1) CN112887057B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101832125A (en) * 2010-04-16 2010-09-15 电子科技大学 Remotely updating device of EDIB (Electronic Data Interchange Bus) based down-hole program
CN203632686U (en) * 2013-11-26 2014-06-04 中国石油天然气股份有限公司 Half-duplex communication circuit applied to oil well test system
CN110939437A (en) * 2019-12-16 2020-03-31 北京港震科技股份有限公司 Underground data acquisition device and system
CN111305818A (en) * 2020-04-07 2020-06-19 中国地震局地震预测研究所 Underground comprehensive observation device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8358220B2 (en) * 2007-03-27 2013-01-22 Shell Oil Company Wellbore communication, downhole module, and method for communicating

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101832125A (en) * 2010-04-16 2010-09-15 电子科技大学 Remotely updating device of EDIB (Electronic Data Interchange Bus) based down-hole program
CN203632686U (en) * 2013-11-26 2014-06-04 中国石油天然气股份有限公司 Half-duplex communication circuit applied to oil well test system
CN110939437A (en) * 2019-12-16 2020-03-31 北京港震科技股份有限公司 Underground data acquisition device and system
CN111305818A (en) * 2020-04-07 2020-06-19 中国地震局地震预测研究所 Underground comprehensive observation device

Also Published As

Publication number Publication date
CN112887057A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN103489304B (en) Transfer equipment, transfer processing system and method
CN103731206B (en) The test device of optical module communication bit error rates and sensitivity
CN104569653B (en) A kind of password card Auto-Test System
CN102393738A (en) Diagnostic device and test method of automobile electronic control unit (ECU)
CN104793069B (en) A kind of data transmission performance self-checking system of active type cable
CN101647234B (en) The method and system of the cyclical transmission process waiting for transmission data for safety
CN112887057B (en) Underground data processing device and system
CN102721430B (en) Displacement sensing positioning system on basis of radio frequency identification technology and positioning method
CN104104559B (en) A kind of E1 Error Detectors system
CN109398420A (en) Suspension monorail location recognition method and identification sensor mounting structure
CN104991263A (en) Method for performing satellite positioning signal resolution
CN103941710A (en) Digital grouting recorder
CN112901155A (en) Underground data collection device and system
CN111305818A (en) Underground comprehensive observation device
CN1157696C (en) Danger signal reporting system
CN209064116U (en) Suspension monorail location identification sensor mounting structure
CN107480567A (en) A kind of intelligent card printing information automatic testing method and system
CN109283457B (en) Method for detecting electrical performance of M-BUS communication interface
CN107395448A (en) A kind of 2M communication checks method and detection device
CN106448098A (en) Wireless program-control testing system and method using electronic measuring instruments
CN102355460A (en) Communication device for rail transportation vehicle and method
CN207051414U (en) A kind of Wiring detection system for relay coded track circuit rack
CN204679031U (en) A kind of tower write chip apparatus write chip unit position detecting device
CN205843841U (en) Switch cubicle long distance temperature measurement system
CN103916639A (en) Online telemetering method and device of reading of mechanical SF6 gas density meter

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
GR01 Patent grant
GR01 Patent grant