Method and device for judging sand production degree of gas well

By decomposing the hydraulic signal at the wellhead of the gas well and fusion of multi-dimensional characteristics, Hilbert three-dimensional spectrum is formed, which solves the problem of insufficient accuracy in determining the degree of sand output in traditional methods, and achieves a more efficient and reliable sand output judgment.

CN120045905AActive Publication Date: 2025-05-27XI'AN PETROLEUM UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510517850.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-05-27
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

The traditional method of determining the degree of sand output of gas wells relies on a single wellhead oil pressure signal pressure difference limit, which is easily disturbed by non-sand output factors, resulting in misjudgment or misjudgment, and it is difficult to effectively separate the modal aliasing components, resulting in loss of features.

Method used

By decomposing the oil pressure signal at the wellhead of the gas well, multiple inherent modal function components are obtained, and effective inherent modal function components containing information of different frequency components are extracted. Combining these components is used to form an effective modal combination amplitude diagram, drawing a modal frequency diagram and an envelope spectrum numerical diagram, combining this information to form a Hilbert three-dimensional spectrum diagram, and determining the degree of sand based on the preset rules of setting the graph.

Benefits of technology

It improves the accuracy and reliability of sand output judgments, can provide accurate judgment results in a short period of time, provides timely support for decision-making during gas field development, and solves the problem of insufficient accuracy in traditional methods for judging sand output degree.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045905A_ABST
    Figure CN120045905A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for judging the sand production degree of a gas well, and relates to the technical field of oil-gas exploration and development. By decomposing a wellhead oil pressure signal of a gas well, extracting an effective intrinsic mode function component and integrating time-frequency domain characteristics to construct a Hilbert three-dimensional spectrogram, accurate judgment of the sand production degree is realized. The method specifically comprises the steps that an oil pressure signal is decomposed, and effective intrinsic mode function components with high energy density and high frequency concentration ratio in a preset proportion are screened; generating an effective modal combination amplitude map to capture an amplitude anomaly fluctuation event; drawing a modal frequency diagram to identify dominant frequency components; analyzing the quantitative energy distribution change of the envelope spectrum numerical diagram; and forming a Hilbert three-dimensional spectrogram by combining the three information, and dynamically judging the sand production degree based on an envelope spectrum threshold value. Compared with a traditional pressure difference boundary method, the method has the advantages that interference such as formation pressure fluctuation and sensor noise is effectively reduced through multi-dimensional feature fusion, and a reliable basis is provided for formulating sand prevention measures in the gas field development process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of oil and gas exploration and development, and particularly to a method and device for discriminating the sand production degree of gas wells. Background Art

[0002] During the development of gas fields, sand production is a common and complex problem, which is directly related to the production efficiency of gas wells, the service life of equipment, and safety production. Accurately judging the sand production degree of gas wells is of great significance for formulating effective sand control measures, optimizing production parameters, and ensuring the long-term stable operation of gas wells.

[0003] Traditional methods for discriminating the sand production degree mainly rely on the pressure difference limit of the wellhead oil pressure signal for judgment, that is, by setting a specific oil pressure fluctuation range as the discrimination basis. However, this method only judges through a single oil pressure fluctuation index and is easily interfered by various non-sand production factors. For example, non-sand production factors such as formation pressure changes (such as production interference from adjacent wells), equipment failures (abnormal pump valves), and sensor noise interfere, resulting in misjudgment or missed judgment. In addition, the sand production process is accompanied by the coupling of high-frequency particle collision signals and low-frequency pressure fluctuations, and it is difficult for existing technologies to effectively separate the modal aliasing components, resulting in the loss of key features.

[0004] Therefore, traditional methods for discriminating the sand production degree based on pressure difference limits have problems such as poor modal decomposition stability (such as sensitivity to noise) and insufficient feature fusion. There is an urgent need for a method for discriminating gas well sand production that can comprehensively consider time-domain, frequency-domain, and energy-domain features to improve the accuracy and reliability of sand production discrimination. Summary of the Invention

[0005] In the embodiments of this application, by providing a method for discriminating the sand production degree of gas wells, the problem of insufficient accuracy in discriminating the sand production degree in the prior art is solved.

[0006] In a first aspect, an embodiment of the present application provides a method for discriminating the sand production degree of a gas well. The method includes: obtaining the oil pressure signal at the wellhead of the gas well; decomposing the oil pressure signal at the wellhead of the gas well to obtain a plurality of intrinsic mode function components, and extracting effective intrinsic mode function components from the plurality of intrinsic mode function components; wherein each effective intrinsic mode function component includes information on different frequency components in the oil pressure signal at the wellhead of the gas well; combining the effective intrinsic mode function components to form an effective mode combined amplitude diagram to display the amplitude changes of different frequency components over time; judging the change of the amplitude in the effective mode combined amplitude diagram, and if the amplitude shows abnormal fluctuations, determining that a sand production event has occurred; determining the sand production time by comparing the amplitude changes of different effective intrinsic mode function components; plotting the frequency distribution diagrams of different effective intrinsic mode function components to obtain a modal frequency diagram, and judging the frequency component that dominates in the sand production event; obtaining the envelope line of the effective intrinsic mode function component and performing spectral analysis on it to obtain an envelope spectrum numerical diagram to display the energy distribution of the oil pressure signal at the wellhead of the gas well at different frequencies; comparing the envelope spectrum numerical diagrams of different time periods to judge the change trend of the sand production degree; combining the amplitude changes in the effective mode combined amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram, and the information of the envelope spectrum numerical diagram to form a Hilbert three-dimensional spectrum diagram, setting a preset rule based on the Hilbert three-dimensional spectrum diagram, and judging the sand production degree according to the preset rule.

[0007] In a possible implementation manner, the decomposing the oil pressure signal at the wellhead of the gas well to obtain a plurality of intrinsic mode function components includes: decomposing Gaussian white noise to obtain a plurality of intrinsic mode components of the Gaussian white noise; adding the oil pressure signal at the wellhead of the gas well to the plurality of intrinsic mode components of the Gaussian white noise respectively to form a plurality of extended signals; performing a first decomposition on the first extended signal to obtain a first residual component, and obtaining a first intrinsic mode function component through the difference between the oil pressure signal at the wellhead of the gas well and the first residual component; sequentially performing decomposition processing steps on the subsequent extended signals and residual components, taking the previous residual component as a basis, adding a new intrinsic mode component of Gaussian white noise to form a new extended signal, performing decomposition on the new extended signal to obtain a new residual component, and obtaining the next intrinsic mode function component through the difference between the two consecutive residual components; iteratively executing the decomposition processing steps until a predefined stop criterion is met to obtain a plurality of intrinsic mode function components.

[0008] In a possible implementation manner, the extracting effective intrinsic mode function components from the plurality of intrinsic mode function components includes: sorting the plurality of intrinsic mode function components in descending order according to the signal density; selecting the first preset proportion of the sorted intrinsic mode function components as the effective intrinsic mode function components.

