Flow Regime Identification of Multiphase Flows by Face Recognition and Bayesian Classification

The system employs ultrasonic transceivers and data processing to accurately identify and characterize three-phase multiphase flows by organizing fluid-energy transfer metrics into data matrices and applying symmetry and virtual classification, addressing the limitations of traditional tomography in complex flow conditions.

SA516371895B1Undetermined Publication Date: 2020-10-28SAUDI ARABIAN OIL CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA516371895
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2016-09-25
Publication Date
2020-10-28
Estimated Expiration
2035-03-19

AI Technical Summary

Technical Problem

Existing methods struggle to accurately identify and characterize three-phase multiphase flows of oil, water, and gas in conduits due to complex reflections and turbulence caused by high levels of free gas, which hinder traditional tomographic reconstruction techniques.

Method used

A system utilizing an array of ultrasonic transceivers around the conduit perimeter to transmit and receive energy, coupled with data processing to form flow system signals, organize fluid-energy transfer metrics into data matrices, and determine flow regimes through symmetry metrics and virtual classification techniques.

Benefits of technology

Enables precise identification of multiphase flow regimes by enriching data processing with machine learning and virtual classification, overcoming the limitations of traditional tomography in complex flow conditions, particularly in wet gas or bubbly flows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0073065A-F01D-4381-9410-5F580329A04E
    Figure 0073065A-F01D-4381-9410-5F580329A04E
  • Figure 01A2A199-710F-4BBA-BB82-A11DB5626B46
    Figure 01A2A199-710F-4BBA-BB82-A11DB5626B46
  • Figure 1C9C8E42-93D9-4479-A2D7-0C85286921A3
    Figure 1C9C8E42-93D9-4479-A2D7-0C85286921A3
Patent Text Reader

Abstract

Multiphase flow regimes in downhole or surface flow lines are made identifiable by forming images of the flow based on data obtained by flow regime metering of the flow. The flow regime metering data are gathered and processed in a format in which it can be subjected to face recognition processing of the type used for recognition of the faces of persons, and also to Bayesian classification techniques. Identification capabilities are particularly enhanced in flow regimes where gas bubbles or large amounts of free gas cause clutter and multiple reflections in the metering data. Fig. 1
Need to check novelty before this filing date? Find Prior Art

Description

