Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
EVENT DETECTION USING DAS FEATURES WITH MACHINE LEARNING
Document Type and Number:
WIPO Patent Application WO/2020/109427
Kind Code:
A2
Abstract:
A method of identifying events includes obtaining an acoustic signal from a sensor, determining one or more frequency domain features from the acoustic signal, providing the one or more frequency domain features as inputs to a plurality of event detection models, and determining the presence of one or more events using the plurality of event detection models. The one or more frequency domain features are obtained across a frequency range of the acoustic signal, and at least two of the plurality of event detection models are different.

Inventors:
THIRUVENKATANATHAN PRADYUMNA (GB)
Application Number:
PCT/EP2019/082809
Publication Date:
June 04, 2020
Filing Date:
November 27, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BP EXPLORATION OPERATING CO LTD (GB)
LYTT LTD (GB)
International Classes:
E21B47/10; E21B41/00; E21B47/12
Attorney, Agent or Firm:
FORD, Louise Diane et al. (GB)
Download PDF:
Claims:
CLAIMS

We claim:

1. A method of identifying events, the method comprising:

obtaining an acoustic signal from a sensor;

determining one or more frequency domain features from the acoustic signal, wherein the one or more frequency domain features are obtained across a frequency range of the acoustic signal;

providing the one or more frequency domain features as inputs to a plurality of event detection models; and

determining the presence of one or more events using the plurality of event detection models, wherein at least two of the plurality of event detection models are different.

2. The method of claim 1 , wherein the sensor is disposed within a wellbore, wherein the acoustic signal comprises acoustic samples across a portion of a depth of the wellbore.

3. The method of claim 1 or 2, further comprising identifying one or more event locations using the one or more frequency domain features.

4. The method of any one of claims 1 to 3, wherein the one or more frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

5. The method of any one of claims 1 -4, wherein the one or more events comprise one or more wellbore events, and wherein the one or more wellbore events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

6. The method of any one of claims 1 -5, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

7. The method of any one of claims 1 to 6, further comprising: denoising the acoustic signal prior to determining the one or more frequency domain features.

8. The method of claim 7, wherein denoising the acoustic signal comprises median filtering the acoustic samples.

9. The method of any one of claims 1 to 8, further comprising:

calibrating the acoustic signal.

10. The method of any one of claims 1 to 9, further comprising:

normalizing the one or more frequency domain features prior to determining the presence of the one or more events.

11. The method of any one of claims 1 to 10, wherein identifying the one or more events comprises:

identifying one or more anomalies in the acoustic signal using the one or more frequency domain features; and

selecting depth intervals of the one or more anomalies as event locations.

12. The method of any one of claims 1 to 1 1 , wherein the plurality of event detection models comprises a plurality of logistic regression models, and wherein determining the presence of one or more events using the plurality of event detection models comprises:

determining the presence of the one or more events based on the plurality of logistic regression models.

13. The method of any one of claims 1 to 12, further comprising:

determining a remediation procedure based on the presence of the one or more events; and

performing the remediation procedure.

14. A system comprising:

a processor; and

a memory storing an analysis program,

wherein the processor is configured to execute the analysis program to:

receive an acoustic signal from a sensor;

determine one or more frequency domain features from the acoustic signal, wherein the one or more frequency domain features are obtained across a plurality of intervals along the sensor; provide the one or more frequency domain features as inputs to a plurality of event detection models; and

determine the presence of one or more events using the plurality of event detection models, wherein at least two of the plurality of event detection models are different.

15. The system of claim 14, wherein the processor is further configured to:

identify one or more event locations using the one or more frequency domain features.

16. The system of claim 14 or 15, wherein the one or more frequency domain features comprise at least two frequency domain features, and wherein the at least two frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

17. The system of any one of claims 14 to 16, wherein the one or more events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

18. The system of any one of claims 14 to 16, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

19. The system of any one of claims 14 to 18, wherein the processor is further configured to: calibrate the acoustic signal.

20. The system of any one of claims 14 to 19, wherein the processor is further configured to: normalize the one or more frequency domain features prior to determining the presence of the one or more events.

21. The system of any one of claims 14 to 20, wherein the processor is further configured to: identify a background event signature using the acoustic signal; and

remove the background event signature from the acoustic signal prior to identifying the one or more events.

22. The system of any one of claims 14 to 21 , wherein the processor is further configured to: identify one or more anomalies in the acoustic signal using the one or more frequency domain features; and

select depth intervals of the one or more anomalies as event locations.

23. The system of any one of claims 14 to 22, wherein the plurality of event detection models comprises a plurality of logistic regression models, and wherein the processor is further configured to:

determine the presence of the one or more events based on the plurality of logistic regression models.

24. The system of any one of claims 14 to 23, wherein the processor is further configured to: determine a remediation procedure based on the presence of the one or more events; and perform the remediation procedure.

25. The system of any one of claims 14 to 24, wherein the processor is further configured to: determine a confidence level for the determination of the presence of the one or more events; and

perform a remediation procedure based on the confidence level.

26. A method of determining an output signal using an acoustic signal, the method comprising:

determining one or more frequency domain features from an acoustic signal, wherein the one or more frequency domain features are obtained across a plurality of lengths along a path of the sensor;

providing the one or more frequency domain features as inputs to a plurality of event detection models;

determining an indication of a presence of one or more events using the plurality of event detection models;

providing the indication of the presence of the one or more events to a supervisory application; and

determining, using the indication of the presence of the one or more events as inputs into the supervisory application, an output signal for a process or system.

27. The method of claim 26, further comprising:

identifying one or more event locations using the one or more frequency domain features; and providing the one or more event locations to the supervisory application, wherein determining the output signal comprises using the one or more event locations.

28. The method of claim 26 or 27, wherein the one or more frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

29. The method of any one of claims 26 to 28, wherein the one or more events comprise one or more wellbore events, and wherein the one or more wellbore events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

30. The method of any one of claims 26 to 29, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

31. A method of developing an event identification model for a wellbore, the method

comprising:

performing a plurality of event tests, wherein the plurality of event tests are carried out using a test apparatus to recreate one or more events;

obtaining an acoustic signal from a sensor during each event test of the plurality of event tests, wherein the acoustic signal comprises acoustic samples associated with the event using the test apparatus;

determining one or more frequency domain features from the acoustic signal for each of the plurality of event tests; and

training a plurality of event detection models using the one or more frequency domain features for the plurality of the tests, where a first fluid flow model of the plurality of fluid flow models is different than a second fluid flow model of the plurality of fluid flow models.

32. The method of claim 31 , further comprising: validating the plurality of event identifications models using the acoustic signals from one or more tests of the plurality of tests.

33. The method of claim 31 or 32, wherein the test apparatus comprises a flow loop, and wherein the event comprises a flowing fluid, and wherein the flowing fluid comprises an aqueous fluid, a hydrocarbon fluid, a gas, or a combination thereof.

34. The method of claim 33, wherein the flowing fluid comprises a liquid phase, a multi phase mixed liquid, or a liquid-gas mixed phase.

35. The method of claim 31 or 32, wherein the test apparatus comprises a plurality of

conduits, wherein a first conduit is disposed within a second conduit to form an annulus.

36. The method of claim 31 or 32, wherein the test apparatus comprises a test area for

security events.

37. The method of claim 31 or 32, wherein the test apparatus comprises a one or more items of equipment.

38. The method of any one of claims 31 to 37, wherein the plurality of the tests used for training the plurality of event identification models is a subset of the plurality of flow tests.

39. The method of any one of claims 31 to 38, wherein the plurality of event identification models comprises logistic regression models, and wherein training the plurality of f event identification models comprises:

providing the one or more frequency domain features to a first logistic regression model of the logistic regression models corresponding to one or more event tests of the plurality of event tests where a first event is present;

providing the one or more frequency domain features to the first logistic regression

model corresponding to one or more event tests of the plurality of event tests where the first event is not present; and

determining a first multivariate model using the one or more frequency domain features as inputs, wherein the first multivariate model defines a relationship between a presence and an absence of the first event.

40. The method of claim 39, wherein training the plurality of event identification models comprises: providing the one or more frequency domain features to a second logistic regression model of the logistic regression models corresponding to one or more event tests of the plurality of event tests where a second event is present;

providing the one or more frequency domain features to the second logistic regression model corresponding to one or more event tests of the plurality of event tests where the second event is not present; and

determining a second multivariate model using the one or more frequency domain

features as inputs, wherein the second multivariate model defines a relationship between a presence and an absence of the second event.

41. The method of claim 40, wherein the first multivariate model and the second multivariate model are different.

42. The method of claim 41 , further comprising:

providing the acoustic signals from one or more of the plurality of event tests to each of the first multivariate model and the second multivariate model;

determining a presence or absence of at least one of the first event or the second event based on an output of each of the first multivariate model and the second multivariate model; and

validating the plurality of event identification models using at least a portion of the

plurality of event tests and the presence of the first event or the second event as determined from the first multivariate model and the second multivariate model.

43. The method of claim 42, further comprising:

determining a confidence level based on the validating; and

performing a process based on the confidence level.

44. The method of any one of claims 31 to 43, wherein the plurality of event identification models is developed using a supervised learning algorithm.

Description:
EVENT DETECTION USING DAS FEATURES WITH MACHINE

LEARNING

CROSS-REFERENCE TO RELATED APPLICATIONS

Not applicable.

BACKGROUND

Within a hydrocarbon production well, various fluids such as hydrocarbons, water, gas, and the like can be produced from the formation into the wellbore. The production of the fluid can result in the movement of the fluids in various downhole regions, including within the subterranean formation, from the formation into the wellbore, and within the wellbore itself. For example, some subterranean formations can release water that can be produced along with the hydrocarbons into the wellbore. Such water inflow can cause a number of problems including erosion, clogging of wells due to resulting sand inflow, contamination and damage of the surface equipment, and the like. Significant water production can result in the need to choke back production from the well to bring water production down to acceptable levels. This can lead to reduced oil production, and potentially result in a deferral of substantial amounts of the production from the well.

Efforts have been made to detect the movement of various fluids including hydrocarbon liquids, water, and gas within the wellbore. For example, a production logging system utilizing a Production Logging System (PLS) can be employed to determine flow profile in wells. A PLS can be utilized to assess what fluids (oil/water/gas) are present in a well at a given depth, where there is inflow, and what fluid is inflowing. A PLS can also provide data regarding what the flow rate of inflowing fluid is and the flow regime ( e.g ., slug flow, bubble flow, etc.).

A typical PLS utilizes capacitive and resistive sensors to assess whether the inflowing fluid comprises oil, water, or gas, and radially facing“spinners” to measure an inflow rate. The sensors can be distributed around the circumference of the PLS so that the fluid profile and inflow rate can be assessed circumferentially. Thus, information on the background flow profile, inflow profile, background flow rate and inflow flow rate and flow regime can be obtained with a PLS.

When utilizing a PLS, measurements are recorded for a depth at the front of the PLS tool. Since the PLS tool can be ten to twenty meters long, and the sensors are distributed along the length of the PLS, sensors that are not at the front of the tool are not actually taking measurements at the depth for which the measurements are recorded. Thus, the data at times can be skewed by variability in flow regime caused by the intrusive nature of the measurement. Further, the flow can be altered by the presence of the PLS tool, such that what is measured at the downstream end of the tool may not be indicative of what the flow profile or flow regime was before the tool disturbed the flow. Furthermore, a PLS tool is typically run through a well once or a few times (down and then up once or a few times and then out of the well), so the sensors of the PLS are exposed to the conditions at a given depth for only a brief period of time. The PLS log is established based on that brief window of data, at a given moment in the life of the well, but may be used for the many (e.g., five or ten) years due to the high cost of running a PLS tool into a well. Fluid characteristics within a well can change substantially over that time as the well ages, and/or a fluid may flow into a well erratically (off and on). For example, the PLS may detect the presence of gas at a time when there is gas inflow at a certain depth, but that gas inflow may fluctuate significantly, sometimes even over the course of a few hours. Nevertheless, future decisions about the well may be based on the assumption that there is always that same amount of gas present. Thus, the use of PLSs has a number of limitations.

Efforts have been made to detect various types of events in other industries as well. For example, a security systems use proximity sensors and/or infrared sensors to detect the opening of doors and potential movement within designated areas. These systems have limitations on the extent and types of detection that are available for security purposes. Similar challenges exist in other industries as well. Accordingly, a need exists for systems and methods of determining the presence of absence of events and/or event locations. Desirably, such systems and methods also enable a determination of information associated with the events once detected.

BRIEF SUMMARY OF THE DISCLOSURE

In some embodiments, a method of identifying events includes obtaining an acoustic signal from a sensor, determining one or more frequency domain features from the acoustic signal, providing the one or more frequency domain features as inputs to a plurality of event detection models, and determining the presence of one or more events using the plurality of event detection models. The one or more frequency domain features are obtained across a frequency range of the acoustic signal, and at least two of the plurality of event detection models are different. In some embodiments a system comprises a processor, and a memory storing an analysis program. The processor is configured to execute the analysis program to: receive an acoustic signal from a sensor, determine one or more frequency domain features from the acoustic signal, provide the one or more frequency domain features as inputs to a plurality of event detection models, and determine the presence of one or more events using the plurality of event detection models. The one or more frequency domain features are obtained across a plurality of intervals along the sensor, and at least two of the plurality of event detection models are different.

In some embodiments, a method of determining an output signal using an acoustic signal comprises determining one or more frequency domain features from an acoustic signal, providing the one or more frequency domain features as inputs to a plurality of event detection models, determining an indication of a presence of one or more events using the plurality of event detection models, providing the indication of the presence of the one or more events to a supervisory application, and determining, using the indication of the presence of the one or more events as inputs into the supervisory application, an output signal for a process or system. The one or more frequency domain features are obtained across a plurality of lengths along a path of the sensor.

In some embodiments, a method of developing an event identification model for a wellbore comprises performing a plurality of event tests, obtaining an acoustic signal from a sensor during each event test of the plurality of event tests, determining one or more frequency domain features from the acoustic signal for each of the plurality of event tests, and training a plurality of event detection models using the one or more frequency domain features for the plurality of the tests. The plurality of event tests are carried out using a test apparatus to recreate one or more events. The acoustic signal comprises acoustic samples associated with the event using the test apparatus, and a first fluid flow model of the plurality of fluid flow models is different than a second fluid flow model of the plurality of fluid flow models.

These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims.

Embodiments described herein comprise a combination of features and advantages intended to address various shortcomings associated with certain prior devices, systems, and methods. The foregoing has outlined rather broadly the features and technical advantages of the invention in order that the detailed description of the invention that follows may be better understood. The various characteristics described above, as well as other features, will be readily apparent to those skilled in the art upon reading the following detailed description, and by referring to the accompanying drawings. It should be appreciated by those skilled in the art that the conception and the specific embodiments disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of the preferred embodiments of the invention, reference will now be made to the accompanying drawings in which:

FIG. 1 is a flow diagram of a method of identifying one or more events according to embodiments of this disclosure;

FIG. 2 is a schematic, cross-sectional illustration of a downhole wellbore environment according to an embodiment of this disclosure;

FIGS. 3 A and 3B are a schematic, cross-sectional views of embodiments of a well with a wellbore tubular having an optical fiber associated therewith;

FIG. 4 is a schematic view of an embodiment of a wellbore tubular with fluid inflow according to an embodiment of this disclosure;

FIG. 5 is an exemplary frequency filtered acoustic intensity graph versus time over five frequency bands;

FIG. 6 illustrates an embodiment of a schematic processing flow for an acoustic signal, according to an embodiment of this disclosure;

FIG. 7 is a flow diagram of a method of developing an event detection model according to embodiments of this disclosure;

FIGS. 8A is a schematic illustration of a flow loop assembly utilized to train an event detection model, according to embodiments of this disclosure;

FIG. 8B is a schematic showing wellbore depths corresponding to injection points of FIG. 8 A;

FIG. 9 is a generic representation of possible outputs produced according to some embodiments of this disclosure; FIG. 10 is a flow chart of a method of determining an output signal; and

FIG. 1 1 schematically illustrates a computer that can be used to carry out various steps according to an embodiment of this disclosure.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Unless otherwise specified, any use of any form of the terms “connect,”“engage,” “couple,”“attach,” or any other term describing an interaction between elements is not meant to limit the interaction to direct interaction between the elements and may also include indirect interaction between the elements described. In the following discussion and in the claims, the terms“including” and“comprising” are used in an open-ended fashion, and thus should be interpreted to mean“including, but not limited to . . . Reference to up or down will be made for purposes of description with“up,”“upper,”“upward,”“upstream,” or“above” meaning toward the surface of the wellbore and with“down,”“lower,”“downward,”“downstream,” or “below” meaning toward the terminal end of the well, regardless of the wellbore orientation. Reference to inner or outer will be made for purposes of description with“in,”“inner,” or “inward” meaning towards the central longitudinal axis of the wellbore and/or wellbore tubular, and“out,”“outer,” or“outward” meaning towards the wellbore wall. As used herein, the term “longitudinal” or“longitudinally” refers to an axis substantially aligned with the central axis of the wellbore tubular, and “radial” or “radially” refer to a direction perpendicular to the longitudinal axis. The various characteristics mentioned above, as well as other features and characteristics described in more detail below, will be readily apparent to those skilled in the art with the aid of this disclosure upon reading the following detailed description of the embodiments, and by referring to the accompanying drawings.