[0009] In a possible implementation, the signal density reflects the energy concentration and change rate of the intrinsic mode function components in the time-frequency domain; the signal density is defined using a weighted comprehensive score; the calculation method of the weighted comprehensive score is as follows: ; where is the weighted comprehensive score, is the energy proportion of the th intrinsic mode function component, is the frequency concentration, is the time-domain fluctuation intensity, , and are the weight coefficients; ; where is the th intrinsic mode function component, is the oil wellhead pressure signal of the gas well; ; where is the main frequency bandwidth, , is the maximum instantaneous frequency of the th intrinsic mode function component, is the minimum instantaneous frequency of the th intrinsic mode function component; ; where is the total number of signal sampling points, is the index, is the time-domain mean value of the th intrinsic mode function component, The larger it is, the stronger the fluctuation.

[0010] In a possible implementation, each effective intrinsic mode function component includes information on different frequency components in the oil wellhead pressure signal of the gas well, including: performing a Hilbert transform operation on the effective intrinsic mode function component; constructing an analytic function based on the result of the Hilbert transform operation; where the analytic function includes the amplitude and phase information of the oil wellhead pressure signal of the gas well; extracting the phase information from the analytic function and obtaining the instantaneous frequency based on the phase information; obtaining the Hilbert spectrum according to the correspondence between the signal time, instantaneous frequency, and amplitude to determine the information on different frequency components in the oil wellhead pressure signal of the gas well.

[0011] In a possible implementation, obtaining the envelope of the effective intrinsic mode function component and performing spectral analysis on it to obtain an envelope spectrum numerical diagram includes: taking the modulus of the analytic function as the envelope signal; performing a Fourier transform on the envelope signal to convert the envelope signal from the time domain to the frequency domain to obtain the envelope of the effective intrinsic mode function component; performing spectral analysis on the envelope of the intrinsic mode function component to obtain an envelope spectrum numerical diagram.

[0012] In a possible implementation, determining the sand production degree according to a preset rule includes: if the envelope spectrum value in the Hilbert three-dimensional spectrogram is less than 5, it is determined that the gas well is not producing sand during the production time; if the envelope spectrum value in the Hilbert three-dimensional spectrogram is greater than or equal to 5 and less than 15, it is determined that the sand production degree corresponding to the production time is mild sand production; if the envelope spectrum value in the Hilbert three-dimensional spectrogram is greater than or equal to 15 and less than 25, it is determined that the sand production degree corresponding to the production time is moderate sand production; if the envelope spectrum value in the Hilbert three-dimensional spectrogram is greater than or equal to 25, it is determined that the sand production degree corresponding to the production time is severe sand production; the preset rule is determined by mutual verification with the envelope spectrum values in the Hilbert three-dimensional spectrograms of a large number of gas wells with different proven sand production degrees.

[0013] In a second aspect, an embodiment of the present application provides a device for discriminating the sand production degree of a gas well, including: an acquisition module for acquiring the oil pressure signal at the wellhead of the gas well; a decomposition module for decomposing the oil pressure signal at the wellhead of the gas well to obtain a plurality of intrinsic mode function components, and extracting effective intrinsic mode function components from the plurality of intrinsic mode function components; wherein each effective intrinsic mode function component includes information on different frequency components in the oil pressure signal at the wellhead of the gas well; a combination module for combining the effective intrinsic mode function components to form an effective mode combined amplitude diagram to display the amplitude change of different frequency components over time; a determination module for judging the change of the amplitude in the effective mode combined amplitude diagram, and if the amplitude shows abnormal fluctuations, determining that a sand production event has occurred; a determination module for determining the sand production time by comparing the amplitude changes of different effective intrinsic mode function components; a drawing module for drawing the frequency distribution diagram of different effective intrinsic mode function components to obtain a modal frequency diagram and judging the frequency component that dominates in the sand production event; an analysis module for obtaining the envelope line of the effective intrinsic mode function component and performing spectral analysis on it to obtain an envelope spectrum numerical diagram to display the energy distribution of the oil pressure signal at the wellhead of the gas well at different frequencies; a comparison module for comparing the envelope spectrum numerical diagrams of different time periods to judge the change trend of the sand production degree; a judgment module for combining the amplitude change in the effective mode combined amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram, and the information of the envelope spectrum numerical diagram to form a Hilbert three-dimensional spectrogram, setting a preset rule based on the Hilbert three-dimensional spectrogram, and judging the sand production degree according to the preset rule.

[0014] In a third aspect, an embodiment of the present application provides a server for discriminating the sand production degree of a gas well, including a memory and a processor; the memory is used to store computer-executable instructions; the processor is used to execute the computer-executable instructions to implement the method described in the first aspect or any possible implementation manner of the first aspect.

[0015] Fourthly, an embodiment of the present application provides a computer-readable storage medium storing executable instructions, and when a computer executes the executable instructions, the method described in the first aspect or any possible implementation manner of the first aspect can be implemented.

[0016] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects: The embodiments of the present application provide a method for discriminating the sand production degree of a gas well. The prior art only relies on a single index, i.e., the pressure difference limit of the wellhead oil pressure signal, which is difficult to comprehensively reflect the complex situation of sand production in the gas well. In the present application, the wellhead oil pressure signal of the gas well is decomposed to obtain a plurality of intrinsic mode function components, and the effective intrinsic mode function components containing information of different frequency components are extracted. This multi-component analysis method can carefully analyze the oil pressure signal from multiple frequency dimensions, comprehensively capture the characteristic information at different frequencies in the signal, avoid important sand production-related characteristics that may be ignored by a single index, and provide a rich and comprehensive data basis for accurately judging the sand production situation subsequently. The effective intrinsic mode function components are combined to form an effective mode combination amplitude diagram to display the amplitude change, a mode frequency diagram is plotted to judge the dominant frequency component, the envelope line is obtained for spectral analysis to obtain an envelope spectrum numerical diagram to display the energy distribution, and finally, these information are combined to form a Hilbert three-dimensional spectrum diagram and a preset rule is set to judge the sand production degree. This multi-dimensional comprehensive judgment method comprehensively considers the sand production situation from multiple key angles such as amplitude, frequency, and energy distribution, effectively overcomes the problems of misjudgment or missed judgment caused by the interference of non-sand production factors such as natural changes in formation pressure, production equipment failures, and sensor errors in the prior art due to a single index, and improves the accuracy and reliability of sand production judgment. The present application can not only determine the sand production event by judging the abnormal fluctuation of the amplitude in the effective mode combination amplitude diagram, but also determine the sand production time by comparing the amplitude changes of different effective intrinsic mode function components. At the same time, by comparing the envelope spectrum numerical diagrams of different time periods, the change trend of the sand production degree can be judged. This accurate positioning and analysis ability of the sand production time and degree is difficult to achieve by the prior art relying only on the pressure difference limit, making the sand production judgment result more accurate and detailed, and providing a strong basis for formulating targeted sand control measures. The present application can quickly and efficiently analyze and process the wellhead oil pressure signal of the gas well. Compared with the way in the prior art that requires a large number of repeated tests for judgment, the present application shortens the time for signal processing and analysis, improves the efficiency of sand production judgment, and reduces the consumption of manpower and material resources. Based on the Hilbert three-dimensional spectrum diagram, a preset rule is set, and the sand production degree can be quickly judged according to the preset rule, making the sand production judgment process more efficient and objective, and capable of giving an accurate judgment result in a short time, providing timely support for decision-making in the process of gas field development. It solves the problem of insufficient accuracy in discriminating the sand production degree in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments of the present application or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0018] Figure 1 It is a flowchart of a method for discriminating the sand production degree of a gas well provided by an embodiment of the present application; Figure 2 It is a schematic diagram of the wellhead oil pressure signal of Well A806 provided by an embodiment of the present application; Figure 3 It is a schematic diagram of multiple intrinsic mode function components of the wellhead oil pressure signal of Well A806 obtained by an embodiment of the present application; Figure 4 It is a schematic diagram of an effective modal combination amplitude diagram provided by an embodiment of the present application; Figure 5 It is a Hilbert two-dimensional spectrogram obtained by performing a Hilbert transform operation on the effective modal amplitude provided by an embodiment of the present application; Figure 6 It is a fluctuation curve diagram of four groups of randomly distributed well oil pressure numbers constructed by an embodiment of the present application; Figure 7 It is a three-dimensional signal denoising decomposition modal diagram obtained by performing ICEEMDAN decomposition on four groups of randomly distributed well oil pressure numbers provided by an embodiment of the present application; Figure 8 It is a schematic diagram of multiple intrinsic mode function components of four groups of randomly distributed well oil pressure numbers obtained by the ICEEMDAN algorithm provided by an embodiment of the present application; Figure 9 It is a judgment diagram of the sand production time and sand production degree provided by an embodiment of the present application; Figure 10 It is a schematic diagram of a device for discriminating the sand production degree of a gas well provided by an embodiment of the present application; Figure 11 It is a schematic diagram of a server for discriminating the sand production degree of a gas well provided by an embodiment of the present application. Detailed implementation manners

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0020] The following explains some of the technologies related to the embodiments of the present application to facilitate understanding. It should be considered that they are merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, some descriptions of well-known functions and structures are omitted in the following description.

