Abstract:
The specification discloses a method for preparing quaternary ammonium salts by reacting a tertiary amine salt with a 2-oxazoline or 2-oxazine compound.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to the preparation of quaternary ammonium salts. These are generally prepared by the alkylation of tertiary amines with alkyl halides, sulfonates or sulfates according to the following reaction. ##STR1## where X=Cl, Br, I, R&#34;SO 4   - , R&#34;SO 3   
     These reactions are limited by the availability of the alkylating agents and in the counter ion which is generated. For example, alkyl phosphates are not readily available, making it difficult to produce a quaternary ammonium phosphate. 
     Another method for producing quaternary ammonium sulfates involves the reaction of tertiary amines with ethylenimine in the presence of acid. This reaction results in the following type of quaternary ammonium compound: ##STR2## The counter ion &#34;X -  &#34; can be varied as a function of the acid used. These types of quaternary ammonium compounds are useful as antistatic agents and in the dying of acrylic fabrics. 
     SUMMARY OF THE INVENTION 
     The present invention is a method for preparing quaternary ammonium compounds by reacting a tertiary amine salt with a 2-oxazoline or 2-oxazine compound of the following formula: ##STR3## where b is zero for oxazoline and one for oxazine; and 
     R&#39; 1  -R&#39; 6  are the same or different H, alkyl or aryl substituents which will not react with, compete with or sterically interfere with the tertiary amine salt in its ring opening reaction with the oxazoline or oxazine. 
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The primary reaction of the present invention yields a first type of quat and is basically summarized as follows: ##STR4## where R&#39;.sub.(1-6) =H, alkyl, aryl, with R&#39;.sub.(2-6) being most preferably H; 
     R 1 , R 2 , R 3  =alkyl, aryl; 
     b=zero for oxazoline and one for oxazine; 
     X=Cl, Br, I, HSO 4 , H 2  PO 4 , etc. 
     Acid hydrolysis of the amide function of the first type of quat then yields a second type quat and acid by product as follows: ##STR5## 
     The 2-oxazoline and 2-oxazine compounds used in the present invention are generally known compounds. Methods for their synthesis are discussed in Frump, Chemical Reviews, LXXI, No. 5 (1971), pp. 483-505 at p. 486, in Seeliger et al., Angew. Chemische (International edition) V, No. 10, pp. 875-888 (1966), and in U.S. Pat. No. 4,203,900, which references are hereby incorporated by reference. 
     2-oxozoline compounds are more readily obtainable than 2-oxazine compounds. Hence in most commercial applications, &#34;b&#34; in the formula above will be zero. Examples of 2-oxazolines which can be used in the invention include 2-ethyloxazoline, 2-isopropenyloxazoline, 2-methyloxazoline, 2,5-dimethyloxazoline, 2-undecyloxazoline and 2-phenyloxazoline. 
     The R&#39;.sub.(1-6) on the 2-oxazoline or 2-oxazine used in this process comprises a hydrogen atom, an alkyl or aryl group. R&#39;.sub.(1-6) can be the same or different. R&#39;.sub.(2-6) are preferably hydrogen where R&#39; 1  is preferably an alkyl or aryl group. Of course where &#34;b&#34;=zero, there will be no R&#39; 4 . Examples of R&#39;.sub.(1-6) substituents include hydrogen, methyl, ethyl, undecyl, stearyl, phenyl, benzyl, hydroxyethyl, and p-nitrophenyl groups. 
     The only limitation on R&#39;.sub.(1-6) is that it must not compete to any significant degree with the tertiary amine salt for opening the oxazoline ring, must not significantly react with the amine and must not sterically hinder the ring opening reaction. The foregoing limitations are to be considered in the context of a specific reaction system and specific ingredients which can be added to the system to effectively minimize the occurrence of the foregoing undesirable effects. 
     The R 1 , R 2  and R 3  components of the tertiary amine salts used in the present invention can be the same or different alkyl or aryl groups. Basically, the only limitation on the particular alkyl or aryl groups is that, as above for R&#39;.sub.(1-6), they must not interfere with or hinder the oxazoline ring opening reaction. The alkyl and aryl groups mentioned above in connection with R&#39;.sub.(1-6) are also operable examples for R 1 , R 2  and R 3 . 
     The &#34;X -  &#34; counter ion of the tertiary amine salt can be any counter ion available in an acid. The examples for &#34;X -  &#34; given above are by no means limiting. One skilled in the art can tailor the reaction by choosing any of the broad number of counter ions available. The only limitation on the counter ion is that it must not significantly compete with the tertiary amine for opening the oxazoline ring. 
     The tertiary amine is reacted with an appropriate acid to create the desired tertiary amine salt. Examples of tertiary amines which can be used to create the tertiary amine salts for this reaction include tributylamine, triethylamine, triethanolamine, pyridine and dimethylaniline. 
     The use of free amines can help control selectivity of the reaction, i.e., insure that the primary reaction is between the tertiary amine salt and the oxazoline ring. For example, where the R&#39; 1  substituent is vinyl or isopropenyl, the amine or another oxazoline will tend to add at the double bond. The presence of free amine reduces the amount of double bond addition. As an alternative to adding free amine, some inorganic base such as sodium hydroxide can be used to generate free amine during the reaction. 
     Vinyl polymerization inhibitors may be employed where the R&#39; substituent includes a vinyl group. Examples of vinyl polymerization inhibitors include phenothiazine or MEHQ. 
     The reaction is generally carried out in a polar solvent such as isopropanol, ethanol, methanol or acetonitrile. The reaction must be carried out under anhydrous conditions to avoid hydrolyzing the oxazoline ring. The stoichiometry for the reaction is basically 1:1, but an excess of the amine salt can be used. 
     The reaction is preferably carried out at between 100°-125° C. Higher or lower temperatures may be appropriate for specific reactions. 
    
    
     EXAMPLE 1 
     The production of N-(2-propionamidoethyl)-N,N,N-trimethyl ammonium chloride is illustrated in Example 1. Ethyloxazoline (3.04 g., 0.03 mol), trimethylamine hydrochloride (2.74 g., 0.03 mol) and 20 ml isopropanol were charged into a 45 ml Parr reactor, a stainless steel pressure reactor. The mixture was heated 3 hours at 100° C. The mixture was then cooled and the solvent and unreacted oxazolines stripped at reduced pressure. Crude product, 5.8 g., crystallized on standing. The product was recrystallized from acetone to yield white hygroscopic needles. Structure was assigned based on spectral data. 
     The foregoing reaction can be written basically as follows: ##STR6## 
     EXAMPLE 2 
     The production of N-(2-methacrylamidoethyl)-N,N,N-trimethyl ammonium chloride is illustrated in Example 2. Isopropenyloxazoline (2.5 g., 0.02 mol), trimethylamine hydrochloride (2.7 g., 0.03 mol), trimethylamine (0.7 g., 0.01 mol) (added to speed up rection and help control selectivity) and 15 ml isopropanol were charged into a 45 ml Parr reactor. The mixture was heated for 16 hours at 105° C. The mixture was cooled, diluted with water and stripped at reduced pressure. 6.4 grams of crude product recovered is a mixture of desired product, unreacted trimethylamine hydrochloride and some double bond addition product. 
     The foregoing reaction is written as follows: ##STR7## 
     The product of Example 2 is a cationic monomer used in the preparation of polymers for water treatment, paper making, cosmetics, mineral processing and enhanced oil recovery.