As utilized herein, a‘fluid inflow event’ includes fluid inflow (e.g., any fluid inflow regardless of composition thereof), gas phase inflow, aqueous phase inflow, and/or hydrocarbon phase inflow. The fluid can comprise other components such as solid particulate matter in some embodiments, as discussed in more detail herein.

Disclosed herein is a new signal processing architecture that allows for the identification of various events. In some embodiments, the events can occur within a wellbore such as fluid inflow event (e.g., including fluid inflow locations, fluid inflow discrimination, etc.), fluid outflow detection, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection (e.g., downhole casing and tubing leak detection, leaking fluid phase identification, etc.), annular fluid flow diagnosis, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in the overburden (e.g., micro-seismic events, etc.), sand detection (e.g., sand ingress, sand flows, etc.), and the like, each in real time or near real time in some embodiments. Other events can also be detected such as transportation events, security events, facility monitoring events, pipeline monitoring events, and the like. As utilized herein,“fluid flow discrimination” indicates an identification and/or assignment of the detected fluid flow (e.g., single phase flow, mixed phase flows, time- based slugging, altering fluid flows, etc.), gas inflow, hydrocarbon liquid (e.g.,‘oil’) inflow, and/or aqueous phase (e.g., water) inflow, including any combined or multiphase flows or inflows. The methods of this disclosure can thus be utilized to provide information on various events such as a fluid ingress point as well as flow regimes within a conduit rather than simply a location at which gas, water, or hydrocarbon liquid is present in the wellbore tubular (e.g., present in a flowing fluid), which can occur at any point above the ingress location as the fluid flows to the surface of the wellbore. In some embodiments, the system allows for a quantitative measurement of various fluid flows such as a relative concentration of in-well hydrocarbon liquid, water, and gas.

In some instances, the systems and methods can provide information in real time or near real time. As used herein, the term“real time” refers to a time that takes into account various communication and latency delays within a system, and can include actions taken within about ten seconds, within about thirty seconds, within about a minute, within about five minutes, or within about ten minutes of the action occurring. Various sensors (e.g., distributed fiber optic acoustic sensors, etc.) can be used to obtain an acoustic sample at various points along the wellbore. The acoustic sample can then be processed using signal processing architecture with various feature extraction techniques (e.g., spectral feature extraction techniques) to obtain a measure of one or more frequency domain features and/or combinations thereof that enable selectively extracting the acoustic signals of interest from background noise and consequently aiding in improving the accuracy of the identification of the movement of fluids (e.g., gas inflow locations, water inflow locations, hydrocarbon liquid inflow locations, etc.) in real time. While discussed in terms of being real time in some instances, the data can also be analyzed at a later time at the same location and/or a displaced location. As used herein, various frequency domain features can be obtained from the acoustic signal, and in some contexts, the frequency domain features can also be referred to herein as spectral features or spectral descriptors. In some embodiments, the spectral features can comprise other features, including those in the time domain, various transforms (e.g., wavelets, Fourier transforms, etc.), and/or those derived from portions of the acoustic signal or other sensor inputs. Such other features can be used on their own or in combination with one or more frequency domain features, including in the development of transformations of the features, as described in more detail herein. The signal processing techniques described herein can also help to address the big-data problem through intelligent extraction of data (rather than crude decimation techniques) to considerably reduce real time data volumes at the collection and processing site (e.g., by over 100 times, over 500 times, or over 1000 times, or over 10,000 times reduction, In some embodiments).

In some embodiments, the acoustic signal(s) can be obtained in a manner that allows for a signal to be obtained along the entire wellbore or a portion of interest. As noted hereinabove, production logging systems utilize a production logging system (PLS) to determine flow profile in wells. However, since the PLS can be 10-20 meters long and the sensors are distributed along the length, sensors that are not at the front of the PLS are not actually taking measurements at the depth for which the measurements are recorded, and, thus, the data can be incorrect or incomplete over time. Furthermore, the flow can be altered by the mere presence of the PLS within the wellbore, so what is measured at the downstream end of the PLS is not an accurate reflection of what the profile/regime was before the tool disturbed the flow. Furthermore, as a PLS is typically run through a well once or a few times (down and then up once or a few times and out), and the sensors are exposed to the conditions at a given depth for only a very brief period of time (e.g., 4-5 seconds). Accordingly, while PLSs can provide an indication that certain events, such as downhole water inflow, may be occurring, they do not provide continuous measurements over prolonged durations of time that would be needed to study dynamic variabilities in production profiles over time.

Fiber optic distributed acoustic sensors (DAS) capture acoustic signals resulting from downhole events such as wellbore events (e.g., gas inflow/flow, hydrocarbon liquid inflow/flow, water inflow/flow, mixed flow, leaks, overburden movement, and the like), transportation events, security events, facility monitoring events, pipeline monitoring events as well as other background acoustics. DAS can also be used to capture acoustic signals from events such as transportation events, security events, facility monitoring events, pipeline monitoring events, and the like. This allows for signal processing procedures that distinguish events and flow signals from other noise sources to properly identify each type of event. This in turn results in a need for a clearer understanding of the acoustic fingerprint of in-well event of interest (e.g., fluid inflow, water inflow, gas inflow, hydrocarbon liquid inflow, fluid flow along the tubulars, etc.) in order to be able to segregate and identify a noise resulting from an event of interest from other ambient acoustic background noise. As used herein, the resulting acoustic fingerprint of a particular event can also be referred to as a spectral signature, as described in more detail herein. In some embodiments, the frequency domain features can be used with a model to provide for an identification and determination of the various events. A number of different models can be developed and used to determine when certain events have occurred within the wellbore.

Further, reducing deferrals resulting from one or more events such as water ingress and facilitating effective remediation relies upon accurate and timely decision support to inform the operator of the events. Heretofore, there has been no technology / signal processing for DAS that successfully distinguishes and extracts event locations, let alone in near real time.

The ability to identify various events in the wellbore may allow for various actions or processes to be taken in response to the events. For example, a well can be shut in, production can be increased or decreased, and/or remedial measures can be taken in the wellbore, as appropriate based on the identified event(s). An effective response, when needed, benefits not just from a binary yes / no output of an identification of in-well events but also from a measure of relative amount of fluids (e.g., amount of gas inflow, amount of hydrocarbon liquid inflow, amount of water inflow, etc.) from each of the identified zones of events so that zones contributing the greatest fluid amount(s) can be acted upon first to improve or optimize production. The systems and methods described herein can be used to identify the source of an event or problem, as well as additional information about the event such as a direction and amount of flow, and/or an identification of the type of problem being faced. For example, when a water inflow location is detected, a relative flow rate of the hydrocarbon liquid at the water inflow location may allow for a determination of whether or not to remediate, the type or method of remediation, the timing for remediation, and/or deciding to alter (e.g., reduce) a production rate from the well. For example, production zones can be isolated, production assemblies can be open, closed, or choked at various levels, side wells can be drilled or isolated, and the like. Such determinations can be used to improve on the drawdown of the well while reducing the production expenses associated with various factors such as produced water.

The same signal processing described herein can be used to identify various events across a variety of industries. The systems can comprise similar real time signal processing architecture that allows for the identification of events using various signatures or models. Within these systems, various sensors (e.g., distributed fiber optic acoustic sensors, point acoustic sensors, etc.) can be used to obtain an acoustic sampling at various points along path. The acoustic sample can then be processed using signal processing architecture with spectral feature extraction techniques to obtain frequency domain features that enable selectively extracting the acoustic signals of interest from background noise.

Once obtained, the frequency domain features can be used in various models in order to be able to segregate a noise resulting from an event of interest from other ambient acoustic background noise. Specific models can be determined for each event by considering one or more frequency domain features for known events. From these known events, the frequency domain features specific to each event can be developed and signatures (e.g., having ranges or thresholds) and/or models can be established to determine a presence of each event. Based on the specifics of each frequency domain features, the resulting signatures or models can be used to sufficiently distinguish between events to allow for a relatively fast identification of such events. The resulting signatures or models can then be used along with processed acoustic signal data to determine if an event is occurring at a point of interest along the path of the acoustic sensors. Any of the processing techniques disclosed herein can be used to initially determine a spectral signature or model(s), and then process and compare the frequency domain features in a sampled acoustic signal with the resulting spectral signatures or model(s).

Thus, acoustic signals in industries such as the transport industry (e.g., rail, traffic, airports, etc.), security (e.g., perimeter security, pipeline monitoring, etc.), and facilities monitoring (e.g., monitoring equipment such as electric submersible pumps, wind turbines, compressors, etc.) can benefit from the use of the systems disclosed herein. For example, a rail line can be monitored to detect acoustic signals along the length of a rail, using for example, a fiber attached to the rail, along with a DAS unit. The length of the fiber along the rail can be considered a path of the fiber as it passes from the receiver/generator (e.g., the DAS unit) along the rail. Various acoustic signatures such as rail movements, maintenance vehicle movement, traffic movement, pedestrian traffic, and the like can be detected based on acoustic signals originating along the length of the rail and/or fiber. These signals can be processed to extract one or more frequency domain features, and spectral signatures and/or model(s) of such events can be determined or developed. Once obtained, the spectral signatures and/or model(s) can be used to process acoustic signals at various lengths along the path of the fiber and determine the presence of the various events using the frequency domain features and spectral signatures and/or model(s).

Similarly, security systems can use distributed acoustic sensors (e.g., a fiber, individual acoustic sensors, etc.) to detect acoustic signals across a path or an area. Various security related events such as voices, footsteps, breaking glass, vehicular movement, etc. can be detected by using the acoustic signals from the acoustic sensors. The signals can be processed to extract frequency domain features and compare those spectral features to signatures and/or model(s) for various security related events.

Similarly, the acoustic monitoring techniques can be used with one or more point sources, which can be individual or connected along a path. For example, a facility having industrial equipment can be monitored using the acoustic monitoring techniques described herein. For example, a facility having pumps, turbines, compressors, or other equipment can have an acoustic sensor monitoring the piece of equipment. Spectral signatures and/or model(s) of various events can be determined for each type of equipment and used to monitor and identify the state of the equipment. For example, a pump can be monitored to determine if the pump is active or inactive, if fluid is flowing through the pump, if a bearing is bad, and the like all through the use of an acoustic sample and the spectral characteristics and/or model(s) determining the presence of an event as described herein. When multiple piece of equipment are present, a single acoustic sensor such as a fiber can be coupled to each piece of equipment. This configuration may allow a single interrogation unit to monitor multiple pieces of equipment using the spectral analysis by resolving a length along the fiber for each piece of equipment. Thus, a distributed acoustic monitoring system may not require multiple processors correlating to individual pieces of equipment.

Similarly, pipelines can be monitored in a manner similar to the way the wellbores are monitored as disclosed herein. In this embodiment, the fiber may detect various events such as leaks, flow over a blockage or corrosion, and the like. This may allow for remote monitoring along the length of a pipeline.

Other types of industries can also benefit from the use of acoustic sensors to obtain acoustic samples that can be analyzed and matched to events using spectral feature extraction. Any industry that experiences events that create acoustic signals can be monitored using the systems as described herein. Further, when the signals are distributed across space, a single acoustic sensor such as fiber, can be used with a receiver unit to detect acoustic signals across the length or path of the sensor element, thereby enabling a single sensor to detect acoustic signals across a wide area or path. In these embodiments, the signal may not be obtained from a wellbore. For example, the acoustic signal may be obtained from a non-wellbore source or from outside of a subterranean formation. Thus, the systems and processing techniques described herein can be used to identify events using spectral features obtained from acoustic signals across a variety of industries and locations.

Herein described are methods and systems for identifying events (e.g., wellbore events, transportation events, security events, facility monitoring events, pipeline monitoring events, etc.). In some embodiments, the wellbore events can comprise fluid inflow locations and/or fluid flow regimes within a conduit in the wellbore. In some embodiments, other wellbore events such as fluid outflow detection, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow diagnosis, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in the overburden (e.g., micro-seismic events, etc.), sand detection (e.g., sand ingress, sand flows, etc.), and the like can be detected. In some embodiments, events such as transportation events, security events, facility monitoring events, pipeline monitoring events, and the like can be detected. As described herein, spectral descriptors or frequency domain features can be used with DAS acoustic data processing to provide for event detection. For example, the frequency domain features can be used with wellbore event detection (e.g., fluid profiling, fluid inflow location detection, fluid phase discrimination such as the determination that the fluid at one or more locations such as the detected fluid inflow location comprises gas inflow, hydrocarbon liquid inflow, aqueous phase inflow, a combined fluid flow, and/or a time varying fluid flow such as slugging single or multiphase flow, and the like). In some embodiments, an event detection model can be used for event identification. The event detection model can comprise one or more individual models, which can be the same or different as described in more detail herein. In some embodiments, the event detection model can comprise a plurality of sub-models such as a fluid flow model used for inflow fluid phase discrimination, which can allow for the determination of at least one of a gas phase inflow, an aqueous phase inflow, a hydrocarbon liquid phase inflow, and various combinational flow regimes in a wellbore. In some embodiments, the same or a different event detection models can be used to identify other events such as fluid flow phase discrimination to determine the composition of fluid flowing in a conduit. A method of developing a suitable event detection model(s) for any of the events described herein is also provided herein.

Application of the signal processing techniques and one or more event detection models with DAS for wellbore events such as downhole surveillance can provide a number of benefits including improving reservoir recovery by monitoring efficient drainage of reserves through downhole fluid surveillance (e.g., production flow monitoring), improving well operating envelopes through identification of drawdown levels (e.g., gas, water, etc.), facilitating targeted remedial action for efficient well management and well integrity, reducing operational risk through the clear identification of anomalies and/or failures in well barrier elements. Similar advantages are also possible with other non-wellbore events.

In some embodiments, use of the systems and methods described herein may provide knowledge of the events and the locations experiencing various events, thereby potentially allowing for improved actions (e.g., remediation actions for wellbore events, security actions for security events, etc.) based on the processing results. The methods and systems disclosed herein can also provide information on the events. For example, for wellbore events, information about a variability of the amount of fluid inflow being produced by the different fluid influx zones as a function of different production rates, different production chokes, and downhole pressure conditions can be determined, thereby enabling control of fluid inflow. For fluid inflow events, embodiments of the systems and methods disclosed herein also allow for a computation of the relative concentrations of fluid ingress (e.g., relative amounts of gas, hydrocarbon liquid, and water in the inflow fluid) into the wellbore, thereby offering the potential for more targeted and effective remediation.

As disclosed herein, embodiments of the data processing techniques can use various sequences of real time digital signal processing steps to identify the acoustic signal resulting from various events from background noise, and allow real time detection of the events and their locations using distributed fiber optic acoustic sensor data as the input data feed.

As disclosed herein, one or more models can be developed using test data to provide a labeled data set used as input into the event detection model. The resulting trained models can then be used to identify one or more signatures based on features of the test data and one or more machine learning techniques to develop correlations for the presence of various events . In the event detection model development, specific events can be created in a test set-up, and the acoustic signals can be obtained and recorded to develop test data. The test data can be used to train one or more models defining the various events. The resulting model can then be used to determine one or more events,. In some embodiments, actual field data can be used and correlated to actual events using inputs from other sensors. The data can be labeled to create a training data set based on actual production situations. The data can then be used alone or in combination with the test data to develop the model(s). Use of the models are described initially, and the process and systems for developing the models used to identify the events are described in more detail herein.

As described herein, wellbore events are used as an example. Other events and event detection model(s) for the other events are also described. Starting with wellbore events, a flow chart of a method I of identifying an event within a wellbore according to some embodiments of this disclosure is shown in Figure 1. As described herein, the methods and systems can be used to identify one or more events. Various events can be determined using the method such wellbore events including, but not limited to, fluid outflow detection, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow diagnosis, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in the overburden (e.g., micro-seismic events, etc.), sand detection (e.g., sand ingress, sand flows, etc.), transportation events, security events, facility monitoring events, pipeline monitoring events, and the like. Specific types of events are described in more detail herein. Fluid flow can comprise fluid flow along or within a tubular within the wellbore such as fluid flow within a production tubular. Fluid flow can also comprise fluid flow from the reservoir or formation into a wellbore tubular. Such flow into the wellbore and/or a wellbore tubular can be referred to as fluid inflow. While fluid inflow may be separately identified at times in this disclosure, such fluid inflow is considered a part of fluid flow within the wellbore.