[0021] An embodiment of the present application proposes a method for discriminating the sand production degree of a gas well, and its process is as Figure 1 shown, covering steps S101 to S109.

[0022] It should be emphasized that Figure 1 the order of execution of the steps shown is only for exemplary illustration and is not the only feasible execution path of the method. On the premise of ensuring the accuracy of the final discrimination result, the execution order of each step can be flexibly adjusted according to the requirements of the actual application scenario, and even some steps can be implemented in parallel. This design endows the method with high flexibility and adaptability, enabling it to better meet the sand production discrimination requirements under different gas well conditions and production environments, and providing a more efficient and reliable solution for sand production monitoring in gas field development.

[0023] S101: Obtain the oil pressure signal at the wellhead of the gas well.

[0024] Specifically, the oil pressure signal at the wellhead of the gas well is one of the important parameters reflecting the production status of the gas well, which contains the change of the oil pressure during the production process of the gas well. The oil pressure value at the wellhead of the gas well can be measured in real time and accurately by installing a pressure sensor at the wellhead of the gas well.

[0025] S102: Decompose the oil pressure signal at the wellhead of the gas well to obtain multiple intrinsic mode function components, and extract the effective intrinsic mode function components from the multiple intrinsic mode function components. Among them, each effective intrinsic mode function component includes information on different frequency components in the oil pressure signal at the wellhead of the gas well.

[0026] Decompose the wellhead oil pressure signal of the gas well to obtain multiple intrinsic mode function components, including: decompose Gaussian white noise to obtain multiple intrinsic mode components of Gaussian white noise. Add the wellhead oil pressure signal of the gas well to the multiple intrinsic mode components of Gaussian white noise respectively to form multiple extended signals. Perform the first decomposition on the first extended signal to obtain the first residual component, and obtain the first intrinsic mode function component through the difference between the wellhead oil pressure signal of the gas well and the first residual component. Sequentially perform the decomposition processing steps on the subsequent extended signals and residual components. Based on the previous residual component, add the intrinsic mode component of new Gaussian white noise to form a new extended signal, decompose the new extended signal to obtain a new residual component, and obtain the next intrinsic mode function component through the difference between the two consecutive residual components. Iteratively execute the decomposition processing steps until the predefined stop criterion is met to obtain multiple intrinsic mode function components.

[0027] Specifically, for the decomposition of the wellhead oil pressure signal of the gas well in this application, the Improved Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (ICEEMDAN) algorithm can be selected. The ICEEMDAN algorithm is a decomposition method specifically used for processing non-linear and non-stationary signals. During the production process, the wellhead oil pressure signal of the gas well often exhibits strong non-stationarity, which has a high similarity to traditional vibration signals.

[0028] Furthermore, when decomposing Gaussian white noise, the multiple intrinsic mode components of Gaussian white noise obtained are . Among them, is a positive integer, representing the total number of intrinsic mode components decomposed from Gaussian white noise.

[0029] The expressions for adding the wellhead oil pressure signal of the gas well to the multiple intrinsic mode components of Gaussian white noise respectively to form multiple extended signals are: ; where, is the extended signal, is the wellhead oil pressure signal of the gas well, representing the variation of the oil pressure of the gas well with time during the production process, , is a constant, with a value range of 0.02 - 0.2, is the standard deviation of the wellhead oil pressure signal of the gas well, is the standard deviation of the intrinsic mode component of Gaussian white noise, is the index variable, is the th intrinsic mode component of Gaussian white noise. ​​​​​​​​​

[0030] Further, perform the first decomposition on the first extended signal to obtain the first residual component as . . Among them, represents the extended signal minus the first intrinsic mode function component obtained by decomposing the extended signal . The first intrinsic mode function component is the difference between the wellhead oil pressure signal of the gas well and the first residual component, that is , is the number of extended signal samples used to calculate the residual component, is the index variable.

[0031] The calculation formula for the second residual component is: . Among them, , is the standard deviation of the first residual component , is the intrinsic mode component of the second Gaussian white noise, , is the second intrinsic mode function component, is the second residual component.

[0032] And so on, calculate the -th residual component in the same way: . , is the -th residual component 's standard deviation, is the -th Gaussian white noise's intrinsic mode component, . is the -th intrinsic mode function component, is the -th residual component. After that, the -th Gaussian white noise's intrinsic mode function component can be derived.

[0033] Specifically, the predefined stopping criterion can be to set a maximum number of iterations and when the residual component is a monotonic function. In practical applications, these two stopping criteria can be used in combination.

[0034] A relatively large maximum number of iterations can be set as a safety margin first. At the same time, after each iteration of the decomposition processing step, check whether the residual component is a monotonic function. If the residual component becomes a monotonic function, stop the decomposition process in advance; if the monotonicity condition is still not satisfied after reaching the maximum number of iterations, force stop and output the current decomposition result.

[0035] Furthermore, the maximum number of iterations can be 50 times, and the residual component being a monotonic function is defined as: if the absolute value of the change in the amplitude of the residual component between two adjacent iterations is less than 0.1% of the current amplitude in three consecutive iterations of the residual, it can be regarded as approximately monotonic.

