Treatment of coal liquids
CROSS-REFERENCE TO RELATED APPLICATIONS 
     This is a continuation-in-part application of U.S. Pat. Ser. No. 969,361, filed Dec. 14, 1978, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention is directed to improving the properties of coal liquids and, in particular, to rendering coal liquids more soluble in common organic solvents and more compatible with petroleum liquids. 
     2. Description of the Prior Art 
     A major use of coal liquids, particularly high boiling coal liquids, could be in a fuel blend consisting of both coal and petroleum liquids. Unfortunately, coal liquids, such as those derived by hydrogenation processes, do not appear to be compatible with petroleum liquids in that addition of small amounts of the former to the latter causes precipitation. 
     Without subscribing to any particular theory, one likely reason for this is that coal liquids are more polar than petroleum liquids, due to the presence of phenolic and carboxylic functionalities. These polar functionalities cause intermolecular association between adjacent coal liquid molecules and tend to hold the coal liquid molecules together by a network of hydrogen bonds. Petroleum liquids, which lack these polar functional groups, cannot participate in the intermolecular association. As a result, segregation occurs, and the petroleum and coal liquids separate into distinct layers. 
     SUMMARY OF THE INVENTION 
     In accordance with the invention, functionalities having weakly acidic protons in coal liquids are treated by a process selected from the group consisting of alkylation and acylation (sometimes referred to herein as oxygen or O-alkylation and oxygen or O-acylation). Weakly acidic protons include phenolic, carboxylic and mercaptan functionalities. The O-alkylation or O-acylation is conveniently carried out by use of a phase transfer agent and an alkylating or acylating agent. The phase transfer reagent, which is recyclable, is, by way of example, a quaternary ammonium or phosphonium base (R 4  QOR&#34;), where each R is the same or different group selected from the group consisting of C 1  to about C 20  alkyl and C 6  to about C 20  aryl; Q is nitrogen or phosphorus; and R&#34; is selected from the group consisting of hydrogen, C 1  to about C 10  alkyl, aryl, alkylaryl, arylalkyl and acetyl. The alkylating and acylating agents are represented by the formula R&#39;X where R&#39; is a C 1  to C 20  alkyl or acyl group and X is a leaving group selected from the group consisting of halide, sulfate, bisulfate, acetate and stearate, wherein X is attached to a primary or secondary carbon atom. 
     The O-alkylated or O-acylated coal liquids are compatible with petroleum liquids and thus can more easily mix with petroleum liquid molecules. 
     DETAILED DESCRIPTION OF THE INVENTION 
     Coal liquids are those liquids derived from coal by a variety of processes, including hydrogenation, donor solvent reactions, pyrolysis in the presence and absence of hydrogen and extraction in various solvents. Exemplary of the solvent hydrogen donor liquefaction process is that described in U.S. Pat. No. 3,617,513. The process disclosed herein may be advantageously employed with any coal liquid, regardless of derivation. 
     By the process of the invention, fuctionalities containing weakly acidic protons in the coal liquid are chemically altered. For example, acidic proton-containing groups such as phenolic and carboxylic, which are very polar functional groups are converted to relatively non-polar ethers and esters respectively. The chemical transformation may be represented as follows: 
     
         Ar--OH+R&#39;X→Ar--OR&#39; 
    
     
         Ar--COOH+R&#39;X→Ar--COOR&#39; 
    
     where R&#39; is a C 1  to about C 20  alkyl or acyl group. 
     The O-alkylation or O-acylation of coal liquids by reagents which are in liquid solution is greatly influenced by the use of a phase transfer reagent. Such a reagent has both a lipophilic and a hydrophilic portion and is capable of transferring a basic species, --OR&#34;, from an aqueous phase to either a solid or liquid organic phase, where R&#34; is either hydrogen or a carbon-bearing functionality. The phase transfer reagent may be generated catalytically, in which case the process is termed a phase transfer catalysis, which is a well-known reaction; see, e.g., Vol. 99, Journal of the American Chemical Society, pp. 3903-3909 (1977). Alternatively, the reagent may be generated in a separate step, then used in the alkylation or acylation reaction. If this latter reaction is employed, then the active form of the reagent may be regenerated in a subsequent step. In yet another embodiment, a blend consisting of coal and petroleum liquids and the alkylating or acylating agent may be contacted either by caustic and quaternary salt (catalyzed reaction) or by quaternary base (non-catalyzed reaction), and the compatible product removed. In any event, the overall chemical transformation on the coal-derived liquid is the same. A generalized mechanistic scheme for this transformation is shown below: ##STR1## 
     The phase transfer reagent is preferably a quaternary base represented by the formula R 4  QOR&#34; where each R is the smae or different group selected from the group consisting of C 1  to about C 20 , preferably C 1  to C 6  alkyl and C 6  to about C 20 , preferably C 6  to C 12  aryl group; Q is nitrogen or phosphorus, preferably nitrogen, and R&#34; is selected from the group consisting of hydrogen, C 1  to about C 10 , preferably C 1  to C 6  alkyl, aryl, alkylaryl, arylalkyl and acetyl group; more preferably a C 1  to C 4  alkyl group and most preferably hydrogen. The phase transfer reagent may be generated by reacting the corresponding quaternary salt R 4  QX with a metal base MOR&#34; where X is selected from the group consisting of halide, sulfate, bisulfate, acetate and stearate. Preferred is when X is a halide selected from the group consisting of chlorine, bromine and iodine, more preferably chlorine. M is selected from the group consisting of alkali metals, more preferably sodium and potassium. As shown above, the quaternary base is then reacted with the acidic groups on the coal which in turn is reacted with at least one alkylating or acylating agent represented by the formula R&#39;X wherein R&#39; is selected from the group consisting of C 1  to about C 20  alkyl or acyl group and X is previously defined, as long as X is attached to a primary or secondary carbon atom. Preferably R&#39; is an inert hydrocarbon, that is, a hydrocarbon group containing only hydrogen and carbon although hydrocarbon groups containing other functionality may also be suitably for use herein, even though less desirable. It will be noted that the acidic proton H (hydrogen atom) is usually located on phenolic groups in higher rank coals and on carboxylic groups for lower rank coals. The acidic proton may also be located to a lesser extent on sulfur, nitrogen, etc. 
     Phase transfer reagents such as quaternary ammonium hydroxide (R 4  QOR&#34;) are very effective in the O-alkylation and O-acylation of coal liquids. These O-alkylation and O-acylation reactions are successful because the --OR&#34; portion of the molecule is soluble in an organic medium. When this base is present in such a medium, it is not solvated by water or other very polar molecules. As an unsolvated entity, it can react as a very efficient proton transfer reagent. For example, 
     
         (Coal)--OH+OR→(Coal)--O+R&#34;OH 
    
     This unsolvated base (also known as a &#34;naked hydroxide&#34; when R&#34; is hydrogen) can have a wide variety of counter ions. Although the counter ion may be a quaternary ammonium or phosphonium species as previously discussed, other examples of counter ions useful in the practice of the invention include &#34;crown ether&#34; complexes of a salt containing the OR&#34; anion and clathrate compounds complexed with a salt containing the OR&#34; anion. Salts represented by MOR&#34;, where M is as given above, when complexed with crown ehters, for example, have been previously demonstrated to evidence a reactivity similar to that found for R 4  QOR&#34; compounds. 
     In one embodiment of the process of the invention a two-phase liquid/liquid system is employed, comprising the coal liquid and aqueous phase. Alternatively, as mentioned above, a three-phase system comprising the coal liquid and aqueous phase, together with a petroleum liquid, may be employed. 
     Although not necessary, a solvent may be added if desired. The solvent may be used to dissolve alkylated or acylated carbonaceous product or to dissolve alkylating or acylating agent (especially if the agent is a solid and is comparatively insoluble in water). The solvent may also be used to provide for more efficient mixing. Many of the common organic solvents may be employed in any reasonable amount, depending on the desired result. 
     The phase transfer reagent that is used must dissolve in or be suspended in both phases so that it has intimate contact with both the organic and aqueous phases. During the course of the reaction, the phase transfer reagent will partition itself into both of these phases. Quaternary bases are one class of compounds useful as phase transfer reagents in the practice of the invention and are given by the formula R 4  QOR&#34;, where R is an alkyl group having at least one carbon atom, and preferably 1 to 20 carbon atoms, and more preferably 1 to 6 carbon atoms or an aryl group having 6 to 20 carbon atoms, preferably 6 to 12 carbon atoms. The lower number of carbon atoms is preferred, since such compounds are more water soluble and can be removed from the alkylated or acylated coal liquid by simple water washing. The R groups may be the same or different. Examples of R groups include methyl, butyl, phenyl and hexadecyl. 
     Examples of quaternary bases useful in the practice of the invention include the following: 
     1. Tetrabutylammonium hydroxide (C 4  H 9 ) 4  NOH 
     2. Benzylhexadecyldimethylammonium hydroxide, (C 6  H 5  CH 2 ) (C 16  H 33 ) (CH 3 ) 2  NOH 
     3. Tetrabutylphosphonium hydroxide, (C 4  H 9 ) 4  POH 
     4. ADOGEN 464, (C 8  -C 10 ) 4  NOH (ADOGEN 464 is a trademark of Aldrich Chemical Company, Metuchen, N.J.). 
     The metal base used to convert the quaternary salt to the corresponding base is an alkali metal or alkaline earth metal base such as NaOH, KOH, Ca(OH) 2  or NaOCH 3 . The use of an alkoxide, for example, permits use of the corresponding alcohol in place of water, which may provide an advantage in process flexibility. 
     In chosing the alkylating and/or acylating reagent, two considerations must be weighed. First, it is desired to add longer chains to the coal liquid which render the product more petroleum-like, and, therefore, more soluble in organic solvents and more compatible with petroleum liquids. On the other hand, shorter chains render the alkylated or acylated coal liquid product more volatile. Second, shorter chain materials are also less expensive and still improve solubility. 
     In the case of O-alkylation, the carbon to which the leaving group is attached may be either a primary or secondary carbon atom. Primary carbon halides have been found to react faster that the corresponding secondary halides in a phase transfer or phase transfer catalyzed reaction on carbonaceous materials and are accordingly preferred. While the balance of the carbon-bearing functional group may, in general, contain other moieties, such as heteroatoms, aryl groups and the like, bonding of the carbon-bearing functional group to the phenolic or carboxylic oxygen is through either an sp 3  hybridized carbon atom (alkylation) or an sp 2  hydridized carbon atom (acylation). Further, a mixture of alkylating or acylating agents or a mixture of both may advantageously be employed. Such mixtures are likely to be generated in coal treating plants in other processing steps and thus provide a ready source of alkylating and/or acylating agents. Examples of alkylating and acylating agents useful in the practice of the invention include ethyl iodide, is opropyl chloride, dimethyl sulfate, benzyl bromide and acetyl chloride. 
     While alkylating and/or acylating agents are employed in the practice of the invention, alkylating agents are preferred for the following reasons. First, alkylating agents are readily prepared from their hydrocarbon precursors. For example, alkyl halides may be easily prepared by free radical halogenation of alkanes, which is a well-known process. When a system containing more than one alkylating or acylating agent is used, the hydrocarbon precursor is preferably a product stream of a certain cut derived from coal and petroleum processing and the like. This stream may contain minor amounts of components having various degrees of unsaturation which are also suitable for reacting with the phenolic and carboxylic groups herein, as long as X (as previously defined) is attached to an alkyl or saturated carbon atom in the resulting alkylating or acylating reagent. Second, acylating reagents are susceptible to hydrolysis. Since water is present due to the nature of the inventive process, some loss of acylating agent may occur by hydrolysis. In contrast, alkylating reagents do not evidence the same susceptibility to hydrolysis. 
     If the O-alkylation or O-acylation is carried out by a catalytic process, then the quaternary salt, metal base and alkylating or acylating agent are mixed directly with the coal liquid. The quaternary salt catalyst may be present in small amounts, typically about 0.05 to 10 wt. % of the amount of coal liquid used; however, greater amounts may also be employed. The metal base and the alkylating or acylating agent must be present in at least stoichiometric quantities relative to the number of acidic sites (phenolic, carboxylic, etc.) in the coal liquids, but preferably an excess of each is used to drive the reaction to completion. Advantageously, a two-fold excess of metal base and alkylating or acylating agent is employed; however, a greater excess may be employed. After the reaction, the excess quaternary base and quaternary salt catalyst may be removed from the coal liquid by ample water washing for recycling. Excess metal base will also be extracted into the water wash, and it may be reused. Excess alkylating or acylating agent may be conveniently removed from the treated coal liquid by fractional distillation or by solvent extraction with pentane or other soluble solvent and may be reused. 
     To cap off all acidic protons in a typical coal liquid employed in the catalytic process, less than about 2 days are required for 100% conversion, employing only a slight excess of alkylating or acylating agent under atmospheric pressure and ambient temperature. A greater excess of alkylating or acylating agent will reduce the reaction time considerably. 
     A faster alkylation or acylation reaction may be tained in a number of ways, one of which is to add the phase transfer reagent (R 4  QOR&#34;) directly to the coal liquid rather than to form this reagent in situ with the reaction in which the coal liquid is alkylated or acylated. When this is done, substantially complete conversion of all the phenolic and carboxylic groups is achieved in a matter of minutes. The amount of quaternary base added ranges from about stoichiometric proportions to about 10 times the total number of acidic sites in the coal liquid which are capable of undergoing alkylation or acylation. As before, the quaternary salt that is generated in the alkylation or acylation step may be recovered and recycled by reacting it with fresh metal base to regenerate the quaternary base. By employing this two-step process, there is no contact between metal base and the coal liquid, and the reaction is essentially complete in about one hour. 
     In another embodiment, a blend of coal liquids and petroleun liuqids and the alkylating or acylating agent is contacted with an aqueous solution containing the phase transfer reagent. The alkylation or acylation may be performed catalytically or non-catalytically, employing the procedures outlined above. 
     The temperature at which the reaction is carried out may range from ambient to the boiling point of the materials used. Increased temperature will, of course, speed up the reaction rate. 
     The reaction may be stirred or agitated or mixed in some fashion to increase the interface or surface area between the phases, since there can be aqueous and organic phases present. 
     The reaction is carried out at ambient pressure, although low to moderated pressures (about 2 to 20 atmospheres) may be employed along with heating to increase the reaction rate. 
     Once the reagents and solvents if any are removed from the alkylated or acylated coal liquid, infrared analysis may be conveniently used to demonstrate that all the hydroxyl groups have been alkylated or acylated. If the added alkyl or acyl group is IR-active, then the appearance of the appropriate infrared frequency is observed. Other well-known analytical methods may also be employed if desired. The ultimate analysis of percent C, H, N, S and O is altered in a fashion which is consistent with the expected change due to the added alkyl or acyl substituent. For example, the increase in the H/C ratio of O-methylated coal liquid derived from Illinois No. 6 coal indicates that 3.5 methyl groups per 100 carbon atoms are added to the coal liquid. The H/C ratio in the untreated coal liquid derived from Illinois No. 6 coal is 1.004 and H.C ratio after O-methylation by the process of the invention is 1.037. The treated coal liquids become more soluble in common organic solvents. For example, the solubility (20° C.) of O-methylated coal liquids in cyclohexane increases to 63% from 11% for untreated coal liquids. 
     The alkylated and acylated coal liquids formed by the process of the invention are more compatible with petroleum liquids, as indicated by the increased solubility of alkylated and acylated coal liquids in petroleum liquids. Blends of coal liquids treated in accordance with the invention and petroleum liquids evidence increased stability. 
    
    
     EXAMPLES 
     Example 1--Phase Transfer Catalyzed Alkylation 
     A coal liquid derived from Illinois No. 6 coal by Exxon&#39;s donor solvent process was treated as follows: 
     In a 250 ml round bottom flask which was flushed with nitrogen and equipped with a mechanical stirrer were added the following components: 5.0 g of coal liquids (650-1050° F., derived from Illinois No. 6 by hydrogen donor solvent liquefaction), 0.25 g of tetrabutylammonium iodide (as received from Aldrich Chemical), 50 ml of toluene (spectrograde from Matheson, Coleman and Bell, purged with nitrogen), 35 ml of 20% aqueous solution of NaOH (purged with nitrogen) and 11.0 g of iodomethane (added dropwise with vigrous stirring). A nitrogen atmosphere was maintained for 5 days, until the reaction was assumed to be complete. The layers were separated in a separatory funnel. The organic layer was washed eleven times with 150 cc portions of water to remove caustic and catalyst. The toluene and residual iodomethane were stripped off under vacuum at 100° C. 
     The solubility (20° C.) of coal liquid vacuum gas oil increased from 11% to 63% in cyclohexane after phase transfer catalyzed O-methylation in cyclohexane solvent. 
     A one to two order of magnitude increase in solubility of the O-methylated (versus untreated) coal liquid vacuum gas oil in a petroleum liquid, which was a desulfurized Aruba high viscosity fuel oil, was observed. 
     Examples 2-5--Phase Transfer Catalyzed Alkylation 
     The following reactions were carried out on various coal liquids employing the reagents in the amounts indicated shown in the following Table. 
     
                       TABLE                                                       
______________________________________                                    
PHASE TRANSFER CATALYZED REACTIONS                                        
     Coal     Solvent                                                     
Ex.  Liquid   Catalyst(1)  Caustic(2)                                     
                                    R&#39;X(3)                                
______________________________________                                    
2    Vacuum   Xylenes B, 10%                                              
                           NaOH, 12%                                      
                                    C.sub.4 H.sub.9 Cl,                   
     gas oil                        443%                                  
3    Vacuum   Toluene B, 3.3%                                             
                           NaOH, 12%                                      
                                    C.sub.2 H.sub.5 I, 570%               
     gas oil                                                              
4    Vacuum   Toluene T, 5%                                               
                           NaOH, 20%                                      
                                    CH.sub.2 I, 1100%                     
     gas oil                                                              
5    Vacuum   Toluene T, 5%                                               
                           NaOH, 12%                                      
                                    CH.sub.3 I, 200%                      
     gas oil                                                              
______________________________________                                    
 Definition of Symbols                                                    
 (1)B is benzylhexadecyldimethylammonium chloride and T is                
 tetrabutylammonium chloride; wt. percent is relative to coal liquid.     
 (2)Weight percent of metal base in water.                                
 (3)Weight percent relative to coal liquid.