A method of identifying an event can comprise obtaining an acoustic signal at 100 and determining one or a plurality of frequency domain features from the acoustic signal at 300. For wellbore events, the acoustic signal can be obtained along the wellbore, and for non-wellbore events, the acoustic signal can be obtained along the path of the sensor. In some embodiments, the method includes identifying one or more events and/or event locations at 500. In some embodiments, the method includes determining information for the event using the plurality of frequency domain features at 600.

As depicted in the embodiment of Figure 1 , a method of identifying an event according to this disclosure can optionally include preprocessing the acoustic signal at 200 prior to determining the one or the plurality of frequency domain features from the acoustic signal at 300, optionally normalizing the one or the plurality of frequency domain features at 400, prior to identifying the one or more events at 500 and/or identifying information about the events using the plurality of frequency domain features at 600.

As further depicted in the embodiment of Figure 1 , identifying one or more events at one or more event locations using the plurality of frequency domain features at 600 can comprise providing the plurality of frequency domain features to an event detection model as indicated at 600', where the model is described in more detail herein. A method of identifying an event according to this disclosure can further comprise, at 650, determining a confidence level for the identifying of the event at the one or more event locations using the plurality of frequency domain features at 600 prior to determining at 800 a remediation procedure based on the identified event. Each of the aforementioned steps of method I will be described in more detail hereinbelow.

A method of identifying an event according to some embodiments comprises obtaining an acoustic signal at 100. Such an acoustic signal can be obtained via any methods known to those of skill in the art. An exemplary system and method for obtaining the acoustic signal will now be described with reference to Figure 2, which is a schematic, cross-sectional illustration of a downhole wellbore operating environment 101 according to an embodiment of this disclosure. As will be described in more detail below, embodiments of completion assemblies comprising a distributed acoustic sensor (DAS) system as described herein can be positioned in environment 101.

As shown in Figure 2, exemplary environment 101 includes a wellbore 114 traversing a subterranean formation 102, casing 1 12 lining at least a portion of wellbore 1 14, and a tubular 120 extending through wellbore 1 14 and casing 1 12. A plurality of completion assemblies such as spaced screen elements or assemblies 1 18 can be provided along tubular 120. In addition, a plurality of spaced zonal isolation device 1 17 and gravel packs 122 may be provided between tubular 120 and the sidewall of wellbore 114. In some embodiments, the operating environment 101 includes a workover and/or drilling rig positioned at the surface and extending over the wellbore 114. While shown with an exemplary completion configuration in Figure 2, other equipment may be present in place of or in addition to the equipment illustrated in Figure 2.

In general, the wellbore 114 can be drilled into the subterranean formation 102 using any suitable drilling technique. The wellbore 1 14 can extend substantially vertically from the earth's surface over a vertical wellbore portion, deviate from vertical relative to the earth's surface over a deviated wellbore portion, and/or transition to a horizontal wellbore portion. In general, all or portions of a wellbore may be vertical, deviated at any suitable angle, horizontal, and/or curved. In addition, the wellbore 114 can be a new wellbore, an existing wellbore, a straight wellbore, an extended reach wellbore, a sidetracked wellbore, a multi-lateral wellbore, and other types of wellbores for drilling and completing one or more production zones. As illustrated, the wellbore 1 14 includes a substantially vertical producing section 150, which is an open hole completion (i.e., casing 1 12 does not extend through producing section 150). Although section 150 is illustrated as a vertical and open hole portion of wellbore 1 14 in FIG. 1 , embodiments disclosed herein can be employed in sections of wellbores having any orientation, and in open or cased sections of wellbores. The casing 112 extends into the wellbore 1 14 from the surface and can be cemented within the wellbore 114 with cement 1 11.

The tubular 120 can be lowered into the wellbore 1 14 for performing an operation such as drilling, completion, intervention, workover, treatment, and/or production processes. In the embodiment shown in Figure 2, the tubular 120 is a completion assembly string including a distributed acoustic sensor (DAS) sensor coupled thereto. However, in general, embodiments of the tubular 120 can function as a different type of structure in a wellbore including, without limitation, as a drill string, casing, liner, jointed tubing, and/or coiled tubing. Further, the tubular 120 may operate in any portion of the wellbore 1 14 (e.g., vertical, deviated, horizontal, and/or curved section of wellbore 114). Embodiments of DAS systems described herein can be coupled to the exterior of the tubular 120, or in some embodiments, disposed within an interior of the tubular 120, as shown in Figures 3A and 3B, respectively. When the DAS fiber is coupled to the exterior of the tubular 120, as depicted in the embodiment of Figure 3B, the DAS fiber can be positioned within a control line, control channel, or recess in the tubular 120. In some embodiments an outer shroud contains the tubular 120 and protects the system during installation. A control line or channel can be formed in the shroud and the DAS fiber can be placed in the control line or channel.

The tubular 120 can extend from the surface to the producing zones and generally provides a conduit for fluids to travel from the formation 102 to the surface. A completion assembly including the tubular 120 can include a variety of other equipment or downhole tools to facilitate the production of the formation fluids from the production zones. For example, zonal isolation devices 1 17 can be used to isolate the various zones within the wellbore 114. In this embodiment, each zonal isolation device 1 17 can be a packer (e.g., production packer, gravel pack packer, frac-pac packer, etc.). The zonal isolation devices 1 17 can be positioned between the screen assemblies 1 18, for example, to isolate different gravel pack zones or intervals along the wellbore 1 14 from each other. In general, the space between each pair of adjacent zonal isolation devices 117 defines a production interval.

The screen assemblies 118 provide sand control capability. In particular, the sand control screen elements 1 18, or other filter media associated with wellbore tubular 120, can be designed to allow fluids to flow therethrough but restrict and/or prevent particulate matter of sufficient size from flowing therethrough. The screen assemblies 1 18 can be of the type known as“wire- wrapped”, which are made up of a wire closely wrapped helically about a wellbore tubular, with a spacing between the wire wraps being chosen to allow fluid flow through the filter media while keeping particulates that are greater than a selected size from passing between the wire wraps. Other types of filter media can also be provided along the tubular 120 and can include any type of structures commonly used in gravel pack well completions, which permit the flow of fluids through the filter or screen while restricting and/or blocking the flow of particulates (e.g. other commercially-available screens, slotted or perforated liners or pipes; sintered-metal screens; sintered-sized, mesh screens; screened pipes; prepacked screens and/or liners; or combinations thereof). A protective outer shroud having a plurality of perforations therethrough may be positioned around the exterior of any such filter medium.

The gravel packs 122 are formed in the annulus 1 19 between the screen elements 1 18 (or tubular 120) and the sidewall of the wellbore 1 14 in an open hole completion. In general, the gravel packs 122 comprise relatively coarse granular material placed in the annulus to form a rough screen against the ingress of sand into the wellbore while also supporting the wellbore wall. The gravel pack 122 is optional and may not be present in all completions.

The fluid flowing into the tubular 120 may comprise more than one fluid component. Typical components include natural gas, oil (e.g., hydrocarbon liquids), water, steam, carbon dioxide, and/or various multiphase mixed flows. The fluid flow can further be time varying such as including slugging, bubbling, or time altering flow rates of different phases. The relative proportions of these components can vary over time based on conditions within the formation 102 and the wellbore 1 14. Likewise, the composition of the fluid flowing into the tubular 120 sections throughout the length of the entire production string can vary significantly from section to section at any given time.

Fluid can be produced into the wellbore 1 14 and into the completion assembly string. As the fluid enters the wellbore 1 14, it may create acoustic sounds that can be detected using an acoustic sensor such as a DAS system. Accordingly, the flow of the various fluids into the wellbore 1 14 and/or through the wellbore 1 14 can create vibrations or acoustic sounds that can be detected using sensors to detect the vibrations or acoustic sounds. For example, the vibrations can be detected using a DAS system, though other point types vibration or acoustic sensors can be used alone or in combination with the DAS system. Each type of event such as the different fluid flows and fluid flow locations can produce an acoustic signature with unique frequency domain feature characteristics.

In Figure 2, the DAS system comprises an optical fiber 162 based acoustic sensing system that uses the optical backscatter component of light injected into the optical fiber for detecting acoustic perturbations (e.g., dynamic strain) along the length of the fiber 162. The light can be generated by a light generator or source 166 such as a laser, which can generate light pulses. The optical fiber 162 acts as the sensor element with no addition transducers in the optical path, and measurements can be taken along the length of the entire optical fiber 162. The measurements can then be detected by an optical receiver such as sensor 164 and selectively filtered to obtain measurements from a given depth point or range, thereby providing for a distributed measurement that has selective data for a plurality of zones along the optical fiber 162 at any given time. In this manner, the optical fiber 162 effectively functions as a distributed array of microphones spread over the entire length of the optical fiber 162, which typically spans at least the production zone 150 of the wellbore 1 14, to detect downhole acoustic signals.

The light backscattered up the optical fiber 162 as a result of the optical backscatter can travel back to the source, where the signal can be collected by a sensor 164 and processed (e.g., using a processor 168). In general, the time the light takes to return to the collection point is proportional to the distance traveled along the optical fiber 162. The resulting backscattered light arising along the length of the optical fiber 162 can be used to characterize the environment around the optical fiber 162. The use of a controlled light source 166 (e.g., having a controlled spectral width and frequency) may allow the backscatter to be collected and any disturbances along the length of the optical fiber 162 to be analyzed. In general, any acoustic or dynamic strain disturbances along the length of the optical fiber 162 can result in a change in the properties of the backscattered light, allowing for a distributed measurement of both the acoustic magnitude (e.g., amplitude), frequency and, in some cases, of the relative phase of the disturbance.

An acquisition device 160 can be coupled to one end of the optical fiber 162. As discussed herein, the light source 166 can generate the light (e.g., one or more light pulses), and the sensor 164 can collect and analyze the backscattered light returning up the optical fiber 162. In some contexts, the acquisition device 160 including the light source 166 and the sensor 164 can be referred to as an interrogator. In addition to the light source 166 and the sensor 164, the acquisition device 160 generally comprises a processor 168 in signal communication with the sensor 164 to perform various analysis steps described in more detail herein. While shown as being within the acquisition device 160, the processor can also be located outside of the acquisition device 160 including being located remotely from the acquisition device 160. The sensor 164 can be used to obtain data at various rates and may obtain data at a sufficient rate to detect the acoustic signals of interest with sufficient bandwidth. In an embodiment, depth resolution ranges in a range of from about 1 meter to about 10 meters, or less than or equal to about 10, 9, 8, 7, 6, 5, 4, 3, 2, or 1 meter can be achieved. Depending on the resolution needs, larger averages or ranges can be used for computing purposes. When a high depth resolution is not needed, a system having a wider resolution (e.g., which may be less expensive) can also be used in some embodiments.

While the system 101 described herein can be used with a DAS system to acquire an acoustic signal for a location or depth range in the wellbore 114, in general, any suitable acoustic signal acquisition system can be used with the method steps disclosed herein. For example, various microphones or other sensors can be used to provide an acoustic signal at a given location based on the acoustic signal processing described herein. A benefit of the use of the DAS system is that an acoustic signal can be obtained across a plurality of locations and/or across a continuous length of the wellbore 114 rather than at discrete locations.

Specific spectral signatures and/or models can be determined for each event by considering one or more frequency domain features of the acoustic signal obtained from the wellbore. The resulting spectral signatures and/or models can then be used along with processed acoustic signal data to determine if an event is occurring at a depth range of interest The spectral signatures and/or models can be determined by considering the different types of flow occurring within a wellbore and characterizing the frequency domain features for each type of flow. In some embodiments, various combinations and/or transformations of the frequency domain features can be used to characterize each type of flow.

Figure 4 schematically illustrates an exemplary view of an embodiment of a wellbore tubular 120 with fluid inflow including a gas phase (e.g., as depicted as gas bubbles 202) with or without a liquid phase, and shown in the cross-sectional illustrations in Figures 3A and 3B, fluid (e.g., gas, hydrocarbon liquid, water). The gas phase depicted as 202 can flow from the formation 102 into the wellbore 114 and then into the tubular 120. As the fluid 202 flows into the tubular 120, various acoustic signals can be generated, and as the fluid 202 flows within the tubular 120, additional acoustic signals, which can be the same or different than the inflow signals, can also be generated. The acoustic signals can then be detected by the DAS fiber and recorded using the DAS system. Without being limited by this or any particular theory, the spectral characteristics of the sounds generated by each type of fluid flow and/or inflow can depend on the effective mass and flow rate of each fluid. In some embodiments, the acoustic signals obtained at 100 can include frequencies in the range of about 5 Hz to about 10 kHz, frequencies in the range of about 5 Hz to about 5 kHz or about 50 Hz to about 5 kHz, or frequencies in the range of about 500 Hz to about 5 kHz. Any frequency ranges between the lower frequency values (e.g., 5 Hz, 50 Hz, 500 Hz, etc.) and the upper frequency values (e.g., 10 kHz, 7 kHz, 5 kHz, etc.) can be used to define the frequency range for a broadband acoustic signal.

Taking gas flow and/or inflow as an example, the proximity to the optical fiber 162 can result in a high likelihood that any acoustic signals generated would be detected by the optical fiber 162. The flow of a gas into the wellbore would likely result in a turbulent flow over a broad frequency range. For example, the gas inflow acoustic signals can be between about 0 Hz and about 1000 Hz, or alternatively between about 0 Hz and about 500 Hz. An increased power intensity may occur between about 300 Hz and about 500 Hz from increased turbulence in the gas flow. An example of the acoustic signal resulting from the influx of gas into the wellbore is shown in Figure 5, which illustrates frequency filtered acoustic intensity in depth versus time graphs for five frequency bins. As illustrated, the five frequency bins represent 5 Hz to 50 Hz, 50 Hz to 100 Hz, 100 Hz to 500 Hz, 500 Hz to 2000 Hz, and 2000 Hz to 5000 Hz. The acoustic intensity can be seen in the first three bins with frequency ranges up to about 500 Hz, with a nearly undetectable acoustic intensity in the frequency range above 500 Hz. This demonstrates that at least a portion of the frequency domain features may not be present above 500 Hz, which can help to define the signature of the influx of gas. This type of response demonstrates that each event can be expected to produce an acoustic response having potentially unique feature sets that can be used to help define a signature for the event. While described in terms of frequency ranges or bins, other features and transformations of such features can be used to help define the gas flow and/or inflow signatures, which can be used with a multivariate model for determining if gas flow and/or inflow is present.

Similar frequency features can be expected for other types of events. The resulting acoustic signal can be processed to determine a plurality of frequency domain features. The signatures for each type of fluid flow can then be based on a plurality of frequency domain features. This can include transforming one or more of the frequency domain features to serve as an element of a specific fluid flow signature, as described in more detail herein.

In an embodiment, an event comprising gas leaking from the formation into the wellbore can be characterized by an acoustic signature including a spectral centroid in a lower frequency range (e.g., in a range of about 0 Hz to about 500 Hz), with a relatively high normalized spectral centroid value. The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 500 Hz, while the bins representative of frequencies above about 500 Hz would have no RMS band energies (or subband energy ratios) or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 500 Hz. In addition, the RMS band energy representative of the frequency range of about 300 Hz to about 500 Hz may demonstrate the largest RMS band energy (or subband energy ratio) as related to the bins representative of the other frequency ranges. Additional frequency domain features can also be determined for a gas leak event and can be used as part of a gas leak signature.