[0036] Check the instantaneous frequency stability of the th intrinsic mode function component to ensure no mode mixing (such as high-frequency noise not being mixed into the low-frequency intrinsic mode function component). Verify through the reconstruction error: . Among them, is the wellhead oil pressure signal of the gas well, is the th intrinsic mode function component, is the th residual component.

[0037] Extract effective intrinsic mode function components from multiple intrinsic mode function components, including: sort the multiple intrinsic mode function components in descending order according to the signal density. Select the first preset proportion of the intrinsic mode function components after sorting as the effective intrinsic mode function components.

[0038] The signal density reflects the energy concentration and change rate of the intrinsic mode function component in the time-frequency domain.

[0039] Use the weighted comprehensive score as a specific manifestation of the signal density.

[0040] The calculation method of the weighted comprehensive score is: . Among them, is the weighted comprehensive score, is the energy proportion of the th intrinsic mode function component, is the frequency concentration degree, is the time-domain fluctuation intensity, , and are the weight coefficients. The default values of the weight coefficients are , , .

[0041] It should be noted that the default value of the weight coefficient is determined through verification of a large amount of experimental data, which balances the comprehensive effects of energy, frequency concentration, and time-domain fluctuations.

[0042] . Among them, is the th intrinsic mode function component, is the oil pressure signal at the wellhead of the gas well.

[0043] . Among them, is the main frequency bandwidth, , is the maximum instantaneous frequency of the th intrinsic mode function component, is the minimum instantaneous frequency of the th intrinsic mode function component.

[0044] . Among them, is the total number of signal sampling points, is the index, is the time-domain mean value of the th intrinsic mode function component, The larger it is, the stronger the fluctuation.

[0045] Specifically, the preset ratio can be 40%. When there are 10 intrinsic mode function components, the first 4 are selected as effective intrinsic mode function components according to the preset ratio. When the number of effective intrinsic mode function components selected according to the preset ratio is not an integer, rounding can be performed.

[0046] Each effective intrinsic mode function component includes information on different frequency components in the oil pressure signal at the wellhead of the gas well, including: performing a Hilbert transform operation on the effective intrinsic mode function component. Based on the result of the Hilbert transform operation, an analytic function is constructed. Among them, the analytic function includes the amplitude and phase information of the oil pressure signal at the wellhead of the gas well. Extract the phase information from the analytic function, and obtain the instantaneous frequency based on the phase information. According to the correspondence relationship between the signal time, instantaneous frequency, and amplitude, the Hilbert spectrum is obtained to determine the information on different frequency components in the oil pressure signal at the wellhead of the gas well.

[0047] Specifically, the expression for performing a Hilbert transform operation on the effective intrinsic mode function component is: . Among them, is the result of performing a Hilbert transform operation on the effective intrinsic mode function component, is an effective intrinsic mode function component of the oil pressure signal at the wellhead of the gas well, is 's Hilbert transform signal, is the time variable, is the signal time, is the kernel function of the Hilbert transform operation.

[0048] Specifically, based on the result of the Hilbert transform operation, the expression for constructing the analytic function is: . Among them, is the analytic function, is the amplitude of the analytic function, representing the instantaneous amplitude of the th effective intrinsic mode function component at time, , is the phase of the analytic function, representing the instantaneous phase of the th effective intrinsic mode function component at time, , is the imaginary unit, satisfying , is the complex exponential function, representing the rotation factor with a phase of .

[0049] Specifically, the phase information is extracted from the analytic function, and the expression for obtaining the instantaneous frequency based on the phase information is: . Among them, is the instantaneous frequency of the th effective intrinsic mode function component at time, is a constant factor used to convert the rate of change of the phase into frequency, is the phase of the analytic function derivative with respect to the signal time , that is, the rate of change of the phase of the th effective intrinsic mode function component at time.

[0050] Specifically, according to the correspondence relationship between the signal time, instantaneous frequency, and amplitude, the Hilbert spectrum is obtained to determine the information of different frequency components in the wellhead oil pressure signal of the gas well.

[0051] The expression for the Hilbert spectrum is: . Among them, is the Hilbert spectrum, is to take the real part of the complex number, is the total number of effective intrinsic mode function components, is the index variable, is the frequency variable.

[0052] S103: Combine the effective intrinsic mode function components to form an effective mode combined amplitude diagram to display the amplitude changes of different frequency components over time.

[0053] Specifically, to effectively judge the sand production situation, a method of combining effective intrinsic mode function components into an effective modal combined amplitude diagram is adopted. This step not only reveals the variation law of the amplitudes of different frequency components in the signal over time but also provides a key basis for identifying sand production characteristics.

[0054] S104: Judge the variation of the amplitude in the effective modal combined amplitude diagram. If the amplitude shows abnormal fluctuations, it is determined that a sand production event has occurred. Specifically, the abnormal fluctuations of the amplitude can be that the change of the amplitude is greater than or equal to 2 or less than or equal to -2.

[0055] S105: Determine the sand production time by comparing the amplitude variations of different effective intrinsic mode function components.

[0056] Specifically, focus on whether the amplitude suddenly increases or decreases at a certain moment. Such abnormal fluctuations are caused by sand production events inside the gas well because sand production will cause significant changes in the frequency components and amplitudes of the oil pressure signal at the wellhead of the gas well. Analyze the amplitude variations of different effective intrinsic mode function components at the same time point.

[0057] Since different effective intrinsic mode function components correspond to different frequency ranges in the oil pressure signal at the wellhead of the gas well, their responses to sand production events may vary. By comparing the amplitude variations of multiple effective intrinsic mode function components, the specific time point when the sand production event occurs can be determined more accurately, and the influence degree of the sand production event on different frequency components of the oil pressure signal at the wellhead of the gas well can be understood.

[0058] S106: Plot the frequency distribution diagrams of different effective intrinsic mode function components to obtain the modal frequency diagram, and judge the frequency components that dominate in the sand production event.

[0059] Specifically, by analyzing the frequency distribution of different effective intrinsic mode function components in the modal frequency diagram, it can be clarified that when the sand production event occurs, the amplitudes of certain frequency components increase significantly. This indicates that these frequency components dominate in the sand production event.

[0060] S107: Obtain the envelope of the effective intrinsic mode function component and perform spectral analysis on it to obtain the envelope spectrum numerical diagram to show the energy distribution of the oil pressure signal at the wellhead of the gas well at different frequencies.

[0061] Obtaining the envelope of the effective intrinsic mode function component and performing spectral analysis on it to obtain the envelope spectrum numerical diagram includes the following steps.

[0062] Take the modulus of the analytical function as the envelope signal. Perform Fourier transform on the envelope signal to convert the envelope signal from the time domain to the frequency domain, so as to obtain the envelope line of the effective intrinsic mode function component. Conduct spectral analysis on the envelope line of the intrinsic mode function component to obtain the envelope spectrum numerical diagram.

[0063] Specifically, the envelope signal reflects the variation trend of the wellhead oil pressure signal of the gas well on a long time scale, which is an embodiment of the overall characteristics of the signal. The envelope line of the effective intrinsic mode function component can show the energy distribution of the wellhead oil pressure signal of the gas well at different frequencies.

