Corrosion inhibitor and its use

Abstract: A corrosion inhibitor formulation for use in well treating acids includes a highly polar aprotic solvent having dissolved therein (a) a complex of a metal compound and a quaternary ammonium compound and (b) a dispersant capable of dispersing the complex in the well treating acid solution.

Description: This invention relates to corrosion inhibitors and more specifically to corrosion inhibitors containing metal salts for use in acid solutions used in acid treatment of subterranean formations. DESCRIPTION OF THE PRIOR ART Acids and acid solutions have long been used in the stimulation of oil wells, gas wells, water wells, and similar boreholes. Acid stimulation is performed in wells completed in subterranean formations. Acidizing is used in conjunction with hydraulic fracturing techniques and matrix acidizing techniques. In both acid fracturing and matrix acidizing, the well treating acid solutions, usually HCl, HF, or mixtures thereof, are pumped through the well tubular goods and injected into the formation where the acid attacks formation materials increasing its permeability to oil and/or gas. In order to protect the equipment and tubular goods from the corrosive effects of the acid, the well treating acid almost always includes a corrosion inhibitor. Corrosion inhibitors of diverse description and composition have been proposed over the years for use with well treating acids. Corrosion inhibitors that have received wide spread use are those containing metal/quaternary ammonium complexes. Some of these are described in the following U.S. Patents: 3,773,465 (cuprous iodide); 4,498,997; 4,522,658; and 4,552,672 (antimony compounds). In the past, the metal/quaternary complexes, have been used with an acetylenic compound which apparently contributes to the effectiveness of the complex, particularly at high temperatures. Corrosion inhibitors containing acetylenic compounds, quaternary ammonium compounds and metal salts such as antimony chloride or cuprous iodide present two serious problems: (1) the acetylenic compound is highly toxic and (2) the complex is difficult to disperse in the acid. The toxicity problem can be overcome by eliminating the acetylenic compound. The dispersion problem normally required the separate addition to the acid of the corrosion inhibitor formulation (with the acetylenic compound and the quaternary compound) and the antimony compound at the well site during, or immediately prior to, pumping operations. Efforts to solve these two problems have not been satisfactory. SUMMARY OF THE INVENTION A corrosion inhibitor formulation of the present invention comprises four essential components: (a) a metal compound, preferably antimony, bismuth, calcium, and cuprous salts, (b) an ammonium quaternary compound capable of forming a complex with the metal compound, (c) a highly polar aprotic solvent, and (d) an organic amine dispersant In a preferred embodiment, the formulation will also include a nonionionic surfactant (or surfactant blend) having an HLB No. of between 8 and 18. A particularly advantageous feature of the corrosion inhibitor formulated in accordance with the present invention is that it exhibits excellent dispersion and stability properties, permitting the package to be preformulated and transported to the well site ready for use. While the levels of the various components may vary within relatively wide ranges, depending on the degree of concentration desired, the following presents the broad, preferred, and most preferred ranges based on the weight of the corrosion inhibitor formulation. Broad Range (wt %) Preferred Range (wt %) Most Preferred Range (wt%) Metal Compound 1 to 25 2 to 20 4 to 10 Quaternary Compound 3 to 50 12 to 50 16 to 25 Polar Solvent 20 to 90 20 to 70 40 to 60 Dispersant 1 to 15 1 to 10 2 to 5 Surfactant 0 to 25 1 to 10 3 to 6 Generally, the component ranges are interchangeable. For example, the most preferred range of a metal component of the formulation may be used with both the broad and preferred ranges of the other components. The corrosion inhibitor formulation is introduced into the well treating acid at a concentration sufficient to coat the well tubulars and equipment. The concentration of the formulation in the acid solution should generally be sufficient to provide the acid solution with at least 0.08 wt % of the metal compound. The upper limit of the metal compound in the acid solution will be controlled by economies but levels of about 1.5, preferably 1.0, wt %, will be satisfactory for most cases. Generally speaking, this corresponds to about 0.2 to 20 wt% of the formulation in the acid solution (based on the combined weight of the acid solution and corrosion inhibitor formulation). The method of the present invention may employ the formulation described above in the acidizing of wells or the complexing components (i.e. the metal and quaternary compounds) may be used without the other components and introduced directly into the acid solution. The corrosion inhibitor of the present invention provides effective corrosion protection associated with metal salt complexes, is low toxicity, and exhibits good stability. DESCRIPTION OF PREFERRED EMBODIMENTS As indicated above the corrosion inhibitor composition comprises four principal compounds. Each of these compounds as well as the acid solution in which they are used are described below. Aqueous Acid Solutions: Any of the known oil field acids may be used. These are referred to herein as "well treating acids" and include aqueous solutions of hydrochloric acid (HCl), hydrofluoric acid (HF), mixtures of HCl and HF (i.e. mud acid), acetic acid, formic acid, and other organic acids and anhydrides. The most common acids are 3% HCl, 7½% HCl, 15% HCl, 28% HCl and blends of HCl and HF (mud acid). Mud acid is normally a blend of 6 to 12% of HCl and 1½ to 6% HF; the total acid concentration in mud acid may range from 7% to 18%. Metal Compounds: The function of the metal compound is to complex with the quaternary ammonium compound and form a protective deposit on the metal tubulars and equipment. A wide range of metal salts are useable for this purpose including, salts of Group 2 metals (atomic no. 12 to 56), Group 4 metals (atomic no. 22 and 40), Group 13 metals (atomic no. 13 to 49), Group 6 metals (atomic no. 24 to 74), Group 15 metals (atomic no. 32 to 83), based on IUPAC Periodic Table notation. Tests have shown that salts of the following metals and mixtures thereof exhibit corrosion protection when complexed with a quaternary ammonium compound or compounds: Most Preferred: Preferred: Sb Al Bi As Ca Ba Cu⁺ (cuprous) Sn Zr Mg Mo Sr Zn The metal salts or mixtures must be soluble in the solvent and form a soluble complex with the quaternary ammonium compound. The term "complex" as used herein means a coordination or association of the metal compound with the quaternary compound. The metal salts are preferably metal halides, specifically metal chlorides. Some of the salts may be formed in situ, in which case the formulation will include an acid. For example, antimony chloride is produced from Sb₂O₃ and aqueous acid such as HCl. The insoluble Sb₂O₃ is converted to soluble salt. As indicated above the antimony compound is among the most preferred. This antimony compound may comprise, for example, antimony trichloride, antimony pentachloride, antimony trifluoride, alkali metal salts of antimony tartrate, antimony adducts of ethylene glycol, and antimony trioxide or any other trivalent or pentavalent antimony compound and the like. As mentioned above, the antimony oxides may be converted to halide salts in the presence of aqueous acid. The cuprous compound may be cuprous iodide as described in US-A-3,773,465. The binary and ternary metal mixtures are preferred for particularly severe corrosive environments since they appear to combine synergistically to provide protection. The binary metal salts may be mixed on weight ratios of 1:10 to 10:1. Each metal compound of the tenary mixture preferably should be present at a weight ratio of at least one part (preferably 2 parts) per 10 parts of each of the other two compounds. The preferred metal mixtures and the mixture ratios are listed below. Sb/Ca 1:1 to 1:10 Sb/Cu⁺ 1:1 to 10:1 Ca/Cu⁺ 1:5 to 10:1 The bismuth compound may be bismuth trichloride, bismuth triiodide, bismuth trioxide, alkali metal salts of bismuth tartrate, organic acid salts of bismuth such as bismuth subsalicylate or any other bismuth compound and the like. The bismuth trioxide may be converted to the halide salts in the presence of aqueous acid. Quaternary compounds : The quaternary ammonium compounds (referred to as "quaternary" herein) employed in the present invention must be capable of complexing with the selected metal salt. The preferred quaternary comprise aromatic nitrogen compounds which may be illustrated by alkyl pyridine-N-methyl chloride quaternary, alkyl pyridine-N-benzyl chloride quaternary, quinoline -N-methyl chloride quaternary, quinoline-N-benzyl chloride quaternary, quinoline-N-(chloro-benzyl chloride) quaternary, isoquinoline quaternaries, benzoquinoline quaternaries, chloromethyl napthalene quaternaries and admixtures of such compounds, and the like. The quaternary compound and metal salt may be used in molar ratios of 1:1 to 5:1. Generally, the quaternary compound, because of its higher molecular weight, will be present in the formulation at a higher concentration than the metal compound. The weight ratios of the quaternary compound and the metal compound preferably range from 1:1 to 4:1. Solvent : The solvent must be a highly polar aprotic solvent, such as dimethyl formamide (DMF), dimethylsulfoxide (DMSO), dimethylacetamide (DMA), 1-methyl-2-pyrrolidone ("pyrrolidone"), tetramethylene sulfone ("sulfolane") and mixtures thereof. In these solvents, the ions of the metal salt are unencumbered permitting the complex to form. The aprotic solvent (e.g. DMF, DMSO, DMA, pyrrolidone, and sulfolane) may be blended with alcohol. The preferred solvent is DMF or blends of alcohol and dimethyl formamide. Examples of such solvents include dimethyl formamide (DMF), DMF/isopropyl alcohol, DMF/methyl alcohol, DMF/formamide, DMF/formamide isopropyl alcohol, and DMF/formamide/methyl alcohol. DMF preferably constitutes from 50 to 100 wt % of the above solvent blends. The Dispersant : in order to disperse the quaternary/metal complex in aqueous acid, it has been found necessary to employ an organic amine (including aromatic amines, aliphatic amines, and heterocyclic amines) dispersant. The preferred dispersants are aminophenol, aniline, chloroaniline, toluidine, diphenyl amine, picoline, alkyl pyridine, or an n-alkylamine e.g. n-octylamine. The Surfactant : The surfactant serves to wet the tubular goods to permit deposition of the quaternary/metal complex. The preferred surfactants are the nonionics having hydrophilic - lipophilic balance (HLB) numbers of 8 to 18, preferably 9 to 16 such as laurates, stearates, and oleates. Nonionic surfactants include the polyoxyethylene surfactants, (such as ethoxylated alkyl phenols, ethoxylated aliphatic alcohols), polyethylene glycol esters of fatty, resin, and tall oil acids. Examples of such surfactants are polyoxyethylene alkyl phenol wherein the alkyl group is linear or branched C₈ - C₁₂ and contains above about 60 wt% poly oxyethylene. Octyl and nonyl phenols containing 9 to 15 moles ethyolene oxide per mole hydrophobe are the preferred ethoxylated alkyl phenol surfactants. The polyoxyethylene ester of fatty acids include the mono and dioleates and sesquioleates wherein the molecular wt of the esterified polyethylene glycol is between about 200 and 1000. Polyoxyethylene sorbitan oleates are also useable. In practice, the nonionics may be blended to provide the desired properties. A particularly useful surfactant is a blend of polyethylene glycol esters of fatty acids and ethoxylated alkylphenols. Preparation of the Formulation : The compounds can be mixed in the solvent in any order or the quaternary compound and metal salt can be added to the solvent and complexed prior to introduction of the dispersant and surfactant. The quaternary compound and metal compound, (e.g. SbCl₃) are added in mole ratios of between 1:1 to 5:1 quaternary compound: metal compound. The formulation of the present invention may be prepared as follows: a) Blend required amount of DMF and Quaternary compound. b) Add metal compound and mix until all material is dissolved. If metal oxide was used (Sb₂O₃ for example), add required amount of aqueous acid prior to metal compound. If required, the mixture may be heated to help dissolve the metal compound. c) The surfactant (if used) is blended in to the mixture when all the metal compound is dissolved. d) The dispersant is added and the resultant mixture stirred until a uniform blend is achieved. Alternatively, the quaternary compound(s) and metal compound(s) can be introduced into the solvent and complexed in one step. Operation : in operation, the formulation comprising the four principal components (preferably with the surfactant) may be premixed, prepackaged, and transported to the well site ready for use. The concentration of the formulation in the well treating acid, of course, should be sufficient to provide protection against corrosion. The concentration of the formulation will depend on the temperature of the well, the exposure time of the tubulars to the acid solution, the type of acid, and type of metal alloy. As mentioned above, the concentration of quaternary/metal complex in the acid solution should provide a metal compound concentration of at least 0.08 wt%. EXPERIMENTS In order to demonstrate the effectiveness of the corrosion inhibitors of the present invention, several samples were prepared using various components. The quaternary ammonium compounds used in the experiments were as follows: quaternary X - quinoline-N-benzyl chloride quaternary quaternary Y - alkyl pyridine-n-benzylchloride quaternary quaternary Z - quinoline-N-chloromethylnapthyl chloride quaternary The surfactant blend was 3.0 wt parts nonylphenol (10 mols EO) 3.5 wt parts each of polyethylene glycol (400) dioleate polyethylene glycol (600) sesquioleate Samples A through G were prepared by mixing the compounds in the weight percentages indicated on Table I. SAMPLES A B C D E F G Quaternary Compound: X 22.7 18.0 22.7 22.7 Y 18.0 18.0 Z 18.9 Metal Compound: SbCl₃ 9.0 9.0 9.0 Sb₂O₃ 4.6 4.6 4.1 BiCl₃ 10.0 Solvent Dimethyl Formamide 52.2 35.4 41.4 37.4 48.0 52.2 52.2 Formamide 5.3 5.3 5.3 Isopropyl Alcohol 12.0 12.6 Methanol 6.0 6.0 Surfactant Surfactant blend 5.1 5.0 5.0 4.5 5.0 5.1 Sorbitan Monoleate (20 EO) 5.2 Dispersant p-Aminophenol 5.7 4.5 5.7 Aniline 5.0 5.0 5.0 Mixed Picolines 5.6 HCl (28 wt%) 20.0 20.0 18.0 8.0 The samples in all the experiments were prepared in accordance with steps a) through d) described above. Each sample was added to an aqueous acid solution. Corrosion tests using N-80 tubing steel coupons and CR 2205 (API Specification Grade Duplex containing 21.9 wt% chromium) coupons were run at conditions indicated on Table II. Table II also presents corrosion rates (pound weight loss per square foot). As can be seen by the Table II results, the corrosion inhibitor with antimony and bismuth compounds provided excellent protection for both the steel and chromium coupons. Additional tests were carried out on samples F and G to determine dispersability. These tests involved adding 2 ml of the blended formulation to 50 ml of 15% wt HCl. The acid was placed in a 100 ml Pyrex beaker with a teflon coated magnetic stir bar. The acid was stirred fast enough to give a vortex without drawing air into the acid. The acid corrosion inhibitor formulation was syringed into the acid as fast as possible (typically less than 1-2 seconds) and the mixture stirred an additional 15 seconds. The stability of the dispersion was checked periodically by monitoring the amount of solids at the bottom of the beaker. In some cases observations were made over a 5 day period of time. A "good" dispersant gave stability for at least 4 hours and an excellent dispersant gave a stable dispersion for 16 - 24 hours. Both samples F and G, containing the dispersant, exhibited good to excellent dispersability and stability. Tests on samples without the dispersant failed - the quaternary compound/metal complex precipitated out almost immediately. Additional tests were conducted to identify other metal salts that may be used in the corrosion inhibitor formulation of the present invention. The samples contained the quaternary compound and metal compound in the amounts indicated on Table III through VII, and 3.5 to 5 wt% of a surfactant blend, 3 wt% aniline, and 41 to 62 wt% DMF. Five series of corrosion coupon tests were carried out. The conditions of each series was as follows: TEMP. (°F) PRES. (psi.) TIME (hrs.) DATA Series A 250 3000 4 Table III Series B 325 (162.8°C) 3000 2 Table IV Series C 350 3000 4 Table V Series D 250 3000 2 Table VI Series E 325 3000 2 Table VII SERIES A TEST NO. QUATERNARY METAL SALT ACID Type Coupon CORROSION RATE lb/ft² Type gms Type gms Control X 1.5 - - 28% N-80 0.1966 1 X 1.2 CaCl₂ 0.2 28% N-80 0.0150 2 Z 1.2 CaCl₂ 0.2 28% N-80 0.0145 3 X 1.2 CaCl₂ 0.2 28% CR-2205 0.0205 4 Z 1.2 CaCl₂ 0.2 28% CR-2205 0.0809 5 X 1.2 CuI 0.5 28% CR-2205 0.0119 6 X 1.2 CuI 0.5 28% N-80 0.0123 7 Z 1.2 CuI 0.5 28% CR-2205 0.0251 8 Z 1.2 CuI 0.5 28% N-80 0.0100 9 X 1.2 Sb₂O₃ 0.3 28% CR-2205 0.0375 10 X 1.2 Sb₂O₃ 0.3 28% N-80 0.0624 11 Z 1.2 Sb₂O₃ 0.3 28% CR-2205 0.1021 12 Z 1.2 Sb₂O₃ 0.3 28% N-80 0.0265 13 X 1.2 CaCl₂ 0.10 28% N-80 0.0160 CuI 0.13 Sb₂O₃ 0.08 14 X 1.2 CaCl₂ 0.10 28% CR-2205 0.0205 CuI 0.13 Sb₂O₃ 0.08 15 Z 1.2 CaCl₂ 0.10 28% N-80 0.0134 CuI 0.13 Sb₂O₃ 0.08 16 Z 1.2 CaCl₂ 0.10 28% CR-2205 0.0747 CuI 0.13 Sb₂O₃ 0.08 From the Table III data, it can be seen that the formulation containing various metal salts and quaternary compounds gave excellent protection for both N-80 steel and CR 2205 coupons in corrosive 28% HCl. The ternary metal blends (tests 13-16) provided exceptional protection vis-a-vis antimony compounds (tests 9 through 12). The Series B tests were carried out at higher temperatures and shorter time, and generally at higher quaternary concentrations than the Series A tests. The Table IV data reveal that the formulation provided good protection for N-80 steel. The binary metal mixtures (tests 11, and 13) provided excellent protection for CR-2205 coupons in mud acid. The acids used in these tests were 15% HCl and mud acid. SERIES B TEST NO. QUATERNARY METAL SALT ACID Type Coupon CORROSION RATE lb/ft² Type gms Type gms 1 X 2.4 SnCl₂ 1.6 15% N-80 0.0320 2 X 2.4 SnCl₂ 1.6 Mud CR-2205 0.6877 3 X 2.4 MoCl₅ 2.4 15% N-80 0.0484 4 X 2.4 MoCl₅ 2.4 Mud CR-2205 0.6513 5 Y 1.2 CaCl₂ 0.2 Mud N-80 0.0648 6 X 2.4 CaCl₂ 0.5 Mud N-80 0.0312 7 Z 1.4 CaCl₂ 0.2 Mud N-80 0.0375 8 X 2.4 CaCl₂ 0.5 15% N-80 0.0280 9 X 2.4 CaCl₂ 0.5 Mud CR-2205 0.5839 10 X 2.4 CaCl₂ 0.2 15% N-80 0.0311 CuI 0.5 11 X 2.4 CaCl₂ 0.2 Mud CR-2205 0.0624 CuI 0.5 12 X 1.2 CaCl₂ 0.2 15% N-80 0.0174 Y 0.4 Sb₂O₃ 0.1 13 X 1.2 CaCl₂ 0.2 Mud CR-2205 0.0082 Y 0.4 Sb₂O₃ 0.1 14 X 2.4 MgCl₂ 0.4 15% N-80 0.0331 CuI 0.5 15 X 2.4 AlCl₃ 0.6 15% N-80 0.027 16 X 2.4 AlCl₃ 0.6 Mud N-80 0.032 17 X 2.4 AlCl₃ 0.6 Mud CR-2205 0.596 The Series C tests were carried out at extreme conditions (350°F for 4 hours). The Table V data showed generally improved results in comparison to the control (which contained the quaternary but no metal compound - Test No. 1). The preferred metal compounds (e.g. BiCl₃, CuI, Sb₂O₃) gave surprising results in protecting chrome steel in mud acid. SERIES C TEST NO. QUATERNARY METAL SALT CORROSION RATE Coupon Type gms Type gms 15% HCl Mud Acid 1 X 1.5 -- -- 0.7235 0.6840 N-80 2 X 1.2 AlCl₃ 0.3 0.1329 0.1704 N-80 3 X 1.2 AlCl₃ 0.6 0.1434 0.2026 N-80 4 Y 1.2 BiCl₃ 0.7 -- 0.0188 CR-2205 5 Y 2.0 BiCl₃ 1.1 -- 0.0467 CR-2205 6 X 1.2 CaCl₂ 0.2 0.1355 0.1355 N-80 7 X 2.0 CuI 0.8 0.1068 -- N-80 8 X 2.0 CuI 0.8 -- 0.2459 CR-2205 9 Z 2.0 CuI 0.8 0.0568 -- N-80 10 Z 2.0 CuI 0.8 -- 0.1446 CR-2205 11 X 1.3 CuI 1.1 0.0982 -- N-80 12 X 1.3 CuI 1.1 -- 0.5650 CR-2205 13 X 1.3 Sb₂O₃ 0.3 -- 0.0096 CR-2205 14 X 1.3 Sb₂O₃ 0.3 0.0030 -- N-80 15 Z 1.5 Sb₂O₃ 0.3 0.0091 -- N-80 16 Z 1.5 Sb₂O₃ 0.3 -- 0.0129 CR-2205 17 Y 1.2 Sb₂O₃ 0.3 0.0064 -- N-80 18 Y 1.2 Sb₂O₃ 0.3 -- 0.0131 CR-2205 19 X 1.3 SnCl₂ 0.9 -- 0.5342 CR-2205 20 X 1.2 SnCl₂ 0.4 -- 0.6734 CR-2205 21 X 1.3 SnCl₂ 0.9 0.3455 -- N-80 22 X 1.2 SnCl₂ 0.4 0.1938 -- N-80 23 X 1.2 ZrOCl₂ 0.4 0.1512 0.1963 N-80 24 X 1.2 MgCl₂ 0.5 0.1439 0.1856 N-80 25 X 1.3 MoCl₅ 1.3 0.3478 -- N-80 26 X 1.2 MoCl₅ 0.6 0.1623 -- N-80 27 X 1.3 MoCl₅ 0.6 -- 0.6628 CR-2205 28 X 1.2 MoCl₅ 0.6 -- 0.7470 CR-2205 29 X 1.2 ZnCl₂ 0.3 0.2162 N-80 Series D tests were conducted to show the effects of the quat/metal complex on corrosion in 28% HCl. The formulations of Tests 1, 2, and 3 did not include the metal salts; whereas the formulation of the other tests included metal results. All tests with the quat/metal complex exhibited dramatic improvement in corrosion protection. SERIES D TEST NO. QUATERNARY METAL SALT Coupon CORROSION RATE lb/ft² Type gms Type gms 1 Y 1.9 - - N-80 0.2527 2 X 1.5 - - N-80 0.0746 3 Z 1.5 - - N-80 0.0539 4 X 1.2 CaCl₂ 0.2 N-80 0.0103 5 Y 1.2 CaCl₂ 0.2 N-80 0.0262 6 Z 1.2 CaCl₂ 0.2 N-80 0.0107 7 Z 1.2 CuI 0.5 N-80 0.0082 8 X 1.2 CuI 0.5 N-80 0.0094 9 X 1.2 Sb₂O₃ 0.3 N-80 0.0245 10 Y 1.2 Sb₂O₃ 0.3 N-80 0.0231 11 Z 1.2 Sb₂O₃ 0.3 N-80 0.0318 12 Z 1.0 CaCl₂ 0.2 N-80 0.0169 Y 0.2 Sb₂O₃ 0.05 13 Z 0.8 CaCl₂ 0.16 N-80 0.0200 Y 0.4 Sb₂O₃ 0.10 14 Z 0.6 CaCl₂ 0.12 N-80 0.0229 Y 0.6 Sb₂O₃ 0.15 15 Z 1.2 CaCl₂ 0.16 N-80 0.0189 Sb₂O₃ 0.10 16 Z 1.2 CaCl₂ 0.20 N-80 0.0105 CuI 0.08 17 Z 1.2 CaCl₂ 0.16 N-80 0.0103 CuI 0.16 The Series E tests (Table VII) demonstrate the effectiveness of the binary metal salt mixtures. The HCl acid was 15% HCl and the mud acid was a mixture of 12% HCL and 3% HF. The metal mixtures provided surprisingly good protection for CR 2205 in mud acid environment. The binary and ternary metal salt mixtures are particularly applicable in protecting chrome steel in mud acid environments. Chrome steel alloys as used herein includes alloys containing more than trace amounts of CR, specifically 8 wt% or more Cr. Solubility tests were conducted to compare the solubilities of various solvents for dissolving metal - quaternary complex. The samples were prepared as described previously. The metal quaternary complex was found to have the following solubilities in the solvent tested: (a) insoluble in acetone, isopropyl alcohol (IPA), toluene, xylene, Aromatic 150, 15 - 28% HCL, and water. (b) somewhat soluble in formamide (c) very soluble in DMF (d) soluble in DMF/IPA, methyl alcohol/DMF, DMF/formamide, DMF/formamide/methyl alcohol blends. Summarizing the experimented data, the corrosion inhibitor formulation is characterized by (1) effective corrosion protection for ferrous metals and chromium steel in HCl solutions and mud acid solutions. (2) good stability, (3) good dispersability in the well treating acid, and (4) Low toxicity vis-a-vis acetylenic compounds. While the present invention has been described with specific reference to well acidizing, it will be appreciated by those skilled in the art that it may also be used in any aqueous well treating operation. The present invention expressly embraces a method for treating a well with an aqueous liquid containing a quaternary ammonium/metal compound complex wherein the metal compound comprises (a) a compound of Ca, Sb, Cu⁺, or Bi and (b) a metal compound listed under the section headed "Metal Compounds", and wherein (a) and (b) are different.