An event comprising gas influx from the formation into the wellbore can be characterized by an acoustic signature including a spectral centroid within a lower frequency range (e.g., in a range of about 0 Hz to about 500 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 500 Hz, while the bins representative of frequencies above about 500 Hz would have no RMS band energies or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 500 Hz. In addition, the RMS band energy representative of the frequency range of about 0 Hz to about 50 Hz may demonstrate the largest RMS band energy as related to the bins representative of the other frequency ranges. Additional frequency domain features can also be determined for a gas influx event and can be used as part of a gas influx signature.

An event comprising sand ingress can be characterized by an acoustic signature including a spectral centroid above about 500 Hz. The spectral spread may be relative large as the expected signal should be a broadband signal. In addition, the RMS band energy in the bins representative of frequencies above 500 Hz would be expected to have values above zero, thereby providing an indication of the presence of broadband frequencies. Additional frequency domain features can also be determined for a sand ingress event and can be used as part of a sand ingress signature.

An event comprising a high rate of fluid flow from the formation into the wellbore and/or within the completion assembly can be characterized by an acoustic signature including a spectral centroid at a lower frequency range (e.g., within a range of 0 Hz to about 50 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 50 Hz, while the bins representative of frequencies above about 50 Hz would have no RMS band energies or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 50 Hz. Additional frequency domain features can also be determined for a high rate fluid flow event and can be used as part of a high rate fluid flow signature.

An event comprising in-well sand transport and or the movement of a sand slug can be characterized by an acoustic signature including a spectral centroid within a low frequency range (e.g., in arange of 0 Hz to about 20 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 20 Hz, while the bins representative of frequencies above about 20 Hz would have no RMS band energies or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 20 Hz. In addition, the RMS energy in the bins representative of the frequencies between 0 Hz and about 20 Hz would have an increased energy or power level relative to the power or energy of the fluid flow noise. The spectral roll-off may also occur at about 50 Hz. Additional frequency domain features can also be determined for an in-well sand transport event and can be used as part of an in-well sand transport signature.

An event comprising the flow of a fluid past a restriction comprising a sand plug or sand dune in the wellbore tubular or production tubing can be characterized by an acoustic signature including a spectral centroid in a low frequency range (e.g., within a range of about 0 Hz to about 50 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 50 Hz, while the bins representative of frequencies above about 50 Hz would have no RMS band energies or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 50 Hz. Additional frequency domain features can also be determined for fluid flow past a restriction type event and can be used as part of a fluid flow past a restriction type signature.

An event comprising fluid flow behind a casing (e.g., between the casing and the formation) can be characterized by an acoustic signature including a spectral centroid within the a low frequency range (e.g., a range of about 0 Hz to about 300 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 300 Hz, while the bins representative of frequencies above about 300 Hz would have little to no RMS band energies or a significantly reduced RMS band energy relative to the bins representative of the frequencies between 0 Hz and about 300 Hz. In addition, the RMS energy in the bins representative of the frequencies between 0 Hz and about 70 Hz would have an increased energy or power level relative to RMS energy in the remaining frequency bins. Additional frequency domain features can also be determined for fluid flow behind a casing and can be used as part of a flow behind a casing signature.

An event comprising a self-induced hydraulic fracture that could be caused by fluid movement in the near-wellbore region can be characterized by an acoustic signature including a spectral centroid within a mid-frequency range (e.g., a range of about 0 Hz to about 1000 Hz). The spectral spread may be relative large as the expected signal may include a broadband signal with frequencies extending up to about 5000 Hz. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 1000 Hz. In addition, the spectral flux may be indicative of the fracturing event. A large spectral flux can be expected at the initiation of the fracture due to the near instantaneous rise in spectral power during the creation of the hydraulic fracture. The spectral flux could similarly indicate the end of the event, if the event occurs for more than a single frame during the acoustic monitoring. Additional frequency domain features can also be determined for a self-induced hydraulic fracture event and can be used as part of a self- induced hydraulic fracture signature.

An event comprising a fluid leak past a downhole restriction or plug can be characterized by an acoustic signature including a spectral centroid in a low frequency range (e.g., in a range of 0 Hz to about 500 Hz). The spectral spread may be relative small as the expected signal may not be a broadband signal. In addition, the RMS band energy would be expected in the bins representative of frequencies up to about 500 Hz. Additional frequency domain features can also be determined for a fluid leak past a restriction type event and can be used as part of a fluid leak signature.

An event comprising a rock fracture propagation can be characterized by an acoustic signature including a spectral centroid in a high frequency range (e.g., in a range of 1000 Hz to about 5000 Hz). In addition, the RMS band energy would be expected in the bins representative of frequencies between about 1000 Hz and about 5000 Hz. In addition, the spectral flux may be indicative of the fracturing propagation event. A large spectral flux can be expected at the initiation of the fracture propagation due to the near instantaneous rise in spectral power during the fracture propagation. The spectral flux could similarly indicate the end of the event, if the event occurs for more than a single frame during the acoustic monitoring. Additional frequency domain features can also be determined for a rock fracturing event and can be used as part of a rock fracturing signature.

While exemplary numerical ranges are provided herein, the actual numerical results may vary depending on the data acquisition system and/or the values can be normalized or otherwise processed to provide different results. As a result, the signatures for each event may have different thresholds or ranges of values for each of a plurality of frequency domain features. Further, the use of the event detection models as disclosed herein may use different frequency domain features, including more or less of the frequency domain features, to determine the presence of one or more of the events within the wellbore.

Other events such as transportation events, security events, facility monitoring events, pipeline monitoring events, are also expected to create acoustic signals for which frequency domain features can be determined. The selection of the one or more frequency domain features (or combinations, functions, or transformations thereof) can be based on measurement of the acoustic signals associated with such events under conditions during which the source of such acoustic signals is known. This can allow the frequency domain features originating from such events to be identified and selected to be able to detect the presence of such events within the acoustic signal.

Referring again to Figure 2, the processor 168 within the acquisition device 160 can be configured to perform various data processing to detect the presence of an event within the wellbore 1 14. The acquisition device 160 can comprise a memory 170 configured to store an application or program to perform the data analysis. While shown as being contained within the acquisition device 160, the memory 170 can comprise one or more memories, any of which can be external to the acquisition device 160. In an embodiment, the processor 168 can execute the program, which can configure the processor 168 to filter the acoustic data set spatially, determine one or more frequency domain features of the acoustic signal, and determine whether or not an event is occurring at the selected location based on the analysis described hereinbelow. The analysis can be repeated across various locations along the length of the wellbore 1 14 to determine the locations of one or more events.

When the acoustic sensor comprises a DAS system, the optical fiber 162 can return raw optical data in real time or near real time to the acquisition unit 160. In an embodiment, the raw data can be stored in the memory 170 for various subsequent uses. The sensor 164 can be configured to convert the raw optical data into an acoustic data set.

As shown schematically in Figure 6, an embodiment of a system 401 for detecting an event can comprise a data extraction unit 402, a processing unit 404, and/or an output or visualization unit 406. The data extraction unit 402 can obtain the optical data and perform the initial pre-processing steps to obtain the initial acoustic information from the signal returned from the wellbore. Various analyses can be performed including frequency band extraction, frequency analysis and/or transformation, intensity and/or energy calculations, and/or determination of one or more properties of the acoustic data. Following the data extraction unit 402, the resulting signals can be sent to a processing unit 404. Within the processing unit, the acoustic data can be analyzed, for example, by calculating one or more frequency domain features and utilizing a model or models obtained from a machine learning approach (e.g., a supervised learning approach, etc.) on the one or more frequency domain features as described further hereinbelow to determine if one or more events are present, and, if present, determining information for the event(s).

One or more event detection models can also be used to determine the presence of various events, such as various events within the wellbore for wellbore events. In some embodiments, the machine learning approach comprises a logistic regression model. In some such embodiments, one or more frequency domain features (e.g., spectral flatness, RMS bin values, etc.) can be used to determine if the event is present at each location of interest. In some embodiments, the supervised learning approach can be used to determine a model of the various events such as a first polynomial having the plurality of frequency domain features as inputs to determine when a first type of event is present, a second polynomial having the plurality of frequency domain features as inputs to determine when a second type of event is present, and one or more additional polynomial equations having the plurality of frequency domain features as inputs to determine when additional events are present. Once the processing unit 404 uses the model obtained from the machine learning approach to determine the presence or lack of one or more events, the resulting analysis information can then be sent from the processing unit 404 to the output/visualization unit 406 where various information such a visualization of the location of the events and/or information for the event(s) can be visualized in a number of ways. In some embodiments, the resulting event information can be visualized in a number of ways. For example, wellbore events can be visualized on a well schematic, on a time log, or any other number of displays to aid in understanding where the event(s) are occurring, and in some embodiments, to display relative amounts or indicators for the various events such as components of an inflowing fluid occurring at one or more locations along the length of the wellbore. Other events such as security events, pipeline events, transportation events, equipment monitoring events, and the like can visualized on a map or process flow chart. While illustrated in Figure 6 as separate units, any two or more of the units shown in Figure 6 can be incorporated into a single unit. For example, a single unit can be present at the wellsite to provide analysis, output, and optionally, visualization of the resulting information.

As noted above, a method of identifying one or more events according to this disclosure can optionally comprise preprocessing the acoustic signal. The acoustic signal can be generated within the wellbore as described herein. Depending on the type of DAS system employed, the optical data may or may not be phase coherent and may be pre-processed to improve the signal quality (e.g., denoised for opto-electronic noise normalization / de -trending single point- reflection noise removal through the use of median filtering techniques or even through the use of spatial moving average computations with averaging windows set to the spatial resolution of the acquisition unit, etc.). The raw optical data from the acoustic sensor can be received and generated by the sensor to produce the acoustic signal. The data rate generated by various acoustic sensors such as the DAS system can be large. For example, the DAS system may generate data on the order of 0.5 to about 2 terabytes per hour. This raw data can optionally be stored in a memory.

The raw data can then be optionally pre-processed in step 200. A number of specific processing steps can be performed to determine the presence of the one or more events. In an embodiment, the noise detrended“acoustic variant” data can be subjected to an optional spatial filtering step following the other pre-processing steps, if present. A spatial sample point filter can be applied that uses a filter to obtain a portion of the acoustic signal corresponding to a desired depth in the wellbore or length or location along a path of the fiber. Since the time the light pulse sent into the optical fiber returns as backscattered light can correspond to the travel distance, and therefore a position along the fiber (e.g., a depth in the wellbore, physical location along the fiber, etc.), the acoustic data can be processed to obtain a sample indicative of the desired depth, depth range, and/or location. This may allow a specific location to be isolated for further analysis. The pre-processing step may also include removal of spurious back reflection type noises at specific depths through spatial median filtering or spatial averaging techniques. This is an optional step and helps focus primarily on an interval of interest along the fiber (e.g., an interval within a wellbore). For example, the spatial filtering step can be used to focus on a producing interval where there is maximum likelihood of an event occurring, for example. The resulting data set produced through the conversion of the raw optical data can be referred to as the acoustic sample data.

Filtering can provide several advantages. When the acoustic data set is spatially filtered, the resulting data, for example the acoustic sample data, used for the next step of the analysis can be indicative of an acoustic sample over a defined depth (e.g., the entire length of the optical fiber, some portion thereof, or a point source in the wellbore 114). In some embodiments, the acoustic data set can comprise a plurality of acoustic samples resulting from the spatial filter to provide data over a number of depth ranges. In some embodiments, the acoustic sample may contain acoustic data over a depth range sufficient to capture multiple points of interest. In some embodiments, the acoustic sample data contains information over the entire frequency range at the depth represented by the sample. This is to say that the various filtering steps, including the spatial filtering, do not remove the frequency information from the acoustic sample data.

The processor 168 can be further configured to transform the filtered data from the time domain into the frequency domain using a transform. For example, Discrete Fourier transformations (DFT) or a short time Fourier transform (STFT) of the acoustic variant time domain data measured at each depth section along the fiber or a section thereof may be performed to provide the data from which the plurality of frequency domain features can be determined. Spectral feature extraction through time and space can be used to determine the spectral conformance and determine if an acoustic signature (e.g., an event signature, etc.) is present in the acoustic sample. Within this process, various frequency domain features can be calculated for the acoustic sample data. Preprocessing at 200 can optionally include a noise normalization routine to improve the signal quality. This step can vary depending on the type of acquisition device used as well as the configuration of the light source, the sensor, and the other processing routines. The order of the aforementioned preprocessing steps can be varied, and any order of the steps can be used.

Preprocessing at 200 can further comprise calibrating the acoustic signal. Calibrating the acoustic signal can comprise removing a background signal from the acoustic signal, and/or correcting the acoustic signal for signal variations in the measured data. In some embodiments, calibrating the acoustic signal comprises identifying one or more anomalies within the acoustic signal and removing one or more portions of the acoustic signal outside the one or more anomalies.

As noted hereinabove, a method of this disclosure comprises determining one or more frequency domain features or spectral features at step 300. The use of frequency domain features to identify events can provide a number of advantages. First, the use of frequency domain features results in significant data reduction relative to the raw DAS data stream. Thus, a number of frequency domain features can be calculated and used to allow for event identification while the remaining data can be discarded or otherwise stored, and the remaining analysis can be performed using the frequency domain features. Even when the raw DAS data is stored, the remaining processing power is significantly reduced through the use of the frequency domain features rather than the raw acoustic data itself. Further, the use of the frequency domain features can, with the appropriate selection of one or more of the frequency domain features, provide a concise, quantitative measure of the spectral character or acoustic signature of specific sounds pertinent to downhole event surveillance and other applications.

While a number of frequency domain features can be determined for the acoustic sample data, not every frequency domain feature may be used in the identifying event characteristics or the locations of events. The frequency domain features represent specific properties or characteristics of the acoustic signals. There are a number of factors that can affect the frequency domain feature selection for each event. For example, a chosen descriptor should remain relatively unaffected by the interfering influences from the environment such as interfering noise from the electro nics/optics, concurrent acoustic sounds, distortions in the transmission channel, and the like. In general, electronic/instrumentation noise is present in the acoustic signals captured on the DAS or any other electronic gauge, and it is usually an unwanted component that interferes with the signal. Thermal noise is introduced during capturing and processing of signals by analogue devices that form a part of the instrumentation (e.g., electronic amplifiers and other analog circuitry). This is primarily due to thermal motion of charge carriers. In digital systems additional noise may be introduced through sampling and quantization. The frequency domain features should have values that are significant for a given even in the presence of noise.

As a further consideration in selecting the frequency domain feature(s) for an event, the dimensionality of the frequency domain feature should be compact. A compact representation is desired to decrease the computational complexity of subsequent calculations. The frequency domain feature should also have discriminant power. For example, for different types of audio signals, the selected set of descriptors should provide altogether different values. A measure for the discriminant power of a feature is the variance of the resulting feature vectors for a set of relevant input signals. Given different classes of similar signals, a discriminatory descriptor should have low variance inside each class and high variance over different classes. The frequency domain feature should also be able to completely cover the range of values of the property it describes.

In some embodiments, combinations of frequency domain features can be used. This can include a signature having multiple frequency domain features as indicators. In some embodiments, a plurality of frequency domain features can be transformed to create values that can be used to define various event signatures. This can include mathematical transformations including ratios, equations, rates of change, transforms (e.g., wavelets, Fourier transforms, other wave form transforms, etc.), other features derived from the feature set, and/or the like as well as the use of various equations that can define lines, surfaces, volumes, or multi-variable envelopes. The transformation can use other measurements or values outside of the frequency domain features as part of the transformation. For example, time domain features, other acoustic features, and non-acoustic measurements can also be used. In this type of analysis, time can also be considered as a factor in addition to the frequency domain features themselves. As an example, a plurality of frequency domain features can be used to define a surface (e.g., a plane, a three-dimensional surface, etc.) in a multivariable space, and the measured frequency domain features can then be used to determine if the specific readings from an acoustic sample fall above or below the surface. The positioning of the readings relative to the surface can then be used to determine if the event if present or not at that location in that detected acoustic sample. As an example, the chosen set of frequency domain features should be able to uniquely identify the event signatures with a reasonable degree of certainty of each of the acoustic signals pertaining to a selected downhole surveillance application or an event as described herein. Such frequency domain features can include, but are not limited to, the spectral centroid, the spectral spread, the spectral roll-off, the spectral skewness, the root mean square (RMS) band energy (or the normalized subband energies / band energy ratios), a loudness or total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

The spectral centroid denotes the“brightness” of the sound captured by the optical fiber 162 and indicates the center of gravity of the frequency spectrum in the acoustic sample. The spectral centroid can be calculated as the weighted mean of the frequencies present in the signal, where the magnitudes of the frequencies present can be used as their weights in some embodiments. The value of the spectral centroid, Ci, of the i th frame of the acoustic signal captured at a spatial location on the fiber, may be written as:

where A j (k), is the magnitude of the short time Fourier transform of the i th frame where '/< denotes the frequency coefficient or bin index, N denotes the total number of bins and /(/c) denotes the centre frequency of the bin. The computed spectral centroid may be scaled to value between 0 and 1. Higher spectral centroids typically indicate the presence of higher frequency acoustics and help provide an immediate indication of the presence of high frequency noise.

The spectral spread can also be determined for the acoustic sample. The spectral spread is a measure of the shape of the spectrum and helps measure how the spectrum is distributed around the spectral centroid. In order to compute the spectral spread, Si, one has to take the deviation of the spectrum from the computed centroid as per the following equation (all other terms defined above):

Lower values of the spectral spread correspond to signals whose spectra are tightly concentrated around the spectral centroid. Higher values represent a wider spread of the spectral magnitudes and provide an indication of the presence of a broad band spectral response. The spectral roll-off is a measure of the bandwidth of the audio signal. The Spectral roll off of the i th frame, is defined as the frequency bin‘y’ below which the accumulated magnitudes of the short-time Fourier transform reach a certain percentage value (usually between 85% - 95%) of the overall sum of magnitudes of the spectrum. where c = 85 or 95. The result of the spectral ro 11-off calculation is a bin index and enables distinguishing acoustic events based on dominant energy contributions in the frequency domain (e.g., between gas influx and liquid flow, etc.)

The spectral skewness measures the symmetry of the distribution of the spectral magnitude values around their arithmetic mean.

The RMS band energy provides a measure of the signal energy within defined frequency bins that may then be used for signal amplitude population. The selection of the bandwidths can be based on the characteristics of the captured acoustic signal. In some embodiments, a sub band energy ratio representing the ratio of the upper frequency in the selected band to the lower frequency in the selected band can range between about 1.5: 1 to about 3:1. In some embodiments, the subband energy ratio can range from about 2.5:1 to about 1.8: 1 , or alternatively be about 2:1. In some embodiment, selected frequency ranges for a signal with a 5,000 Hz Nyquist acquisition bandwidth can include: a first bin with a frequency range between 0 Hz and 20 Hz, a second bin with a frequency range between 20 Hz and 40 Hz, a third bin with a frequency range between 40 Hz and 80 Hz, a fourth bin with a frequency range between 80 Hz and 160 Hz, a fifth bin with a frequency range between 160 Hz and 320 Hz, a sixth bin with a frequency range between 320 Hz and 640 Hz, a seventh bin with a frequency range between 640 Hz and 1280 Hz, an eighth bin with a frequency range between 1280 Hz and 2500 Hz, and a ninth bin with a frequency range between 2500 Hz and 5000 Hz. In some embodiments, a low frequency threshold can be used to help to reduce noise in the signal. For example, a lower frequency threshold between 0 and 5 Hz, between 0 and 10 Hz, or between 0 and 15 Hz can be used, which can result in the first bin including a frequency range between 5 Hz and 20 Hz, between 10 Hz and 20 Hz, or between 15 Hz and 20 Hz depending on the lower frequency threshold used. In some embodiments, a ninth bin can be defined as cover the entire frequency range covered by the other bins. For example, a ninth bin can have a frequency range from 0 Hz to 5,000 Hz (or between 5 Hz and 5,000 Hz, 10 Hz and 5,000 Hz, or 15 Hz and 5,000 Hz, depending on whether or not a lower threshold is used and the choice of that threshold). The bin covering the entire frequency range can be used, in some embodiments, to normalize the measurements within each individual bin. While certain frequency ranges for each bin are listed herein, they are used as examples only, and other values in the same or a different number of frequency range bins can also be used. In some embodiments, the RMS band energies may also be expressed as a ratiometric measure by computing the ratio of the RMS signal energy within the defined frequency bins relative to the total RMS energy across the acquisition (Nyquist) bandwidth. This may help to reduce or remove the dependencies on the noise and any momentary variations in the broadband sound.

The total RMS energy of the acoustic waveform calculated in the time domain can indicate the loudness of the acoustic signal. In some embodiments, the total RMS energy can also be extracted from the temporal domain after filtering the signal for noise.

The spectral flatness is a measure of the noisiness / tonality of an acoustic spectrum. It can be computed by the ratio of the geometric mean to the arithmetic mean of the energy spectrum value and may be used as an alternative approach to detect broad banded signals. For tonal signals, the spectral flatness can be close to 0 and for broader band signals it can be closer to 1.

The spectral slope provides a basic approximation of the spectrum shape by a linearly regressed line. The spectral slope represents the decrease of the spectral amplitudes from low to high frequencies (e.g., a spectral tilt). The slope, the y-intersection, and the max and media regression error may be used as features.

The spectral kurtosis provides a measure of the flatness of a distribution around the mean value.

The spectral flux is a measure of instantaneous changes in the magnitude of a spectrum. It provides a measure of the frame -to -frame squared difference of the spectral magnitude vector summed across all frequencies or a selected portion of the spectrum. Signals with slowly varying (or nearly constant) spectral properties (e.g., noise) have a low spectral flux, while signals with abrupt spectral changes have a high spectral flux. The spectral flux can allow for a direct measure of the local spectral rate of change and consequently serves as an event detection scheme that could be used to pick up the onset of acoustic events that may then be further analyzed using the feature set above to identify and uniquely classify the acoustic signal.

The spectral autocorrelation function provides a method in which the signal is shifted, and for each signal shift (lag) the correlation or the resemblance of the shifted signal with the original one is computed. This enables computation of the fundamental period by choosing the lag, for which the signal best resembles itself, for example, where the autocorrelation is maximized. This can be useful in exploratory signature analysis / even for anomaly detection for well integrity monitoring across specific depths where well barrier elements to be monitored are positioned.

Any of these frequency domain features, or any combination of these frequency domain features (including transformations of any of the frequency domain features and combinations thereof), can be used to identify one or more events and event locations as described hereinbelow. In some embodiments, a selected set of characteristics can be used to identify the presence or absence for each event, and/or all of the frequency domain features that are calculated can be used as a group in characterizing the presence or absence of an event. The specific values for the frequency domain features that are calculated can vary depending on the specific attributes of the acoustic signal acquisition system, such that the absolute value of each frequency domain feature can change between systems. In some embodiments, the frequency domain features can be calculated for each event based on the system being used to capture the acoustic signal and/or the differences between systems can be taken into account in determining the frequency domain feature values for each fluid inflow event between or among the systems used to determine the values and the systems used to capture the acoustic signal being evaluated.

One or a plurality of frequency domain features can be used to characterize each type of event. In some embodiments, one, at least two, alternatively at least three, alternatively at least four, alternatively at least five, alternatively at least six, alternatively at least seven, or alternatively at least eight different frequency domain features can be used to characterize each type of event. The frequency domain features can be combined or transformed in order to define the event signatures for one or more events. While exemplary numerical ranges are provided herein, the actual numerical results may vary depending on the data acquisition system and/or the values can be normalized or otherwise processed to provide different results. As noted above, in order to obtain the frequency domain features, the acoustic sample data can be converted to the frequency domain at preprocessing step 200. In an embodiment, the raw optical data may contain or represent acoustic data in the time domain. Thus, in some embodiments, preprocessing at 200 comprises obtaining a frequency domain representation of the data using a Fourier Transform. Various algorithms can be used as known in the art. In some embodiments, a Short Time Fourier Transform technique or a Discrete Time Fourier transform can be used. The resulting data sample may then be represented by a range of frequencies relative to their power levels at which they are present. The raw optical data can be transformed into the frequency domain prior to or after the application of the spatial filter. In general, the acoustic sample will be in the frequency domain in order to determine the frequency domain feature(s). In some embodiments, the processor 168 can be configured to perform the conversion of the raw acoustic data and/or the acoustic sample data from the time domain into the frequency domain. In the process of converting the signal to the frequency domain, the power across all frequencies within the acoustic sample can be analyzed. The use of the processor 168 to perform the transformation may provide the frequency domain data in real time or near real time.

The processor 168 can then be used to analyze the acoustic sample data in the frequency domain to obtain one or more of the frequency domain features and provide an output with the determined frequency domain features for further processing. In some embodiments, the output of the frequency domain features can include features that are not used to determine the presence of one or more events.

The output of the processor with the frequency domain features for the acoustic sample data can then be used to determine the presence of one or more events at one or more locations along the fiber (e.g., at one or more locations in the wellbore or along a path of the fiber) corresponding to intervals over which the acoustic data is acquired or filtered.

A method of identifying one or more events can optionally comprise normalizing the one or the plurality of frequency domain features at 400 prior to identifying the one or more event locations at 500 and/or prior to identifying the one or mor events at 600.

A method of identifying one or more events according to this disclosure can comprise identifying one or more event locations at 500. Such event locations can be determined as known to those of skill in the art, for example in wellbore events via PLS data. In some embodiments, the one or more event locations are determined as described hereinbelow. In such embodiments, identifying one or more event locations can comprise identifying the one or more locations using one or more of the frequency domain features to identify acoustic signals corresponding to the event(s), and correlating the depths or locations along a path of the fiber of those signals with locations along the fiber (e.g., with locations within the wellbore such as producing intervals, geological layers, etc.)· The one or more frequency domain features can comprise at least two different frequency domain features. In some embodiments, the one or more frequency domain features utilized to determine the one or more event locations comprises at least one of a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, an RMS band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, combinations and/or transformations thereof, and/or a normalized variant thereof. In some embodiments, the one or more frequency domain features utilized to determine the one or more event locations can include a spectral flatness, an RMS band energy, a total RMS energy, or a normalized variant of one or more of the spectral flatness, the RMS band energy, the total RMS energy, or a combination thereof.

In some embodiments, identifying the one or more event locations comprises: identifying a background acoustic signature using the acoustic signal; and removing the background acoustic signature from the acoustic signal prior to identifying the one or more event locations. In some embodiments, identifying the one or more event locations comprises identifying one or more anomalies in the acoustic signal using the one or more frequency domain features of the plurality of frequency domain features; and selecting the depth intervals of the one or more anomalies as the one or more event locations.

When a portion of the signal is removed (e.g., a background fluid flow signature, etc.), the removed portion can also be used as part of the event analysis. In some embodiments, identifying the one or more event locations comprises: identifying a background fluid flow signature using the acoustic signal; and using the background fluid flow signature from the acoustic signal to identify an event, such as one or more fluid flow events.

In some embodiments, a method of identifying one or more events according to this disclosure comprises identifying at least one event at the identified one or more event locations at 600. In some embodiments, the plurality of frequency domain features utilized for identifying the at least one event comprises at least two of: a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, an RMS band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

In some embodiments, identifying at one or more events using the plurality of the frequency domain features at 600 comprises: identifying the at least one event using a value representing a transformation of at least one of the plurality of the frequency domain features. In some embodiments, identifying the at least one event using the plurality of the frequency domain features at 600 comprises: identifying the at least one event using a multivariate model (e.g., one or more polynomial equations, mathematical formulas, etc.) that defines a relationship between at least two of the plurality of the frequency domain features, including in some embodiments transformations of the frequency domain features. In some embodiments, identifying the at least one event using the plurality of the frequency domain features at 600 comprises: identifying the presence or absence of a first event using a first multivariate model having a first at least two of the plurality of frequency domain features as inputs to determine when the first event is present, identifying the presence or absence of a second event using a second multivariate model having a second at least two of the plurality of frequency domain features as inputs to determine when the second event is present, and identifying the presence or absence of a third event using a third polynomial having a third at least two of the plurality of frequency domain features as inputs to determine when the third event is present. The first at least two, the second at least two, and the third at least two of the plurality of frequency domain features can be the same or different. In some embodiments, identifying the at least one event using the plurality of the frequency domain features at 600 comprises: identifying at least one event using a ratio between at least two of the plurality of the frequency domain features.

In some embodiments, identifying one or more events comprises providing the plurality of frequency domain features to an event detection model at 600' for each type of event; and determining that at least one event is present based on the event detection model. In some embodiments, the event detection model can be developed using and/or include machine learning such as a neural network, a Bayesian network, a decision tree, a logistical regression model, or a normalized logistical regression, or other supervised learning models.

In some embodiments, the event detection model can use a first multivariate model having at least two of the plurality of frequency domain features as inputs to determine when a first event is present. The logistic regression model can use a second multivariate model having a second at least two of the plurality of frequency domain features as inputs to determine when a second event is present, and the logistic regression model can use a third multivariate model having a third at least two of the plurality of frequency domain features as inputs to determine when a third event is present. Additional logistic regression models can be used for additional events, where each additional model can use at least two of the plurality of frequency domain features. The first at least two, the second at least two, and the third at least two of the frequency domain features can be the same or different.

The use of different models for one or more types of events can allow for a more accurate determination of each event. The models can differ in a number of ways. For example, the models can have different parameters, different mathematical determinations, be different types of models, and/or use different frequency domain features. In some embodiments, a plurality of models can be used for different events, and at least one of the models can have different parameters. In general, parameters refer to constants or values used within the models to determine the output of the model. In multivariate models as an example, the parameters can be coefficients of one or more terms in the equations in the models. In neural network models as an example, the parameters can be the weightings applied to one or more nodes. Other constants, offsets, and coefficients in various types of models can also represent parameters. The use of different parameters can provide a different output amongst the models when the models are used to identify different types of events.

The models can also differ in their mathematical determinations. In multivariate models, the models can comprise one or more terms that can represent linear, non-linear, power, or other functions of the input variables (e.g., one or more frequency domain features, etc.). The functions can then change between the models. As another example, a neural network may have different numbers of layers and nodes, thereby creating a different network used with the input variables. Thus, even when the same frequency domain features are used in two more models, the outputs can vary based on the different functions and/or structures of the models.

The models can also be different on the basis of being different types of models. For example, the plurality of models can use regression models to identify one or more events and neural networks for different events. Other types of models are also possible and can be used to identify different types of events. Similarly, the models can be different by using different input variables. The use of different variables can provide different outputs between the models. The use of different models can allow for the same or different training data to be used to produce more accurate results for different types of events. Any of the models described herein can rely on the use of different models for different types of events, as described in more detail herein.

In some embodiments, identifying at least one event comprises utilizing an event detection model and using the plurality of frequency domain features at the identified one or more event locations in the first multivariate model; using the plurality of frequency domain features at the identified one or more event locations in the second multivariate model; using the plurality of frequency domain features at the identified one or more event locations in the third multivariate model; comparing the plurality of frequency domain features to an output of the first multivariate model, an output of the second multivariate model, and an output of the third multivariate model; and identifying at least one event based on the comparison of the plurality of frequency domain features to the output of the first multivariate model, the output of the second multivariate model, and the output of the third multivariate model.

In some embodiments, the plurality of frequency domain features utilized to identify the event(s) can include a normalized variant of the spectral spread and/or a normalized variant of the spectral centroid, and the event detection model can define a relationship between a presence or absence of the event(s) at the location of the acoustic signal.

In addition to the multivariate model(s) used to determine the presence and identity of the one or more events, a multivariate model can be developed to identify the one or more events based on building a predicted data set for the events using the data obtained from a testing apparatus. In this multivariate model, the presence of the event and/or information for the event can be determined using data obtained from sensors in the wellbore. This type of multivariate model can be developed using regularized multivariate linear regression. The predicted information for the events (e.g., volumetric flows for a fluid inflow event) can then be compared to production data to further refine and/or develop the multivariate model based on a comparison with actual sensor data from the wellbore.

Other multivariate models can also be developed using the processes described herein. In some embodiments, test data can be generated for an expected wellbore event within a wellbore using a flow loop or flow test apparatus as disclosed herein. The desired event or flow can be created, and the acoustic test data can be captured. The resulting labeled data sets can be used to train one or more event detection models to determine the presence of the event using one or more frequency domain features.

As an example of an additional event detection model, sand inflow and/or flow in a fluid phase within a conduit can be modeled. The sand flow can be modeled in different fluid phases, at different sand amounts, in different orientations, and through different types of production assemblies, pipes, annuli, and the like. The resulting acoustic data can be used in the model development process as disclosed herein to determine one or more multivariate models indicative of the presence of sand in an inflowing fluid in one or more fluid phases and/or in a flowing fluid within the wellbore within one or more fluid phases. Such multivariate model may then be used with detected acoustic data to determine if sand is present in various fluids while allowing for discrimination between sand inflow and/or sand flow along the wellbore.

In some embodiments, the model at 600' can be developed using machine learning. In order to develop and validate the model, data having known events and acoustic signals can be used as the basis for training and/or developing the model parameters. This data set can be referred to as a labeled data set (e.g., a data set for which the type of event, flow regime, and/or inflow location is already known) that can be used for training the event detection models in some instances. In some embodiments, the known data can be data from a wellbore having flow measured by various means for wellbore events. In some embodiments, the data can be obtained using a test setup where known quantities of various fluids (e.g., gas, hydrocarbon liquids, aqueous liquids, etc.) can be introduced at controlled point to generate controlled fluid flow and/or inflows. At least a portion of the data can be used to develop the event detection model, and optionally, a portion of the data can be used to test the event detection model once it is developed.

Figure 7 illustrates a flow diagram of a method II of developing an event detection model according to some embodiments. The method can comprise, at 900, obtaining acoustic data or signals from a plurality of event tests in which one or more events can be recreated. For example, one or more fluids of a plurality of fluids can be introduced into a conduit at predetermined locations spanning a length of the conduit, and wherein the acoustic signal comprises acoustic samples across a portion of the conduit. The one or more fluids of a plurality of fluids can be introduced into a flowing fluid to determine the inflow signatures for fluid(s) entering flow fluids. In some embodiments, the one or more fluids can be introduced in a relatively stagnant fluid. This may help to model the lower or lowest producing portion of the well where no bulk fluid flow may be passing through the wellbore at the point at which the fluid enters the well. This may be tested to obtain the signature of fluid inflow into a fluid within the wellbore that may not be flowing. Other events such as leaks, casing flows, and the like can also be recreated in the test apparatus to allow for the corresponding acoustic signals to be determined. The acoustic signal can be obtained by any means known to those of skill in the art. In some embodiments, the acoustic data can be from field data where the data is verified by other test instruments. In some embodiments, the acoustic signal is obtained from a sensor within or coupled to the conduit for each event test of the plurality of event tests. The sensor can be disposed along the length of the conduit, and the acoustic signal that is obtained can be indicative of an acoustic source along a length of the conduit. The sensor can comprise a fiber optic cable disposed within the conduit, or in some embodiments, coupled to the conduit (e.g., on an outside of the conduit). The conduit can be a continuous section of a tubular, and in some embodiments, the can be disposed in a loop. While described as being a loop in some circumstances, a single section of pipe or tubular can also be used with additional piping used to return a portion of the fluid to the entrance of the conduit.

The configuration of the tubular test arrangement can be selected based on an expected operating configuration. A generic test arrangement may comprise a single tubular having one or more injection points. The acoustic sensor can be disposed within the tubular or coupled to an exterior of the tubular. In some embodiments, other arrangement such as pipe-in-pipe arrangements designed to mimic a production tubular in a casing string can be used for the flow tests. The sensor can be disposed within the inner pipe, in an annulus between the inner pipe and outer pipe, or coupled to an exterior of the outer pipe. The disposition of the sensor and the manner in which it is coupled within the test arrangement can be the same or similar to how it is expected to be disposed within a wellbore. Any number of testing arrangements and sensor placements can be used, thereby allowing for test data corresponding to an expected completion configuration. Over time, a library of configurations and resulting test data can be developed to allow for future models to be developed based on known, labeled data used to train various types of models such as multivariate models, neural networks, and the like.

In some embodiments, the conduit comprises a flow loop, and various types of events can be recreated in the presence or absence of a fluid flowing within the loop, though a fluid may be present in the conduit without flowing for some event tests. As an example, the flowing fluid can comprise an aqueous fluid, a hydrocarbon fluid, a gas, or a combination thereof. The flowing fluid can comprise a liquid phase, a multi-phase mixed liquid, or a liquid-gas mixed phase. In some embodiments, the flowing fluid within the conduit can have a flow regime including, but not limited to, laminar flow, plugging flow, slugging flow, annular flow, turbulent flow, mist flow, bubble flow, or any combination thereof. Within these flow regimes, the flow and/or inflow can be time based. For example, a fluid inflow can be laminar over a first time interval followed by slugging flow over a second time period, followed by a return to laminar or turbulent flow over a third time period. Thus, the specific flow regimes can be interrelated and have periodic or non-periodic flow regime changes over time. Events including fluid flow and fluid inflow events can be carried out in the presence of the flowing fluid, and other events can also be carried out in the presence of the flowing fluid.

An assembly 1 for performing inflow tests is provided in Figure 8A. Assembly 1 comprises a conduit 5 into or onto which a sensor 2 (e.g., a fiber optic cable) is disposed. In some embodiments, the fiber optic cable 2 can be disposed within conduit 5. In some embodiments, the fiber optic cable 2 can be disposed along an outside of the conduit 5, for example, coupled to an exterior of the conduit. The fiber optic cable can be disposed along a length L of conduit 5. In some embodiments, other types of sensors can be used such as point source acoustic or vibration sensors. A line 40 may be configured for introducing background fluid into a first end 6 of conduit 5. One or a plurality of injection points 10 can be disposed along length L of conduit 5. An assembly for performing inflow tests can comprise any number of injection points. For example, an assembly for performing inflow tests according to this disclosure can comprise 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, or more injection points 10. For example, in the embodiment of FIG. 8 A, four injection points 10A, 10B, IOC, and 10D are disposed along length L of conduit 5. By way of example, a length L of conduit 5 may be in a range of from about 10 to about 100 meters, from about 20 to about 80 meters, or from about 30 to about 70 meters, for example, 30, 40, 45, 50, 55, 60, 65, or 70 meters.

The injection points may be positioned a spacing distance apart with regard to each other and/or first end 6 and second end 7 of conduit 5. The spacing distance can be selected based on a spatial resolution of the sensor system such that the injection points can be distinguished from each other in the resulting testing data. When point source sensors are used, the type of sensors can be considered in selecting the spacing distance. The spacing distance may also be selected, at least in part, to be sufficient to allow for a desired flow regime to develop between injection points. In some embodiments, first injection point 10A can be positioned a spacing distance S I from first end 6 of conduit 5 and a second spacing S2 from second injection point 10B. Second injection point 10B can be positioned a spacing distance S3 from third injection point IOC. Third injection point IOC can be positioned a spacing distance S4 from a fourth injection point 10D. Fourth injection point 10D can be positioned a spacing distance S5 from a transparent section 20 of conduit 5. Transparent section 20 can be utilized to visually confirm the flow regime within conduit 5. The visual appearance information can be recorded as part of the test data set. A production logging system (PLS) may be positioned within a spacing distance S6 of second end 7 of conduit 5 and operable to compare data received via sensor or fiber optic cable 2. In some embodiments, without limitation, the spacing distances between injection points (e.g., spacing distances S2, S3, and S4) are in a range of from about 2 to about 20 m, from about 2 to about 15 m, or from about 10 to about 15m apart. In some embodiments, the first and last injection points are at least 5, 6, 7, 8, 9, or 10 m from a closest end (e.g., from first end 6 or second end 7) of conduit 5. For example, spacing distances S I and S5 can be at least 5, 6, 7, 8, 9, or 10 meters, in embodiments.

The conduit 5 can be disposed at any angle, including any angle between, and including, horizontal to vertical. The angle of the conduit, along with the fluid composition and flow rates can affect the flow regimes within the conduit. For example, a gas phase may collect along a top of a horizontally oriented conduit 5 as compared to a bubbling or slugging flow in a vertical conduit. Thus, the flow regime can change based on an orientation of the conduit even with the same fluid flow rates and compositions. The angle can be selected to represent those conditions that are being modeled to match those found in a wellbore, and the angle of the conduit can become part of the data obtained from the test set up.

Background fluid can be injected into line 40 in any of the flow regimes noted herein, for example, laminar flow, plugging flow, slugging flow, annular flow, turbulent flow, mist flow, and/or bubble flow, which may be visually confirmed through transparent section 20 of assembly 1. The background flowing fluid can comprise a liquid phase, a multi-phase mixed liquid, and/or a liquid-gas mixed phase. The inflow tests can include various combinations of injected fluid and background flowing fluid. For example, a single phase (e.g., water, gas, or hydrocarbon liquid) can be injected into a background fluid comprising one or multiple phases (e.g., water, gas, and/or hydrocarbon liquid) flowing in a particular flow regime. Inflow tests can also be performed for injection of multiphase fluids (e.g., hydrocarbon liquid and gas, hydrocarbon liquid and water, hydrocarbon liquid, water, and gas) into a background fluid comprising one or multiple phases (e.g., water, gas, and/or hydrocarbon liquid) flowing in a particular flow regime.

In order to understand the variability in the measured signal for testing purposes, the flow for each type of flow can be incremented over time. For example, the flow and/or injection rate can be varied in steps over a time period. Each rate of flow or injection rate can be held constant over a time period sufficient to obtain a useable sample data set. The time period should be sufficient to identify variability in the signal at a fixed rate. For example, between about 1 minute and about 30 minutes of data can be obtained at each stepped flow rate before changing the flow rate to a different flow or injection rate.

As depicted in the schematic of Figure 8B, which is a schematic 3 showing wellbore depths corresponding to injection points of FIG. 8A, the inflow tests can be calibrated to a certain reservoir depth, for example, by adjusting the fiber optic signal for the test depth. For example, injection points 10A, 10B, IOC, and 10D can correspond to inflow depths Dl , D2, D3, and D4, respectively. As an example, a length of fiber optic cable can be used that corresponds to typical wellbore depths (e.g., 3,000 m to 10,000 m, etc.). The resulting acoustic signals can then represent or be approximations of acoustic signals received under wellbore conditions. During the flow tests, acoustic data can be obtained under known flow conditions. The resulting acoustic data can then be used as training and/or test data for purposes of preparing the fluid flow model. For example, a first portion of the data can be used with machine learning techniques to train the fluid flow model, and a second portion of the data can be used to verify the results from the fluid flow model once it is developed.

Other events such as casing vent leaks, annular flow, and various other flow type events can also be recreated using a flow loop configuration. For these events, models of wellbore configurations such as pipe-in-pipe configurations can be constructed, and annular flow, leaks, and the like can be recreated. The acoustic sensors can then be used to capture the acoustic signals for such events based on the test recreations. The ability to use a test apparatus to recreate such events can allow for variable yet controlled leak rates and fluid flow rates to be provided with the corresponding acoustic signals being captured. Other test data for other events such as transportation events, security events, facility monitoring events, pipeline monitoring events can also be developed using testing arrangements. For example, security events can be tested by placing a fiber as it would be placed during security monitoring. Controlled events such as a person walking, vehicular movement, and the like can be recreated to capture acoustic signals having known sources. Facility monitoring events can have test apparatus including one or more types of equipment with known operating issues (e.g., a pump with a worn bearing, an out of balance compressor, etc.). Pipeline monitoring can be tested with a test pipeline arrangement similar to a flow loop. The resulting data can be used to form a labelled data set that can be used to train one or more event detection models. Using the test data obtained from the flow apparatus, the method of developing the event detection model can include determining one or more frequency domain features from the acoustic signal for at least a portion of the data from the plurality of event tests. The one or more frequency domain features can be obtained across the portion of the conduit including the predetermined locations at 910, and training the event detection model can use the one or more frequency domain features for a plurality of the tests and the predetermined locations at 920. The training of the event detection model can use machine learning, including any supervised or unsupervised learning approach. For example, the event detection model can be a neural network, a Bayesian network, a decision tree, a logistical regression model, a normalized logistical regression model, k-means clustering or the like.

In some embodiments, the event detection model can be developed and trained using a logistic regression model. As an example for training of a model used to determine the presence or absence of a first event, the training of the event detection model at 920 can begin with providing the one or more frequency domain features to the logistic regression model corresponding to one or more inflow tests where the first event is present. The one or more frequency domain features can be provided to the logistic regression model corresponding to one or more inflow tests where the first event is not present. A first multivariate model can be determined using the one or more frequency domain features as inputs. The first multivariate model can define a relationship between a presence and an absence of the first event.

Similarly, the event detection model can include a logistic regression model for a second event, and the event detection model can be trained at 920 by providing the one or more frequency domain features to the logistic regression model corresponding to one or more event tests where the second event is present. The one or more frequency domain features can also be provided to the logistic regression model corresponding to one or more event tests where the second event is not present. A second multivariate model can then be determined using the one or more frequency domain features as inputs where the second multivariate model defines a relationship between a presence and an absence of the second event.

The event detection model can also include a logistic regression model for one or more additional events. Training the event detection model at 920 can include providing the one or more frequency domain features to the logistic regression model corresponding to one or more event tests of the plurality of event tests where the one or more additional events are present. One or more frequency domain features can also be provided to the logistic regression model corresponding to one or more event tests where the one or more additional events are not present. Additional multivariate models corresponding to each of the one or more events can then be determined using the one or more frequency domain features as inputs, where the additional multivariate models define a relationship between a presence and an absence of the one or more additional events.

The one or more frequency domain features can comprise any frequency domain features noted hereinabove as well as combinations and transformations thereof. For example, In some embodiments, the one or more frequency domain features comprise a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, an RMS band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, combinations and/or transformations thereof, or any normalized variant thereof. In some embodiments, the one or more frequency domain features comprise a normalized variant of the spectral spread (NVSS) and/or a normalized variant of the spectral centroid (NVSC).

In the event detection model, the multivariate model equations can use the frequency domain features or combinations or transformations thereof to determine when a specific event is present. The multivariate model can define a threshold, decision point, and/or decision boundary having any type of shapes such as a point, line, surface, or envelope between the presence and absence of the event. In some embodiments, the multivariate model can be in the form of a polynomial, though other representations are also possible. When models such a neural networks are used, the thresholds can be based on node weights or thresholds within the model. As noted herein, the multivariate model is not limited to two dimensions (e.g., two frequency domain features or two variables representing transformed values from two or more frequency domain features), and rather can have any number of variables or dimensions in defining the threshold between the presence or absence of the event. When used, the detected values can be used in the multivariate model, and the calculated value can be compared to the model values. The presence of the event can be indicated when the calculated value is on one side of the threshold and the absence of the event can be indicated when the calculated value is on the other side of the threshold. Thus, each multivariate model can, in some embodiments, represent a specific determination between the presence of absence of an event. Different multivariate models, and therefore thresholds, can be used for each type of event, and each multivariate model can rely on different frequency domain features or combinations or transformations of frequency domain features. Since the multivariate models define thresholds for the determination and/or identification of specific events, the multivariate models and event detection model using such multivariate models can be considered to be event signatures for each type of fluid flow and/or inflow (including flow regimes, etc.).

Once the model is trained or developed, the event detection model can be verified or validated. In some embodiments, the plurality of the tests used for training the event detection model can be a subset of the plurality of flow tests, and the tests used to validate the models can be another subset of the plurality of flow tests. A method of developing a event detection model according to this disclosure can further include the validation of the trained event detection model using the acoustic signals from one or more tests and the predetermined locations of the one or more tests at 930.

The validation process can include providing the acoustic signals from one or more of the plurality of event tests and the predetermined locations of the one or more of the plurality of event tests to each of the first multivariate model, the second multivariate model, and one or more additional multivariate models. A presence or absence of at least one of the first event, the second event, or one or more additional events based on an output of each of the first multivariate model, the second multivariate model, and the one or more additional multivariate models can then be determined. The event detection model at 930 can be validated by comparing the predicted presence or absence of the first event, the second event, or the one or more additional events to the actual presence as known from the test data. Should the accuracy of the event detection model be sufficient (e.g., meeting a confidence threshold), then the event detection model can be used to detect and/or identify events within a wellbore. If the accuracy is not sufficient, then additional data and training or development can be carried out to either find new frequency domain feature relationships to define the multivariate models or improve the derived multivariate models to more accurately predict the presence and identification of the events. In this process, the development, validation, and accuracy checking can be iteratively carried out until a suitable event detection model is determined. Using the validation process, a confidence level can be determined based on the validating at 940. In some embodiments, an optional remediation procedure can be performed based on the confidence level at 950. The optional remediation procedure can serve to correct an issue within the wellbore identified using the event detection. For example, a leak can be fixed when the event comprises a leak in the wellbore, an annulus, or around a zonal isolation device.

With reference to Figure 1 , a method of identifying an event according to this disclosure can further comprise determining information about the event(s) at 700. For example, for fluid inflow events, relative amounts of gas phase inflow, aqueous phase inflow, and hydrocarbon liquid phase inflow. Other information such a leak rates, outflow fluid rates, relative amounts of fluid phase outflows, annular flow rates and phases, microseismic and overburden activity location and direction, hydraulic fracturing extent, sanding rates, movements, and volumes, and the like can be determined as part of an event detection model.

As an example of additional information being determined about an event, determining relative amounts of gas phase inflow, aqueous phase inflow, and hydrocarbon liquid phase inflow can comprise determining an amplitude of each of the determined at least one of a gas phase inflow, an aqueous phase inflow, or a hydrocarbon liquid phase inflow over a time period at the identified one or more fluid inflow locations; and determining a relative contribution of each of the gas phase inflow, the aqueous phase inflow, or the hydrocarbon liquid phase inflow based on the amplitude of each of the identified at least one of the gas phase inflow, the aqueous phase inflow, or the hydrocarbon liquid phase inflow over the time period. In some embodiments, the amplitude and/or spectral power of each portion of the acoustic signal can be compared to produced volumes of each fluid. The relative power originated from various inflow locations can be compared and assigned a proportion of the overall produced fluid flow based on the frequency domain features such as the amplitude or spectral power. The volumes of each fluid flowing in the wellbore tubulars can be confirmed using the event detection model, and the relative amounts determined at the fluid inflow locations can be used to determine the amounts present in the fluid flow in the wellbore tubulars at points downstream of the inflow locations. This can allow for an estimate of the volume of each fluid present at various points in the wellbore to be determined.

A method of identifying one or more events according to this disclosure can optionally further comprise determining and/or performing a process such as a remediation procedure at 800. The remediation procedure determined and/or performed can be based on the identification of the event or events and/or the information obtained for the identified event(s).

A combination of the steps discussed herein can be utilized in a method of identifying one or more events according to this disclosure. For example, a method of determining an event can comprise obtaining an acoustic signal at 100, determining one or a plurality of frequency domain features from the acoustic signal at 300, and identifying one or more event locations from the one or the plurality of frequency domain features at 500. Alternatively, a method of determining one or more events can comprise obtaining an acoustic signal at 100, determining a plurality of frequency domain features from the acoustic signal at 300, identifying one or more event locations from one or more of the plurality of frequency domain features at 500, and identifying at least one event at the identified one or more event locations using at least two of the plurality of frequency domain features at 600. The identification method can use any of the event detection models described herein. Alternatively, a method of determining the presence of one or more events can comprise obtaining an acoustic signal at 100, determining a plurality of frequency domain features from the acoustic signal at 300, identifying one or more event locations at 500 (via one or more of the one or the plurality of frequency domain features or in an alternative manner), and identifying at least one event at the identified one or more fluid inflow locations using at least two of the plurality of frequency domain features at 600. This identification method can use any of the event detection models described herein.

With reference back to Figure 6, when events have been identified as having occurred during the sample data measurement period, which can be in real time or near real time, various outputs can be generated to display or indicate the presence at 406 of the one or more fluid inflow events that are identified at 500 and/or 600.

In addition to detecting the presence of one or more events at a depth or location in the wellbore 1 14, the analysis software executing on the processor 168 can be used to visualize the event locations or information for the identified event(s) over a computer network for visualization on a remote location. For example, as depicted in Figure 9, an output for an inflow event can comprise one or more of a plot of the gas phase inflow as a function of depth in the well and time as depicted in panel A, a plot of the hydrocarbon liquid phase inflow as a function of depth in the well and time as depicted in panel B, a plot of the aqueous phase inflow as a function of depth in the well and time, as depicted in panel C. The plots can be overlaid to provide a single plot depicting the gas phase inflow, aqueous phase inflow, and hydrocarbon liquid phase inflow as a function of depth in the well and time, as depicted in panel D of Figure 9. Alternatively or additionally, the data can be integrated to provide a cumulative display of the amounts of gas phase inflow, aqueous phase inflow, and hydrocarbon liquid phase inflow as a function of depth in the well and time, as depicted in panel E of Figure 9.

The computation of one or more event logs for information associated with an event may be done repeatedly, such as every second, and later integrated / averaged for discrete time periods - for instance, at times of higher well drawdowns, to display a time-lapsed event log at various stages of the production process (e.g., from baseline shut-in, from during well ramp-up, from steady production, from high drawdown / production rates etc.). The time intervals may be long enough to provide suitable data, though longer times may result in larger data sets. In an embodiment, the time integration may occur over a time period between about 0.1 seconds to about 10 seconds, or between about 0.5 seconds and about a few minutes or even hours.

The resulting event log(s) computed can be stored in the memory 170 or transferred across a computer network, to populate an event database. The data can be used to generate an integrated event log at each event depth sample point along the length of the optical fiber 162 along with a synchronized timestamp that indicates the times of measurement. In producing a visualization event log, the values for depth sections that do not exhibit fluid inflow can be set to zero. This allows those depth points or zones exhibiting fluid inflow to be easily identified.

As an example, the analysis software executing on the processor 168 can be used to visualize fluid inflow locations or relative fluid inflow amounts over a computer network for visualization on a remote location. The computation of a ‘fluid inflow log’ may be done repeatedly, such as every second, and later integrated / averaged for discrete time periods - for instance, at times of higher well drawdowns, to display a time-lapsed fluid inflow log at various stages of the production process (e.g., from baseline shut-in, from during well ramp-up, from steady production, from high drawdown / production rates etc.)· The time intervals may be long enough to provide suitable data, though longer times may result in larger data sets. In an embodiment, the time integration may occur over a time period between about 0.1 seconds to about 10 seconds, or between about 0.5 seconds and about a few minutes or even hours.

Fluid inflow logs computed every second can be stored in the memory 170 or transferred across a computer network, to populate an event database. The data stored / transferred in the memory 170 for one or more of the data set depths may be stored every second. This data can be used to generate an integrated fluid inflow log at each event depth sample point along the length of the optical fiber 162 along with a synchronized timestamp that indicates the times of measurement.

The analysis procedure can be used with any of the event signatures described herein. For example, the presence of one or more events can be determined. In some embodiments, the location and or discrimination between events may not be clear. One or more characteristics of the wellbore can then be changed to allow a second measurement of the acoustic signal to occur. For example, the production rate can be changed, the pressures can be changed, one or more zones can be shut-in, or any other suitable production change. For example, the production rate can be temporarily increased. The resulting data analysis can be performed on the data during the increased production period. In general, an increased fluid flow rate into the wellbore may be expected to increase the acoustic signal intensity at certain event locations such as a gas inflow location, a water inflow location, a hydrocarbon liquid inflow location, or the like. This may allow a signal to noise ratio to be improved in order to more clearly identify one event relative to another at one or more locations by, for example, providing for an increased signal strength to allow the event signatures to be compared to the resulting acoustic signal. The event energies can also be more clearly calculated based on the increased signal outputs. Once the zones of interest are identified, the production levels can be adjusted based on the event locations and amounts. Any changes in the presence of the events over time can be monitored using the techniques described herein and the operating conditions can be adjusted accordingly (e.g., dynamically adjusted, automatically adjusted, manually adjusted, etc.). While the data analysis has been described above with respect to the system 101 , methods of identifying events within the wellbore (e.g., fluid inflow locations along the length of a wellbore, phase discrimination (e.g., gas, water, hydrocarbon liquid) of inflowing fluid, relative amounts of inflowing fluid components, etc.) can also be carried out using any suitable system. For example, the system of Figure 2 can be used to carry out the acoustic data acquisition, a separate system at a different time and/or location can be used with acoustic data to perform the event detection method, and/or the method can be performed using acoustic data obtained from a different type of acoustic sensor where the data is obtained in an electronic form useable with a device capable of performing the method.

The acoustic signal can include data for all of the wellbore or only a portion of the wellbore. An acoustic sample data set can be obtained from the acoustic signal. In an embodiment, the sample data set may represent a portion of the acoustic signal for a defined depth range or point. In some embodiments, the acoustic signal can be obtained in the time domain. For example, the acoustic signal may be in the form of an acoustic amplitude relative to a collection time. The sample data set may also be in the time domain and be converted into the frequency domain using a suitable transform such as a Fourier transform. In some embodiments, the sample data set can be obtained in the frequency domain such that the acoustic signal can be converted prior to obtaining the sample data set. While the sample data set can be obtained using any of the methods described herein, the sample data set can also be obtained by receiving it from another device. For example, a separate extraction or processing step can be used to prepare one or more sample data sets and transmit them for separate processing using any of the processing methods or systems disclosed herein.

Also disclosed herein is a method for using the detected one or more events, or the absence of the one or more events, as inputs into a separate model. The ability to detect one or more events in real time or near real time can allow for one or more applications or control programs to operate using the event detection and identification as inputs. For example, the use of one or more models for wellbore events can allow for a wellbore control program to be implemented to take the event identifications into account. Events such as fluid inflow identification and quantification can be combined with sand detection to control a production rate or draw down within a wellbore. Similarly, the detection of various security events can be used in a monitoring application to identify potential threats and trigger various alarms. In the security example, any one event alone may not be sufficient to trigger an alarm, but in certain combinations can identify potential breaches or threats. Overall a combination of the outputs of the event detection models as described herein can then be used in one or more supervisory applications to provide control signals or outputs for a variety of types of events.

Figure 10 illustrates a flow chart of a method 960 for providing an output or a control signal. The method 960 can begin with obtaining a plurality of frequency domain features from one or more acoustic signals at step 962. The acoustic signals can be obtained using any of the techniques or systems described herein. For example, a DAS based system can be used to detect acoustic signals with a wellbore, within an area being monitored, along a pipeline, and/or at one or more items of equipment being monitored. Additionally or alternatively, one or more point sensors can be used to obtain an acoustic sensor at a location of interest.

Once the acoustic signal is obtained, one or more frequency domain features within the acoustic signal can be obtained. The frequency domain features can include any of those described herein, and the processes described herein (e.g., including any option pre-processing steps, etc.) can be used to obtain the one or more frequency domain features, transformations thereof, functions thereof, combinations thereof, or modifications thereof.

The resulting frequency domain features can then be used as input into a plurality of event detection models at step 964. The event detection models can comprise any of those models described herein, and the plurality of event detection models can be developed using any of the techniques or systems described herein. For example, the plurality of models can comprise one or more models that are trained using machine learning techniques. For example, the plurality of models can comprise regression models, multivariate models, neural networks, or the like. The plurality of models can be the same or different as described herein.

The models can be executed to determine the presence of one or more events. In some embodiments, each model may be used with a particular event. The resulting output of the plurality of models can then include an indication of the presence of absence of the event within the location defined by the acoustic signal. The presence of an event can be important and inform various actions to be taken, and the absence of an event can also be used to inform various supervisory applications.

The output of the plurality of event detection models can then be passed to a supervisory application at step 966. The supervisory application can be a control application, monitoring application or the like. The supervisory application can serve to process various event identifications and/or information associated with the events and make a supervisory determination such as a control decision, alarm decision, reporting decision, or the like. In some embodiments, an output of the supervisory application can be used to automatically control one or more systems or items of equipment within a process.

The supervisory application can comprise a model similar to any of the event detection models described herein. In some embodiments, the supervisory application can comprise one or more regression models, multivariate models, neural networks, Bayesian networks, and the like, and the supervisory application can be trained using data from known events (using, for example, a labeled data set). Further, the supervisory application can accept as input(s), one or more outputs of the event detection model(s). The outputs of the supervisory application can comprise control inputs, alarms, reports, or the like.

Using the outputs of the plurality of event detection models as inputs, the supervisory application can determine an output signal at step 968. The output signal can comprise a control signal, an alarm signal, a report signal, or any other signal used within a process or system to control one or more aspects of the operation of such process or system. For example, the supervisory application can comprise a control signal to a valve to control a pressure or flowrate within a system, a control signal to a pump to control a flow rate output from the pump, a control signal to a security system to indicate an alarm is needed, a control signal to a pipeline monitoring application to report on the operation of the pipeline. The output of the supervisory application can comprise a simple yes/no response in some embodiments. This can provide an indication of the presence or absence of a control status, a control signal an item of equipment to turn the equipment on or off, or the like. In some embodiments, the output of the supervisory application can comprise control setting(s). For example, the output may set a flow control device to a position between fully open and fully closed in order to control a flow rate within the system. Similarly, the output signal can comprise an indication of the likelihood of a security breach in a security system, where the output can comprise an indication of the percentage likelihood of a specific type of breach occurring.

The output of the supervisory application can then optionally be used to control a process or system. In some embodiments, the supervisory application can provide the output to a control application, and an operating can then use the output to control the process or system. In some embodiments, the output signal can be used to automatically control a process or system without the need for further input. In such an embodiment, an operating can interrupt the system as needed.

For example, a pressure setting can be automatically controlled by the supervisory application to control the drawdown in a wellbore. As an example, the supervisory application can receive an indication of fluid inflows, fluid inflow rates, phase information, leak information, and/or sand ingress information. The information could be used to automatically control the drawdown pressure in the wellbore to increase the fluid inflow rates while avoiding or keeping sand ingress below a threshold.

As another example, a supervisory application that is part of a security monitoring system can receive various inputs such as event detection of footsteps, vehicular traffic, voices, digging, and the like from a plurality of security event detection models. The presence of any one event such as walking may not be sufficient to trigger an alarm, for example due to an expected presence of personnel in the area. When combined with other event indicators, such a plurality of footsteps, voices, digging, and/or vehicular traffic, the supervisory application may provide an alarm signal as an output to indicate the presence of an unexpected intrusion. In this example, the alarm signal may automatically trigger without the need for an operator to approve or trigger the alarm manually.

Any number of outputs can be provided by the supervisory application. The supervisory application can be retrained over time as necessary to further improve the accuracy of the models when additional labeled data is available. This can allow the additional level of modelling to be used to control one or more systems or processes using the outputs of the plurality of event detection models.

Any of the systems and methods disclosed herein can be carried out on a computer or other device comprising a processor, such as the acquisition device 160 of Figure 2. Figure 1 1 illustrates a computer system 780 suitable for implementing one or more embodiments disclosed herein such as the acquisition device or any portion thereof. The computer system 780 includes a processor 782 (which may be referred to as a central processor unit or CPU) that is in communication with memory devices including secondary storage 784, read only memory (ROM) 786, random access memory (RAM) 788, input/output (PO) devices 790, and network connectivity devices 792. The processor 782 may be implemented as one or more CPU chips. It is understood that by programming and/or loading executable instructions onto the computer system 780, at least one of the CPU 782, the RAM 788, and the ROM 786 are changed, transforming the computer system 780 in part into a particular machine or apparatus having the novel functionality taught by the present disclosure. It is fundamental to the electrical engineering and software engineering arts that functionality that can be implemented by loading executable software into a computer can be converted to a hardware implementation by well- known design rules. Decisions between implementing a concept in software versus hardware typically hinge on considerations of stability of the design and numbers of units to be produced rather than any issues involved in translating from the software domain to the hardware domain. Generally, a design that is still subject to frequent change may be preferred to be implemented in software, because re-spinning a hardware implementation is more expensive than re-spinning a software design. Generally, a design that is stable that will be produced in large volume may be preferred to be implemented in hardware, for example in an application specific integrated circuit (ASIC), because for large production runs the hardware implementation may be less expensive than the software implementation. Often a design may be developed and tested in a software form and later transformed, by well-known design rules, to an equivalent hardware implementation in an application specific integrated circuit that hardwires the instructions of the software. In the same manner as a machine controlled by a new ASIC is a particular machine or apparatus, likewise a computer that has been programmed and/or loaded with executable instructions may be viewed as a particular machine or apparatus.

Additionally, after the system 780 is turned on or booted, the CPU 782 may execute a computer program or application. For example, the CPU 782 may execute software or firmware stored in the ROM 786 or stored in the RAM 788. In some cases, on boot and/or when the application is initiated, the CPU 782 may copy the application or portions of the application from the secondary storage 784 to the RAM 788 or to memory space within the CPU 782 itself, and the CPU 782 may then execute instructions of which the application is comprised. In some cases, the CPU 782 may copy the application or portions of the application from memory accessed via the network connectivity devices 792 or via the I/O devices 790 to the RAM 788 or to memory space within the CPU 782, and the CPU 782 may then execute instructions of which the application is comprised. During execution, an application may load instructions into the CPU 782, for example load some of the instructions of the application into a cache of the CPU 782. In some contexts, an application that is executed may be said to configure the CPU 782 to do something, e.g., to configure the CPU 782 to perform the function or functions promoted by the subject application. When the CPU 782 is configured in this way by the application, the CPU 782 becomes a specific purpose computer or a specific purpose machine.

The secondary storage 784 is typically comprised of one or more disk drives or tape drives and is used for non-volatile storage of data and as an over-flow data storage device if RAM 788 is not large enough to hold all working data. Secondary storage 784 may be used to store programs which are loaded into RAM 788 when such programs are selected for execution. The ROM 786 is used to store instructions and perhaps data which are read during program execution. ROM 786 is a non-volatile memory device which typically has a small memory capacity relative to the larger memory capacity of secondary storage 784. The RAM 788 is used to store volatile data and perhaps to store instructions. Access to both ROM 786 and RAM 788 is typically faster than to secondary storage 784. The secondary storage 784, the RAM 788, and/or the ROM 786 may be referred to in some contexts as computer readable storage media and/or non-transitory computer readable media.

I/O devices 790 may include printers, video monitors, liquid crystal displays (LCDs), touch screen displays, keyboards, keypads, switches, dials, mice, track balls, voice recognizers, card readers, paper tape readers, or other well-known input devices.

The network connectivity devices 792 may take the form of modems, modem banks, Ethernet cards, universal serial bus (USB) interface cards, serial interfaces, token ring cards, fiber distributed data interface (FDDI) cards, wireless local area network (WLAN) cards, radio transceiver cards that promote radio communications using protocols such as code division multiple access (CDMA), global system for mobile communications (GSM), long-term evolution (LTE), worldwide interoperability for microwave access (WiMAX), near field communications (NFC), radio frequency identity (RFID), and/or other air interface protocol radio transceiver cards, and other well-known network devices. These network connectivity devices 792 may enable the processor 782 to communicate with the Internet or one or more intranets. With such a network connection, it is contemplated that the processor 782 might receive information from the network, or might output information to the network (e.g., to an event database) in the course of performing the above-described method steps. Such information, which is often represented as a sequence of instructions to be executed using processor 782, may be received from and outputted to the network, for example, in the form of a computer data signal embodied in a carrier wave.

Such information, which may include data or instructions to be executed using processor 782 for example, may be received from and outputted to the network, for example, in the form of a computer data baseband signal or signal embodied in a carrier wave. The baseband signal or signal embedded in the carrier wave, or other types of signals currently used or hereafter developed, may be generated according to several methods well-known to one skilled in the art. The baseband signal and/or signal embedded in the carrier wave may be referred to in some contexts as a transitory signal.

The processor 782 executes instructions, codes, computer programs, scripts which it accesses from hard disk, floppy disk, optical disk (these various disk based systems may all be considered secondary storage 784), flash drive, ROM 786, RAM 788, or the network connectivity devices 792. While only one processor 782 is shown, multiple processors may be present. Thus, while instructions may be discussed as executed by a processor, the instructions may be executed simultaneously, serially, or otherwise executed by one or multiple processors. Instructions, codes, computer programs, scripts, and/or data that may be accessed from the secondary storage 784, for example, hard drives, floppy disks, optical disks, and/or other device, the ROM 786, and/or the RAM 788 may be referred to in some contexts as non-transitory instructions and/or non-transitory information.

In an embodiment, the computer system 780 may comprise two or more computers in communication with each other that collaborate to perform a task. For example, but not by way of limitation, an application may be partitioned in such a way as to permit concurrent and/or parallel processing of the instructions of the application. Alternatively, the data processed by the application may be partitioned in such a way as to permit concurrent and/or parallel processing of different portions of a data set by the two or more computers. In an embodiment, virtualization software may be employed by the computer system 780 to provide the functionality of a number of servers that is not directly bound to the number of computers in the computer system 780. For example, virtualization software may provide twenty virtual servers on four physical computers. In an embodiment, the functionality disclosed above may be provided by executing the application and/or applications in a cloud computing environment. Cloud computing may comprise providing computing services via a network connection using dynamically scalable computing resources. Cloud computing may be supported, at least in part, by virtualization software. A cloud computing environment may be established by an enterprise and/or may be hired on an as-needed basis from a third party provider. Some cloud computing environments may comprise cloud computing resources owned and operated by the enterprise as well as cloud computing resources hired and/or leased from a third party provider.

In an embodiment, some or all of the functionality disclosed above may be provided as a computer program product. The computer program product may comprise one or more computer readable storage medium having computer usable program code embodied therein to implement the functionality disclosed above. The computer program product may comprise data structures, executable instructions, and other computer usable program code. The computer program product may be embodied in removable computer storage media and/or non-removable computer storage media. The removable computer readable storage medium may comprise, without limitation, a paper tape, a magnetic tape, magnetic disk, an optical disk, a solid state memory chip, for example analog magnetic tape, compact disk read only memory (CD-ROM) disks, floppy disks, jump drives, digital cards, multimedia cards, and others. The computer program product may be suitable for loading, by the computer system 780, at least portions of the contents of the computer program product to the secondary storage 784, to the ROM 786, to the RAM 788, and/or to other non-volatile memory and volatile memory of the computer system 780. The processor 782 may process the executable instructions and/or data structures in part by directly accessing the computer program product, for example by reading from a CD-ROM disk inserted into a disk drive peripheral of the computer system 780. Alternatively, the processor 782 may process the executable instructions and/or data structures by remotely accessing the computer program product, for example by downloading the executable instructions and/or data structures from a remote server through the network connectivity devices 792. The computer program product may comprise instructions that promote the loading and/or copying of data, data structures, files, and/or executable instructions to the secondary storage 784, to the ROM 786, to the RAM 788, and/or to other non-volatile memory and volatile memory of the computer system 780.

In some contexts, the secondary storage 784, the ROM 786, and the RAM 788 may be referred to as a non-transitory computer readable medium or a computer readable storage media. A dynamic RAM embodiment of the RAM 788, likewise, may be referred to as a non-transitory computer readable medium in that while the dynamic RAM receives electrical power and is operated in accordance with its design, for example during a period of time during which the computer system 780 is turned on and operational, the dynamic RAM stores information that is written to it. Similarly, the processor 782 may comprise an internal RAM, an internal ROM, a cache memory, and/or other internal non-transitory storage blocks, sections, or components that may be referred to in some contexts as non-transitory computer readable media or computer readable storage media.

Having described various systems and methods herein, specific embodiments can include, but are not limited to:

In a first embodiment, a method of identifying events comprises: obtaining an acoustic signal from a sensor; determining one or more frequency domain features from the acoustic signal, wherein the one or more frequency domain features are obtained across a frequency range of the acoustic signal; providing the one or more frequency domain features as inputs to a plurality of event detection models; and determining the presence of one or more events using the plurality of event detection models, wherein at least two of the plurality of event detection models are different.

A second embodiment can include the method of the first embodiment, wherein the sensor is disposed within a wellbore, wherein the acoustic signal comprises acoustic samples across a portion of a depth of the wellbore.

A third embodiment can include the method of the first or second embodiment, further comprising identifying one or more event locations using the one or more frequency domain features.

A fourth embodiment can include the method of any one of the first to third embodiments, wherein the one or more frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

A fifth embodiment can include the method of any one of the first to fourth embodiments, wherein the one or more events comprise one or more wellbore events, and wherein the one or more wellbore events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

A sixth embodiment can include the method of any one of the first to fifth embodiments, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

A seventh embodiment can include the method of any one of the first to sixth embodiments, further comprising: denoising the acoustic signal prior to determining the one or more frequency domain features.

An eighth embodiment can include the method of the seventh embodiment, wherein denoising the acoustic signal comprises median filtering the acoustic samples.

A ninth embodiment can include the method of any one of the first to eighth embodiments, further comprising: calibrating the acoustic signal.

A tenth embodiment can include the method of any one of the first to ninth embodiments, further comprising: normalizing the one or more frequency domain features prior to determining the presence of the one or more events.

An eleventh embodiment can include the method of any one of the first to tenth embodiments, wherein identifying the one or more events comprises: identifying one or more anomalies in the acoustic signal using the one or more frequency domain features; and selecting depth intervals of the one or more anomalies as event locations.

A twelfth embodiment can include the method of any one of the first to eleventh embodiments, wherein the plurality of event detection models comprises a plurality of logistic regression models, and wherein determining the presence of one or more events using the plurality of event detection models comprises: determining the presence of the one or more events based on the plurality of logistic regression models.

A thirteenth embodiment can include the method of any one of the first to twelfth embodiments, further comprising: determining a remediation procedure based on the presence of the one or more events; and performing the remediation procedure.

In a fourteenth embodiment, a system comprises: a processor; and a memory storing an analysis program, wherein the processor is configured to execute the analysis program to: receive an acoustic signal from a sensor; determine one or more frequency domain features from the acoustic signal, wherein the one or more frequency domain features are obtained across a plurality of intervals along the sensor; provide the one or more frequency domain features as inputs to a plurality of event detection models; and determine the presence of one or more events using the plurality of event detection models, wherein at least two of the plurality of event detection models are different.

A fifteenth embodiment can include the system of the fourteenth embodiment, wherein the processor is further configured to: identify one or more event locations using the one or more frequency domain features.

A sixteenth embodiment can include the system of the fourteenth or fifteenth embodiment, wherein the one or more frequency domain features comprise at least two frequency domain features, and wherein the at least two frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

A seventeenth embodiment can include the system of any one of the fourteenth or sixteenth embodiments, wherein the one or more events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

An eighteenth embodiment can include the system of any one of the fourteenth or sixteenth embodiments, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

A nineteenth embodiment can include the system of any one of the fourteenth or eighteenth embodiments, wherein the processor is further configured to: calibrate the acoustic signal.

A twentieth embodiment can include the system of any one of the fourteenth or nineteenth embodiments, wherein the processor is further configured to: normalize the one or more frequency domain features prior to determining the presence of the one or more events.

A twenty first embodiment can include the system of any one of the fourteenth or twentieth embodiments, wherein the processor is further configured to: identify a background event signature using the acoustic signal; and remove the background event signature from the acoustic signal prior to identifying the one or more events.

A twenty second embodiment can include the system of any one of the fourteenth or twenty first embodiments, wherein the processor is further configured to: identify one or more anomalies in the acoustic signal using the one or more frequency domain features; and select depth intervals of the one or more anomalies as event locations.

A twenty third embodiment can include the system of any one of the fourteenth or twenty second embodiments, wherein the plurality of event detection models comprises a plurality of logistic regression models, and wherein the processor is further configured to: determine the presence of the one or more events based on the plurality of logistic regression models.

A twenty fourth embodiment can include the system of any one of the fourteenth or twenty third embodiments, wherein the processor is further configured to: determine a remediation procedure based on the presence of the one or more events; and perform the remediation procedure.

A twenty fifth embodiment can include the system of any one of the fourteenth or twenty fourth embodiments, wherein the processor is further configured to: determine a confidence level for the determination of the presence of the one or more events; and perform a remediation procedure based on the confidence level.

In a twenty sixth embodiment, a method of determining an output signal using an acoustic signal comprises: determining one or more frequency domain features from an acoustic signal, wherein the one or more frequency domain features are obtained across a plurality of lengths along a path of the sensor; providing the one or more frequency domain features as inputs to a plurality of event detection models; determining an indication of a presence of one or more events using the plurality of event detection models; providing the indication of the presence of the one or more events to a supervisory application; and determining, using the indication of the presence of the one or more events as inputs into the supervisory application, an output signal for a process or system.

A twenty seventh embodiment can include the method of the twenty sixth embodiment, further comprising: identifying one or more event locations using the one or more frequency domain features; and providing the one or more event locations to the supervisory application, wherein determining the output signal comprises using the one or more event locations. A twenty eighth embodiment can include the method of the twenty sixth or twenty seventh embodiment, wherein the one or more frequency domain features are selected from a spectral centroid, a spectral spread, a spectral roll-off, a spectral skewness, a root mean square (RMS) band energy, a total RMS energy, a spectral flatness, a spectral slope, a spectral kurtosis, a spectral flux, a spectral autocorrelation function, or a normalized variant thereof.

A twenty ninth embodiment can include the method of any one of the twenty sixth to twenty eighth embodiments, wherein the one or more events comprise one or more wellbore events, and wherein the one or more wellbore events comprise one or more of: fluid inflow, fluid outflow, fluid phase segregation, fluid flow discrimination within a conduit, well integrity monitoring, in well leak detection, annular fluid flow, overburden monitoring, fluid flow detection behind a casing, fluid induced hydraulic fracture detection in an overburden, sand ingress, or sand flow along a wellbore.

A thirtieth embodiment can include the method of any one of the twenty sixth to twenty ninth embodiments, wherein the one or more events comprise one or more transportation events, security events, facility monitoring events, or pipeline monitoring events.

In a thirty first embodiment, a method of developing an event identification model for a wellbore comprises: performing a plurality of event tests, wherein the plurality of event tests are carried out using a test apparatus to recreate one or more events; obtaining an acoustic signal from a sensor during each event test of the plurality of event tests, wherein the acoustic signal comprises acoustic samples associated with the event using the test apparatus; determining one or more frequency domain features from the acoustic signal for each of the plurality of event tests; and training a plurality of event detection models using the one or more frequency domain features for the plurality of the tests, where a first fluid flow model of the plurality of fluid flow models is different than a second fluid flow model of the plurality of fluid flow models.

A thirty second embodiment can include the method of the thirty first embodiment, further comprising: validating the plurality of event identifications models using the acoustic signals from one or more tests of the plurality of tests.

A thirty third embodiment can include the method of the thirty first or thirty second embodiment, wherein the test apparatus comprises a flow loop, and wherein the event comprises a flowing fluid, and wherein the flowing fluid comprises an aqueous fluid, a hydrocarbon fluid, a gas, or a combination thereof. A thirty fourth embodiment can include the method of the thirty third embodiment, wherein the flowing fluid comprises a liquid phase, a multi-phase mixed liquid, or a liquid-gas mixed phase.

A thirty fifth embodiment can include the method of the thirty first or thirty second embodiment, wherein the test apparatus comprises a plurality of conduits, wherein a first conduit is disposed within a second conduit to form an annulus.

A thirty sixth embodiment can include the method of the thirty first or thirty second embodiment, wherein the test apparatus comprises a test area for security events.

A thirty seventh embodiment can include the method of the thirty first or thirty second embodiment, wherein the test apparatus comprises a one or more items of equipment.

A thirty eighth embodiment can include the method of any one of the thirty first to thirty seventh embodiments, wherein the plurality of the tests used for training the plurality of event identification models is a subset of the plurality of flow tests.

A thirty eighth embodiment can include the method of any one of the thirty first to thirty eighth embodiments, wherein the plurality of event identification models comprises logistic regression models, and wherein training the plurality of f event identification models comprises: providing the one or more frequency domain features to a first logistic regression model of the logistic regression models corresponding to one or more event tests of the plurality of event tests where a first event is present; providing the one or more frequency domain features to the first logistic regression model corresponding to one or more event tests of the plurality of event tests where the first event is not present; and determining a first multivariate model using the one or more frequency domain features as inputs, wherein the first multivariate model defines a relationship between a presence and an absence of the first event.

A fortieth embodiment can include the method of the thirty ninth embodiment, wherein training the plurality of event identification models comprises: providing the one or more frequency domain features to a second logistic regression model of the logistic regression models corresponding to one or more event tests of the plurality of event tests where a second event is present; providing the one or more frequency domain features to the second logistic regression model corresponding to one or more event tests of the plurality of event tests where the second event is not present; and determining a second multivariate model using the one or more frequency domain features as inputs, wherein the second multivariate model defines a relationship between a presence and an absence of the second event.

A forty first embodiment can include the method of the fortieth embodiment, wherein the first multivariate model and the second multivariate model are different.

A forty second embodiment can include the method of the forty first embodiment, further comprising: providing the acoustic signals from one or more of the plurality of event tests to each of the first multivariate model and the second multivariate model; determining a presence or absence of at least one of the first event or the second event based on an output of each of the first multivariate model and the second multivariate model; and validating the plurality of event identification models using at least a portion of the plurality of event tests and the presence of the first event or the second event as determined from the first multivariate model and the second multivariate model.

A forty third embodiment can include the method of the forty second embodiment, further comprising: determining a confidence level based on the validating; and performing a process based on the confidence level.

A forty fourth embodiment can include the method of any one of the thirty first to forty third embodiments, wherein the plurality of event identification models is developed using a supervised learning algorithm.

While various embodiments in accordance with the principles disclosed herein have been shown and described above, modifications thereof may be made by one skilled in the art without departing from the spirit and the teachings of the disclosure. The embodiments described herein are representative only and are not intended to be limiting. Many variations, combinations, and modifications are possible and are within the scope of the disclosure. Alternative embodiments that result from combining, integrating, and/or omitting features of the embodiment(s) are also within the scope of the disclosure. Accordingly, the scope of protection is not limited by the description set out above, but is defined by the claims which follow, that scope including all equivalents of the subject matter of the claims. Each and every claim is incorporated as further disclosure into the specification and the claims are embodiment(s) of the present invention(s). Furthermore, any advantages and features described above may relate to specific embodiments, but shall not limit the application of such issued claims to processes and structures accomplishing any or all of the above advantages or having any or all of the above features. Additionally, the section headings used herein are provided for consistency with the suggestions under 37 C.F.R. 1.77 or to otherwise provide organizational cues. These headings shall not limit or characterize the invention(s) set out in any claims that may issue from this disclosure. Specifically and by way of example, although the headings might refer to a“Field,” the claims should not be limited by the language chosen under this heading to describe the so- called field. Further, a description of a technology in the“Background” is not to be construed as an admission that certain technology is prior art to any invention(s) in this disclosure. Neither is the“Summary” to be considered as a limiting characterization of the invention(s) set forth in issued claims. Furthermore, any reference in this disclosure to“invention” in the singular should not be used to argue that there is only a single point of novelty in this disclosure. Multiple inventions may be set forth according to the limitations of the multiple claims issuing from this disclosure, and such claims accordingly define the invention(s), and their equivalents, that are protected thereby. In all instances, the scope of the claims shall be considered on their own merits in light of this disclosure, but should not be constrained by the headings set forth herein.

Use of broader terms such as comprises, includes, and having should be understood to provide support for narrower terms such as consisting of, consisting essentially of, and comprised substantially of. Use of the term“optionally,”“may,”“might,”“possibly,” and the like with respect to any element of an embodiment means that the element is not required, or alternatively, the element is required, both alternatives being within the scope of the embodiment(s). Also, references to examples are merely provided for illustrative purposes, and are not intended to be exclusive.

While preferred embodiments have been shown and described, modifications thereof can be made by one skilled in the art without departing from the scope or teachings herein. The embodiments described herein are exemplary only and are not limiting. Many variations and modifications of the systems, apparatus, and processes described herein are possible and are within the scope of the disclosure. For example, the relative dimensions of various parts, the materials from which the various parts are made, and other parameters can be varied. Accordingly, the scope of protection is not limited to the embodiments described herein, but is only limited by the claims that follow, the scope of which shall include all equivalents of the subject matter of the claims. Unless expressly stated otherwise, the steps in a method claim may be performed in any order. The recitation of identifiers such as (a), (b), (c) or (1), (2), (3) before steps in a method claim are not intended to and do not specify a particular order to the steps, but rather are used to simplify subsequent reference to such steps.

Also, techniques, systems, subsystems, and methods described and illustrated in the various embodiments as discrete or separate may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or discussed as directly coupled or communicating with each other may be indirectly coupled or communicating through some interface, device, or intermediate component, whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and alterations are ascertainable by one skilled in the art and could be made without departing from the spirit and scope disclosed herein.