Petroleum Knowledge Base

Ion Analysis of Drilling Fluids

Filtrate analysis of a drilling fluid determines ions such as Cl⁻, Ca²⁺, Mg²⁺, total hardness and K⁺ by titration and related methods. It is used to diagnose salt contamination, calcium contamination and the like, and to check the control limits of saltwater, calcium-treated and potassium-based drilling fluids. Cl⁻ is titrated with silver nitrate, Ca²⁺, Mg²⁺ and total hardness with EDTA, and K⁺ is measured by the sodium perchlorate precipitation method or the sodium tetraphenylborate method, depending on concentration.

Concept

The properties of a drilling fluid change with the type and concentration of the ions in its filtrate. The amount of Cl⁻ reflects the salt content; a rise in Ca²⁺ and Mg²⁺ often signals calcium contamination or cement contamination; and the K⁺ concentration is the main control parameter of a potassium-based drilling fluid. All of these ions are determined in the filtrate, and the sample is generally the filtrate obtained from the API fluid loss test (see API Fluid Loss). Hydroxide, carbonate and bicarbonate are estimated by alkalinity titration (see pH and Alkalinity). The measured ion contents are used to identify the type of contamination (see Drilling Fluid Contamination and Treatment) and also to correct the retort determination of solids content: the solids left in the retort include dissolved salt, so the volume of salt must be calculated from the Cl⁻ content and the result corrected accordingly (see Solids Content Analysis).

Procedure

The procedures for the individual determinations are similar: take a filtrate sample → pretreat it if necessary (adjust the acidity or alkalinity, remove color, remove interferences) → add the indicator → titrate with a standard solution to the color change → calculate from the volume of solution consumed.

Chloride Ion

Silver nitrate titration is used. The standard silver nitrate solution has a concentration of 4.791 g/L, so that each milliliter of solution is equivalent to 0.001 g of Cl⁻; potassium chromate is the indicator. The steps are as follows:

  1. Place 1 mL (or a few milliliters) of filtrate in a conical flask and add 2 to 3 drops of phenolphthalein. If the solution turns pink, add dilute sulfuric acid or dilute nitric acid (0.01 mol/L sulfuric acid or 0.02 mol/L nitric acid) drop by drop until the red color disappears. If the filtrate is so dark that the color change cannot be seen, add the acid first and then about 1 g of calcium carbonate.
  2. Add 25 to 50 mL of distilled water and 5 to 10 drops of potassium chromate, stir continuously, and titrate with silver nitrate until the yellow changes to orange-red and holds for 30 s.
  3. Record the milliliters of silver nitrate used, V. If the titration volume exceeds 10 mL, repeat the test with a smaller volume of filtrate.

The formula is C(Cl⁻) = V / V1 × 1000, in mg/L, where V1 is the volume of filtrate (mL). The equivalent sodium chloride is C(NaCl) = 1.65 C(Cl⁻). When the Cl⁻ in the filtrate exceeds 10 000 mg/L, silver nitrate equivalent to 0.01 g of Cl⁻ per milliliter may be used instead, with the factor 1000 replaced by 10 000.

Example (assumed data, for demonstrating the calculation only) Take 1 mL of filtrate and use 3.2 mL of silver nitrate. Then Cl⁻ = 3.2 / 1 × 1000 = 3 200 mg/L, and the equivalent NaCl = 1.65 × 3 200 = 5 280 mg/L.

Calcium, Magnesium and Total Hardness

EDTA standard solution is used for the titration. One method works in two steps, with an EDTA concentration of 0.02 mol/L, where 1 mL of this solution is equivalent to 1 mL of a solution containing 800 mg/L of Ca²⁺:

  1. Calcium only. Take 1 mL of filtrate, add 50 mL of deionized water, 10 mL of 20% NaOH solution and a little calcium indicator (hydroxynaphthol blue). A wine-red color appears. Titrate with EDTA to blue; the volume used is V1. In strongly alkaline solution magnesium precipitates as magnesium hydroxide and does not take part in the titration.
  2. Calcium plus magnesium. Take another 1 mL of filtrate, add 50 mL of deionized water, 10 mL of buffer solution, 10 drops of 1% ascorbic acid and 5 to 10 drops of eriochrome black T. Titrate with EDTA until the color changes from red through violet to pure blue; the volume used is V2.