Claims: A corrosion inhibitor formulation capable of dispersion in aqueous well treating acids which comprises: (a) 20 to 90 wt% of a highly polar aprotic solvent, (b) from 1 to 25 wt% of a compound of a metal selected from Cu(cuprous), Sn, Zn, a Group 2 metal having an atomic number from 12 to 56, a Group 4 metal having an atomic number of 22 or 40, a Group 13 metal having an atomic number from 13 to 49, a Group 6 metal having an atomic number from 24 to 74, and a Group 15 metal having an atomic number from 24 to 74, and a Group 15 metal having an atomic number from 33 to 83; and mixtures thereof: (c) 3 to 50 wt% of a quaternary ammonium compound soluble in said solvent and capable of forming a soluble complex with said metal compound; and (d) from 1 to 15 wt% of an organic amine dispersant for dispersing the complex of the quaternary ammonium compound and the metal compound in the well treating acid, said wt% being based on the formulation. The formulation of claim 1 which further comprises a nonionic surfactant having an HLB No. of from 8 to 18 (hydrophilic-lipophilic balance). The formulation of claim 1 or 2 wherein the solvent is dimethyl formamide, dimethyl sulphoxide, dimethylacetamide, pyrrolidone, or sulfolane. The formulation of claim 1 or 2 wherein the solvent is a dialkyl formamide wherein each alkyl group contains from 1 to 3 carbon atoms. The formulation of any of claims 1 to 4 wherein the metal compound is a metal halide. The formulation of any of claims 1 to 5 wherein the metal is Sb, Bi, Ca, Cu+, Al, Sn, Zr, Mg, Ba, Mo, Zn, Sr, or a mixture thereof. The formulation of claim 6 wherein the metal is Sb, Bi, Ca, Cu+, or a mixture thereof. The formulation of claim 7 wherein the metal halide is SbCl₃. The formulation of claim 7 wherein the metal is a mixture of Sb and Ca, or Sb and Cu+, or Ca and Cu+. The formulation of claim 9 wherein the weight ratio of each metal compound ranges from 1:10 to 10:1. The formulation of claim 7 wherein the metal is a mixture of Sb, Cu+, and Ca. The formulation of claim 11 wherein each metal compound of the mixture represents at least 10 wt% of the mixture. The formulation of any of claims 1 to 12 wherein the quaternary ammonium compound is an alkyl pyridine-N-benzyl chloride quaternary, quinoline-N-benzyl chloride quaternary, quinoline-N-(chlorobenzyl chloride) quaternary, or quinoline-N-α-chloromethylnaphthyl) quaternary. The formulation of any of claims 1 to 4 wherein the dispersant is aniline, aminophenol, chloroaniline, toluidine, diphenyl amine, picoline, alkyl-pyridine, or an n-alkyl amine. The formulation of any of claims 1 to 14 wherein the metal compound concentration is from 2 to 20 wt%, the quaternary ammonium compound concentration is from 12 to 50 wt%, and the dispersant concentration is from 1 to 10 wt%. A method of acidizing a subteranean formation by injecting a well treating acid solution down pipe into the well, which comprises: (a) preparing the corrosion inhibitor formulation of any of claims 1 to 15; (b) dispersing the formulation in the well treating acid solution to provide the solution with at least 0.08 wt% of the metal compound based on the combined weight of the well treating acid and formulation; and (c) injecting the well treating acid solution containing the corrosion inhibitor formulation through the pipe into the formation. The method of claim 16 wherein the pipe is composed of chromium steel, the acid solution is mud acid, and the metal compound is a compound of Sb, As, Al, Bi, Ca, or a mixture thereof. The method of claim 16 or 17 wherein the acid solution is 3% to 28% HCl or a mixture of HCl and HF wherein acid concentration in the aqueous solution ranges from 7% to 18%. An aqueous well treating acid composition comprising: (a) an aqueous solution of HCl, HF, acetic acid, formic acid or a mixture thereof: and (b) a corrosion inhibitor formulation as defined in any one of claims 1 to 15, the concentration of the corrosion inhibitor formulation being sufficient to provide the aqueous solution with at least 0.08 wt% of the metal compound based on the combined weight of solution and formulation.

Inventors: HOLIFIELD PHYLLIS K, LOONEY JAMES R, MCDOUGALL LEE A, WILLIAMS DENNIS A, HOLIFIELD, PHYLLIS K., LOONEY, JAMES R., MCDOUGALL, LEE A., WILLIAMS, DENNIS A.
Applicants: EXXON CHEMICAL PATENTS INC, EXXON CHEMICAL PATENTS INC.
Application year: 1990
Main classification: E21B41
IPC codes: C09K8, C23F11