CN114666030B - Hybrid underground signal encoding and decoding method - Google Patents
Hybrid underground signal encoding and decoding method Download PDFInfo
- Publication number
- CN114666030B CN114666030B CN202210576694.8A CN202210576694A CN114666030B CN 114666030 B CN114666030 B CN 114666030B CN 202210576694 A CN202210576694 A CN 202210576694A CN 114666030 B CN114666030 B CN 114666030B
- Authority
- CN
- China
- Prior art keywords
- signal
- type
- synchronization
- emergency
- header
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 238000012937 correction Methods 0.000 claims description 17
- 238000001914 filtration Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 8
- 230000015572 biosynthetic process Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 239000003129 oil well Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000002689 soil Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0054—Detection of the synchronisation error by features other than the received signal transition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明提供一种混合井下信号编码与解码方法,包括:井下发射器在调制后的采集信号前端加上信号同步头,并将采集信号以电磁波的方式发送至地面接收器;地面接收器计算采集信号与每一种类型同步头的预设码值的互相关系数,基于互相关系数与对应类型的门限系数值之间的大小关系,判断采集信号是否为同步头;若是同步头,则根据同步头的类型和系统设置参数确定对应的解调方式;基于解调方式对所述采集信号进行解调。本发明通过在信息前部加上同步头来区别信号类型,通过在地面接收器设立同步头检测区并计算互相关系数来识别同步头类型并定位信号,根据同步头类型选择相应的解调方式类对采集信号进行解调,兼顾信号的实时性与高精度。
The invention provides a hybrid downhole signal encoding and decoding method, which includes: a downhole transmitter adds a signal synchronization head to the front end of the modulated acquisition signal, and sends the acquisition signal to a ground receiver in the form of electromagnetic waves; the ground receiver calculates the acquisition The cross-correlation coefficient between the signal and the preset code value of each type of synchronization head, based on the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value of the corresponding type, to determine whether the collected signal is a synchronization head; if it is a synchronization head, according to the synchronization The type of the header and the system setting parameters determine the corresponding demodulation mode; the collected signal is demodulated based on the demodulation mode. The present invention distinguishes the signal type by adding a synchronization header to the front of the information, establishes a synchronization header detection area on the ground receiver and calculates the cross-correlation coefficient to identify the synchronization header type and locate the signal, and selects the corresponding demodulation mode according to the synchronization header type. The class demodulates the acquired signal, taking into account the real-time performance and high precision of the signal.
Description
技术领域technical field
本发明涉及通信领域,更具体地,涉及一种混合井下信号编码与解码方法。The present invention relates to the field of communications, and more particularly, to a hybrid downhole signal encoding and decoding method.
背景技术Background technique
目前我国石油领域智能化程度逐渐提高,大量井下装备由传统的有线通信模式转向无线通信模式。目前主流的井下无线通信方式共有三种,其中电磁波通信近些年发展较快,多家公司都基于电磁波开发了井下通信系统。然而电磁波从井下传到地面上,途中需要穿过数千米的地层,受到地层中的噪声与复杂混联阻抗网络影响,往往导致信号传到地面时失真极为严重,必须经过滤波处理之后才能解码出其中内容,且阻抗网络结构复杂,其传递函数与油井结构、土壤电阻率等多种因素有关,加大了信号滤波的难度,传统的滤波方式无法适用于井下的复杂状况。At present, the degree of intelligence in my country's petroleum field is gradually improving, and a large number of downhole equipment has shifted from the traditional wired communication mode to the wireless communication mode. At present, there are three mainstream underground wireless communication methods. Among them, electromagnetic wave communication has developed rapidly in recent years. Many companies have developed underground communication systems based on electromagnetic waves. However, when the electromagnetic wave is transmitted from the well to the surface, it needs to pass through thousands of meters of formation on the way. It is affected by the noise in the formation and the complex mixed impedance network, which often leads to severe distortion when the signal is transmitted to the surface. It must be filtered before decoding. In addition, the structure of the impedance network is complex, and its transfer function is related to various factors such as oil well structure and soil resistivity, which increases the difficulty of signal filtering.
发明内容SUMMARY OF THE INVENTION
本发明针对现有技术中存在的技术问题,提供一种混合井下信号编码与解码方法,包括:Aiming at the technical problems existing in the prior art, the present invention provides a hybrid downhole signal encoding and decoding method, including:
井下发射器在调制后的采集信号前端加上信号同步头,并将所述采集信号以电磁波的方式发送至地面接收器;The downhole transmitter adds a signal synchronization head to the front end of the modulated acquisition signal, and sends the acquisition signal to the ground receiver in the form of electromagnetic waves;
地面接收器计算所述采集信号与每一种类型同步头的预设码值的互相关系数,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头;The ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, and judges that the current in the identification area is based on the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value of the corresponding type. Whether the said acquisition signal is a synchronization head;
若是同步头,则根据同步头的类型和系统设置参数确定对应的解调方式;If it is a sync header, determine the corresponding demodulation method according to the type of the sync header and the system setting parameters;
基于所述解调方式对所述采集信号进行解调。The acquired signal is demodulated based on the demodulation manner.
在上述技术方案的基础上,本发明还可以作出如下改进。On the basis of the above technical solutions, the present invention can also make the following improvements.
可选的,所述井下发射器在调制后的采集信号前端加上信号同步头,包括:Optionally, the downhole transmitter adds a signal synchronization head to the front end of the modulated acquisition signal, including:
根据采集信号的类型,井下发射器在所述采集信号前端加上对应的信号同步头,所述信号同步头中包括与采集信号类型对应的编码值,所述采集信号的类型为紧急类型或非紧急类型,所述紧急类型的信号同步头的长度小于所述非紧急类型的信号同步头的长度。According to the type of the collected signal, the downhole transmitter adds a corresponding signal synchronization header to the front end of the collected signal, and the signal synchronization header includes a coding value corresponding to the type of the collected signal, and the type of the collected signal is emergency type or non-essential. The urgent type, the length of the signal synchronization header of the urgent type is smaller than the length of the signal synchronization header of the non-emergency type.
可选的,所述地面接收器计算所述采集信号与每一种类型同步头的预设码值的互相关系数,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头,包括:Optionally, the ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, based on the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value of the corresponding type, Determining whether the acquisition signal currently in the identification area is a synchronization header includes:
所述地面接收器计算所述采集信号与紧急类型同步头的预设码值之间的第一互相关系数以及所述采集信号与非紧急类型同步头的预设码值之间的第二互相关系数;The ground receiver calculates a first cross-correlation coefficient between the acquired signal and the preset code value of the emergency type sync header and a second cross-correlation coefficient between the acquired signal and the preset code value of the non-emergency type sync header. relationship number;
当所述第一互相关系数小于紧急门限系数值时,所述采集信号不是同步头;或者,当所述第二互相关系数小于非紧急门限系数值时,所述采集信号不是同步头;When the first cross-correlation coefficient is less than the emergency threshold coefficient value, the acquired signal is not a synchronization header; or, when the second cross-correlation coefficient is smaller than the non-urgent threshold coefficient value, the acquired signal is not a synchronization header;
当所述第一互相关系数大于紧急门限系数值时,所述采集信号为同步头,且所述采集信号的类型为紧急类型;或者,当所述第二互相关系数大于非紧急门限系数值时,所述采集信号为同步头,且所述采集信号的类型为非紧急类型。When the first cross-correlation coefficient is greater than the emergency threshold coefficient value, the acquired signal is a sync header, and the type of the acquired signal is an emergency type; or, when the second cross-correlation coefficient is greater than the non-emergency threshold coefficient value , the collected signal is a sync header, and the type of the collected signal is a non-emergency type.
可选的,所述地面接收器中包括信号缓存区,所述信号缓存区包括第一次同步头检测区和第二次同步头检测区,所述信号缓存区的长度满足以下条件:Optionally, the ground receiver includes a signal buffer area, the signal buffer area includes a first synchronization header detection area and a second synchronization header detection area, and the length of the signal buffer area satisfies the following conditions:
当采集信号的信号同步头进入第二次同步头检测区后,采集信号整体应已经全部进入信号缓存区。After the signal synchronizing head of the collected signal enters the second synchronizing head detection area, the entire collected signal should have entered the signal buffer area.
可选的,所述地面接收器计算所述采集信号与每一种类型同步头的预设码值的互相关系数,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头,包括:Optionally, the ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, based on the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value of the corresponding type, Determining whether the acquisition signal currently in the identification area is a synchronization header includes:
当地面接收器的信号缓存区的第一次同步头检测区接收到采集信号之后,判断所述采集信号是否为同步头,如果不为同步头,则等待检测下一段采集信号;After the first synchronization header detection area of the signal buffer area of the ground receiver receives the acquisition signal, determine whether the acquisition signal is a synchronization header, and if not, wait for the next segment of the acquisition signal to be detected;
如果判断所述采集信号为紧急类型信号,则基于实时解调方式对所述采集信号进行实时解调;If it is determined that the collected signal is an emergency type signal, demodulating the collected signal in real time based on a real-time demodulation method;
如果判断所述采集信号为非紧急类型信号,则进入第二次同步头检测区进行检测,当第二次同步头检测区再次检测到所述采集信号为非紧急类型信号时,则基于延时解调方式对所述采集信号进行解调。If it is judged that the acquisition signal is a non-emergency type signal, enter the second synchronization head detection area for detection, and when the second synchronization head detection area detects that the acquisition signal is a non-emergency type signal again, based on the delay The demodulation method demodulates the collected signal.
可选的,所述采集信号与每一种类型同步头的预设码值的互相关系数的计算公式为:Optionally, the calculation formula of the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization head is:
; ;
; ;
; ;
; ;
其中为采集信号,为每一种类型同步头的预设码值,N为采集信号长 度,的取值范围为0~1。 in To collect the signal, is the preset code value of each type of sync header, N is the length of the collected signal, The value range is 0~1.
可选的,通过如下方式计算得到所述紧急门限系数值和所述非紧急门限系数值:Optionally, the emergency threshold coefficient value and the non-emergency threshold coefficient value are obtained by calculating in the following manner:
井下发射器向地面接收器发送已知校正编码,地面接收器计算接收到的校正编码与原始已知校正编码之间的第三互相关系数;The downhole transmitter sends the known correction code to the surface receiver, and the surface receiver calculates the third cross-correlation coefficient between the received correction code and the original known correction code;
根据所述第三互相关系数,确定所述紧急门限系数值和所述非紧急门限系数值,其中,所述紧急门限系数值小于所述非紧急门限系数值。The emergency threshold coefficient value and the non-emergency threshold coefficient value are determined according to the third cross-correlation coefficient, wherein the emergency threshold coefficient value is smaller than the non-emergency threshold coefficient value.
可选的,所述根据同步头的类型和系统设置参数确定对应的解调方式,包括:Optionally, determining the corresponding demodulation mode according to the type of the synchronization header and the system setting parameters, including:
若所述同步头的类型为紧急类型,确定所述解调方式为实时解调方式:采用巴特沃斯或契比雪夫低通滤波进行实时滤波可得到实时采集信号;If the type of the synchronization header is an emergency type, it is determined that the demodulation mode is a real-time demodulation mode: real-time acquisition signals can be obtained by using Butterworth or Chebyshev low-pass filtering to perform real-time filtering;
若所述同步头的类型为非紧急类型,确定所述解调方式为延时解调方式:等待信号采集结束,使用理想低通滤波器得到高精度延时信号;If the type of the synchronization head is a non-emergency type, determine that the demodulation mode is a delay demodulation mode: wait for the end of signal acquisition, and use an ideal low-pass filter to obtain a high-precision delay signal;
若系统设置为混合滤波解调方式时,先使用巴特沃斯或契比雪夫滤波器得到实时采集信号,待实时采集信号接收完毕之后再使用理想低通滤波器得到高精度信号代替之前得到的实时采集信号。If the system is set to hybrid filter demodulation mode, first use Butterworth or Chebyshev filter to obtain real-time acquisition signal, and then use ideal low-pass filter to obtain high-precision signal to replace the previously obtained real-time acquisition signal after receiving the real-time acquisition signal. Acquire the Signal.
可选的,还包括:Optionally, also include:
地面接收器根据接收到的校正编码计算出此时地层阻抗网络的相频相应和幅频响应;The ground receiver calculates the phase-frequency response and amplitude-frequency response of the formation impedance network at this time according to the received correction code;
相应的,基于所述解调方式对所述采集信号进行解调,包括:Correspondingly, demodulating the collected signal based on the demodulation method includes:
基于所述解调方式对所述采集信号进行相位补偿和幅值补偿。Phase compensation and amplitude compensation are performed on the collected signal based on the demodulation method.
本发明提供的一种混合井下信号编码与解码方法,通过在信息前部加上同步头来区别信号类型,通过在地面接收器设立同步头检测区并计算互相关系数来识别同步头类型并定位信号,根据同步头类型选择相应的解调方式类对采集信号进行解调,兼顾信号的实时性与高精度。The invention provides a hybrid downhole signal encoding and decoding method, which distinguishes the signal type by adding a synchronization head to the front of the information, identifies the synchronization head type and locates it by establishing a synchronization head detection area in a ground receiver and calculating the cross-correlation coefficient. According to the type of synchronization head, select the corresponding demodulation method to demodulate the collected signal, taking into account the real-time performance and high precision of the signal.
附图说明Description of drawings
图1为本发明提供的一种混合井下信号编码与解码方法流程图;1 is a flowchart of a hybrid downhole signal encoding and decoding method provided by the present invention;
图2为信号缓存区的示意图;2 is a schematic diagram of a signal buffer area;
图3为混合井下信号编码与解码方法的整体流程示意图。FIG. 3 is a schematic diagram of the overall flow of the hybrid downhole signal encoding and decoding method.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are intended to illustrate the present invention, but not to limit the scope of the present invention.
实施例一Example 1
一种混合井下编码与解码方法,参见图1,该方法主要包括以下步骤:A hybrid downhole encoding and decoding method, see Figure 1, the method mainly includes the following steps:
S1,井下发射器在调制后的采集信号前端加上信号同步头,并将所述采集信号以电磁波的方式发送至地面接收器。S1, the downhole transmitter adds a signal synchronization head to the front end of the modulated acquisition signal, and sends the acquisition signal to the ground receiver in the form of electromagnetic waves.
作为实施例,所述井下发射器在调制后的采集信号前端加上信号同步头,包括:根据采集信号的类型,井下发射器在所述采集信号前端加上对应的信号同步头,所述信号同步头中包括与采集信号类型对应的编码值,所述采集信号的类型为紧急类型或非紧急类型,所述紧急类型的信号同步头的长度小于所述非紧急类型的信号同步头的长度。As an embodiment, the downhole transmitter adds a signal synchronization header to the front end of the modulated acquisition signal, including: according to the type of the acquired signal, the downhole transmitter adds a corresponding signal synchronization header to the front end of the acquired signal, and the signal The synchronization header includes a coded value corresponding to the type of the collected signal, the type of the collected signal is an emergency type or a non-emergency type, and the length of the emergency type signal synchronization header is smaller than the length of the non-emergency type signal synchronization header.
可以理解的是,井下发射器可以为井下传感器,井下传感器采集到所需数据后,将其使用调频或调幅的方式进行调制,之后在调制后的采集信号前端加上信号同步头后采用电磁波的方式将信号发送至地面。It can be understood that the downhole transmitter can be a downhole sensor. After the downhole sensor collects the required data, it is modulated by frequency modulation or amplitude modulation. way to send the signal to the ground.
其中,信号同步头中包含了能够表征采集信号类型的编码值,其中,编码值与信号类型的对应关系如下表1所示。Among them, the signal synchronization header includes a code value that can characterize the type of the collected signal, wherein the corresponding relationship between the code value and the signal type is shown in Table 1 below.
表1 编码值与信号类型的对应关系表Table 1 Correspondence table of coding value and signal type
根据表1所示,比如,当传感器采集的信号为非紧急类型信号,则可以在同步头中设置000或001以及010等编码值,如果井下传感器采集的是气压信号,且为紧急信号,则可以在同步头中设置00编码值,在采集信号前端的同步头中设置好编码值后,将采集信号发送给地面。According to Table 1, for example, when the signal collected by the sensor is a non-emergency type signal, you can set coded values such as 000, 001, and 010 in the synchronization header. If the downhole sensor collects an air pressure signal and is an emergency signal, then The 00 code value can be set in the synchronization header, and after the code value is set in the synchronization header at the front end of the acquisition signal, the acquisition signal is sent to the ground.
其中,井下发射器根据信号类型加上相应的同步头,当信号为紧急信号时,则加上紧急信号同步头,当信号为非紧急信号时则加上非紧急信号同步头。紧急信号同步头应短于非紧急信号同步头以提高紧急信号的解调速度。信号同步头长度可自定义,可以包含信息也可只用于定位信号位置而无任何含义,优选的,为了提高系统的计算效率,在保证同步头发挥其应有作用的前提下,其长度应尽量短。具体的,本实施例中,紧急信号同步头取2位,非紧急信号同步头取3位,其码值表如上述表1所示。Among them, the downhole transmitter adds the corresponding synchronization header according to the signal type. When the signal is an emergency signal, the emergency signal synchronization header is added, and when the signal is a non-emergency signal, the non-emergency signal synchronization header is added. The emergency signal sync header should be shorter than the non-emergency signal sync header to improve the demodulation speed of the emergency signal. The length of the signal synchronization head can be customized, and it can contain information or only be used to locate the signal position without any meaning. Preferably, in order to improve the calculation efficiency of the system, on the premise that the synchronization head can play its due role, its length should as short as possible. Specifically, in this embodiment, the emergency signal synchronization header takes 2 bits, the non-emergency signal synchronization header takes 3 bits, and the code value table is shown in Table 1 above.
S2,地面接收器计算所述采集信号与每一种类型同步头的预设码值的互相关系数,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头。S2, the ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, and judges that the current identification Whether the acquisition signal in the area is a sync header.
S3,若是同步头,则根据同步头的类型和系统设置参数确定对应的解调方式。S3, if it is a synchronization header, determine the corresponding demodulation mode according to the type of the synchronization header and the system setting parameters.
可以理解的是,地面接收器接收到采集信号后,将采集信号与不同类型的同步头预设码值进行互相关系数的计算,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的采集信号是否为同步头,以及采集信号的类型,即采集信号为紧急类型信号还是非紧急类型信号。It can be understood that after receiving the acquisition signal, the ground receiver calculates the cross-correlation coefficient between the acquisition signal and the preset code values of the synchronization headers of different types, based on the correlation between the cross-correlation coefficient and the threshold coefficient value of the corresponding type. The size relationship determines whether the current acquisition signal in the identification area is a sync header, and the type of the acquired signal, that is, whether the acquired signal is an emergency type signal or a non-emergency type signal.
作为实施例,采集信号与每一种类型同步头的预设码值的互相关系数的计算公式为:As an embodiment, the calculation formula of the cross-correlation coefficient between the acquisition signal and the preset code value of each type of synchronization head is:
; ;
; ;
; ;
; ;
其中为采集信号,为每一种类型同步头的预设码值,N为采集信号长 度,的取值范围为0~1。 in To acquire the signal, is the preset code value of each type of sync header, N is the length of the collected signal, The value range is 0~1.
作为实施例,地面接收器计算采集信号与每一种类型同步头的预设码值的互相关系数,基于互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头,包括:地面接收器计算所述采集信号与紧急类型同步头的预设码值之间的第一互相关系数以及所述采集信号与非紧急类型同步头的预设码值之间的第二互相关系数;当第一互相关系数小于紧急门限系数值时,采集信号不是同步头;或者,当所述第二互相关系数小于非紧急门限系数值时,所述采集信号不是同步头;当第一互相关系数大于紧急门限系数值时,采集信号为同步头,且采集信号的类型为紧急类型;或者,当第二互相关系数大于非紧急门限系数值时,采集信号为同步头,且采集信号的类型为非紧急类型。As an embodiment, the ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, and determines that the current is in the identification area based on the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value of the corresponding type. Whether the acquisition signal is a synchronization head, including: the ground receiver calculates the first cross-correlation coefficient between the acquisition signal and the preset code value of the emergency type synchronization head, and the acquisition signal and the non-emergency type synchronization head. The second cross-correlation coefficient between preset code values; when the first cross-correlation coefficient is less than the emergency threshold coefficient value, the acquired signal is not a synchronization header; or, when the second cross-correlation coefficient is less than the non-emergency threshold coefficient value, The acquisition signal is not a synchronization header; when the first cross-correlation coefficient is greater than the emergency threshold coefficient value, the acquisition signal is a synchronization header, and the type of the acquired signal is an emergency type; or, when the second cross-correlation coefficient is greater than the non-urgent threshold coefficient value , the acquisition signal is a sync header, and the type of the acquired signal is a non-emergency type.
可理解的是,根据上表表1可知,信号主要分别两种类型,紧急类型和非紧急类型,根据上表1,紧急类型的同步头预设码值有四个,非紧急类型的同步头预设码值也有四个。那么,地面接收器将采集信号和紧急类型对应的每一个预设码值计算互相关系数,计算得到四个第一互相关系数,比较每一个第一互相关系数与紧急门限系数值之间的大小关系,如果四个第一互相关系数均小于紧急门限系数值,那么该采集信号不是同步头,需要检测下一段信号;如果其中有一个第一互相关系数大于紧急门限系数值,则采集信号为同步头,并且该采集信号类型为紧急类型。It can be understood that, according to Table 1 above, there are mainly two types of signals, emergency type and non-emergency type. According to the above table 1, there are four preset code values for the synchronization header of the emergency type, and the synchronization header of the non-emergency type. There are also four preset code values. Then, the ground receiver calculates the cross-correlation coefficient for each preset code value corresponding to the collected signal and the emergency type, calculates four first cross-correlation coefficients, and compares the correlation between each first cross-correlation coefficient and the emergency threshold coefficient value. If the four first cross-correlation coefficients are all smaller than the emergency threshold coefficient value, then the acquired signal is not a sync header, and the next signal needs to be detected; if one of the first cross-correlation coefficients is greater than the emergency threshold coefficient value, the acquired signal is the sync header, and the collected signal type is the emergency type.
同样的,地面接收器将采集信号和非紧急类型对应的每一个预设码值计算互相关系数,计算得到四个第二互相关系数,比较每一个第二互相关系数与非紧急门限系数值之间的大小关系,如果四个第二互相关系数均小于非紧急门限系数值,那么该采集信号不是同步头,需要检测下一段信号;如果其中有一个第二互相关系数大于非紧急门限系数值,则采集信号为同步头,并且该采集信号类型为非紧急类型。Similarly, the ground receiver calculates the cross-correlation coefficient between the collected signal and each preset code value corresponding to the non-emergency type, calculates four second cross-correlation coefficients, and compares each second cross-correlation coefficient with the non-emergency threshold coefficient value If the four second cross-correlation coefficients are all smaller than the non-emergency threshold coefficient value, then the acquired signal is not a synchronization head, and the next segment signal needs to be detected; if one of the second cross-correlation coefficients is greater than the non-emergency threshold coefficient value, the collected signal is a sync header, and the collected signal type is a non-emergency type.
其中,通过如下方式计算得到所述紧急门限系数值和所述非紧急门限系数值:井下发射器向地面接收器发送已知校正编码,地面接收器计算接收到的校正编码与原始已知校正编码之间的第三互相关系数;根据所述第三互相关系数,确定所述紧急门限系数值和所述非紧急门限系数值,其中,所述紧急门限系数值小于所述非紧急门限系数值。The emergency threshold coefficient value and the non-emergency threshold coefficient value are calculated in the following manner: the underground transmitter sends a known correction code to the ground receiver, and the ground receiver calculates the received correction code and the original known correction code The third cross-correlation coefficient between the two; according to the third cross-correlation coefficient, determine the emergency threshold coefficient value and the non-emergency threshold coefficient value, wherein the emergency threshold coefficient value is smaller than the non-emergency threshold coefficient value .
可以理解是,门限系数值应由校正编码的接收结果计算得到,信号的衰减程度与 油井结构与土壤电阻率有关,且信号在传输过程中会发生相位变化与幅值变化。井下发射 器在传输信号之前会发射一段已知的校正编码,地面接收器接收到编码后会计算出接收到 的编码与原始发射的校正编码的互相关系数从而计算出本次使用的门限系数,包括紧急门 限系数值和非紧急门限系数值,具体的,在本实施例中,紧急门限系数值取0.7,非紧急 门限系数值取0.9。 It can be understood that the threshold coefficient value should be calculated from the received result of the correction code. The attenuation degree of the signal is related to the oil well structure and soil resistivity, and the signal will change in phase and amplitude during transmission. The downhole transmitter will transmit a known correction code before transmitting the signal. After receiving the code, the ground receiver will calculate the cross-correlation coefficient between the received code and the original transmitted correction code to calculate the threshold coefficient used this time, including emergency threshold coefficient value and non-emergency threshold coefficient value, specifically, in this embodiment, the emergency threshold coefficient value Take 0.7, the non-emergency threshold coefficient value Take 0.9.
其中,作为实施例,地面接收器中包括信号缓存区,信号缓存区包括第一次同步头检测区和第二次同步头检测区,信号缓存区的长度满足以下条件:当采集信号的信号同步头进入第二次同步头检测区后,采集信号整体应已经全部进入信号缓存区。优选的,信号缓存区长度应在满足上述条件的情况下留出裕度,以防止信号截断而造成的数据丢失。Wherein, as an embodiment, the ground receiver includes a signal buffer area, the signal buffer area includes a first synchronization header detection area and a second synchronization header detection area, and the length of the signal buffer area satisfies the following conditions: when the signal of the collected signal is synchronized After the header enters the second sync header detection area, the entire acquisition signal should have entered the signal buffer area. Preferably, the length of the signal buffer area should leave a margin under the condition that the above conditions are met, so as to prevent data loss caused by signal truncation.
可以理解的是,地面接收器接收到采集信号后,将采集信号存放入信号缓存区,由信号缓存区的同步头检测区对采集信号进行检测。It can be understood that, after receiving the acquisition signal, the ground receiver stores the acquisition signal in the signal buffer area, and the acquisition signal is detected by the synchronization head detection area of the signal buffer area.
作为实施例,地面接收器计算采集信号与每一种类型同步头的预设码值的互相关系数,基于所述互相关系数与对应类型的门限系数值之间的大小关系,判断当前在识别区内的所述采集信号是否为同步头,包括:当地面接收器的信号缓存区的第一次同步头检测区接收到采集信号之后,判断所述采集信号是否为同步头,如果不为同步头,则等待检测下一段采集信号;如果判断所述采集信号为紧急类型信号,则基于实时解调方式对所述采集信号进行实时解调;如果判断所述采集信号为非紧急类型信号,则进入第二次同步头检测区进行检测,当第二次同步头检测区再次检测到所述采集信号为非紧急类型信号时,则基于延时解调方式对所述采集信号进行解调。As an embodiment, the ground receiver calculates the cross-correlation coefficient between the collected signal and the preset code value of each type of synchronization header, and determines that the current identification Whether the acquisition signal in the area is a synchronization header includes: after the first synchronization header detection area of the signal buffer area of the ground receiver receives the acquisition signal, judging whether the acquisition signal is a synchronization header, and if it is not a synchronization header If it is judged that the collected signal is an emergency type signal, real-time demodulation is performed on the collected signal based on the real-time demodulation method; if it is judged that the collected signal is a non-emergency type signal, then Enter the second synchronization head detection area for detection, and when the second synchronization head detection area detects that the collected signal is a non-emergency type signal again, the collected signal is demodulated based on the delay demodulation method.
可以理解的是,地面接收器的信号缓存区包括第一次同步头检测区和第二次同步头检测区,对接收到的采集信号进行二次同步头检测。具体的,当第一次同步头检测区检测到采集信号不为同步头,则等待下一段信号的检测;如果第一次同步头检测区检测到采集信号为紧急类型信号,则立即采用实时解调方式对采集信号进行解调;如果第一次同步头检测区检测到采集信号为非紧急类型信号,那么等待一段时间,进行第二次同步头检测,如果再次检测到采集信号依然为非紧急类型信号时,才采用延时解调方式对采集信号进行解调。It can be understood that the signal buffer area of the ground receiver includes a first synchronization head detection area and a second synchronization head detection area, and the second synchronization head detection is performed on the received acquisition signal. Specifically, when the first synchronization head detection area detects that the acquisition signal is not a synchronization head, wait for the detection of the next segment of the signal; if the first synchronization head detection area detects that the acquisition signal is an emergency type signal, the real-time solution is immediately used. The acquisition signal is demodulated by the modulation method; if the acquisition signal is detected as a non-emergency signal in the first synchronization head detection area, wait for a period of time and perform the second synchronization head detection. If the acquisition signal is detected again, it is still non-emergency. Only when the type of signal is detected, the acquired signal is demodulated by means of delay demodulation.
S4,基于所述解调方式对所述采集信号进行解调。S4, demodulate the collected signal based on the demodulation manner.
作为实施例,根据同步头的类型和系统设置参数确定对应的解调方式,包括:若同步头的类型为紧急类型,确定所述解调方式为实时解调方式:采用巴特沃斯或契比雪夫低通滤波进行实时滤波可得到实时采集信号;若同步头的类型为非紧急类型,确定所述解调方式为延时解调方式:等待信号采集结束,使用理想低通滤波器得到高精度延时信号;若系统设置为混合滤波解调方式时,先使用巴特沃斯或契比雪夫滤波器得到实时采集信号,待实时采集信号接收完毕之后再使用理想低通滤波器得到高精度信号代替之前得到的实时采集信号。As an embodiment, determining the corresponding demodulation mode according to the type of the synchronization header and the system setting parameters includes: if the type of the synchronization header is an emergency type, determining that the demodulation mode is a real-time demodulation mode: adopting Butterworth or Cheby The real-time acquisition signal can be obtained by performing real-time filtering by Scheff low-pass filtering; if the type of the synchronization head is a non-emergency type, determine that the demodulation mode is a delayed demodulation mode: wait for the end of signal acquisition, and use an ideal low-pass filter to obtain high precision Delay signal; if the system is set to hybrid filter demodulation mode, first use Butterworth or Chebyshev filter to get real-time acquisition signal, and then use ideal low-pass filter to get high-precision signal instead after real-time acquisition signal is received The real-time acquisition signal obtained before.
可以理解的是,检测出采集信号为紧急信号还是非紧急信号,如果为紧急信号,则采用实时解调方式进行解调;如果为非紧急信号,则采用延时解调方式进行解调。但是如果系统设置为混合滤波,那么无论采集信号为紧急信号还是非紧急信号,都按照系统设置的滤波解调方式进行解调。It can be understood that it is detected whether the collected signal is an emergency signal or a non-emergency signal. If it is an emergency signal, the real-time demodulation method is used for demodulation; if it is a non-emergency signal, the delay demodulation method is used for demodulation. However, if the system is set to mixed filtering, no matter whether the collected signal is an emergency signal or a non-emergency signal, it will be demodulated according to the filtering and demodulation mode set by the system.
需要说明的是,地面接收器根据接收到的校正编码计算出此时地层阻抗网络的相频相应和幅频响应;在后续解调的过程中,对采集信号进行相位补偿和幅值补偿。It should be noted that the ground receiver calculates the phase-frequency response and amplitude-frequency response of the formation impedance network at this time according to the received correction code; in the subsequent demodulation process, phase compensation and amplitude compensation are performed on the acquired signal.
实施例二Embodiment 2
一种混合井下信号编码与解码方法,参见图3,该方法的主要过程包括:井下发射器向地面接收器发送包含信号同步头的采集信号,地面接收器接收到采集信号后,计算采集信号与每一种类型的同步头预设码值之间的互相关系数,根据互相关系数与门限系数值的大小关系确定采集信号是否为同步头,以及采集信号的类型。根据采集信号的类型,采用相应的信号解调方式对采集信号进行解调。A hybrid downhole signal encoding and decoding method, see Figure 3, the main process of the method includes: the downhole transmitter sends the acquisition signal including the signal synchronization head to the ground receiver, after the ground receiver receives the acquisition signal, calculates the acquisition signal and the acquisition signal. The cross-correlation coefficient between the preset code values of each type of synchronization header is determined according to the magnitude relationship between the cross-correlation coefficient and the threshold coefficient value to determine whether the collected signal is a synchronization header and the type of the collected signal. According to the type of the collected signal, a corresponding signal demodulation method is used to demodulate the collected signal.
本发明提供的一种混合井下信号编码与解码方法,通过校正编码确定地层阻抗网络的衰减幅度并以此为依据确定信号的门限系数,通过比照接收到的校正编码与原编码计算出地层阻抗网络的幅频响应与相频响应并对之后接收到的信号进行幅度补偿与相位补偿。通过在信息前部加上同步头来区别信号类型,通过在地面接收器设立同步头检测区并计算互相关系数来识别同步头并定位信号,最后通过设立缓存区来兼顾信号的实时性与高精度。The present invention provides a hybrid downhole signal encoding and decoding method. The attenuation amplitude of the formation impedance network is determined by the correction code, and the threshold coefficient of the signal is determined based on this, and the formation impedance network is calculated by comparing the received correction code and the original code. The amplitude-frequency response and phase-frequency response of the signal are then compensated for the amplitude and phase of the received signal. The signal type is distinguished by adding a synchronization header to the front of the information, the synchronization header is identified and the signal is located by establishing a synchronization header detection area in the ground receiver and the cross-correlation coefficient is calculated, and finally the real-time and high-speed signals are taken into account by setting up a buffer area. precision.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。It should be noted that, in the foregoing embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包括这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210576694.8A CN114666030B (en) | 2022-05-25 | 2022-05-25 | Hybrid underground signal encoding and decoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210576694.8A CN114666030B (en) | 2022-05-25 | 2022-05-25 | Hybrid underground signal encoding and decoding method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114666030A CN114666030A (en) | 2022-06-24 |
CN114666030B true CN114666030B (en) | 2022-08-26 |
Family
ID=82038210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210576694.8A Active CN114666030B (en) | 2022-05-25 | 2022-05-25 | Hybrid underground signal encoding and decoding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114666030B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0508885A2 (en) * | 1991-04-08 | 1992-10-14 | Digital Equipment Corporation | A synchronous decoder for self-clocking signals |
EP1126637A2 (en) * | 2000-02-16 | 2001-08-22 | Lg Electronics Inc. | Method for synchronizing frame by using pilot pattern in compressed mode |
CN1543224A (en) * | 1996-09-02 | 2004-11-03 | ��ʽ���綫֥ | Encoding/decoding apparatus and encoding-multiplexing/decoding-demultiplexing apparatus |
CN101959071A (en) * | 2010-06-02 | 2011-01-26 | 杭州海康威视数字技术股份有限公司 | Synchronous decoding method and device |
CN102379152A (en) * | 2009-04-15 | 2012-03-14 | 索尼公司 | Communication apparatus, communication method, computer program, and communication system |
CN103220122A (en) * | 2013-03-29 | 2013-07-24 | 西安空间无线电技术研究所 | Variable parameter high-speed parallel frame synchronizer |
CN108347397A (en) * | 2017-01-25 | 2018-07-31 | 三星电子株式会社 | Receiver for receiving modulated signal and method for synchronizing same |
CN111049636A (en) * | 2018-10-12 | 2020-04-21 | 千寻位置网络有限公司 | BPSK bit synchronization device and method |
CN113572540A (en) * | 2021-06-28 | 2021-10-29 | 中国电子科技集团公司第三十八研究所 | Unmanned aerial vehicle graph signaling signal identification method and system based on correlation domain detection |
-
2022
- 2022-05-25 CN CN202210576694.8A patent/CN114666030B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0508885A2 (en) * | 1991-04-08 | 1992-10-14 | Digital Equipment Corporation | A synchronous decoder for self-clocking signals |
CN1543224A (en) * | 1996-09-02 | 2004-11-03 | ��ʽ���綫֥ | Encoding/decoding apparatus and encoding-multiplexing/decoding-demultiplexing apparatus |
EP1126637A2 (en) * | 2000-02-16 | 2001-08-22 | Lg Electronics Inc. | Method for synchronizing frame by using pilot pattern in compressed mode |
CN102379152A (en) * | 2009-04-15 | 2012-03-14 | 索尼公司 | Communication apparatus, communication method, computer program, and communication system |
CN101959071A (en) * | 2010-06-02 | 2011-01-26 | 杭州海康威视数字技术股份有限公司 | Synchronous decoding method and device |
CN103220122A (en) * | 2013-03-29 | 2013-07-24 | 西安空间无线电技术研究所 | Variable parameter high-speed parallel frame synchronizer |
CN108347397A (en) * | 2017-01-25 | 2018-07-31 | 三星电子株式会社 | Receiver for receiving modulated signal and method for synchronizing same |
CN111049636A (en) * | 2018-10-12 | 2020-04-21 | 千寻位置网络有限公司 | BPSK bit synchronization device and method |
CN113572540A (en) * | 2021-06-28 | 2021-10-29 | 中国电子科技集团公司第三十八研究所 | Unmanned aerial vehicle graph signaling signal identification method and system based on correlation domain detection |
Non-Patent Citations (1)
Title |
---|
Wang Jinxing ; Yang Honggeng ; Wang Ze.Voltage sag state estimation in the distribution network with distributed power access.《IEEE》.2015,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN114666030A (en) | 2022-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107835035B (en) | Open-loop demodulation method and device for short-frame burst communication with low signal-to-noise ratio | |
CN1067344A (en) | The apparatus and method of equalizing corrupted signal in receiver | |
JP2003503962A (en) | Sync and modulation type detection | |
CN106453178A (en) | Satellite-based AIS signal intercept and demodulation method | |
CN108540931A (en) | A kind of underground section segmented sighting distance node cooperation location algorithm | |
CA2995500A1 (en) | A differential chaos shift keying (dcsk) based on hybrid chaotic system | |
CN110366234A (en) | A Rate Splitting Method for Non-Orthogonal Multiple Access Uplink | |
CN114666030B (en) | Hybrid underground signal encoding and decoding method | |
CN104394105A (en) | TDS-OFDM (Time Domain Synchronous-Orthogonal Frequency Division Multiplexing) channel estimation equalization method and system | |
CN113259291B (en) | Phase compensation method realized by dynamic Doppler tracking of underwater sound continuous signals | |
CN108881092B (en) | A frequency offset estimation method and system based on 5G communication network | |
KR960013301B1 (en) | Modems and Data Communication Systems for Data Communication Devices | |
CN107911328A (en) | Frame synchronization judgment device and decision method | |
JP3145047B2 (en) | V. 34 facsimile terminal / control channel / speed selection method | |
JP2001508263A (en) | Adaptive compensation for Doppler shift in mobile communication systems | |
CN103532881B (en) | A kind of method of self-adaptative adjustment single carrier underwater acoustic coherent communication standard | |
CN103875212A (en) | Diagnostics primitives on L2/ERB normalized error samples | |
US3506918A (en) | Data channel equalization detector | |
CN105897628A (en) | Single carrier equalizer and receiver system comprising same | |
CN117527496A (en) | M-APSK signal format identification method based on Gaussian mixture model | |
CN105656822A (en) | Optimal equilibrium value setting method and system | |
US20100211990A1 (en) | Packet Detection Method for Wireless Communication Device and Related Device | |
CN112235220B (en) | Modulation index adjusting method and device and terminal equipment | |
CN100579094C (en) | A method for receiving and processing frequency shift keying signals | |
CN110572344B (en) | Demodulation method for deep sea vertical underwater acoustic communication |
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 |