[0064] The result of the spectral analysis is the envelope spectrum numerical diagram, which reflects the variation of the frequency components of the wellhead oil pressure signal of the gas well over time and is an important means for analyzing non-stationary signals.

[0065] Furthermore, before performing Fourier transform on the envelope signal, the amplitude spectrum of the envelope signal can be calculated. In order to eliminate high-frequency noise and fast-changing parts, and thus better highlight the long-time scale characteristics of the wellhead oil pressure signal of the gas well, smooth the amplitude spectrum to make the envelope signal smoother and reduce noise interference. Low-pass filtering is an effective means of smoothing, which can help remove high-frequency noise and retain the main components of the signal. After the initial smoothing process of the amplitude spectrum, in order to further extract the overall trend of the signal, smoothing can be performed again, which helps to make the envelope signal clearer and smoother for subsequent analysis.

[0066] S108: Compare the envelope spectrum numerical diagrams of different time periods to judge the variation trend of the sand production degree.

[0067] Specifically, the time period can be divided based on the actual operation conditions and monitoring requirements of the gas well, such as dividing by time units such as days, weeks or months. Compare the envelope spectrum numerical diagrams of different time periods to obtain the energy distribution of each frequency component.

[0068] By comparing the envelope spectra of different time periods, it can be identified which frequency components' energy changes over time, as well as the direction and amplitude of these changes. According to the change of the energy of the frequency components in the envelope spectrum numerical diagram, judge the variation trend of the sand production degree. If the energy of certain frequency components continues to increase in multiple time periods, it indicates that the sand production degree is intensifying. On the contrary, if the energy of certain frequency components decreases, it indicates that the sand production degree is alleviating or tending to be stable.

[0069] When comparing the envelope spectrum numerical diagrams, attention should be focused on those frequency components that may increase significantly during sand production events. The energy of a frequency component refers to the signal energy in a certain frequency or frequency range, which reflects the intensity or amplitude size of the signal at that frequency.

[0070] S109: Combine the amplitude changes in the effective modal combination amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram, and the information in the envelope spectrum numerical diagram to form a Hilbert three-dimensional spectrum diagram. Set a preset rule based on the Hilbert three-dimensional spectrum diagram, and judge the sand production degree according to the preset rule.

[0071] Judging the sand production degree according to the preset rule includes: If the envelope spectrum value in the Hilbert three-dimensional spectrum diagram is less than 5, it is judged that the gas well is not sand-producing during the production time. If the envelope spectrum value in the Hilbert three-dimensional spectrum diagram is greater than or equal to 5 and less than 15, it is judged that the sand production degree corresponding to the production time is mild sand production. If the envelope spectrum value in the Hilbert three-dimensional spectrum diagram is greater than or equal to 15 and less than 25, it is judged that the sand production degree corresponding to the production time is moderate sand production. If the envelope spectrum value in the Hilbert three-dimensional spectrum diagram is greater than or equal to 25, it is judged that the sand production degree corresponding to the production time is severe sand production.

[0072] The preset rule is determined by mutual verification with the envelope spectrum values in the Hilbert three-dimensional spectrum diagrams of a large number of gas wells with proven different sand production degrees.

[0073] Specifically, for example, there have been 50 gas wells with moderate sand production in a certain block historically, and the range of the envelope spectrum values obtained by this application is between 15 and 25. The sand production degrees of other types are also determined by the method of this application.

[0074] In the analysis of the Hilbert three-dimensional spectrum diagram, in order to more intuitively compare the relative strengths of different frequency components, the oil pressure signal at the wellhead of the gas well will be normalized. This processing can more clearly show the relative strength relationship between frequency components and is helpful for more accurately analyzing the characteristics of the signal. The normalized envelope spectrum values are dimensionless, and they represent the energy distribution of the oil pressure signal at the wellhead of the gas well at different frequencies.

[0075] Specifically, the starting time of sand production can be judged according to the starting time of the abnormal increase in amplitude in the amplitude diagram, combined with the time points of significant changes in the energy of frequency components in the frequency diagram and the envelope spectrum diagram. The ending time of sand production can be judged by determining whether the amplitude, frequency, and energy changes tend to be stable or return to normal.

[0076] Regarding the sand production phenomenon occurring in Well A806 and based on the obtained sand samples, the method of this application based on the envelope spectrum value in the Hilbert three-dimensional spectrum diagram is used to judge the sand production degree and the sand production time. The ICEEMDAN decomposition is performed on the oil pressure signal at the wellhead of Well A806 to obtain the effective intrinsic mode function components.

[0077] Figure 2 This is a schematic diagram of the oil pressure signal at the wellhead of Well A806 provided in the embodiment of this application. The abscissa represents the production time, and the ordinate represents the oil pressure.

[0078] Figure 2The purpose of interpolating data is to turn the actually possibly discontinuous production data into continuous data, which is convenient for the next step of modal decomposition. Since the production data related to the wellhead oil pressure signal of the gas well actually collected may be discontinuous or non - continuous due to sensor failures, transmission losses, etc. These discontinuity points will interfere with the subsequent signal processing and analysis processes. Therefore, the purpose of interpolating data is to turn the actually possibly discontinuous production data into continuous data, which is convenient for the next step of modal decomposition. Modal decomposition (ICEEMDAN decomposition) is a technique for decomposing complex signals into multiple simple modal functions. It usually requires the input signal to be continuous and smooth in order to effectively extract different characteristic components in the signal.

[0079] By interpolating data, it is possible to estimate or predict the values of missing data points using the existing data points, thereby converting the discontinuous production data into a continuous data sequence. Interpolating data can fill in the missing values in the data, making the data sequence more complete and accurate. A continuous data sequence can ensure that the modal decomposition algorithm works effectively and extracts different modal components in the signal. A continuous data sequence is also convenient for other subsequent analyses, such as spectral analysis, time - frequency analysis, etc.

[0080] Figure 3 This is a schematic diagram of multiple intrinsic mode function components of the wellhead oil pressure signal of Well A806 obtained in the embodiment of the present application. The present application selects the first four intrinsic mode function components (Mode 1, Mode 2, Mode 3, Mode 4) as effective intrinsic mode function components. Figure 3 The horizontal and vertical coordinates of Figure 2 are the same.

[0081] Figure 4 This is a schematic diagram of the effective modal combination amplitude diagram provided in the embodiment of the present application. By judging the change of the amplitude, it is possible to preliminarily judge the abnormal periods in the signal, and these periods are related to the sand production events. Figure 4 The abscissa in Figure 4 is the normalized production time, ranging from 0 to 1, representing the time proportion in the whole production process. Figure 4 The ordinate in

[0082] Figure 5 This is the Hilbert two - dimensional spectrogram obtained by performing the Hilbert transform operation on the effective modal amplitude provided in the embodiment of the present application. Figure 5The abscissa in it is the normalized time, and the ordinate is the modal frequency value. Different colors represent different envelope spectrum values. According to the change of frequency components in the Hilbert two-dimensional spectrogram and combining with the time period of abnormal increase in amplitude in the effective modal combination amplitude diagram, the sand production time can be judged. By analyzing the distribution characteristics of the envelope spectrum values corresponding to the modal frequencies, the sand production degree can be further determined. For Well A806, the analysis results of this application show that: sand production phenomenon began to occur in July 2015 and developed into severe sand production in August 2019.

