Quaternary ammonium compounds useful for inhibiting metal corrosion

Abstract: Quaternary ammonium compounds useful as metal corrosion inhibitors in aqueous acid solutions, are made by contacting the still bottoms residue produced in the distillation of quinoline from coal tar, with oxygen to oligomerize the aromatic amines contained therein, and then reacting the oligomerized amines with a benzylhalide.

Description: The present invention relates to a method of making quaternary ammonium compounds and their use as metal corrosion inhibitors in aqueous acid solutions. Subterranean hydrocarbon containing formations penetrated by well bores are commonly treated with aqueous acid solutions to stimulate the production of hydrocarbons therefrom. One such treatment known as "acidizing" involves the introduction of an aqueous acid solution into the subterranean formation under pressure so that the acid solution flows through the pore spaces of the formation. The acid solution reacts with acid soluble materials contained in the formation thereby increasing the size of the pore spaces and the permeability of the formation. Another production stimulation treatment known as "fracture-acidizing" involves the formation of one or more fractures in the formation and the introduction of an aqueous acid solution into the fractures to etch the fracture faces whereby flow channels are formed when the fractures close. The aqueous acid solution also enlarges the pore spaces in the fracture faces in the formation. In carrying out acidizing and fracture-acidizing treatments in wells and other similar treatments using aqueous acid solutions, the corrosion of metal tubular goods, pumps and other equipment is often a problem. The expense associated with repairing or replacing corrosion damaged tubular goods and equipment can be very high. In a well treatment utilizing an aqueous acid solution, the corrosion of metal surfaces in tubular goods and equipment results in at least the partial neutralization of the aqueous acid solution before it reacts with acid-soluble materials in the subterranean formation to be treated. Also, the presence of dissolved metals in the aqueous acid solution can bring about the precipitation of insoluble sludge when the aqueous acid solution contacts crude oil which can in turn severely damage the permeability of the subterranean formation being treated. A variety of metal corrosion inhibiting formulations for use in aqueous acid solutions have been developed and used successfully heretofore. Many of such corrosion inhibiting formulations have included quaternary ammonium compounds as essential components, particularly in high temperature applications. It has been found that the metal corrosion inhibiting ability of a quaternary ammonium compound often increases as the molecular weight and/or degree of aromaticity of the compound increases. For example, a quaternary ammonium compound having three aromatic rings prepared by reacting quinoline with a benzylhalide functions very well as a metal corrosion inhibitor in aqueous acid solutions. GB Patent No. 823,163 describes a corrosion inhibiting composition containing a quaternised N-heterocyclic base, a water soluble non-ionic surface active agent containing a polyoxyethylene group, and an alcohol. The N-heterocyclic base may be quaternised by reaction with, for example, benzyl chloride. When quinoline is reacted with a naphthalene compound such as chloromethyl naphthalene to form a quaternary ammonium compound having four aromatic rings, the quaternary ammonium compound functions better as a metal corrosion inhibitor in aqueous acid solutions. When quinoline is reacted with acridine to form a quaternary ammonium compound having five aromatic rings, the quaternary ammonium compound functions even better as a metal corrosion inhibitor in acid solutions. GB Patent No. 915,950 describes the production of bis-nitrogen heterocyclic compounds by the coupling of two monomer units, such as two quinoline molecules, using a palladium catalyst, and EP 328319 describes the production of quaternary quinolinium compounds, which are useful as metal corrosion inhibitors, from quinoline oligomers. However, the aromatic quaternary compounds described above are very expensive to produce, and therefore are impractical for use as metal corrosion inhibitors. We have now found some improved quaternary ammonium compounds for use as metal corrosion inhibitors in aqueous acid solutions, which compounds have high molecular weights and high degrees of aromaticity and are relatively inexpensive to prepare. According to the present invention, there is provided a method of preparing a mixture of quaternary ammonium compounds useful as a metal corrosion inhibitor in aqueous acid solutions, which method comprises (a) contacting still bottoms residue, from the distillation of quinoline from coal tar, with oxygen in the presence of a catalyst to oligomerize aromatic amines contained therein; and (b) reacting said bottoms residue containing oligomerized amines with a benzylhalide to form a mixture of quaternary ammonium compounds. Metal corrosion inhibited aqueous acid solutions of this invention are basically comprised of water, an acid and an effective amount of a corrosion inhibitor comprised of a mixture of quaternary ammonium compounds prepared as described above. The acid utilized in the aqueous acid solutions is preferably selected from the group consisting of hydrochloric acid, hydrofluoric acid, formic acid, acetic acid, citric acid and mixtures thereof. The method of this invention for protecting a metal surface from corrosion when contacted by an aqueous acid solution is basically comprised of the steps of combining with the aqueous acid solution an effective amount of a corrosion inhibitor comprising a mixture of quaternary ammonium compounds prepared as described above, and then contacting the metal surface with the aqueous acid solution containing the corrosion inhibitor. The quaternary ammonium compounds made by the invention have high molecular weights and high degrees of aromaticity. Moreover, they can be inexpensively prepared from the still bottoms residue produced in the distillation of pharmaceutical quinoline from coal tar. Such still bottoms residue contains quantities of quinoline and derivatives thereof, isoquinoline and derivatives thereof, and other aromatic amine compounds such as pyridine, picoline, lutidine and the like. The quinoline still bottoms residue starting material is commercially available, for example, from the Crowley Coal Tar Products Company of New York, New York, under the tradename "INHIBITOR J™". A quantity of the still bottoms residue is contacted with oxygen in the presence of a catalyst, e.g., cuprous chloride in an amount in the range of from about 0.1% to about 2% by weight of the bottoms residue, at a temperature and for a time sufficient to oligomerize the aromatic amines contained therein. It is believed that the contact with oxygen causes a coupling reaction that oligomerizes the aromatic amines and thereby increases their overall molecular weights and degrees of aromaticity. The term "oligomerize" is used herein to mean the coupling of several aromatic amines together and/or to other aromatic compounds. The contact of the still bottoms residue with oxygen is preferably carried out by sparging oxygen or air through the bottoms residue at a rate of from about 2 x 10 -6 to about 3 x 10 -5 cubic meters (about 2 to about 30 cubic centimetres) per minute per 100 millilitres of bottoms residue for a time period in the range of from about 8 hours to about 48 hours while maintaining the temperature of the bottoms residue in the range of from about 65°C (150°F) to about 108°C (about 225°F). The mixture of oligomerized aromatic amines produced by contacting the still bottoms residue with oxygen are reacted with a benzylhalide such as benzylchloride at a temperature and for a time sufficient to form a mixture of high molecular weight and aromaticity quaternary ammonium compounds therefrom. Generally, the amount of benzylhalide reacted with the oligomerized bottoms residue is in the range of from about 70% to about 100% by weight of the bottoms residue. The reaction is carried out at a temperature in the range of from about 65°C (150°F) to about 108°C (about 225°F) for a time of from about 8 hours to about 48 hours, or until the reaction mixture turns from a brown color to a scarlet-red color. As mentioned above, the mixture of quaternary ammonium compounds prepared as described above are highly active and function extremely well as metal corrosion inhibitors in aqueous acid solutions. The improved metal corrosion inhibited aqueous acid solutions of this invention are comprised of water, an acid, and an effective amount of a metal corrosion inhibitor comprised of the highly active mixture of quaternary ammonium compounds prepared from quinoline still bottoms residue as described above. The water used to form the aqueous acid solutions of this invention can be any aqueous fluid which does not adversely react with the components of the inhibited aqueous acid solution. For example, the water can be fresh water, brine, salt solutions and the like. The acid utilized is preferably an acid selected from the group consisting of hydrochloric acid, hydrofluoric acid, formic acid, acetic acid, citric acid and mixtures thereof. The acid is preferably present in an amount in the range of from about 2% to about 100% by weight of the acid solution, more preferably from about 5% to about 38%. The metal corrosion inhibitor comprised of a mixture of quaternary ammonium compounds prepared as described above is present in the aqueous acid solution in an amount effective to prevent or reduce the corrosion of metal surfaces contacted by the acid solution. Preferably the corrosion inhibitor is present in an amount in the range of from about 0.05% to about 3% by volume of the solution. As will be understood by those skilled in the art, the metal corrosion inhibited aqueous acid solutions of this invention can include a variety of other additives such as acetylenic alcohols, various corrosion inhibitor intensifiers, sulfide scavengers, solvents, surfactants and other components commonly used in acidizing compositions and known to those skilled in the art. The methods of this invention for protecting a metal surface from corrosion when contacted by an aqueous acid solution are basically comprised of the steps of combining an effective amount of a metal corrosion inhibitor comprised of a mixture of quaternary ammonium compounds prepared as described above with the aqueous acid solution, and then contacting the metal surface with the aqueous acid solution containing the corrosion inhibitor. While the metal corrosion inhibitor comprised of a mixture of improved quaternary ammonium compounds of this invention can be combined with any aqueous acid solution used in any application to contact and dissolve reactive materials so that metal surfaces also contacted by the acid solution are prevented from being corroded, the corrosion inhibitor is particularly suitable for use in aqueous acid solutions used for acidizing and fracture-acidizing subterranean formations. In order to further illustrate the aqueous acid compositions and methods of this invention the following example is given. Example 1 A corrosion inhibitor comprised of a mixture of improved quaternary ammonium compounds of this invention was prepared by contacting 100 milliliters of quinoline still bottoms residue containing 1% by weight cuprous chloride with oxygen at a rate of 2 x 10 -5 cubic meters (20 cubic centimeters) per minute for 24 hours and at a temperature of 79.4°C (175°F). The still bottoms residue used was obtained from the Crowley Coal Tar Products Company under the tradename "INHIBITOR J™". The resulting mixture of oligomerized aromatic amines were then reacted with 92 milliliters of benzylchloride in isopropyl alcohol for 8 hours at a temperature of 107.2°C (225°F). A portion of the resulting mixture of quaternary ammonium compounds was combined with other components to form a first corrosion inhibiting formulation (designated as "Inhibitor A") as follows: Inhibitor A Component Amount, % by weight of formulation surfactants 18 acetylenic alcohols 5 solvents (alcohols and naphtha) 30 fatty acids 30 quaternary ammonium compound mixture formed from oxygen treated quinoline still bottoms residue 17 100 A second corrosion inhibitor was prepared as described above except that the quinoline still bottoms residue was reacted directly with the benzylchloride without first being contacted with oxygen. Sufficient cuprous chloride was then added to the reaction product to equal 1% (wt) with respect to the still bottom residue component. This resulting mixture was combined with the same components to form a second corrosion inhibitor formulation (designated as "Inhibitor B") as follows: Inhibitor B Component Amount, % by weight of formulation surfactants 18 acetylenic alcohols 5 solvents (alcohols and naphtha) 30 fatty acids 30 quaternary ammonium compound mixture formed directly from quinoline still bottoms residue 17 100 0.3 milliliter portions of Inhibitor A and Inhibitor B were combined with 100 milliliter portions of a 15% by weight aqueous hydrochloric acid solution containing 2% by weight of an ethoxylated amine dispersant and 2% by weight of an antisludging formulation containing dodecylbenzene sulfonic acid. The resulting corrosion inhibited test samples were heated to 93.3°C (200°F), and a preweighed N-80 steel corrosion coupon was immersed in each while maintaining the temperature of the samples for 4 hours. After the four hour test periods, the corrosion coupons were removed, rinsed and weighed to determine the rates of corrosion which took place during the tests. The results of the tests were as follows: Test Sample containing: Corrosion Rate, kg per square meter (pounds per square foot) Inhibitor A 0.0146 (0.003) Inhibitor B 0.1123 (0.023) From the above test results, it can be seen that the corrosion inhibitor provides excellent corrosion protection.