The formulas are:

C(Ca²⁺) = V1 · c · 1000 · 40.08 / V  C(Mg²⁺) = (V2 − V1) · c · 1000 · 24.30 / V

where c is the EDTA concentration (mol/L), V is the volume of filtrate (mL), V1 and V2 are the EDTA volumes used (mL), and the results are in mg/L.

Example (assumed data) 1 mL of filtrate, c = 0.02 mol/L, V1 = 0.50 mL, V2 = 0.75 mL: Ca²⁺ = 0.50 × 0.02 × 1000 × 40.08 = 400.8 mg/L; Mg²⁺ = 0.25 × 0.02 × 1000 × 24.30 = 121.5 mg/L.

The other method measures the total hardness directly, expressed as Ca²⁺: with 0.01 mol/L EDTA, total hardness = 400 × milliliters of EDTA / milliliters of sample, in mg/L. If the filtrate is colored, first add sodium hypochlorite solution and glacial acetic acid and boil for 5 min to remove the organic color and the excess chlorine; then dilute, add buffer solution and hardness indicator, and titrate until the color changes from red to blue. When iron ions interfere, use a masking agent.

Potassium Ion

The determination of K⁺ depends on the concentration range:

  • K⁺ above 5 000 mg/L: sodium perchlorate precipitation method. First prepare standards of 10, 30, 50 kg/m³ and so on from a KCl solution of known concentration, add distilled water to each to make 7.0 mL, add 3.0 mL of sodium perchlorate solution without stirring, centrifuge at 1 800 r/min for 1 min, read the precipitate volume, and plot a standard curve. To test a sample, take 7.0, 3.5, 2.0 or 1.0 mL of filtrate according to its KCl concentration range, treat it in the same way, read the concentration from the curve, and multiply by 7 / filtrate volume (mL). If further dropwise addition of sodium perchlorate still produces a precipitate, the potassium has not been fully precipitated, and the test should be repeated with less filtrate. The factor for converting KCl concentration (lb/bbl) to K⁺ is 1 500, that is, K⁺ (mg/L) = 1 500 × KCl (lb/bbl).
  • K⁺ below 5 000 mg/L: sodium tetraphenylborate is used to precipitate K⁺, and the remainder is determined separately with a standard solution (Method II, not detailed in this entry).

Key Technical Points

  • Protect standard solutions from light. Silver nitrate should be stored in brown or opaque bottles.
  • Safety with sodium perchlorate. Dry sodium perchlorate or potassium perchlorate may explode when heated or mixed with organic reducing agents; keep it in a damp place and do not store it with organic matter.
  • Sample volume and end point. For each determination, first estimate a sample volume so that the titrant volume falls within the burette range. If the silver nitrate used for chloride exceeds 10 mL, or if potassium still precipitates on adding sodium perchlorate, reduce the sample volume and repeat the test.
  • The conversion to sodium chloride applies only when all of the chloride comes from NaCl. When other chloride salts such as KCl or CaCl2 are present, convert separately according to each cation.

Influencing Factors and Considerations

Interference. When the filtrate is dark in color or contains silicate, phosphate or organic treating agents, the end point is hard to identify and the measured values are biased. Iron ions interfere with the hardness determination and must be masked. For a filtrate high in calcium and magnesium, the total hardness and the separately measured calcium and magnesium values for the same sample can be cross-checked by converting Mg to Ca and adding (multiply the Mg²⁺ value by 40.08/24.30; in the example above this gives a total hardness of about 601 mg/L as Ca²⁺).

Timing of measurements. Before and after drilling into a salt-gypsum bed, a cement plug, or a possible saltwater zone, the determinations of Cl⁻ and Ca²⁺ should be made more frequently, and each result should be compared with the previous one to see the trend before deciding whether to treat.

References

  1. Zhang Keqin; Chen Leliang. Drilling Technology Handbook (II): Drilling Fluids (in Chinese). Petroleum Industry Press, 1988.
  2. Drilling Handbook (in Chinese).