[0083] By comparing the spectrum analysis results with the actual situation, the accuracy of the analysis results can be verified. For Well A806, the spectrum analysis results are consistent with the actual situation, which proves the effectiveness of this application. This application can accurately identify the sand production time and sand production degree of gas wells, providing an important basis for taking timely sand control measures. By continuously monitoring and analyzing the wellhead oil pressure signal of gas wells, the real-time monitoring and early warning of the sand production situation of gas wells can be realized, which helps to ensure the safe production of gas wells.

[0084] The following lists an embodiment to further illustrate the method for judging the sand production degree of gas wells in this application.

[0085] In order to simulate the oil pressure change situation under different sand production degrees, four groups of random distribution numbers of gas well oil pressure are constructed.

[0086] (1) 96 → 91, oil pressure signal fluctuation .

[0087] (2) 91 → 76, oil pressure signal fluctuation .

[0088] (3) 76 → 51, oil pressure signal fluctuation .

[0089] (4) 51 → 16, oil pressure signal fluctuation .

[0090] Specifically, the oil pressure signal fluctuation can also be understood as the oil pressure change.

[0091] Figure 6 is the fluctuation curve diagram of the four groups of well oil pressure random distribution numbers constructed for the embodiment of this application. This application takes the four groups of well oil pressure random distribution numbers constructed as input data, uses the ICEEMDAN method to decompose the oil pressure change signal, and obtains a series of intrinsic mode function (IMF) components. Each component contains the information of different frequency components in the original signal. Figure 6 The abscissa in it is the production time, and the ordinate is the oil pressure. Figure 6 Intuitively shows the fluctuation situation of the oil pressure over time.

[0092] Figure 7This is a three-dimensional signal denoising decomposition mode diagram obtained by performing ICEEMDAN decomposition on the random distribution numbers of the oil pressure of four groups of wells provided by the embodiments of the present application. The X-axis represents the production time, indicating the change of the oil pressure signal over time. The Y-axis represents the mode number, indicating different intrinsic mode function components. The Z-axis represents the mode amplitude, indicating the amplitude size of each intrinsic mode function component.

[0093] Figure 7 There are multiple curves in it, and each curve represents the change of the amplitude of an intrinsic mode function component over time. Different intrinsic mode function components are distinguished by different colors. From Figure 7 it can be seen that the amplitudes of different intrinsic mode function components show different changing trends over time. The amplitudes of some components are larger in the initial stage of production and then gradually decrease; the amplitudes of some components remain relatively stable throughout the production period.

[0094] Figure 8 This is a schematic diagram of multiple intrinsic mode function (IMF) components of the random distribution numbers of the oil pressure of four groups of wells obtained by the ICEEMDAN algorithm provided by the embodiments of the present application. These components are sorted in descending order according to the signal density, and each component precisely captures the dynamic characteristics within a specific frequency range in the wellhead oil pressure signal of the gas well.

[0095] Specifically, the high-frequency components, that is, the intrinsic mode function components with a larger signal density, can reflect the rapid pressure fluctuations during the production process of the gas well, while the low-frequency components, that is, the intrinsic mode function components with a smaller signal density, reveal the long-term trends and slow changes. Each IMF component not only shows a high degree of energy concentration in the time-frequency domain but also provides key sand production characteristic information through its change rate. This multi-scale signal decomposition lays a foundation for subsequent multi-dimensional feature fusion analysis, enabling more accurate identification of sand production events and determination of the sand production degree.

[0096] Figure 9 This is a judgment diagram of the sand production time and the sand production degree provided by the embodiments of the present application. Figure 9 In (a) of it is the effective mode combined amplitude diagram. Figure 9 In (b) of it is the Hilbert two-dimensional spectrum diagram. Figure 9Among them, (c) is the Hilbert three-dimensional spectrogram. The effective modal combination amplitude diagram shows the variation of the amplitudes of different effective intrinsic mode function components over time. The intervals of non-sanding, mild sanding, moderate sanding, and severe sanding are distinguished in the diagram. By judging the change in amplitude, the start time and degree of sanding can be determined. For example, a sudden increase in amplitude indicates the occurrence of a sanding event. The Hilbert two-dimensional spectrogram shows the frequency and amplitude variations of the signal within a certain time period in the form of a two-dimensional diagram, which is used for further analysis of sanding characteristics. The distribution characteristics of sanding events in terms of frequency and time can be obtained through the two-dimensional diagram. That is, the Hilbert two-dimensional spectrogram shows the distribution characteristics of the frequency components of the modal frequency diagram. The Hilbert three-dimensional spectrogram shows the relationship between the frequency, time, and amplitude of the signal over the entire time period in the form of a three-dimensional diagram, providing more comprehensive sanding information. That is, the Hilbert three-dimensional spectrogram shows the information of the envelope spectrum numerical diagram. By combining the amplitude changes in the effective modal combination amplitude diagram, the distribution characteristics of the frequency components of the modal frequency diagram, and the information of the envelope spectrum numerical diagram, the sanding time and degree of sanding can be accurately determined.

[0097] Based on the previously established preset rules for the degree of sanding, this application has comprehensively determined the sanding time and degree of sanding for 22 gas wells in Block A and 26 gas wells in Block B of a certain gas field in the Tarim Basin. By using the ICEEMDAN algorithm to decompose the wellhead oil pressure signal of the gas wells, effective intrinsic mode function components containing different frequency component information are extracted. Further, through the multi-dimensional feature analysis of the effective modal combination amplitude diagram, the modal frequency diagram, and the envelope spectrum numerical diagram, the accurate identification of sanding events is achieved.

[0098] Specifically, the effective modal combination amplitude diagram clearly shows the amplitude changes of the wellhead signal of the gas wells, the modal frequency diagram reveals the distribution characteristics of the dominant frequency components in the sanding events, and the envelope spectrum numerical diagram quantifies the energy distribution at different frequencies. By synthesizing this information, this application not only accurately determines the occurrence time of sanding events but also quantitatively evaluates the degree of sanding, providing a scientific and reliable basis for sanding monitoring and sand control measure formulation in gas fields.

[0099] Table 1 and Table 2 respectively show the sand production degree discrimination results of 22 gas wells in Block A and 26 gas wells in Block B by the method based on the envelope spectrum values in the Hilbert three-dimensional spectrogram of this application. The results show that the coincidence rate of the method of this application with the actual production situation reaches more than 90%, fully verifying its high reliability and accuracy in practical applications. Through multi-dimensional feature fusion (amplitude change, frequency distribution, energy distribution) and dynamic adaptability analysis, the method of this application can accurately identify sand production events and classify the sand production degree, effectively overcoming the misjudgment and missed judgment problems caused by single indicators in traditional methods. The high coincidence rate indicates that the method of this application can not only accurately reflect the actual sand production situation of gas wells, but also provide an innovative solution for the classification of sand production degree in gas field development. This achievement provides a scientific basis for formulating targeted sand control measures, optimizing production parameters and ensuring the long-term stable operation of gas wells, and has important practical application value.

