ANALYSIS OF DRILLING FLUIDS

Abstract: A method of analysing a drilling fluid comprising subjecting a sample of the fluid to an XRF analysis technique and comparing the results obtained with a calibration model to determine the amount of one or more components of the fluid present in the sample. The method is particularly useful for determining solids in the fluid such as barite and can be combined with an FTIR technique which is sensitive to other components of the fluid. A PLS algorithm is used to construct the model from the spectra.

Description: ANALYSIS OF DRILLING FLUIDS The present invention relates to a method of analysing drilling fluids and is particularly useful for the determination of solids in drilling fluids and differentiation between the different types of these solids. During the drilling of an oil or gas well, large volumes of solids cuttings are generated by the drill bit. These solids are conveyed to the surface by means of circulating drilling fluids, often known as "mud", which are often complicated mixtures of water, oil, soluble and insoluble minerals, polymers, surfactants and salts. A large portion of the drill cuttings can usually be removed from the fluid by means of vibrating screens and other solids separators, so that after this cleaning process the fluid can be recirculated down the drill string. However, some of the drill cuttings are dispersed as very small particles, which cannot be removed by the solids separation process. The presence of these fines, often called "drilled solids" CDS), affects the functional properties of the fluid. Determination of the concentration of DS is particularly complicated by the presence of two other types of solids in the fluid, commercial clays and weighting material. Commercial clays are added to the fluid for control of Theological and filtration properties. Usually, bentonite or other chemically treated clay minerals are added for this purpose. The total of commercial clays (CC) and DS is called "low gravity solids" (LGS). Weighting materials are used to bring the fluid to the required density, necessary to contain underground formation fluids by hydrostatic pressure exerted by the mud column in the annulus. A common weighting material is powdered barite (barium sulfate). The concentration of weighting materials is known as "high gravity solids" (HGS). It is important for effective control of the properties of the fluid to know the individual concentrations of all types of solids. In current well site technology LGS and HGS are not measured directly, but are calculated from the density and solids volume fraction of the drilling fluid, both of which can be measured. The principle of the calculation is that both properties are functions of the volume fractions of LGS and HGS. A simple form of these functions is assumed, and from the resulting set of two simultaneous equations with two unknowns one can readily solve LGS and HGS. This is usually done by direct calculation or by the use of charts which may allow for corrections if salts are present. The total concentration of clays can conveniendy be determined at the well site from their ability to absorb certain cationic dyes. This is the basis for the well-known methylene blue test, which provides a value known as "MBT value" for the concentration of chemically active clays. The larger part of these clays comes usually from the intentionally added commercial clays, the remainder is derived from clay minerals in the drilled solid fraction. If an average proportion of chemically active clays in the drilled solids is assumed, then it is possible to calculate DS and CC from LGS and MBT. As mentioned, previously proposed techniques for the determination of individual solids concentrations relies on the direct measurement of density and solids volume fraction of the fluid. Density is measured with a "mud balance", a well-known rig site device. Solids volume fraction is measured by evaporation of a fluid sample of known volume in an electrically heated distillation apparatus, also well-known as the "mud retort". The liquid distillate is collected in a graduated receiver, and from the volume of distillate and the volume of the original fluid sample the volume fraction of total solids is calculated. Problems associated with the use of these two pieces of equipment are the possibility of an incorrect apparent density as determined by the mud balance because of the presence of gas in the fluid sample, and further, the fact that the mud retort suffers from errors caused by leaks in the vapour condenser and the inability to accurately introduce a known sample volume. Further errors are also caused by the assumptions enabling solution of the simultaneous equations mentioned previously. In this respect a density for the weighting material needs to be assumed. In the case of barite, drilling grade material is in fact a mixture of pure BaS04 (specific gravity 4.5) and impurities. The commercial product has specific gravity 4.20 - 4.25 at best. Furthermore, the specific gravity of the drilled solids are known with even less certainty. Corrections need to be applied if oil or soluble salts are present in the fluid. These corrections are also based on measurements with limited reliability and on not precisely known physical properties. Because on the large number of measurements and questionable assumptions made in the current methods, the resulting values for DS and HGS are known to be of limited value. It is, for example, not unusual to find negative numbers for the concentration of barite, or to find unreasonably high values for the drilled solids content. Control of the composition has been recognised as important in maintaining the desired properties of die drilling fluid and various methods have been proposed for monitoring the composition of the drilling fluid. The ionic composition of the fluid can be analysed using ion chromatography and tiiis can also be used to obtain an indication of the cation exchange capacity of the clay materials present Examples of this are found in our copending patents and applications US 4904603, US 4878382 and EP 89203062.8 which are incorporated herein by reference. It has also been found that a more complete analysis, including information on both organic and inorganic and mineral composition can be obtained using FTIR. Examples of this can be found in our copending European and UK patent applications EP 90202796.0, EP 90202795.2, and UK 9107041.7 also incorporated herein by reference. However, all of these methods encounter some problem when attempting to determine the amount of solids in a sample, particularly if the size of the solid particles interferes with the measurements. It is an object of the present invention to provide a method for analysing drilling fluids which allows improved measurement of the solid material contained therein. The object of the invention is achieved using an X-ray fluorescence (XRF) analysis technique. Although such techniques are well known for general chemical analysis and have even been proposed for the analysis of core samples taken from wellbores (see GB 2,225,110), no such technique is known to exist which enables the accurate determination of the composition of drilling fluids. In accordance with the broadest aspect of the present invention, there is provided a method of analysing a drilling fluid comprising solids suspended in a liquid phase, the method comprising subjecting a sample of the fluid to an X ray fluorescence analysis technique so as to derive a spectrum therefrom; analysing the spectrum to identify a peak of intensity IHGS hi t e spectrum due to the presence of a component of the high gravity solids fraction of the sample and a peak of intensity Ic 0 due to Compton scattering and determining the ratio IHGS/IC O ; and using data from the derived spectrum, the ratio IHGS IC O an d a calibration model to calculate the amount of said component and liquid phase in the sample. The advantage of using an XRF technique is that it is particularly sensitive to the minerals which comprise the high gravity solids present in drilling fluids, especially barite. The XRF spectrum will also contain some features which are due to components of the fluid which do not themselves have an XRF spectrum but which affect the spectrum of those components which do. Consequently, by preparation of a suitable calibration model it is possible to calculate properties of the fluid such as water content, oil and brine content and specific gravity. If the specific gravity of the sample is measured, this can be used to improve the calculation of die content of the components of the fluid, oil/water ratio, brine density etc. Likewise, the amount of LGS in the sample can be calculated despite the fact that very litde of the LGS produces an XRF spectrum of its own. Determination of the ratio IHGS IC O is important since the component peak and the Compton scattering peak both contain information relating to the average atomic number Z of the sample which can be calculated from the ratio of the two. It is preferred that the method involves irradiating the sample with radiation which provides a strong signal due to the presence of barium or, if any other weighting material is present, a constituent of the weighting material. It has been found particularly advantageous to monitor the La and Lk α lines of the barium spectrum when determining the concentration of barite. The determination of the concentration of barium in whole mud samples is linked through the simple chemical constitution of barite to die concentration of HGS in the mud. Hence, having an accurate measurement of HGS constitutes an improvement over the conventional techniques for mud solids measurement, which rely on the retort and the mud balance and, as described before, require the determination of two unknowns, HGS and LGS, from a set of two simultaneous equations. For example, LGS can be found from: LGS = 1.667 W - 1.296 HGS - 1.667 where LGS and HGS are concentrations in g L, and W is the mud density in kg/L. HGS is now the concentration of barite, directly determined according to the invention although it will be appreciated tiiat other relationships might also be used. In a further aspect of the present invention, there is provided a method of deteπrjining the concentration of polymer in drilling fluids comprising analysing die mineral concentrations in a sample by XRF and using the thus determined mineral concentrations to calibrate the IR spectrum of the sample with respect to the mineral components and analysing said spectrum with respect to the polymers. Measurement of organic components in mud by FTIR, typically using the PLS technique is often difficult because they are present in small quantities. The spectra are dominated by mineral components which are usually present in larger quantities yet calibration is hampered by the fact d at the minerals often do not have well defined spectra as tiiey have a variable, mixed composition, as witnessed for example by the large number of clay minerals occurring in sediments. The application of this aspect of the invention consists of determining at least barite by XRF and importing this information, as non-spectral information, into a suitable FTIR calibration model. In the case of weighted muds, this information would determine to some extent the composition of d e mud, and one source of uncertainty is removed from the input data set. As a result the prediction of trace components, such as organics is improved. A further extension of this idea is to input die Ca-LGS and non-Ca-LGS as determined by XRF as well. Again this should help in resolving some of die difficulties experienced by the PLS algorithm caused by ill-defined FTIR spectral features. A single element technique based upon measurement of the intensity of the barium fluorescence line or lines is potentially applicable to the present invention. In the case of typical drilling mud formulations d e concentrations of barite can be sufficiently high to cause significant non-linearity of the curve relating barium fluorescence intensity to barite concentration. As concentrations of barite increase, self absorption of the fluorescence by barium becomes more important, until the fluorescence signal saturates. However, in practical drilling mud formulations, saturation is not reached over the range of possible barium concentrations. In addition to self absorption, attenuation and scattering of die fluorescence radiation by the matrix plays also a role. This matrix effect can generally be corrected for in quantitative XRF spectrometry if analyte concentrations are low and the matrix has a known density or composition. Under these conditions count rate Iβa of the fluorescence peak for barite is proportional to barium concentration [Ba]: I B a = s [Ba] The sensitivity of the measurement, s, is inversely proportional to the mass absorption coefficient μ p: where μ/p itself is roughly proportional to the third power of the average atomic number Z: μ/p = K 2 Z Hence, one finds tiiat die barium count rate is strongly dependent on Z 3 : lBa ~ K 2 Z3 The basis for a number of conventional algorithms consists of relaxing this strong matrix dependency by division of die barium count rate by a background count rate, which is approximately inversely proportional to Z 2 . It is convenient to take for the background reading the area of the Compton scattering (incoherent scattering peak), ICo, so that ΪCo - 22 which leads to [Ba] = ^ Z ■ %$& . = ώa . Z K_4 = X Z K4 ICo i Ico where X is the ratio between barium fluorescence and Compton scattering count rates. At concentrations of barium that are common in mud engineering, this linear relation between X and [Ba] breaks down and can be replaced by, for example, a power series such as: [Ba] = bo + bi X + b 2 X 2 + b 3 X3 or by a hyperbolic function such as [Ba] = A + Isa B + C Ico In both examples the empirical coefficients bo, etc. and A,B,C are determined from calibration samples containing known amounts of barium. In this empirical approach an attempt is made to use Compton scattering, which has been shown to be inversely proportional to the mass absorption coefficient, as a means to eliminate the matrix effect; using the same symbols as before one have ICo = K 2 K3 Z μ/p The potential problem widi the single element method is mat empirical calibration med ods based on the relationship [Ba] =^ Z K4 will have only limited success if Z varies from sample to sample and is not known. A fundamental problem in mud engineering is that the matrix of drilling mud samples is variable as a result of contamination with formation minerals and d e presence in unknown amounts of mud chemicals. Thus, some of the elements other than barium that may be present in appreciable variable quantities are S, Cl, K and Ca, and also Cr and other transition metals. This means that the average Z, which influences the relation between [Ba] and the count ratio X, is unknown. The consequences of this uncertainty can cause errors when muds containing the interferences were measured using calibration coefficients derived from calibration sets of muds not containing the interference. To circumvent the matrix problem, a large number of calibrations could be made from which one would be selected on die basis of chemical knowledge of the sample, for example the calcium content. However, care must be taken to avoid undesirable degrees of complication, arbitrariness, and operator dependency. It is also difficult to achieve one single calibration model to describe a wide range of barite concentrations, so ti at overlapping calibration models can be avoided. When using the empirical correlations such as (power series) and (hyperbolic relation), there often remains some curvature of a plot of actual versus predicted concentrations. In one method which could overcome the problem of variable Z is to input Z (average atomic number of the sample) with the calibration samples as a non spectral attribute in a PLS regression technique. This would create a calibration model ("PLS+Z") where the Z is necessary as an input, along with, the XRF data. The measurement of an unknown would then go in two stages. In the first stage one measures it with a calibration model that does not require Z ("PLS w/o Z"). This would give an approximate value for the elements Cl, K, Ca, Ba, from which one reconstructs the average chemical composition of the sample, from which Z is computed. In die second stage the spectral data plus the just calculated Z is input into the "PLS+Z" model and a better accuracy should result. The process may need to be reiterated to converge on constant composition. Frequent recalibration is required to compensate for machine drift, which requires large numbers of calibration samples. Thus, in order to obtain sufficiendy accurate values for d e calibration coefficients bj in the power series equation, typically about 10 calibration samples have to be presented to the analyser and d e coefficients calculated by a regression technique e.g. PLS. The input data used in this calibration process and also in the subsequent determination of barite in unknowns is the ratio X, determined from pre-set windows spanning the barium fluorescence and Compton scatter peaks. Ideally the calibration sample set should consist of simulated muds, in order to let die analyser see d e correct matrix. But it is impractical to store mud samples for the longer times required, as they require frequent mixing to avoid settling of a diin barite layer on the bottom of the sample cells, which would completely distort die analysis. Hence the samples need to be stored in separate stirred containers and poured out into the sample cells before calibration. This makes the technique in field practice prone to errors (caused for example by unintended cross contamination between samples). Alternatively solids samples could be constructed from barite and some fixation agent (glass, resin, etc.). The problem with tiiis solution is the different matrix, which precludes use of die Compton peak. Finally, a durable solid reference sample could be used to restandardise the analyser before measurement of unknowns, but over periods of mondis sufficient line broadening of the barium fluorescence occurs to invalidate earlier calibrations, since the Compton peak does not change in time at die same rate as the fluorescence peak, and dierefore the ratio X is not constant in time. Thus, the single element approach via empirical correlations described above can have practical drawbacks when used on a drilling rig. A solution to practical problems associated with the single element technique described above is to use more spectral information in addition to the spectrum produced from a single source (usually Am 241), and to use die information from all individual channels of a multichannel analyser. With this technique barite can be determined witii gready improved accuracy compared witii the single element methods studied. There is also sufficient information to calculate LGS, SG, etc. and for this purpose one uses a second source, such as Fe 55, typically with a sealed Ne/CH4 detector. This source allows K line fluorescence peaks to be observed from S, Cl, K, Ca, Cr, and die L-α peak from Ba. All of these peaks overlap. Since calibration of tiiis system would be very complicated, a regression technique is utilised, Partial Least Squares (PLS), developed by Wold et al. Suitable windows in the spectral data are selected and die PLS calibration technique is presented with spectral data from a large set of calibration muds. To obtain acceptable accuracy it is necessary to do some preprocessing of the spectral data by means of expressions similar to the ratio Iβa/Ico. discussed above. Generally, individual channels are used instead of summations of channels. The PLS technique requires large numbers of calibration samples, depending on me number of components in the samples. It is advantageous to use two sources which have different responses to die components of die mud under analysis. In the case described above, die Am 241 source provides a signal which can be used to obtain an indication of the Ba content of die sample. Ba also contributes to the signal from the Fe 55 source and so die estimation of d e Fe 55 signal contribution from Ba can be improved by inputting die Am 241 estimation of me Ba content into die PLS algorithm as applied to die Fe 55 signal. This in turn improves the estimation of die other mud components from the Fe 55 signal since the Am 241 Ba estimation is in effect an internal calibration for that sample. Thus the output from the PLS analysis of the signals from both sources provides an estimation of Ba, Ca, K, Cl, LGS, H 2 O, specific gravity (SG) and average atomic number (Z). The estimate of SG and Z can tiien be taken and applied to PLS analysis of the same data as non-spectral attributes which will allow improved estimation of Ba, Ca and K. In an alternative case, SG is measured separately and is input into die PLS algorithm as a non-spectral attribute which will improve the measurements further but does require an extra measurement The time taken for mat preparation and measurement of the calibration samples is often such that appreciable drift of die analyser can take place during the calibration phase. This is potentially a severe limitation to accuracy achieved when die calibration is used at a later stage to determine concentrations of unknowns. * It is therefore essential to correct for any a drift in the calibration and measurement procedure. Analyser drift is caused by decay of the source and is significant only for an Fe 55 source. More important is drift of the sealed detectors, which is a combination of two ageing phenomena. In the first a gradual decay of count rates is noted in which the output from each channel of the multichannel analyser decreases over time when standard samples are measured. The second phenomenon is deterioration of resolution, which is noted as peak spreading. As a result of peak spreading the rate by which individual channels decrease their output depends on die significance tiiey have for the analysis. For example, d e barium fluorescence peaks present in the Am 241 spectrum are quite sharp. The maxima of these peaks decrease in time, but the fringes rise. Hence to correct for drift in this spectral region, each channel of the unknown sample needs to be multiplied by a different appropriate correction factor which is determined from measurement of a suitable standard sample. Alternatively all channels covering the peaks concerned could be summed, but tins would in time cause some of the peaks' energy to spread beyond die boundaries of the summation interval. It has also been found that the accuracy of measurement improved by treating individual channels separately. As described here the drift correction procedure serves to guarantee continuity between the time a calibration model is constructed and die time an unknown sample is analysed. A second practical advantage of drift correction is tiiat it allows one calibration model to be transferred between different analysers. Because of die ageing process, the detectors will generally exhibit a different degree of resolution. By measurement of suitable standard samples the appropriate correction factors for individual channels can be found, allowing a calibration model to be used tiiat was constructed on a different analyser. A third use of drift measurements is provision of a warning mechanism for unusual conditions of the analyser. The decay characteristics of the detector performance were found to obey an exponential decay law. Occasionally individual measurements on standard samples can be well outside the statistically expected range, and this could be correlated by events such as periods of idleness of die analyser, transportation, or climatic differences. The system needed then to adjust to changed conditions and during the adjustment period discrepancies could occur between measurements made shortly after each otiier. The present invention will be described by way of example, witii reference to die accompanying drawings, in which: Figures 1 - 16 show plots for calibration and validation of a model to interpret d e results of the method according to d e present invention; and Figures 17 and 18 show XRF spectra of a drilling mud obtained using Am 241 and Fe 55 sources respectively, energy increases from left to right, count rate is plotted vertically. EXAMPLES In the following examples, the system described below was used both as a laboratory test environment and as a system which could be applied to a rig environment. The system uses the Lab-X 1000 (Oxford Analytical Instruments), a portable (20 kg) energy dispersive spectrometer, fitted for our purposes with an Am 241 gamma-ray source and sealed proportional counter, filled witii Xe/CH* and an Fe 55 source with a sealed counter filled witii Ne/CE t. This combination provides the K- α and K-β fluorescence peaks from barium in addition to a well defined Compton scatter peak to account for matrix effects and K line fluorescence peaks for S, Cl, K, Ca, Cr and d e Lα peak for B a . The spectrum obtained from the Am 241 source is shown in figure 17 and as can be seen is dominated by the Ba (K) peak witii a significant Compton scattering peak Co. The spectrum from the Fe 55 source shows several overlapping peaks including d e Ba (L) peak which is found in part at the high energy end of the spectrum- Because the Ba peak for the Am 241 source does not involve significant interferences, a reasonable estimate can be obtained for Ba concentration from this spectrum using a PLS algorithm. This estimate can then be used in die PLS algorithm applied to die Fe 55 spectrum since it will provide a good estimation of the contribution of the B (L) peak to the spectrum and so allow better estimation of the odier unknowns. Once the Fe 55 spectrum is analysed, an estimation of Z and possibly SG can be obtained which can in turn be applied to a new PLS algoridi to analyse the Am 241 spectrum a second time. The technique necessary for using XRF for analysis of drilling inud includes die following steps. (1) A large number of data points selected from die spectral information is obtained. The Lab-X 1000 uses a 256 channel multichannel analyser. Windows containing the Ba K lines and die Compton peak from the Am 241 spectrum are isolated and their ratios determined. All data points from the Fe 55 spectrum are used, starting with die S fluorescence. Some ratioing of spectral information is done. (2) The calcium concentration in the mud filtrate is determined in the conventional manner by EDTA titration. For oil based muds the oil / water volume ratio is determined. In the case of calibration samples, this information is known from the make-up of the sample. All of this information, together witii die mud density, is input into die PLS algoridim, with die spectral information prepared as per the previous step. (3) In the calibration stage steps (1) and (2) are repeated for each of the calibration samples, and the composition of each of the samples is input into the PLS algorithm. Suitable compositional categories are: barite, LGS not containing Ca, LGS containing Ca, soluble K, Cl, water content, oil content The PLS algorithm is then run to produce a calibration model. (4) In the prediction phase unknowns are run by d e XRF analyser and density, oil / water ratio and soluble calcium are input into the calibration model. The following compositional information is then produced: barite, LGS not containing Ca, LGS containing Ca, soluble K, Cl, water content, oil content. Table 1 below shows the compositions of a series of calibration samples which were used to construct a calibration model using die PLS algorithm. Table 2 shows the compositions of die samples used to validate the calibration model. The results of the calibration step for Ba,Ca,K,Cl, LGS, H 0,Z and SG are shown in Tables 3 - 10 and Figures 1 - 8. Tables 11 - 18 and Figures 9 - 16 show die results of the prediction of Ba,Ca,K,Cl, LGS, H 2 O,Z and SG for the samples in the validation set using the calibration model. In the various examples, predictions have been made witii the various models summarised below. These can be divided into two main groups, those which have SG (mud density) input into die model and tiiose which have no input of SG. Obviously, the prediction of SG can only use a model which does not have SG as an input DESCRIPTION OF CALIBRATION MODELS USED IN THE EXAMPLE Input elements HI = a set of individual channels in the Fe 55 spectrum comprising the Cl, K, Ca, and Ba(L) peak areas. H2 = a set of individual channels in the Am 241 spectrum comprising the Ba(K) and Co peak areas Ba/Co = the summation of die channels containing the Ba(K) peak area divided by die summation of the channels containing the Co peak area. The first, second and tiiird powers of mis ratio are input. Z = the average atomic weight of the sample. Calculated for the calibration samples from weight fractions and molecular formulae of components making up the sample or predicted by Model PI in the case of validation samples and unknowns. The first, second and tiiird powers of Z are input. SG = the density of die sample. Calculated for the calibration samples from weight fractions and densities of components making up the sample. In the case of validation samples and unknowns SG as an input is predicted by Model PI or is obtained by direct measurement. The first, second and tiiird powers of SG are input Composition of models in terms of input elements In the table X indicates that a particular input element is present H2 Ba Co Z SG X X X X X X X X X X X X X In the Table X indicates tiiat a particular output is predicted by die models listed; X* indicates the preferred way of prediction of an output. If density is used as an input tiien the two models PE and PG will serve to provide all outputs. If density is not used as an input then a two stage process is followed. In die first stage Models PI and P2 provide predicted values for Z and SG. Barite is produced in the second stage by Model PA, which uses the predicted Z and SG as inputs. Similarly K and Ca are produced by Model PROl. Values for Cl, LGS and H20 are taken direcdy from die prediction by Model P2 in the first stage. SUMMARY OF CORRELATION COEFFICIENTS Models Predicting Density Models using Density as Input Component Model no. Calibration Validation Model no. Calibration Validation (Property) coπxoeff coπxoeff coπxoeff. corrxoeff. TABLE 1 continued CONCENTRATIONS (g l): Cahbration set Table 3 Table 4 Table 5 Table 8 Table 9 Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 Table 16 Table 17 Table 18 SUBSTITUTE SHEET

