A mud pulse communication carrier frequency estimation method and system based on Newton method
By proposing a mud pulse communication carrier frequency estimation method based on Newton's method, the problem of data transmission error rate caused by carrier frequency offset in drilling operations is solved. This method achieves high-precision and low-complexity frequency estimation, thereby improving data transmission reliability and drilling safety.
Patent Information
- Application Number
- CN202611292672.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-20
AI Technical Summary
During drilling operations, mud pulse communication signals are subject to interference from complex and harsh working conditions, resulting in carrier frequency shifts, which leads to an increase in data transmission error rate and affects drilling operation costs and safety.
A mud pulse communication carrier frequency estimation method based on Newton's method is adopted. By constructing a discrete frequency grid, preprocessing the signal, calculating the cost function value, and performing Newton's iterative optimization, high-precision and low-complexity frequency estimation is achieved.
It improves the accuracy and robustness of carrier frequency estimation, reduces computational complexity, and enhances the reliability of data transmission and the safety of the drilling process.
Smart Images

Figure CN123145111A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mud pulse communication technology, and in particular to a mud pulse communication carrier frequency estimation method and system based on Newton's method. Background Technology
[0002] In drilling operations for oil and gas exploration and development, Measurement While Drilling (MWD) and Logging While Drilling (LWD) technologies are crucial for optimizing the drilling process, improving operational efficiency, and reducing overall operating costs. The effective implementation of these technologies heavily relies on the reliable and high-speed real-time transmission of downhole geological and drilling engineering parameters acquired during drilling to the surface control system. Currently, among various downhole data transmission methods, Mud Pulse Telemetry (MPT) technology has become the mainstream communication solution in MWD and LWD systems due to its high reliability and relatively low implementation cost. The basic principle of this technology is to use specialized downhole tools (such as downhole pulse generators) to change the pressure in the drilling fluid circulation path, thereby generating a pressure signal (i.e., a mud pulse signal) containing downhole data information, and using drilling fluid as the transmission medium to construct a data transmission channel from the bottom of the well to the surface.
[0003] In mud pulse communication systems, accurately estimating the carrier frequency from the received complex pressure signal is the core step in the entire signal demodulation process, and its estimation accuracy directly determines the final data communication quality and reliability. However, the actual drilling environment is extremely complex and harsh. As the mud pulse signal is transmitted upward along the drilling fluid channel, it is subject to complex coupling effects from various interference factors, such as unstable mud flow, mechanical vibration of drilling equipment, and periodic noise from the drilling pump. These factors often cause a significant shift in the received signal carrier frequency. When this frequency shift accumulates beyond the threshold that the demodulation system can tolerate, it will directly cause a sharp increase in the data transmission error rate, which may lead to misjudgments of the downhole tool status and delays in drilling trajectory adjustments. This not only significantly increases the cost of exploration operations but also brings potential safety risks.
[0004] Therefore, there is an urgent need in the industry for a carrier frequency estimation method that can achieve high estimation accuracy, low computational complexity, and strong resistance to noise interference under complex and harsh working conditions. This is of great significance for improving the overall performance and reliability of related measurement and logging systems. Summary of the Invention
[0005] The purpose of this application is to provide a mud pulse communication carrier frequency estimation method and system based on Newton's method, which can achieve high-precision, low-complexity, and robust frequency estimation, providing reliable communication support for drilling measurement and logging systems.
[0006] To achieve the above objectives, this application provides the following solution: Firstly, this application provides a method for estimating the carrier frequency of mud pulse communication based on Newton's method, including: Based on the nominal carrier frequency and frequency offset range preset by the mud pulse communication system, a discrete frequency grid is constructed; the discrete frequency grid includes multiple candidate frequency points distributed according to preset frequency intervals; The raw pressure signal transmitted downhole is acquired, and the raw pressure signal is preprocessed to obtain the preprocessed pressure signal. Based on the frequency value of each candidate frequency point, the local carrier signal corresponding to each candidate frequency point is calculated, and the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point is calculated to obtain a cost function value sequence. The maximum cost function value is selected from the cost function value sequence, and the frequency value of the candidate frequency point corresponding to the maximum cost function value is used as a coarse estimate of the carrier frequency. Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using the Newton-Raphson method to obtain the final fine estimate of the carrier frequency. Based on the precise estimate, the preprocessed pressure signal is demodulated to obtain downhole data information.
[0007] Optionally, the acquired raw pressure signal is preprocessed to obtain a preprocessed pressure signal, specifically including: The DC component of the original pressure signal is filtered out using a high-pass filter or by subtracting the signal mean to obtain an intermediate pressure signal; By using a band-stop filter with a specific interference frequency, the line spectrum interference component of the intermediate pressure signal is filtered out to obtain a preprocessed pressure signal.
[0008] Optionally, the formula for calculating the cost function value is: ; in, The cost function value; This is the preprocessed pressure signal; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the frequency value; This indicates transpose.
[0009] Optionally, the method for calculating the cost function value further includes: The spectral components of the preprocessed pressure signal at each candidate frequency point are calculated using Fast Fourier Transform, and the cost function value corresponding to each candidate frequency point is calculated based on the spectral components.
[0010] Optionally, based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using Newton's iteration method to obtain a final fine estimate of the carrier frequency, specifically including: Based on the carrier frequency estimate for the current iteration number, the optimal solution for the signal gain for the current iteration number is calculated; the carrier frequency estimate for the current iteration number is the coarse estimate in the first iteration. Based on the optimal solution of signal gain for the current iteration number and the preprocessed pressure signal, the first derivative value and the second derivative value for the current iteration number are calculated. Using Newton's iteration method, the first and second derivatives of the current iteration number are calculated to obtain the estimated carrier frequency for the next iteration number. Based on the carrier frequency estimate for the next iteration and the carrier frequency estimate for the current iteration, it is determined whether a preset convergence condition has been met. The convergence condition includes the absolute value of the difference between the carrier frequency estimate for the next iteration and the carrier frequency estimate for the current iteration being less than a preset frequency convergence threshold, and the current iteration being the maximum number of iterations. If so, the carrier frequency estimate of the current iteration number is used as the final fine estimate of the carrier frequency; If not, then use the carrier frequency estimate of the next iteration as the carrier frequency estimate of the current iteration, and increment the current iteration by one.
[0011] Optionally, using Newton's iteration method, the first and second derivatives of the current iteration number are calculated to obtain the estimated carrier frequency for the next iteration number, specifically: ; in, The current iteration number The estimated carrier frequency, For the next iteration number The estimated carrier frequency, The current iteration number exist The first derivative value at that point, The current iteration number exist The value of the second derivative at that point.
[0012] Optionally, the current iteration number exist The formula for calculating the first derivative at point is: ; in, The current iteration number exist The first derivative value at; is the real part of the complex number; This is the preprocessed pressure signal; For the current iteration number exist The optimal solution for signal gain at that location; The current iteration number The estimated carrier frequency; Frequency value The local carrier signal corresponding to the candidate frequency point; Current iteration number exist The formula for calculating the second derivative at point is: ; in, The current iteration number exist The value of the second derivative at that point.
[0013] Optionally, the optimal solution for the signal gain in the current iteration number is: ; in, The optimal solution for signal gain; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the preprocessed pressure signal; This indicates transpose.
[0014] Optionally, the frequency interval is set to 1 Hz.
[0015] Secondly, this application provides a mud pulse communication carrier frequency estimation system based on Newton's method, comprising: The signal receiving module is used to acquire the raw pressure signal transmitted downhole; The filtering module is used to preprocess the original pressure signal to obtain a preprocessed pressure signal. The frequency estimation module is used for: Based on the nominal carrier frequency and frequency offset range preset by the mud pulse communication system, a discrete frequency grid is constructed; the discrete frequency grid includes multiple candidate frequency points distributed according to preset frequency intervals; Based on the frequency value of each candidate frequency point, the local carrier signal corresponding to each candidate frequency point is calculated, and the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point is calculated to obtain a cost function value sequence. The maximum cost function value is selected from the cost function value sequence, and the frequency value of the candidate frequency point corresponding to the maximum cost function value is used as a coarse estimate of the carrier frequency. Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using the Newton-Raphson method to obtain the final fine estimate of the carrier frequency. The demodulation module is used to demodulate the preprocessed pressure signal based on the fine estimate to obtain downhole data information.
[0016] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the mud pulse communication carrier frequency estimation method based on Newton's method as described above.
[0017] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the mud pulse communication carrier frequency estimation method based on Newton's method described above.
[0018] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the mud pulse communication carrier frequency estimation method based on Newton's method described above.
[0019] According to the specific embodiments provided in this application, this application has the following technical effects: This application provides a method and system for estimating the carrier frequency of mud pulse communication based on Newton's method. By constructing a discrete frequency grid according to the system's preset parameters and preprocessing the original pressure signal, it solves the problems of poor initial estimation quality and susceptibility to line spectrum noise in existing methods under strong noise and interference backgrounds. It achieves effective extraction and purification of the effective signal, provides a clean input signal for subsequent high-precision frequency estimation, and constructs a global search foundation covering the potential frequency offset range.
[0020] By calculating the cost function value sequence based on candidate frequency points and selecting the maximum cost function value as the coarse estimate, the problem of convergence failure, getting trapped in local optima, or diverging that may occur in optimization algorithms such as Newton's method due to the initial value being far from the true value is solved. This achieves fast and robust global coarse localization, providing a high-quality initial point close to the real carrier frequency for subsequent fine optimization, and ensuring the overall convergence reliability of the algorithm.
[0021] By starting with a coarse estimate and using Newton's iteration method to iteratively optimize and obtain a fine estimate, the problem of "basis mismatch" quantization error inherent in traditional grid matching algorithms due to discretization processing and the contradiction of increased computational complexity brought about by high-precision grids are solved. Super-resolution fine estimation in the continuous frequency domain is achieved. Without the need for extremely high grid resolution, sub-hertz or even higher estimation accuracy can be achieved with only a few iterations, significantly reducing the computational burden of the algorithm.
[0022] By introducing an update validity judgment mechanism based on the cost function value into Newton's iteration, the problem of unstable or oscillating iteration updates under low signal-to-noise ratio or complex interference is solved, ensuring that the iteration process converges stably by monotonically increasing the cost function value, thus enhancing the robustness and practicality of the algorithm in real non-ideal channel environments. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 An application environment diagram for a mud pulse communication carrier frequency estimation method based on Newton's method provided in Embodiment 1 of this application; Figure 2 A flowchart illustrating a mud pulse communication carrier frequency estimation method based on Newton's method, provided in Embodiment 1 of this application; Figure 3 This is a schematic diagram of the demodulation bit error rate of the frequency shift keying modulation signal without frequency offset correction provided in Embodiment 2 of this application; Figure 4 This is a schematic diagram of the demodulation bit error rate after frequency estimation using a traditional grid matching algorithm, provided in Embodiment 2 of this application. Figure 5 This is a schematic diagram of the demodulation bit error rate after frequency estimation using the mud pulse communication carrier frequency estimation method based on Newton's method, provided in Embodiment 2 of this application. Figure 6 This is a functional module diagram of a mud pulse communication carrier frequency estimation system based on Newton's method provided in Embodiment 4 of this application; Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 5 of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] To address the aforementioned carrier frequency estimation requirements, existing technologies in the industry have shown limitations in practical applications. Common grid matching algorithms face a trade-off between estimation accuracy and computational complexity: using a lower frequency resolution grid introduces larger quantization errors, while using a higher resolution grid to improve accuracy leads to a linear or even nonlinear increase in computational burden, making it difficult to achieve an effective balance between real-time processing and high accuracy requirements. While phase-locked loop (PLL) technology is stable under certain conditions, its frequency acquisition range is limited; once the carrier frequency deviates beyond its locking range, it leads to loss of lock. Furthermore, in noisy downhole environments, its phase tracking is prone to jitter, further reducing the accuracy of frequency estimation. Methods based on traditional Fourier transforms are limited by their discrete frequency analysis characteristics, easily resulting in spectral leakage and limited estimation accuracy, especially in complex operating conditions with low signal-to-noise ratios, where the estimation results often fail to meet the requirements of high-reliability demodulation.
[0027] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Example 1 The mud pulse communication carrier frequency estimation method based on Newton's method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be set up independently, integrated into server 104, or placed in the cloud or on another server. Terminal 102 can send the raw pressure signal to server 104. Server 104 performs preprocessing on the raw pressure signal to obtain a preprocessed pressure signal. Based on the frequency value of each candidate frequency point, it calculates the local carrier signal corresponding to each candidate frequency point and calculates the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point, obtaining a cost function value sequence. The maximum cost function value in the cost function value sequence is used as a coarse estimate of the carrier frequency. Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using Newton's iteration method to obtain a final fine estimate of the carrier frequency. Based on the fine estimate, the preprocessed pressure signal is demodulated to obtain downhole data information. Server 104 can feed back the obtained downhole data information to terminal 102.
[0029] The terminal 102 can be, but is not limited to, various desktop computers, laptops, and IoT devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers, or it can be a cloud server.
[0030] In one exemplary embodiment, such as Figure 2 As shown, a method for estimating carrier frequency in mud pulse communication based on Newton's method is provided. This method is executed by a computer device, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is applied to... Figure 1 Taking server 104 as an example, the explanation includes the following steps 201 to 205. Wherein: Step 201: Construct a discrete frequency grid based on the preset nominal carrier frequency and frequency offset range of the mud pulse communication system; the discrete frequency grid includes multiple candidate frequency points distributed according to preset frequency intervals.
[0031] Step 202: Obtain the raw pressure signal transmitted downhole and perform preprocessing on the raw pressure signal to obtain the preprocessed pressure signal.
[0032] Step 203: Based on the frequency value of each candidate frequency point, calculate the local carrier signal corresponding to each candidate frequency point, and calculate the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point to obtain a cost function value sequence. Select the maximum cost function value from the cost function value sequence and use the frequency value of the candidate frequency point corresponding to the maximum cost function value as a coarse estimate of the carrier frequency.
[0033] Step 204: Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using the Newton-Raphson method to obtain the final fine estimate of the carrier frequency.
[0034] Step 205: Based on the refined estimate, demodulate the preprocessed pressure signal to obtain downhole data information.
[0035] By implementing steps 201 to 205 above, a discrete frequency grid is constructed according to the system preset parameters, and the original pressure signal is preprocessed. This solves the problems of poor initial estimation quality and susceptibility to line spectrum noise in the background of strong noise and interference of existing methods. It realizes the effective extraction and purification of effective signals, provides a clean input signal for subsequent high-precision frequency estimation, and builds a global search basis covering the potential frequency offset range.
[0036] By calculating the cost function value sequence based on candidate frequency points and selecting the maximum cost function value as the coarse estimate, the problem of convergence failure, getting trapped in local optima, or diverging that may occur in optimization algorithms such as Newton's method due to the initial value being far from the true value is solved. This achieves fast and robust global coarse localization, providing a high-quality initial point close to the real carrier frequency for subsequent fine optimization, and ensuring the overall convergence reliability of the algorithm.
[0037] By starting with a coarse estimate and using Newton's iteration method to iteratively optimize and obtain a fine estimate, the problem of "basis mismatch" quantization error inherent in traditional grid matching algorithms due to discretization processing and the contradiction of increased computational complexity brought about by high-precision grids are solved. Super-resolution fine estimation in the continuous frequency domain is achieved. Without the need for extremely high grid resolution, sub-hertz or even higher estimation accuracy can be achieved with only a few iterations, significantly reducing the computational burden of the algorithm.
[0038] By introducing an update validity judgment mechanism based on the cost function value into Newton's iteration, the problem of unstable or oscillating iteration updates under low signal-to-noise ratio or complex interference is solved, ensuring that the iteration process converges stably by monotonically increasing the cost function value, thus enhancing the robustness and practicality of the algorithm in real non-ideal channel environments.
[0039] Furthermore, in step 201, a discrete frequency grid covering all possible carrier frequencies is constructed based on the preset nominal carrier frequency and frequency offset range of the mud pulse communication system. For example, if the nominal carrier frequency is 24Hz, the frequency offset range is ±40%, and the frequency interval is 1Hz, the frequency range that can be covered is 14Hz to 34Hz. By setting the frequency interval to 1Hz, a sparse discrete frequency grid can be constructed, reducing the computational complexity of the initial search.
[0040] Further, step 202 involves preprocessing the original pressure signal to obtain a preprocessed pressure signal, specifically including: Step 2021: Use a high-pass filter or subtract the signal mean to filter out the DC component of the acquired original pressure signal to obtain the intermediate pressure signal.
[0041] Step 2022: Using a band-stop filter with a specific interference frequency, the intermediate pressure signal is filtered to remove line spectrum interference components (such as 50Hz power frequency interference and its significant harmonics) to obtain the preprocessed pressure signal.
[0042] Furthermore, the formula for calculating the cost function value in step 203 is as follows: ; in, The cost function value; This is the preprocessed pressure signal; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the frequency value; This indicates transpose.
[0043] The local carrier signal is specifically defined as follows: ; in, The preset amplitude of the local carrier signal is consistent with the nominal carrier amplitude of the mud pulse communication system; This is the initial phase of the local carrier signal, usually set to 0 to simplify phase matching calculations for coherent demodulation; It is a time variable, and its value range is synchronized with the sampling duration of the received signal; These are the candidate frequency points in the currently traversed discrete frequency grid.
[0044] Furthermore, the cost function value can also be calculated using the Fast Fourier Transform. The methods for calculating the cost function value also include: The fast Fourier transform is used to calculate the spectral components of the preprocessed pressure signal at each candidate frequency point, and the cost function value corresponding to each candidate frequency point is calculated based on the spectral components, thus achieving efficient calculation of the cost function value.
[0045] Furthermore, in step 204, based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using Newton's iteration method to obtain the final fine estimate of the carrier frequency, specifically including: Step 2041: Based on the carrier frequency estimate for the current iteration number, calculate the optimal solution for the signal gain for the current iteration number; the carrier frequency estimate for the current iteration number is a coarse estimate in the first iteration.
[0046] Step 2042: Based on the optimal solution of signal gain for the current iteration number and the preprocessed pressure signal, calculate the first derivative value and the second derivative value for the current iteration number.
[0047] Step 2043: Using Newton's iteration method, calculate the first derivative and the second derivative of the current iteration number to obtain the estimated carrier frequency for the next iteration number.
[0048] Step 2044: Based on the carrier frequency estimate for the next iteration and the carrier frequency estimate for the current iteration, determine whether the preset convergence condition has been met; if so, use the carrier frequency estimate for the current iteration as the final refined estimate of the carrier frequency (i.e., ...). If not, then use the carrier frequency estimate of the next iteration number as the carrier frequency estimate of the current iteration number, and increment the current iteration number by one.
[0049] The convergence condition includes the absolute value of the difference between the carrier frequency estimate of the next iteration number and the carrier frequency estimate of the current iteration number being less than a preset frequency convergence threshold (i.e., ...). ), and the current iteration number is the maximum iteration number (i.e. ).
[0050] Further, in step 2043, the first and second derivative values of the current iteration number are calculated using Newton's iteration method to obtain the estimated carrier frequency value for the next iteration number, specifically: ; in, The current iteration number The estimated carrier frequency, For the next iteration number The estimated carrier frequency, The current iteration number exist The first derivative value at that point, The current iteration number exist The value of the second derivative at that point.
[0051] Furthermore, the current iteration number exist The formula for calculating the first derivative at point is: ; in, The current iteration number exist The first derivative value at; is the real part of the complex number; This is the preprocessed pressure signal; For the current iteration number exist The optimal solution for signal gain at that location; The current iteration number The estimated carrier frequency; Frequency value The local carrier signal corresponding to the candidate frequency point; Current iteration number exist The formula for calculating the second derivative at point is: ; in, The current iteration number exist The value of the second derivative at that point.
[0052] Furthermore, the optimal solution for the signal gain at the current iteration number is: ; in, The optimal solution for signal gain; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the preprocessed pressure signal; This indicates transpose.
[0053] In summary, the combined optimization process of "preprocessing, coarse grid estimation, and fine correction using Newton's method" addresses the core pain point of sharply increased demodulation error rate caused by severe carrier frequency offset in mud pulse communication under complex transmission environments, achieving high-precision, fast, and stable carrier frequency estimation. This directly leads to a fundamental improvement in data transmission reliability, effectively avoiding downhole tool misjudgments and drilling trajectory control lags that may be caused by data errors. Therefore, while reducing exploration operation costs, it significantly enhances the safety and efficiency of the drilling process.
[0054] Example 2 In another exemplary embodiment of this application, on an 800-meter water circulation experimental platform, such as Figure 3 As shown, an actual frequency shift keying (FSK) modulated signal (nominal carrier frequency 24Hz) was collected for testing. Due to frequency offset and noise, the original pressure signal had a bit error rate of 43.57% when directly demodulated using the nominal frequency.
[0055] like Figure 4 As shown, the carrier frequency estimated using the traditional grid matching algorithm (resolution 1Hz) is 24Hz, and the demodulation bit error rate remains high. Increasing the grid resolution to 0.1Hz does not improve the estimation result; the demodulation performance remains unchanged, highlighting the grid mismatch problem.
[0056] like Figure 5 As shown, using the method of this application, after steps 201-205, the actual carrier frequency offset is estimated to be 23.9827Hz. Using this estimated frequency for demodulation, the bit error rate is significantly reduced to 0.55%.
[0057] In summary, this application achieves an excellent balance between computational complexity and estimation accuracy through an innovative joint optimization architecture, effectively solving the carrier frequency offset estimation problem in mud pulse communication systems and providing a practical solution for high-reliability downhole data transmission.
[0058] Example 3 This application also provides an application scenario in which the aforementioned mud pulse communication carrier frequency estimation method based on Newton's method is applied. Specifically, the mud pulse communication carrier frequency determination method provided in this embodiment can be applied in a mud pulse communication scenario. The mud pulse communication scenario includes a final fine estimate determination stage for the carrier frequency and a downhole data demodulation stage. The final fine estimate determination stage is used to determine a final fine estimate of the carrier frequency based on the original pressure signal. The downhole data demodulation stage is used to demodulate the preprocessed pressure signal based on the fine estimate to obtain downhole data information. The mud pulse communication carrier frequency determination method provided in this embodiment belongs to both the final fine estimate determination stage for the carrier frequency and the downhole data demodulation stage.
[0059] Example 4 Based on the same inventive concept, this application also provides a mud pulse communication carrier frequency estimation system for implementing the above-mentioned mud pulse communication carrier frequency estimation method based on Newton's method. The solution provided by this system is similar to the implementation described in the above method. Therefore, the specific limitations of one or more mud pulse communication carrier frequency estimation system embodiments provided below can be found in the limitations of the mud pulse communication carrier frequency determination method described above, and will not be repeated here.
[0060] In one exemplary embodiment, such as Figure 6 As shown, a mud pulse communication carrier frequency estimation system based on Newton's method is provided, comprising: The signal receiving module 301 is used to acquire the raw pressure signal transmitted downhole.
[0061] The filter module 302 is used to preprocess the acquired raw pressure signal to obtain the preprocessed pressure signal.
[0062] The frequency estimation module 303 is used to execute steps 201, 203 and 204 to obtain a fine estimate of the final carrier frequency.
[0063] The demodulation module 304 is used to demodulate the preprocessed pressure signal based on the fine estimate to obtain downhole data information.
[0064] Example 5 In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 7As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores processed data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network. When executed by the processor, the computer program implements a mud pulse communication carrier frequency estimation method based on Newton's method.
[0065] Those skilled in the art will understand that Figure 7 The structures shown are merely block diagrams of some structures related to the present application and do not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0066] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0067] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0068] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0069] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0070] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0071] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0072] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for estimating carrier frequency in mud pulse communication based on Newton's method, characterized in that, include: Based on the nominal carrier frequency and frequency offset range preset by the mud pulse communication system, a discrete frequency grid is constructed; the discrete frequency grid includes multiple candidate frequency points distributed according to preset frequency intervals; The raw pressure signal transmitted downhole is acquired, and the raw pressure signal is preprocessed to obtain the preprocessed pressure signal. Based on the frequency value of each candidate frequency point, the local carrier signal corresponding to each candidate frequency point is calculated, and the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point is calculated to obtain a cost function value sequence. The maximum cost function value is selected from the cost function value sequence, and the frequency value of the candidate frequency point corresponding to the maximum cost function value is used as a coarse estimate of the carrier frequency. Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using the Newton-Raphson method to obtain the final fine estimate of the carrier frequency. Based on the precise estimate, the preprocessed pressure signal is demodulated to obtain downhole data information.
2. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 1, characterized in that, The original pressure signal is preprocessed to obtain a preprocessed pressure signal, specifically including: The DC component of the original pressure signal is filtered out using a high-pass filter or by subtracting the signal mean to obtain an intermediate pressure signal; By using a band-stop filter with a specific interference frequency, the line spectrum interference component of the intermediate pressure signal is filtered out to obtain a preprocessed pressure signal.
3. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 1, characterized in that, The formula for calculating the cost function value is as follows: ; in, The cost function value; This is the preprocessed pressure signal; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the frequency value; This indicates transpose.
4. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 1, characterized in that, The method for calculating the cost function value further includes: The spectral components of the preprocessed pressure signal at each candidate frequency point are calculated using Fast Fourier Transform, and the cost function value corresponding to each candidate frequency point is calculated based on the spectral components.
5. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 1, characterized in that, Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using Newton's iteration method to obtain a final fine estimate of the carrier frequency, specifically including: Based on the carrier frequency estimate for the current iteration number, the optimal solution for the signal gain for the current iteration number is calculated; the carrier frequency estimate for the current iteration number is the coarse estimate in the first iteration. Based on the optimal solution of signal gain for the current iteration number and the preprocessed pressure signal, the first derivative value and the second derivative value for the current iteration number are calculated. Using Newton's iteration method, the first and second derivatives of the current iteration number are calculated to obtain the estimated carrier frequency for the next iteration number. Based on the carrier frequency estimate for the next iteration and the carrier frequency estimate for the current iteration, it is determined whether a preset convergence condition has been met. The convergence condition includes the absolute value of the difference between the carrier frequency estimate for the next iteration and the carrier frequency estimate for the current iteration being less than a preset frequency convergence threshold, and the current iteration being the maximum number of iterations. If so, the carrier frequency estimate of the current iteration number is used as the final fine estimate of the carrier frequency; If not, then use the carrier frequency estimate of the next iteration as the carrier frequency estimate of the current iteration, and increment the current iteration by one.
6. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 5, characterized in that, Using Newton's iteration method, the first and second derivatives of the current iteration are calculated to obtain the estimated carrier frequency for the next iteration, specifically: ; in, The current iteration number The estimated carrier frequency, For the next iteration number The estimated carrier frequency, The current iteration number exist The first derivative value at that point, The current iteration number exist The value of the second derivative at that point.
7. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 6, characterized in that, Current iteration number exist The formula for calculating the first derivative at point is: ; in, The current iteration number exist The first derivative value at; is the real part of the complex number; This is the preprocessed pressure signal; For the current iteration number exist The optimal solution for signal gain at that location; The current iteration number The estimated carrier frequency; Frequency value The local carrier signal corresponding to the candidate frequency point; Current iteration number exist The formula for calculating the second derivative at point is: ; in, The current iteration number exist The value of the second derivative at that point.
8. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 5, characterized in that, The optimal solution for the signal gain at the current iteration number is: ; in, The optimal solution for signal gain; Frequency value The local carrier signal corresponding to the candidate frequency point; This is the preprocessed pressure signal; This indicates transpose.
9. The method for estimating carrier frequency in mud pulse communication based on Newton's method according to claim 1, characterized in that, The frequency interval is set to 1 Hz.
10. A mud pulse communication carrier frequency estimation system based on Newton's method, characterized in that, include: The signal receiving module is used to acquire the raw pressure signal transmitted downhole; The filtering module is used to preprocess the original pressure signal to obtain a preprocessed pressure signal. The frequency estimation module is used for: Based on the nominal carrier frequency and frequency offset range preset by the mud pulse communication system, a discrete frequency grid is constructed; the discrete frequency grid includes multiple candidate frequency points distributed according to preset frequency intervals; Based on the frequency value of each candidate frequency point, the local carrier signal corresponding to each candidate frequency point is calculated, and the cost function value between the preprocessed pressure signal and the local carrier signal corresponding to each candidate frequency point is calculated to obtain a cost function value sequence. The maximum cost function value is selected from the cost function value sequence, and the frequency value of the candidate frequency point corresponding to the maximum cost function value is used as a coarse estimate of the carrier frequency. Based on the coarse estimate and the preprocessed pressure signal, iterative optimization is performed using the Newton-Raphson method to obtain the final fine estimate of the carrier frequency. The demodulation module is used to demodulate the preprocessed pressure signal based on the fine estimate to obtain downhole data information.