[0100] Table 1 Discrimination Results Table of Sand Production Degree of 22 Gas Wells in Block A

[0101] Table 2 Discrimination Results Table of Sand Production Degree of 26 Gas Wells in Block B

[0102] The prior art only relies on a single index, i.e., the differential pressure limit of the wellhead oil pressure signal, and it is difficult to comprehensively reflect the complex situation of sand production in gas wells. In this application, the wellhead oil pressure signal of the gas well is decomposed to obtain multiple intrinsic mode function components, and the effective intrinsic mode function components containing information on different frequency components are extracted. This multi-component analysis method can conduct a detailed analysis of the oil pressure signal from multiple frequency dimensions, comprehensively capture the characteristic information at different frequencies in the signal, avoid important sand production-related characteristics that may be overlooked by a single index, and provide a rich and comprehensive data basis for accurately judging the sand production situation subsequently. The effective intrinsic mode function components are combined to form an effective mode combination amplitude diagram to display the amplitude change, a mode frequency diagram is drawn to judge the dominant frequency component, the envelope line is obtained for spectral analysis to get the envelope spectrum numerical diagram to display the energy distribution, and finally, these information are combined to form a Hilbert three-dimensional spectrum diagram and preset rules are set to judge the sand production degree. This multi-dimensional comprehensive judgment method comprehensively considers the sand production situation from multiple key aspects such as amplitude, frequency, and energy distribution, effectively overcomes the problems of misjudgment or missed judgment caused by the interference of non-sand production factors such as natural changes in formation pressure, production equipment failures, and sensor errors in the prior art due to a single index, and improves the accuracy and reliability of sand production judgment. This application can not only determine the sand production event by judging the abnormal fluctuation of the amplitude in the effective mode combination amplitude diagram, but also determine the sand production time by comparing the amplitude changes of different effective intrinsic mode function components. At the same time, by comparing the envelope spectrum numerical diagrams of different time periods, the change trend of the sand production degree can be judged. This precise positioning and analysis ability of the sand production time and degree are difficult to achieve by the prior art relying only on the differential pressure limit, making the sand production judgment result more accurate and detailed, and providing a strong basis for formulating targeted sand control measures. This application can quickly and efficiently analyze and process the wellhead oil pressure signal of the gas well. Compared with the method of the prior art that requires a large number of repeated tests for judgment, this application shortens the time for signal processing and analysis, improves the efficiency of sand production judgment, and reduces the consumption of manpower and material resources. Preset rules are set based on the Hilbert three-dimensional spectrum diagram, and the sand production degree can be quickly judged according to the preset rules, making the sand production judgment process more efficient and objective, and being able to give an accurate judgment result in a short time, providing timely support for decision-making in the process of gas field development. It solves the problem of insufficient accuracy in discriminating the sand production degree in the prior art.

[0103] An embodiment of this application also provides a device 1000 for discriminating the sand production degree of a gas well, as Figure 10 shown. The device includes: an acquisition module 1001, a decomposition module 1002, a combination module 1003, a determination module 1004, a determination module 1005, a drawing module 1006, an analysis module 1007, a comparison module 1008, and a judgment module 1009.

[0104] The acquisition module 1001 is used to acquire the wellhead oil pressure signal of the gas well.

[0105] The decomposition module 1002 is used to decompose the oil wellhead pressure signal of the gas well to obtain multiple intrinsic mode function components, and extract the effective intrinsic mode function components from the multiple intrinsic mode function components. Each effective intrinsic mode function component includes information on different frequency components in the oil wellhead pressure signal of the gas well.

[0106] The combination module 1003 is used to combine the effective intrinsic mode function components to form an effective mode combined amplitude diagram to display the amplitude changes of different frequency components over time.

[0107] The determination module 1004 is used to judge the change of the amplitude in the effective mode combined amplitude diagram. If the amplitude shows abnormal fluctuations, it is determined that a sand production event has occurred.

[0108] The determination module 1005 is used to determine the sand production time by comparing the amplitude changes of different effective intrinsic mode function components.

[0109] The plotting module 1006 is used to plot the frequency distribution diagrams of different effective intrinsic mode function components to obtain the modal frequency diagram and judge the frequency components that dominate in the sand production event.

[0110] The analysis module 1007 is used to obtain the envelope of the effective intrinsic mode function components and perform spectral analysis on it to obtain the envelope spectrum numerical diagram to display the energy distribution of the oil wellhead pressure signal of the gas well at different frequencies.

[0111] The comparison module 1008 is used to compare the envelope spectrum numerical diagrams of different time periods to judge the change trend of the sand production degree.

[0112] The judgment module 1009 is used to combine the amplitude changes in the effective mode combined amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram, and the information of the envelope spectrum numerical diagram to form a Hilbert three-dimensional spectrum diagram, set preset rules based on the Hilbert three-dimensional spectrum diagram, and judge the sand production degree according to the preset rules.

[0113] Some modules in the device described in this application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. This application can also be practiced in a distributed computing environment, where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0114] The devices or modules described in the above application embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. For the convenience of description, when describing the above devices, they are divided into various modules according to functions and described separately. When implementing the application embodiments, the functions of each module can be implemented in the same or multiple software and / or hardware. Of course, the module that implements a certain function can also be implemented by combining multiple sub-modules or sub-units.

[0115] The methods, devices or modules described in this application can be implemented in the form of computer-readable program codes. The controller can be implemented in any appropriate manner. For example, the controller can take the form of, for example, a microprocessor or a processor, and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor, logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program codes, the method steps can be logically programmed to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded microcontrollers to achieve the same function. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.

[0116] As Figure 11 shown, the embodiment of the present application further provides a gas well sand production degree discrimination server, including a memory 1101 and a processor 1102; the memory 1101 is used to store computer-executable instructions; the processor 1102 is used to execute the computer-executable instructions to implement a gas well sand production degree discrimination method described above in the embodiment of the present application.

[0117] The embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores executable instructions. When the computer executes the executable instructions, it can implement a gas well sand production degree discrimination method described above in the embodiment of the present application.

[0118] As can be seen from the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary hardware. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product or can also be reflected in the implementation process of data migration. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the method described in the embodiments of the present application.

[0119] The various embodiments in this specification are described in a progressive manner. For the same or similar parts between the various embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. All or part of the present application can be used in many general or special computer system environments or configurations.

[0120] The above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting the present application; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the present application.

Claims

1. A method for determining the degree of sand production in a gas well, characterized in that: include: Obtain oil pressure signal at the wellhead of gas well; Decomposing the wellhead oil pressure signal of the gas well to obtain a plurality of intrinsic modal function components, and extracting effective intrinsic modal function components from the plurality of intrinsic modal function components; wherein each effective intrinsic modal function component includes information of different frequency components in the wellhead oil pressure signal of the gas well; The effective natural mode function components are combined to form an effective mode combination amplitude diagram to show the amplitude changes of different frequency components over time; The change of amplitude is determined in the effective mode combination amplitude diagram. If the amplitude fluctuates abnormally, it is determined that a sand event has occurred. The sand production time is determined by comparing the amplitude changes of different effective natural mode function components; Draw the frequency distribution diagram of different effective natural mode function components to obtain the modal frequency diagram and determine the dominant frequency component in the sand event; Obtain the envelope of the effective intrinsic mode function component and perform spectrum analysis on it to obtain the envelope spectrum numerical diagram to show the energy distribution of the wellhead oil pressure signal at different frequencies; Compare the envelope spectrum numerical diagrams of different time periods to determine the changing trend of sand production; The amplitude change in the effective modal combination amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram and the information of the envelope spectrum numerical diagram are combined to form a Hilbert three-dimensional spectrum diagram. Preset rules are set based on the Hilbert three-dimensional spectrum diagram, and the degree of sand production is judged according to the preset rules.