Claims: CLAIMS: 1 A method of analysing a drilling fluid comprising solids suspended in a liquid phase, the method comprising subjecting a sample of the fluid to an X ray fluorescence analysis technique so as to derive a spectrum therefrom; analysing the spectrum to identify a peak of intensity IHGS in the spectrum due to the presence of a component of the high gravity solids fraction of the sample and a peak of intensity Ic o due to Compton scattering and determining the ratio IHGS/IC O ? and using data from the derived spectrum, the ratio IHGS IC O and a calibration model to calculate the amount of said component and liquid phase in the sample. 2 A method as claimed in claim, further including the step of calculating the specific gravity SG of the sample. 3 A method as claimed in claim 1, comprising measuring the SG of the sample and using the measured SG in the calculation. 4 A method as claimed in any preceding claim, comprising calculating the amount of low gravity solids in the sample. 5 A method as claimed in any preceding claim, comprising calculating the average atomic number Z of the sample. 6 A method as claimed in claim 4, comprising measuring the amount of salts in the sample and using the measured amount to calculate the amount of low gravity solids in the sample. 7 A method as claimed in any preceding claim wherein the sample is irradiated from a single source. 8 A method as claimed in any preceding claim, wherein the component of the high gravity solids fraction contains barium. 9 A method as claimed in any preceding claim, wherein the sample is irradiated from two different sources. A method as claimed in claim 9, wherein the spectrum produced by irradiation with a first source is used to calculate the amount of said component of the high gravity solids fraction of the sample which in turn is used together with the spectrum from a second source to calculate the amount of other components in the sample. A method as claimed in any preceding claim, wherein the liquid phase is water. A method as claimed in any of claims 1 - 10, wherein the drilling. fluid is oil- based, the liquid phase comprising oil and brine. A method of analysing the concentration of one or more polymers in a drilling fluid comprising obtaining the IR spectrum of the sample, subjecting the sample to XRF analysis to determine the concentration of minerals in the sample, comparing the IR spectrum with a calibration model corrected with the results of the XRF analysis to determine the concentration of polymers in the sample. A method as claimed in claim 13, wherein the XRF analysis is as claimed in any of claims 1 - 12. A method as claimed in any preceding claim, wherein the calibration model is constructed from analysis of various fluids of known composition. A method as claimed in any preceding claim which utilises a regression technique to relate the measurements to the calibration model. A method as claimed in claim 16, wherein the regression technique is a partial least squares method. A method as claimed in any preceding claim, wherein the XRF technique provides spectral information of sulfur, chlorine, potassium, chromium and barium the sample. A method as claimed in claim 9, wherein the sources are Am 241 and Fe 55. A method as claimed in any preceding claim including determining calcium concentration, density and optionally oil/water volume ratio. A method as claimed in claim 20, wherein calcium concentration is determined by EDTA titration or by use of an ion-selective electrode. A method as claimed in claim 20 or 21 wherein the sample is analysed to give barite content, LGS not containing Ca, LGS containing Ca, soluble K, Cl, water content and oil content. A method as claimed in claim 10 wherein the first source is used to give an approximate determination of the Ba content of the fluid which is the used in the analysis of the second source for Ba and other fluid components .and physical properties, at least one of the physical properties determined from the second source being used in a further analysis of the first source response to improve the determination of Ba. A method as claimed in claim 12, wherein the density of the brine is also calculated. A method as claimed in claim 12 or 24, wherein the water activity of the brine is also calculated.

Inventors: GILMOUR ALAN, HOUWEN OTTO, SANDERS MARK, GILMOUR, ALAN, HOUWEN, OTTO, SANDERS, MARK
Applicants: SCHLUMBERGER SERVICES PETROL, SCHLUMBERGER TECHNOLOGY CORP, SEDCO FOREX TECH INC, SCHLUMBERGER TECHNOLOGY CORPORATION, SEDCO FOREX TECHNOLOGY INC, SERVICES PETROLIERS SCHLUMBERGER
Application year: 1993
Main classification: G01N23
IPC codes: E21B49, G01N23