Claims: A method of preparing a mixture of quaternary ammonium compounds useful as a metal corrosion inhibitor in aqueous acid solutions, which method comprises (a) contacting still bottoms residue, from the distillation of quinoline from coal tar, with oxygen in the presence of a catalyst to oligomerize aromatic amines contained therein; and (b) reacting said bottoms residue containing oligomerized amines with a benzylhalide to form a mixture of quaternary ammonium compounds. A method according to claim 1, wherein the catalyst utilized in step (a) is cuprous chloride present in said bottoms residue in an amount of from 0.1% to 2% by weight of said bottoms residue. A method according to claim 1 or 2, wherein said bottoms residue is contacted with oxygen in step (a) at a rate of from 2 to 30 cubic centimeters (2 x 10 -6 to 3 x 10 -5 cubic meters) per minute per 100 milliliters of bottoms residue. A method according to claim 1, 2 or 3, wherein said bottoms residue is contacted with oxygen in step (a) at a temperature of from 150°F to 225°F (65° to 108°C). A method according to claim 1, 2, 3 or 4, wherein said bottoms residue is contacted with oxygen in step (a) for a period of from 8 hours to 48 hours. A method according to any of claims 1 to 5, wherein said bottoms residue containing oligomerized amines is reacted in step (b) with an amount of benzylhalide from 70% to 100% by weight of said bottoms residue. A method according to any of claims 1 to 6, wherein said bottoms residue containing oligomerized amines is reacted with benzylhalide in step (b) at a temperature of from 150°F to 225°F (65° to 108°C). A method according to any of claims 1 to 7, wherein said benzylhalide is benzylchloride.

Inventors: BREZINSKI MICHAEL M, BREZINSKI, MICHAEL M.
Applicants: HALLIBURTON ENERGY SERV INC, HALLIBURTON ENERGY SERVICES, INC.
Application year: 1998
Main classification: E21B43
IPC codes: C09K8, C23F11