Full description Background of the invention The present invention relates to the depiction of multiphase flow in conduits, and more specifically to the identification of a flow regime by way of virtual differentiation and virtual classification of multiphase flows of oil, water (brine) and gas in flow conduits. Fluid flow imaging tends to focus on two-phase imaging. The technique commonly used to reconstruct two-phase flows relies on what is known as the filtered back projection algorithm. This type of flow reconstruction is described, for example, by Kak, Avinash C., and Slaney, Malcolm, “Principles of Computerized Fluid Transit Imaging,” IEEE Press, New York, USA (1988), and Murrell, H., “Computer-Aided Tomography,” The Mathematical J. V6 (1996), pp. 60–65. However, due to the nature of the fluids involved in oil and gas production, it is essential to model three-phase flows in the channels used during hydrocarbon production. Because of the different fluid properties of water (brine), oil, and gas, it is difficult to process all three fluid combinations simultaneously. In the case of oil-water or water-oil multiphase flows, a medium is used. In the case of liquid-gas or gas-liquid flows (where the liquid is the brine, oil, or both), attenuation methods are employed. As is known, however, no method provides a completely satisfactory identification or characterization of a three-phase multiphase flow cross-section. One type of flow system is characterized by the presence of high levels of free gas within the duct system, where precise identification is at least minimal. These levels of free gas cause multiple reflections. While tomography generally relies on transmission, more complex reflections can result from the presence of gas bubbles or large quantities of free gas, leading to turbulence and complex reflections that hinder the identification of a flow system based on tomographic reconstruction. Flow system identification in duct systems is also challenging due to other measurement conditions, such as wet gas or saturated flow into which bubbles have been pumped. General description of the invention In summary, the present invention provides a new and improved device for determining the flow systems of multiphase flow in a channel. The device comprises an array of ultrasonic transceivers mounted around the perimeter of the channel to transmit and receive energy for transmission through the fluid in the channel. The array of transceivers mounted around the perimeter of the channel also receives the energy after transmission through the fluid in the channel. The device includes a data processing system that forms the flow system signals for the multiphase flow in the channel. The data processing system's memory stores a database of flow system data in the form of data matrices representing the test flow conditions in the channels for the set of test flow systems in the channel. The data processing system also includes a processor that forms fluid-energy transfer data metrics between individual transceivers and the rest of the transceiver array as a result of transmission through the fluid in the channel.The processor also organizes fluid flow data metrics into representative data matrices that represent the actual flow conditions in the channel. It then establishes a symmetry metric between the actual flow conditions data in the actual data matrix and individual matrices from the set of data matrices representing the test flow conditions in the channels for a set of test flow systems. Based on the established symmetry metrics, the processor determines the flow system for the actual flow conditions in the channel. A data processing display presents the selected flow system for the actual flow conditions for evaluation and analysis. The present invention also provides a new and improved data processing system for determining the flow regimes of a multiphase fluid flow in a channel, based on the energy transfer through the fluid from a transmitter-receiver to a set of transmitters-receivers around the perimeter of the channel, and then to a set of transmitters-receivers for the set of receivers. The data processing system's memory stores a database of flow regime data as a set of data matrices representing the test flow conditions in the channels for a set of test flow regimes in the channel. The data processing system also includes a processor that forms fluid energy transfer data metrics between individual transmitters-receivers and the rest of the transmitter-receiver set as a result of the transfer through the fluid in the channel. The processor further organizes the fluid transfer data metrics into an actual data matrix representing the actual flow conditions in the channel.The processor also establishes a symmetry metric between the data in the actual flow conditions of the actual data matrix and a single set of data matrices representing the test flow conditions in the channels for a set of test flow systems. Based on these established symmetry metrics, the processor determines a flow system for the actual flow conditions in the channel. The data processing system presentation provides a defined flow system for actual flow conditions for evaluation and analysis. The present invention also provides a new and improved computer-implemented method for creating flow system images of a three-phase flow in a channel based on the transfer of energy through the fluid in a channel from a transmitter to a set of transmitter-receiver devices that have been installed around the perimeter of the channel to a set of receivers in a set of transmitter-receiver devices. A flow system data database is stored as a set of data matrices representing the test flow conditions in the channels for a group of test flow systems. Fluid-energy transfer data metrics are constructed between individual transceivers and the rest of the transceiver array as a result of the fluid transfer within the channel. These fluid transfer data metrics are organized into an actual data matrix that functions as the actual flow conditions in the channel. A symmetry metric is constructed between the data in the actual flow conditions within the actual data matrix and an individual matrix of the set of data matrices representing the test flow conditions in the channels for a group of test flow systems. The flow system for the actual flow conditions in the channel is determined based on the symmetry metrics constructed, and this determined flow system is presented for evaluation and analysis. The present invention also provides a new and improved means of storing data stored in computer-operable instructions for a non-transitional computer-readable medium to cause a data processing system to form images of a three-phase flow system in a channel based on energy transfer through the fluid in a channel from a transmitter to a set of transmitter-receiver devices installed around the perimeter of the channel to a set of receivers in a set of transmitter-receiver devices. Instructions stored in a data storage medium cause the data processing system to store a database of flow system data in the form of a set of data matrices that represent the test flow conditions in the channels allocated to a set of test flow systems in the channel. The instructions cause the data processing system to construct metrics for the energy-fluid transfer data between individual transceivers and the rest of a group of transceivers as a result of the transfer through the fluid in the channel, and to organize these fluid transfer data metrics into an actual data matrix representing the actual flow conditions in the channel. The instructions stored in the data storage medium cause the data processing system to construct a metric of symmetry between the data in the actual flow conditions in the actual data matrix and an individual set of data matrices representing the test flow conditions in the channels for a group of test flow systems. Instructions stored in the data storage medium cause the data processing system to determine the flow regime for the actual flow conditions in the channel based on the symmetry metrics that have been formed, and present the determined flow regime for the actual flow conditions for evaluation and analysis. Brief explanation of the drawings Figure 1 is a stereoscopic view, and partly in the form of a schematic, of an ultrasound imaging system installed using a channel in accordance with the present invention. Figure 2 is a vertical cross-sectional view of fluid flow through the ultrasound imaging system from Figure 1. Figure 3 is a schematic diagram of the data acquisition sequence in the ultrasound imaging system from Figure 1. Figures 4A and 4B are diagrams illustrating the flow phases of two multiphase flow systems constructed according to the present invention. Figure 5 is a functional framework diagram of a set of steps that were carried out according to the present invention in the preprocessing of the flow system data for processing according to the processing from Figure 8. Figures 6A and 6B are diagrams illustrating the flow system data present during processing according to Figure 5. Figure 7 is a functional framework diagram of a set of steps performed in accordance with the present invention when creating a database of flow profiles representing multiphase fluid flow systems during the processing schematically shown in Figure 8. Figure 8 is a functional framework diagram of a set of steps performed when acquiring flow system data for multiphase flow imaging performed in accordance with the present invention. Figure 9 is a schematic diagram of a data processing system for determining the flow system of multiphase flows by virtual discrimination and virtual classification according to the present invention. Detailed description: Flow System Data Acquisition: According to the present invention, fluid flow data are acquired through ultrasonic measurements using the data acquisition method for tomographic reconstruction, pursuant to the U.S. patent application No. 14 / 595689, which has fallen into public domain and is not yet decided. The present invention then organizes the acquired fluid flow data measurements into virtual discrimination data processing. Subsequently, the present invention employs machine learning and virtual classification techniques on this data. Thus, the present invention utilizes the complete dataset, unlike tomographic reconstruction. There is an enrichment of the received data in complex flow reflections in a liquid-gas that hinders the performance of tomographic remodeling. Using the present invention, the behavior and patterns of complex flow data are useful for determining the precise flow regime. Referring to Figure 1, a measurement system for the ultrasonic flow system "T" is illustrated for data acquisition from device "A" according to the present invention for determining the flow system of a three-phase fluid flow in a channel "C". Device "A" also incorporates a data processing system "D" (Figure 9) and a method (Figures 5, 7, and 8) that provides flow system determination for multiphase mixtures, as will be described below. In this preferred model, the three phases represent oil, water (brine), and gas based on measurements from the flow system "T". The flow system "T" of the present invention takes the form of an array "U" of 20 ultrasonic transceivers that transmit ultrasonic energy for propagation through the flow channel "C," such as a set of production tubing in a wellbore or other pipe through which multiphase flow occurs or can occur. It should be understood that other channels, whether downhole or at the surface, through which three-phase fluid flow (water (or brine), oil, and gas) is measured, can be used to determine the flow system from the flow system data acquired according to the present invention. The standard design for measuring the ultrasonic flow system is considered as shown in Figure 2. The measurement system “T” in Figure 2 shows an array of “N” transducers positioned in a circular array “U” evenly spaced around the outside of a pipe or production pipe set 24 of the flow channel “C” which has a multiphase flow pattern potentially containing a continuous oil phase 30, a gas phase 32, or a water phase 34. The precise design of the multiphase flow could vary for a different quantum distribution that deviates from that shown in Figure 1, but it is used here for illustrative purposes. During measurement, each of the “N” sensors is pulsed in turn, and the signals from the remaining sensors (N-1) are monitored for a time period from the start of the pulse until the sound field within the pipe ceases. For a 3” diameter pipe using transducers operating at 330 kHz, this time scale is 200 microseconds. Energy transfer through the fluids in channel "C" occurs through the network of transmission channels schematically marked at 22. This results in a series of transmission paths N(N-1)22, which can be visualized similarly to the arrangement of pipe chains formed when playing a cat's cradle game. The fluid properties along an individual channel of the 22 transmission channels can be measured as a line passing from transmitter 20 to receiver 20. Transmitter-receivers 20 are installed in channel "C," i.e., along the length of the production pipe set 24. Transmitter-receiver 20 is acoustically close coupled to the multiphase flow schematically marked by arrows 26, which passes through pipe set 24. In general, there are 20 transceivers, designated "N" (N-20). Figure 3 illustrates sixteen as an example, using all the ones numbered from 20A to 20P, respectively. For the measurement, a single transducer, such as the one indicated at sensor 20A in Figure 2, is chosen as the demonstration emission source. The remaining sensors (20B to 20P, respectively) are chosen as the receivers. In the demonstration model of the present invention, the 20 transceivers at each position 20A to 20P, as illustrated in Figure 2, are 333 kHz ultrasonic transducers manufactured by Pro-Wave in Taiwan. The pulse produces a burst of ultrasonic energy that propagates outward from the transceiver 20A. For each receiver 20B to 20P, the arrival time and attenuation can be measured as fluid transfer data and transmitted to the data processing system "D" (Figure 9) for storage and sequential processing, as will be described. It should be noted that non-uniform correction is required for attenuation measurement because the gain from each sensor, A to Z, can be different. This non-uniform correction can be calculated initially for the flow system's data acquisition before diffusion within a known homogeneous fluid, such as distilled water in a test tube or container. Figure 2 illustrates N-1 transmission paths produced from a 20A transmitter. In bubble-pumping or gas-filled environments, multiple reflections or refractions of acoustic waves can produce complex and multiple transmission paths from transmitter to receiver. In Figure 2, if there is an even number of "n" transmitters / receivers, the angle α between adjacent paths (e.g., i-a-h) increases proportionally until α = π / N, a radial angle. Taking the line a-i as the reference angle 0 (regardless of the angular orientation of the source), the ultrasonic transmission data in the form of transmission time and attenuation measurements yield a set of N-1 measurements with the following angles measured relative to the 0° angle, which represents a central measurement that is a diagonal line through the tube. Equation (1) applies only to even values ​​of "in". Odd values ​​are directly calculated, but they cannot generally be taken into account when measuring because they do not provide a straight transverse measurement using Γ = zero. For each of the transceivers "N" (there are N-1 measurements of the transceiver voltage received as a function of time which can be, for example, between 200 and 2000 or more voltage measurements within a time frame of 0-500 microseconds for a 3" tube of a flow channel system. The time related to the start of the pulse on the transceiver is measured, for example, 20A. The transmitted pulse is typically a square voltage pulse of 10-100 V with a duration of half the excitation frequency duration of the transceivers - in the case of means used 330 kHz, the pulse duration is 1-2 microseconds). The number of samples in each timescale measurement is determined by the number 'S', representing the number of samples per channel, which can range, for example, from approximately 200 to approximately 5000. Measurements are taken on longer timescales, such as those that allow for multiple paths of ultrasonic waves through a multiphase medium and permit further differentiation. The acquisition of ultrasonic flow transmission data by the 'U' group, as described above, is schematically indicated at step 30 in the 'F' flowchart (Figure 8), which illustrates the processing of the flow system determination according to this present invention. For single-pulse measurement, a matrix with dimensions n-1 × s is defined, where each row of the matrix represents an individual value of Γ in descending order, and each column of the matrix represents an individual time-sample point in one of the n-1 channels sampled. This matrix is ​​defined as follows: Each pulse, relative to a different transmitter / receiver, produces a new value of M(m). To combine the data, two options can be implemented according to the present invention: Option (1): The sequence or association together in the form of a set of to form an N-12 x S matrix that has been identified as M'. Option (2): Conduct the evaluation: . Regardless of whether choice (1) or choice (2) is used, the same angular offset is employed. The advantage of choice (1) is that it avoids ignoring or disregarding data, allowing for better downstream classification, but at the cost of increased processing power due to larger arrays. The advantage of choice (2) is that smaller datasets require less computation, and averaging can mitigate some signal noise. However, some flow system information is discarded during the averaging process. According to the present invention, it has been shown that flow system data obtained from ultrasonic flow system measurements using the U-group, organized into either M' and M' matrices and processed according to the method described below, represent what can be identified as "flow faces." The tests have the values ​​obtained for M' in the water-air flow loop and indicate the ability to visually differentiate between bubble flow and continuous water flow when presented as representing these "flow faces." These are illustrated in Figures 4a and 4b. Figure 4a shows an image of M' values ​​formed according to the present invention for continuous water flow using an N = 16 channel ultrasonic group for measurements. Figure 4b shows an image of M' values ​​formed using the same ultrasonic group for continuous dispersed bubble flow. It is clear from Figures 4a and 4b that differentiation by flow regime is possible by visual examination of these images. In Figure 4a, a clearly defined crescent shape is observed, indicating transmission through a homogeneous liquid medium at the speed of sound. The expansion or contraction of the crescent along the x-axis indicates an increase or decrease in the medium's sound speed. A brightening or darkening of the crescent's intensity will indicate a corresponding decrease or increase in the medium's attenuation, as it represents an unmeasured signal. The presence of transmission degradation or noise in the medium, as illustrated in Figure 4b, indicates the presence of reflective components, such as bubbles in the medium. In simpler terms, the search for contrast can be related to either a local or global x-axis extension or crescent deviation, the presence of signal dimming or brightening, or the presence of reflective noise, such as variations in the speed of sound, attenuation, or reflective sources. Searching for different multiphase flow patterns, for example, the presence of bubble gas flow, will result in multiple reflection sources that produce noise on the signal, as shown in Figure 4b. For example, a multiphase liquid scenario, such as oil and water, will result in expansion and contraction across the crescent shape without adding noise (clutter). Using the present invention, the advantage of organizing data in this way is that images can be directly fed into methods using image processing and discrimination techniques of the type used to identify human faces, and virtual classification techniques to place the images into categories between which the probability of a statistically significant classification error is minimized. Once processed using the data processing system “D” (Figure 9) in this way, the flow system of the pipe or channel “C” becomes identifiable as a result of its comparability to flow systems for known characteristics determined by adapting the test loop conditions and sharing them as a flow system database. Data processing: A comprehensive method for determining the flow system according to the present invention is illustrated using ultrasonic measurement data obtained from the flow channels using the measurement system “T”, schematically in the flow diagram “F” (Figure 4). The Flowchart (F) illustrates the logic structure of the present invention as embodied in the computer program. Those skilled in this field will recognize that flowcharts illustrate the structures of computer program code elements, including logic channels on the integrated circuit, that operate according to the present invention. Specifically, the invention is implemented in its basic form using a machine component that renders the program code elements into a format that represents a digital processing device (i.e., a computer) to perform the data transformation sequence or processing steps corresponding to those described. To obtain fluid transfer data (whether in creating a flow system database or under known flow system conditions) in a format acceptable for computer processing in the data processing system "D" (Figure 9), it is preferable to perform the initial signal processing and measurement in a Signal Processing Module 40 (Figure 5). Figure 6a shows the illustrative raw fluid transfer data from a single-channel measurement of the "U" group before processing, and Figure 6b shows this data after processing in a Signal Processing Module 40. In a signal processing module 40, a series of steps is performed as schematically indicated in Figure 5. The processing performed in the signal processing module 40 can be implemented, for example, in a device using an FPGA (or a field programmable gate array). As indicated in step 42, multicollision FFT filtering is performed on the channel fluid transmission data to remove DC or DC offset, low-frequency atrophy, and interference signals. As indicated in step 44, a demodulation filter is used to pass low frequencies over the filtered data resulting from step 42 to provide a cascade response for high-frequency modulations, compared to inset amplitude demodulation or an AM radio signal. As indicated at 46, the spectrum resulting from the de-embedding filtering in step 44 and the peak amplitude or maximum amplitude set equal to 1 is measured using lower amplitudes measured proportionally as the fractional value of the peak amplitude. After processing in module 40, the fluid transfer data is prepared as an array so that the raw flow system data are available as flow faces in the M' or M' arrays for further processing when processing the D data according to the present invention, as schematically illustrated in Figure 7. During this processing, as will be explained, the flow face data in the M' or M' arrays are prepared for image selection processing. The flow face data is considered to represent an image in the form of an image or an image quantity. Accordingly, the flow system data in each of the matrices M' or M' for each face or flow image represents a coherent set of flow images, for n = 1, 2, ..., "M". The average or average flow face image is represented as: = Each image flow in the arrays also has what is called an image that represents the distance of that image from the mean that was determined as follows: = - . Further details regarding the determination of image magnitudes, averages or median values, and images, for example, are explained in Sirovich et al., “Low-dimensional procedure for the characterization of human faces”, Journal of the Optical Society of America, Vol. 4, p. 519 – 524, March, 1987. Subsequently, the flow image data can be optimally processed by what are known as Eigen flow faces according to the present invention. Constructing a Database of Flowfaces Representing Flow Conditions: For the determination of a flow system by image characterization according to the present invention, a coherent set of parts for a flow system or a database of representative flowfaces is first constructed as referred to in 70. Using the present invention, the characterization of the flow system is based on data obtained in a flow loop other than a well, since it is easy to construct different model flow systems. The flow loop data should be generated and obtained with the understanding that the model flow systems should represent the flow systems within a well. The well or field behavior can be modeled on the flow loop behavior by carefully considering the following physical properties or factors relating to the three fluid phases: (a) Maximum and minimum oil flow rates; (b) Maximum and minimum flow rates of water or brine; (c) Maximum and minimum gas flow rates; (d) Viscosity and density of the oil; (e) Viscosity and density of water or salt solution; (and) viscosity and density of gas; (g) For the resulting mixture viscosities and densities that utilize appropriate mixture correlations. Figure 7 in the flowchart 70 illustrates the sequence of computer-executed instructions performed in the data processing system "D" to compile the database of representative flow face examples used to define the flow system, as shown in Figure 8. During step 72, quantities are determined based on the physical properties of the fluid phases described above. From these properties, the range of Reynolds numbers is also determined during step 72 for different flow designs, taking into account the oil, water, and gas fractions. In step 74, the test matrix is ​​defined, and the flow rates of oil, water, and gas are determined accordingly; the Reynolds number for each is then noted. During step 75, the physical properties of each point in the test matrix are determined, along with the corresponding mixtures of oil, water, and gas flow in the flow loop, and the total flow measured until the correct Reynolds number is achieved. Step 76 involves defining the test matrix for the flow loop and adjusting the various flows accordingly. The number of Reynolds and phase segments corresponds to the test matrix defined for the well. During step 78, the M'OM measurement is generated for each point in the test matrix, ideally considering transitions through the test matrix in various directions and, if possible, randomly, to avoid systemic lag effects. Upon completion of step 78, a coherent set of segments, or a database of M'OM measurements, representing the multiphase flow conditions in a given well is generated. The average face of the flow is now determined in the manner described above, using the following relationship and taking "m" as an example: . Where there is a total of individual flow loop measurements "Q" and the coefficient "Q" represents the qth measurement of Q = 1 to "Q". The flow image matrices, "C", (representing deviations from the mean) are now determined using the following relationship: . Thus, a dataset of flow images is compiled and stored on a flow system database image and is available to identify flow faces during step 82 of the flow faces for flow systems. Defining Flowfaces: Assuming 'm' represents the data matrix being processed, the dimensions of the flowface matrix are S × (n-1). Taking each row and its sequence or association as a set, each vector can be considered to be in a two-dimensional space S(n-1), which, using the present invention, is called the flowspace. According to the present invention, the Flowfaces are defined on the Flowface image formed during step 82 of the flowface image data. The Flowfaces correspond to the Flowface values ​​when the matrix is ​​processed and represent the flowface data organized within the matrix image described here. The Flowfaces represent a set of orthogonal basis vectors in the flowspace that can be added linearly to construct any flowface image. Thus, the present invention provides a data flow arrangement similar to the inputs of known virtualization techniques. This can be achieved, for example, by using one of the processing methods described, for instance, in L. Sirovich and M. Kirby, “Low-dimensional procedure for the characterization of human faces,” J. Opt. Soc. Am A, 4 (1987), pp. 519–524, cited previously; M. Turk and A. Pentland, “Eigenfaces for Recognition,” J. Cog. Neuroscience, 3(1) (1991), pp. 71–86; or M. Turk and A. Pentland, “Face Recognition Using Eigenfaces,” Proc. IEEE Conf. on Comp. Vision and Patt. Recog., (1991), pp. 586–591. It should be understood that other data processing techniques can also be used for image recognition. The flow data configuration during step 82, as described, produces the first Eigen interface vector such that the square of the Euclidean IR between the Eigen interface vector and the sum of all values ​​of q, measured using a factor of 1 / Q, yields the maximum numerical value. For example, the Optical Society of Americas, in an article by Sirovich cited earlier, provides a description of how this method can be used to sequentially determine each of the Eigen flow faces (Eigen faces). Once the Eigen flow faces are identified during step 82, each of the flow faces is processed during step 84 to determine a set of Eigen values ​​that can be used to minimize the error between the approximation of the flow face and the flow face itself. The Eigen values ​​formed during step 84 according to the present invention are referred to as Eigen flow images. Eigen values ​​represent compressed types in the form of a set of numerical quantities that represent characteristic values ​​of the Eigen flow faces in matrices. The processing in step 84 employs a suitable minimization algorithm, such as the one described in “Numerical Recipes in C: The Art of Scientific Computing”, Cambridge University Press, 2nd Edition (1992), WH Press, SA Teukolsky, WT Vetterling, BP Flannery. During this minimization, a matrix is ​​subtracted between the approximate and true images to produce a difference matrix. Each element of the difference matrix is ​​squared, and all elements are summed to provide a numerical value that increases as the two images become significantly different. A sum of zero on this quantity indicates an identical image. The magnitude of the error is denoted as “e”. During the minimization process in step 84, processing begins for the first Eigen flow face only. Using the minimization process described above, the lowest value of the error magnitude 'E' is searched for where the Eigen value varies. A second Eigen flow face is then added and included to be subjected to cumulative minimization, searching for the lowest value of the error magnitude 'E' where the first two Eigen values ​​vary in two dimensional spaces. Minimization is repeated over a k number of these processing steps for k Eigen flow faces, and another Eigen flow face is added to those faces subjected to the minimization process described above. During each k step for k Eigen flow faces, the lowest value of the error magnitude 'E' is searched for where the first k Eigen values ​​vary in a k-dimensional space. The required number of flow faces depends on the variability of the flow systems being examined. Based on preliminary analyses and studies, a "k" number of approximately 10 steps is expected to provide a reasonable approximation of the final flow face. An important feature arising from Eigen values ​​offers potential advantages for telemetry. Using the Eigen value method of the present invention, and employing the expected number 'ki' for approximately 10 steps of minimization, it becomes possible to take a dataset of (n-1)s points, each using an 8-bit representation, and compress it to 10 real numbers. In terms of data compression for a 16-channel system using 1000 samples per channel and an 8-bit data point representation, this equates to a memory space of up to 120,000 bits to represent the flow (approximately 117 kilobits). Using the Igen value method described here, the mode of the same multiphase flow can be represented at 320 bits using a single-resolution freepoint representation (approximately 0.3 kbps). This means that the data is compressed using a factor of 400 or less without significant loss of information. Specifically, these data compression techniques, independent of a virtual classification method, could be particularly useful for low-cross-range telemetry in open-hole wells to transmit detailed information about the flow mode. Flowspace Representation: Based on the definition of the Eigen flow parameters during step 84, which are specific to the scope of the test matrix defined in step 74, the present invention provides the ability to represent, during step 86, multiphase flow data based on Eigen values ​​alone in the dimensional flowspace "K". The representations are provided by renderings constructed using the "D" data processing system. Based on the results obtained during testing, such as those shown in Figures 4a and 4b, it is evident that the flow measurement data sets are grouped together according to the different types of flow systems being measured. Thus, qualitatively different flow designs are expected, with varying rates for each phase. Research on multiphase flow indicates this to be the case. See, for example, CE Brennen, “Fundamentals of Multiphase Flows”, Cambridge University Press (2005). Due to the expected grouping, a virtual learning technique can now be used during step 88 of the current invention to help classify the different flow system scenarios. Virtual classification of flow rates or flow systems: Virtual classification is a well-established computer processing technique. Representative descriptions of virtual classification are provided, for example, in “A Noise Tolerant Fine Tuning Algorithm for the Naïve Bayesian Learning Algorithm”, Journal of King Saud Univ. – Comp. and Inf. Sci. 26, (2014) pp. 237–246, K. El Hindi; and “Pattern Recognition and Machine Learning”, Springer, Berlin, (2006), CM Bishop. According to the present invention, virtual classification is used during step 88 to classify systems based on a specific flow phenomenon. This is done so that images of the flow system are more readily available and accessible for examination and analysis. According to the present invention, virtual classification of flow system data is performed based on any of the flow rates of the flow systems. These two methods appear suitable for a multiphase measurement system used on well scenarios. It should be understood that virtual classification is also performed based on another flow phenomenon. As a function of oil, water, and gas flows, a multiphase flow system is known to exhibit different flow patterns. This is described, for example, in Brennen's paper, "Fundamentals of Multiphase Flows," mentioned earlier. In simple terms, Figures 3a and 3b demonstrate how the qualitative differences between liquid flow and bubble flow are visually apparent. When a flow system database is initially created using the flow loop test conditions described above, a test array is designed during step 74, which generates a dataset stored in the flow system database. This stored flow system is then used during data processing to determine the flow system obtained in the flow channels of interest using unknown flow systems. For each of the obtained datasets, the present invention allows the flow system from the flow channels to be examined individually. Using the present invention, the test matrix of flow system identification data stored in the flow system database is representative of known flow systems. This data is used as preprobability for known flow systems, which in turn serves as preprobability and distribution for flow faces. The preprobability represents what is known as a class pattern for a virtual classification. The preprobability is used to establish predicted groups, in a process known as "put in a box," for similar ranges of flow system types. Subsequently, a virtual classification is performed during step 88 on the flow system data from the unknown flow systems obtained by the U-transformer matrix. As described above, the present invention provides the ability to represent flow data from an ultrasonic array in a low-dimensional set of "ki" variables that can be used to define the flow. Once the data is plotted in some way, it becomes possible to perform a virtual classification on the measurements. Classification vs. Flow System: Considering a default classification method, data from each flow system produces a subset of "ki" dimensionality vectors in the flow space. For each flow system, each is placed in a box together, and default instruction is used during step 88. A default classification from step 88 produces confidence levels for the outputs based on the measured data, considering the probability that the flow is in a specific flow system. Thus, a default classification is used to provide a basis for analyzing and determining, during step 88, whether it is appropriate to use the flow system identification performed during step 88 or whether further processing should be carried out to identify a different flow system, such as a reflection tomography of the type described in a previously identified pending application with serial number 14 / 595689. Reflection tomography might be appropriate, for example, with respect to a wet gas flow system. Classification versus flow rate: The present invention also relates to a hypothetical classification versus flow rate during step 88. In doing so, care is taken to measure loop flow results using Reynolds numbers other than absolute flow. This is done so that the loop flow results are plotted against the wellbore flow positions. Classification based on flow rate is comparable to classification based on flow system. However, instead of being categorized based on the flow system, classification is based on increasing flow rate, whether overall or considering individual phases. For example, the specific flow values ​​in the total number of quantitative steps could be equal to Joil, Jwater, Jgas, which could result in a total number of "R"s for the position in the boxes: Thus, virtual learning occurs, and the processing output provides a confidence level or probability for each value of (Joil, Jwater, Jgas) that can be represented as a point in a three-dimensional space. The processing output of this virtual classification can then be further refined according to the flow rate, either linearly, bilinearly, or through other methods involving quantitative values ​​to form a probability field in a three-dimensional space. The maximum probability value provides an estimate of the flow of oil, water, and gas. This processing also results in a flow measurement based on the U-array of ultrasonic transceivers, as described above in Figure 1. The defined flow system, as determined during processing step 88 for a default classification, is then stored as an actual flow system during step 90 in the data processing system's memory (D). The defined flow system and data are also available for viewing and evaluation by engineers and analysts. Data processing system: As illustrated in Figure 9, the data processing system "D" in accordance with the present invention comprises a 100 computer with a 102 processor and 104 memory coupled to the 102 processor to store operating instructions, control information, and database records. The 100 computer may, at will, be a Linux distribution, such as those available from HP or another source; a multi-core processor with nodes, such as those available from IBM, Intel, or Advanced Micro Devices (AMD); or a mainframe computer of any conventional type with suitable processing power, such as those available from IBM or another source. It should be noted that other digital processors can be used, such as personal computers in the form of a PC, laptop, or other suitable programmable or programmed digital data processing devices. The computer 100 has an interface for a user 106 and an output display 108 to display output data or records according to the present invention to form a flow system image for multiphase flow in channels based on flow system data from U- or M-switch arrays. The output display 108 includes components, such as a printer and an output display screen, capable of providing printed output information or visual presentations in the form of graphs, data sheets, charts, data diagrams, and the like as output records or images. The user interface 106 for computer 100 also includes a suitable user input device or I / O controller 110 to provide a user with access to control or access information and database records and to operate computer 100. The I / O controller 110 can also receive data flow measurements obtained during data acquisition in the manner described above. The data processing system "D" also includes a database 112 stored in memory, which can be internal memory 104, or external networked or non-networked memory, as indicated at 114 in the accompanying database service device 116. As noted above, database 112 also includes the test flow system database that was formed during the processing sequence 70, as illustrated in Figure 7. The data processing system “D” includes program code 118 stored in non-transitory memory 104 of computer 100. The program code 118, according to the present invention, is in the form of computer-executable instructions that cause the data processor 102 to form the flow system images for multiphase flow in channels, as described above. It should be noted that Program Code 118 can be in the form of microcode, programs, traditional systems, or computer-operable symbolic languages ​​that provide a specific set of structured operations controlling the functional aspect of the data processing system (D) and directing its operation. Program Code 118 instructions can be stored in a non-transitory form in the memory of a computer (104), or on a computer diskette, magnetic tape, conventional hard disk drive, electronic read-only memory, optical storage device, or other appropriate data storage device with a non-transitory computer-usable medium on which it is stored. Program Code 118 can also be included on a data storage device, such as a server (114), on a non-transitory computer-readable medium, as described. From the above, it can be seen that multiphase flow measurements using ultrasound tomography can be accurate even when there are high levels of free gas within the system, which can cause multiple reflections. Since tomography generally relies on transmission, unlike more complex reflections, the presence of liquid gas bubbles or large quantities of free gas can produce a range of reflections that can interfere with the reconstruction algorithms for direct tomography. Using the present invention, the data obtained from tomographic measurements are organized in a way that allows them to be fed into virtual discrimination algorithms that utilize machine learning and virtual classification techniques. With this invention, all data within the measurement are used as corresponding only to segments that can be used for tomographic reconstruction. The enrichment of received data in complex flow reflections in liquid-gas flows hinders the performance of regular tomographic reconstruction algorithms, but this behavior is made advantageous with the present invention. The present invention provides enhanced performance over existing tomography techniques. This is particularly true in wet gas or bubbly flow regimes. The present invention can also be beneficial to existing systems by helping to determine the type of flow reconstruction processing used. The present invention is sufficiently described so that an average person with knowledge in this respect can reproduce it and obtain the results described herein. However, any person skilled in the technology that is the subject of the present invention could perform modifications not described herein to a specific structure, or to a manufacturing process thereof, which require the subject matter to be protected by the following elements of protection. Such structures should be covered within the scope of the present invention. It should be noted and understood that improvements and modifications are made in accordance with the present invention described in detail above without straying from the scope or substance of the present invention as described in the accompanying protection elements.

Claims

Protection Elements 1 - A device for determining the flow system of a three-phase flow of oil, water, and gas based on ultrasonic energy pulses received by an array of transceivers after transmission through the three-phase flow in the conduit. This device includes: an array of ultrasonic transceivers installed in a matrix around the periphery of the conduit; an array of ultrasonic transceivers that are individually operable to transmit ultrasonic energy to a transducer for transmission through the fluid in the conduit; an array of ultrasonic transceivers installed in the matrix around the periphery of the conduit that, when not transmitting, are operable to receive energy in the form of ultrasonic energy pulses after transmission through the fluid in the conduit from the transducer; and a data processing system.An operable system for determining the flow regime of a three-phase flow of oil, water, and gas in a conduit, comprising: (1) memory containing a database of three-phase flow regime data for oil, water, and gas as a set of data matrices representing known test flow regimes for a range of test flow regimes in the conduit; (2) memory also containing stored program instructions to control the operation of a data processing system for determining the flow regime of the three-phase flow in the conduit; (3) an operable signal processing module to perform initial signal processing and formatting of received ultrasonic energy pulses; and (4) an operable processor, under the control of stored program instructions, to model attenuation measurements and transmission periods of received ultrasonic energy pulses between an individual set of transmitters and receivers.The remaining transceivers are as a result of the fluid transition in the channel; (5) the processor is also operable under stored program instruction to structure the attenuation and transmission periods of the ultrasonic energy pulses received in actual data matrices representing the actual oil, water, and gas flow regimes in the channel; (6) the processor is also operable under stored program instruction to structure symmetry measurements between the structured structured measurements in the actual data matrices and the individual sets of data matrices representing the known test flow regimes for the oil, water, and gas of the test flow regimes; (7) the processor is also operable under stored program instruction to determine the flow regime for the actual three-phase flow conditions of the oil, water, and gas in the channel based on the symmetry-structuring measurements; and (8) a display screen operable under stored program instruction to present the flow regime.The device, according to protection element 1, includes a data processing system that includes memory and a stored flow system for the actual flow conditions identified by the processor. The device, according to protection element 1, is capable of performing Bayesian classification of the actual flow conditions data matrices under the control of stored program instructions. The Bayesian classification of the actual flow conditions data matrices data matrixes involves Bayesian classification based on flow systems.The individual sets of test condition data matrices include a Bayesian classification based on flow rates.

6. A data processing system is used to determine flow systems for multiphase flow in a conduit. This system relies on energy transfer through the fluid in the conduit from a transmitter / receiver in an array of transmitters / receivers around the periphery of the conduit to an array of transmitters / receivers in an array of transmitters / receivers within the array. The data processing system includes: (a) memory containing a database of three-phase flow data for oil, water, and gas as a set of data matrices representing known test flow systems for oil, water, and gas within a set of test flow systems in the conduit; and (b) memory containing stored program instructions to control the operation of the data processing system for flow system determination.For three-phase flow in the channel; (c) an operable signal processing module to perform initial signal processing and format the ultrasonic energy pulses received through the fluid in the channel; (d) a processor operable under stored program instruction control to form measurements of the attenuation and travel periods of the received ultrasonic energy pulses between an individual set of transceivers and the rest of the transceiver set as a result of travel through the fluid in the channel; (e) a processor also operable under stored program instruction control to organize the formed measurements of the attenuation and travel periods of the received ultrasonic energy pulses into actual data matrices corresponding to the actual flow regimes of oil, water, and gas in the channel; and (f) a processor also operable under stored program instruction control to form symmetry measurements between the formed measurements organized in the actual data matrices and the setsThe individual data matrix set representing the known test flow systems for oil, water, and gas in the channels for the test flow system set; (g) The processor is also operable under the control of stored program instructions to determine the flow system for the actual three-phase flow conditions of oil, water, and gas in the channel based on symmetry-forming measurements; and (h) A display operable under the control of stored program instructions to present the selected flow system for the actual flow conditions for evaluation and analysis.

7. The data processing system, according to security element 6, also includes: memory that also includes a stored flow system for the actual flow conditions determined using the processor.

8. The data processing system, according to security element 6, where the processor is operable to perform a Bayesian classification of the data matrixes of the actual flow conditions in forming symmetry measurements of the actual flow conditions data into the test conditions data matrix set.

9. The data processing systemAccording to safeguard element 8, the Bayesian classification for forming symmetry measurements of actual flow condition data into a set of test condition data matrices is based on flow systems. 10 - Data processing system according to safeguard element 8, where the Bayesian classification for forming symmetry measurements of actual flow condition data into a set of test condition data matrices is based on flow rates. 11 - Device according to safeguard element 1, where the known flow system data for three-phase flow of oil, water, and gas includes: flow rates of the three phases in the set of test flow systems. 12 - Device according to safeguard element 1, where the known flow system data for three-phase flow of oil, water, and gas includes: viscosity and density of the three phases in the set of test flow systems. 13 - Device according to safeguard element 1, where the known flow system data for three-phase flow of oil, water, and gas includes: mixture of viscosities and densities of the three phases in the three-phase flow of oil, water, and gas. 14 - SystemData processing system according to safeguard element 6, where the known flow system data for the three-phase flow of oil, water, and gas includes: flow rates of the three phases in the set of test flow systems. 15 - Data processing system according to safeguard element 6, where the known flow system data for the three-phase flow of oil, water, and gas includes: viscosity and density of the three phases in the set of test flow systems. 16 - Data processing system according to safeguard element 6, where the known flow system data for the three-phase flow of oil, water, and gas includes: a mixture of viscosities and densities of the three phases in the three-phase flow of oil, water, and gas.