2. The method for determining the degree of sand production in a gas well according to claim 1, characterized in that: The gas wellhead oil pressure signal is decomposed to obtain multiple intrinsic mode function components, including: Decomposing Gaussian white noise to obtain multiple intrinsic modal components of Gaussian white noise; The wellhead oil pressure signal of the gas well is respectively added to the inherent modal components of multiple Gaussian white noises to form multiple extended signals; Performing a first decomposition on the first extended signal to obtain a first residual component, and obtaining a first intrinsic mode function component through the difference between the wellhead oil pressure signal of the gas well and the first residual component; The subsequent extended signal and residual component are decomposed and processed in sequence. Based on the previous residual component, a new intrinsic mode component of Gaussian white noise is added to form a new extended signal. The new extended signal is decomposed to obtain a new residual component. The next intrinsic mode function component is obtained by the difference between the previous and next residual components. The decomposition process step is iteratively performed until a predefined stopping criterion is met to obtain a plurality of intrinsic mode function components.

3. The method for determining the degree of sand production in a gas well according to claim 1, characterized in that: The extracting of effective intrinsic modal function components from a plurality of intrinsic modal function components comprises: Arrange the multiple intrinsic mode function components in descending order according to the signal density; The intrinsic mode function components with a preset proportion at the front after sorting are selected as the effective intrinsic mode function components.

4. The method for determining the degree of sand production in a gas well according to claim 3, characterized in that: The signal density reflects the energy concentration and change rate of the intrinsic mode function components in the time-frequency domain; A weighted composite score was used to define signal density; The weighted composite score is calculated as follows: ;in, is the weighted comprehensive score, For the The energy proportion of the intrinsic mode function components, is the frequency concentration, is the time domain fluctuation intensity, , and is the weight coefficient; ;in, For the IMF components, It is the oil pressure signal at the wellhead of the gas well; ;in, is the main frequency bandwidth, , For the The maximum instantaneous frequency of the natural mode function component, For the The minimum instantaneous frequency of the natural mode function components; ;in, is the total number of signal sampling points, is the index, For the The time domain mean of the intrinsic mode function components, The larger the value, the stronger the fluctuation.

5. The method for determining the degree of sand production in a gas well according to claim 1, characterized in that: Each effective intrinsic modal function component includes information of different frequency components in the wellhead oil pressure signal of the gas well, including: Performing a Hilbert transform operation on the effective intrinsic mode function components; Based on the result of the Hilbert transform operation, an analytical function is constructed; wherein the analytical function includes the amplitude and phase information of the oil pressure signal at the wellhead of the gas well; Extracting phase information from the analytical function and obtaining instantaneous frequency based on the phase information; According to the corresponding relationship between signal time, instantaneous frequency and amplitude, the Hilbert spectrum is obtained to determine the information of different frequency components in the wellhead oil pressure signal of the gas well.

6. The method for determining the degree of sand production in a gas well according to claim 5, characterized in that: The step of obtaining the envelope of the effective intrinsic modal function component and performing spectrum analysis on it to obtain an envelope spectrum numerical diagram includes: The modulus of the analytical function is used as the envelope signal; Performing Fourier transform on the envelope signal, converting the envelope signal from the time domain to the frequency domain, so as to obtain the envelope curve of the effective intrinsic mode function component; The envelope of the intrinsic mode function component is analyzed by frequency spectrum to obtain the envelope spectrum numerical diagram.

7. The method for determining the degree of sand production in a gas well according to claim 4, characterized in that: The step of judging the degree of sand production according to a preset rule includes: If the envelope spectrum value in the Hilbert three-dimensional spectrum is less than 5, it is judged that the gas well has not produced sand during the production period; If the envelope spectrum value in the Hilbert three-dimensional spectrum is greater than or equal to 5 and less than 15, it is judged that the sand production degree corresponding to the production time is slight sand production; If the envelope spectrum value in the Hilbert three-dimensional spectrum is greater than or equal to 15 and less than 25, it is judged that the sand production degree corresponding to the production time is moderate sand production; If the envelope spectrum value in the Hilbert three-dimensional spectrum is greater than or equal to 25, the sand production degree corresponding to the production time is judged to be severe sand production; The preset rule is determined by mutual verification with envelope spectrum values ​​in the Hilbert three-dimensional spectra of a large number of gas wells with different sand production degrees that have been confirmed.

8. A device for determining the degree of sand production in a gas well, characterized in that: include: An acquisition module, used for acquiring an oil pressure signal at a wellhead of a gas well; A decomposition module is used to decompose the gas well head oil pressure signal to obtain a plurality of intrinsic modal function components, and extract effective intrinsic modal function components from the plurality of intrinsic modal function components; wherein each effective intrinsic modal function component includes information of different frequency components in the gas well head oil pressure signal; A combination module is used to combine the effective natural mode function components to form an effective mode combination amplitude diagram to show the amplitude changes of different frequency components over time; A determination module is used to determine the change of amplitude in the effective mode combination amplitude diagram. If the amplitude fluctuates abnormally, it is determined that a sand event has occurred. A determination module, for determining the sanding time by comparing the amplitude changes of different effective natural mode function components; A drawing module is used to draw the frequency distribution diagram of different effective natural mode function components, obtain the modal frequency diagram, and determine the dominant frequency component in the sand event; An analysis module is used to obtain the envelope of the effective intrinsic modal function component and perform spectrum analysis on it to obtain an envelope spectrum numerical diagram to show the energy distribution of the wellhead oil pressure signal of the gas well at different frequencies; The comparison module is used to compare the envelope spectrum numerical graphs of different time periods to determine the changing trend of sand production; The judgment module is used to combine the amplitude change in the effective modal combination amplitude diagram, the frequency component distribution characteristics of the modal frequency diagram and the information of the envelope spectrum numerical diagram to form a Hilbert three-dimensional spectrum diagram, set preset rules based on the Hilbert three-dimensional spectrum diagram, and judge the degree of sand production according to the preset rules.

9. A gas well sand production degree determination server, characterized in that: including memory and processor; The memory is used to store computer executable instructions; The processor is configured to execute the computer executable instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores executable instructions, and when a computer executes the executable instructions, the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Patent Citations

  • Structural damage identification method based on improved adaptive noise complete integrated empirical mode decomposition and storage medium

    CN117708734A

  • Pumping well electric power diagram working condition identification method and system based on multi-feature extraction

    CN118277921A

  • Rock Reservoir Structure Characterization Method, Device, Computer-Readable Storage Medium and Electronic Equipment

    US20210356623A1