Preparation method and application of quaternary ammonium salt of benzoacetal octadecanoamide

The benzene acetal stearamide quaternary ammonium salt prepared through epoxidation, acetalization, amidation and quaternization reactions solves the problem of the use of surfactants in alkali in petroleum mining in the existing technology and achieves low toxicity , easily degradable surfactant, which can significantly reduce the oil-water interfacial tension and is suitable for tertiary oil recovery.

CN114736184BActive Publication Date: 2024-09-24DAQING HUALI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210238717.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2024-09-24
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

The surfactants used in existing oil production have caused problems such as reduced reservoir permeability, formation scaling, and equipment corrosion due to the addition of alkali in the tertiary oil recovery stage. In addition, the surfactants introduced by benzene rings in traditional methods are highly toxic and difficult to degrade. .

Method used

Preparation of benzene acetal stearamide quaternary ammonium salt through epoxidation, acetalization, amidation and quaternization reactions, using renewable resource methyl oleate as raw material, introducing benzene ring to form a surface with low toxicity and easy degradation active agent.

Benefits of technology

It can effectively reduce the oil-water interfacial tension under alkali-free conditions, has great potential for tertiary oil recovery applications, and has low product toxicity, which is in line with the development concept of green chemistry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114736184B
    Figure CN114736184B
Patent Text Reader

Abstract

The present invention relates to a preparation method and application of a benzene acetal octadecanoic acid quaternary ammonium salt, and the preparation method includes: firstly, methyl oleate and formic acid are reactants to prepare epoxy oleic acid methyl ester through epoxidation reaction; then, it is subjected to acetalization reaction with aromatic aldehyde and phosphoric acid solution to prepare benzene acetal octadecanoic acid methyl ester; afterwards, it is mixed with N, N-dimethyl-1,3-propylenediamine and zinc acetate, and amidation reaction is carried out to obtain benzene acetal octadecanoic acid tertiary amine; finally, amidation reaction product and halogenated salt are subjected to quaternization reaction in solution to obtain benzene acetal octadecanoic acid quaternary ammonium salt. Compared with the prior art, the benzene acetal octadecanoic acid quaternary ammonium salt prepared by the present invention has excellent interfacial activity, can reduce oil-water interfacial tension to ultra-low level under alkali-free conditions, and has greater application potential in fields such as tertiary oil recovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of petroleum extraction and relates to a preparation method and application of quaternary ammonium salt of benzene acetal octadecanoic acid amide. Background Art

[0002] Surfactants are widely used in the middle and late stages of oil production and can significantly improve crude oil recovery. Commonly used surfactants are mainly petroleum-based surfactants such as petroleum sulfonates and alkylbenzene sulfonates, which are used in large quantities. When they are used in the tertiary oil recovery stage, inorganic or organic bases are usually added to improve crude oil recovery. Since the addition of alkali can cause a series of problems such as reduced reservoir permeability, formation scaling and equipment corrosion, oil recovery under alkali-free or weakly alkaline conditions has become a research hotspot.

[0003] Research has found that surfactants containing benzene rings in their molecular structure generally have good interfacial activity and can reduce the oil-water interfacial tension to an ultra-low level, which is particularly important in tertiary oil recovery. Currently, benzene rings are mainly introduced into the molecular structure through Friedel-Crafts alkylation reaction. The benzene rings and the fatty chains are connected by carbon-carbon single bonds, which are relatively strong. This makes the surfactant molecules difficult to degrade and highly toxic. Therefore, it is necessary to find low-toxic and easily degradable surfactants. Summary of the invention

[0004] The purpose of the present invention is to provide a preparation method and application of benzoacetal octadecanoic acid amide quaternary ammonium salt.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A method for preparing a quaternary ammonium salt of benzene acetal octadecanoic acid amide comprises: mixing a tertiary amine of benzene acetal octadecanoic acid amide and a halogenated salt, and performing a quaternization reaction to obtain the quaternary ammonium salt of benzene acetal octadecanoic acid amide.

[0007] Furthermore, the molar ratio of the benzene acetal octadecylamide propyl dimethyl tertiary amine to the halide salt is 1:(1.2-3.1), and the halide salt includes chloroacetate or 3-chloro-2-hydroxypropane sulfonate.

[0008] Furthermore, in the quaternization reaction, the reaction temperature is 65-95° C., the reaction time is 12-24 h, and the pH is 8-10.

[0009] As a preferred technical solution, the quaternization reaction is carried out in a mixed solution of ethanol and water.

[0010] Furthermore, the preparation method of the benzene acetal octadecanoic acid tertiary amine comprises: mixing benzene acetal octadecanoic acid methyl ester, N,N-dimethyl-1,3-propylenediamine and zinc acetate, and performing an amidation reaction, and obtaining benzene acetal octadecanoic acid propyl dimethyl tertiary amine after separation and purification.

[0011] Furthermore, the molar ratio of methyl benzoate octadecanoate and N,N-dimethyl-1,3-propylenediamine is 1:(1-3.1), and the added amount of zinc acetate is 0.5-3.5% of the total mass of methyl benzoate octadecanoate and N,N-dimethyl-1,3-propylenediamine.

[0012] Furthermore, in the amidation reaction, the reaction temperature is 130-160° C. and the reaction time is 4-8 h.

[0013] Furthermore, the preparation method of methyl benzene acetal octadecanoate comprises: mixing methyl epoxyoleate, aromatic aldehyde and phosphoric acid solution, and performing acetalization reaction, and obtaining methyl benzene acetal octadecanoate after separation and purification.

[0014] Furthermore, the molar ratio of the epoxy oleic acid methyl ester to the aromatic aldehyde is 1:(1-2.4); the aromatic aldehyde includes at least one of benzaldehyde, phenylacetaldehyde or phenylpropionaldehyde;

[0015] In the acetalization reaction, the reaction temperature is 140-160° C. and the reaction time is 4-10 hours.

[0016] Furthermore, the preparation method of the epoxy methyl oleate comprises: mixing methyl oleate, formic acid and hydrogen peroxide solution, and performing an epoxidation reaction to obtain epoxy methyl oleate.

[0017] A quaternary ammonium salt of benzene acetal octadecylamide is prepared by the method as described above and can be used for petroleum extraction.

[0018] Compared with the prior art, the present invention has the following characteristics:

[0019] 1) The present invention uses renewable resource methyl oleate as a raw material, and prepares benzene acetal octadecanoic acid quaternary ammonium salt through epoxidation, acetalization, amidation, quaternization and other reactions. Compared with the traditional Friedel-Crafts alkylation method of directly using highly toxic benzene or benzene homologues to introduce the benzene ring, the present invention uses acetalization to connect aromatic aldehydes to introduce the benzene ring, which is low-toxic in the preparation process, more conducive to human health and safety and environmental protection, and the product is easy to degrade and has low toxicity, which is in line with the development concept of green chemistry; the traditional Friedel-Crafts alkylation introduces the benzene ring or the benzene homologue to obtain a surfactant with the following structure:

[0020] Table 1 Interface performance

[0021]

[0022]

[0023] This type of phenyl-containing surfactant can reduce the interfacial tension between Daqing crude oil and simulated formation water solution to an ultra-low level, and has the potential for tertiary oil recovery application; however, as shown in Table 1, the application concentration range of this type of surfactant is not as wide as that of acetal-type surfactants. This is because the phenyl group is directly connected to the fatty chain, the π-π stacking effect is strong, the steric hindrance is greater, and the arrangement of the molecules at the oil-water interface is looser than that of acetal-type surfactants, so the interfacial performance is weaker than that of acetal-type surfactants. (The concentration range in the table refers to the surfactant concentration range that can reduce the oil-water interfacial tension to an ultra-low level. The data refer to the literature Zhang, QQ; Cai, BX; Gang, HZ; Yang, SZ; Mu, BZ, A family of novel bio-based zwitterionic surfactants derived from oleic acid. RSC Adv. 2014, 4 (72), 38393-38396; Chen, Z.-Z.; Gang, H.-Z.; Liu, J.-F.; Mu, B.-Z.; Yang, S.-Z., A thermal-stable and salt-tolerant biobased zwitterionic surfactant with ultralow interfacial tension between crude oil and formation brine. JPetrol Sci Eng 2019, 181, 106181)

[0024] 2) The quaternary ammonium salt of benzene acetal octadecanoamide prepared by the present invention has excellent interfacial activity, can reduce the oil-water interfacial tension to an ultra-low level under alkali-free conditions, and has great application potential in the fields of tertiary oil recovery. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is the GC-MS total ion chromatogram of epoxy oleic acid methyl ester prepared in Example 1;

[0026] Figure 2 is the mass spectrum of epoxy oleic acid methyl ester prepared in Example 1;

[0027] Figure 3 is the GC-MS total ion chromatogram of methyl benzyl acetal octadecanoate prepared in Example 1;

[0028] Figure 4 is the mass spectrum of methyl benzyl acetal octadecanoate prepared in Example 1;

[0029] Figure 5This is the GC-MS total ion chromatogram of the benzyl acetal octadecylamide propyl dimethyl tertiary amine prepared in Example 1;

[0030] Figure 6 This is the mass spectrum of benzyl acetal octadecylamide propyl dimethyl tertiary amine prepared in Example 1;

[0031] Figure 7 This is the electrospray mass spectrum of benzyl acetal octadecylamide propyl dimethylaminoacetate prepared in Example 1 (+);

[0032] Figure 8 This is the electrospray mass spectrum of benzyl acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 1 (+);

[0033] Fig. 9 is the GC-MS total ion chromatogram of methyl phenylacetal octadecanoate prepared in Example 3;

[0034] Fig.10 is the mass spectrum of methyl phenylacetal octadecanoate prepared in Example 3;

[0035] Fig.11 This is the GC-MS total ion chromatogram of phenylacetal octadecylamide propyl dimethyl tertiary amine prepared in Example 3;

[0036] Fig.12 This is the mass spectrum of phenylacetal octadecylamide propyl dimethyl tertiary amine prepared in Example 3;

[0037] Fig.13 This is the electrospray mass spectrum of phenylacetal octadecylamide propyl dimethylaminoacetate prepared in Example 3 (+);

[0038] Fig.14 This is the electrospray mass spectrum of phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 3 (+);

[0039] Fig.15 is the GC-MS total ion chromatogram of phenylpropionic acetal octadecanoic acid methyl ester prepared in Example 5;

[0040] Fig.16 is the mass spectrum of phenylpropionic acetal octadecanoic acid methyl ester prepared in Example 5;

[0041] Fig.17 is the GC-MS total ion chromatogram of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine prepared in Example 5;

[0042] Fig.18 This is the mass spectrum of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine prepared in Example 5;

[0043] Fig.19 is the electrospray mass spectrum of phenylpropionic acetal octadecylamide propyl dimethylaminoacetate prepared in Example 5 (+);

[0044] Fig. 20 is the electrospray mass spectrum of phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 5 (+);

[0045] Fig.21 This is a graph showing the variation of the oil-water dynamic interfacial tension of benzyl acetal octadecylaminopropyl dimethylaminoacetate prepared in Example 1 with the concentration;

[0046] Fig. 22 This is a graph showing the variation of the oil-water dynamic interfacial tension of benzyl acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 1 with the concentration;

[0047] Fig.23 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylacetal octadecylaminopropyl dimethylaminoacetate prepared in Example 3 with concentration;

[0048] Fig.24 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 3 with concentration;

[0049] Fig.25 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylaminopropyl dimethylaminoacetate prepared in Example 5 with the concentration;

[0050] Fig.26 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylaminopropyl dimethylaminoacetate prepared in Example 5 with temperature;

[0051] Fig. 27 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylaminopropyl dimethylaminoacetate prepared in Example 5 with the NaCl concentration;

[0052] Fig.28 The dynamic interfacial tension of phenylpropionic acetal octadecylaminopropyl dimethylaminoacetate prepared in Example 5 varies with Ca 2+ Concentration variation graph;

[0053] Fig.29 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 5 with concentration;

[0054] Fig.30This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 5 with temperature;

[0055] Fig.31 This is a graph showing the variation of the oil-water dynamic interfacial tension of phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate prepared in Example 5 with NaCl concentration;

[0056] Fig.32 The dynamic interfacial tension of phenylpropionic acetal octadecylaminopropyl dimethylaminohydroxysulfonate prepared in Example 5 varies with Ca 2+ Concentration variation graph. DETAILED DESCRIPTION

[0057] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0058] A quaternary ammonium salt of benzene acetal octadecanoamide, the preparation method of which comprises the following steps:

[0059]

[0060] S1: Preparation of epoxy oleic acid methyl ester by epoxidation reaction:

[0061] Methyl oleate, formic acid and hydrogen peroxide solution are mixed and stirred at room temperature for 6-12 hours to obtain epoxy methyl oleate after separation and purification; wherein the molar ratio of methyl oleate, formic acid and hydrogen peroxide is 1:(1.9-3.8):(1.2-2.6); the mass concentration of hydrogen peroxide solution is 30%, and the addition method is dropwise addition within 30 minutes;

[0062] S2: Preparation of methyl benzoate by acetalization reaction:

[0063] Mix epoxy oleic acid methyl ester, aromatic aldehyde and phosphoric acid solution, stir and react at 140-160° C. for 4-10 hours in an inert gas atmosphere, and obtain methyl octadecanoate of acetal after separation and purification; wherein the molar ratio of epoxy oleic acid methyl ester to aromatic aldehyde is 1:(1-2.4); aromatic aldehyde includes at least one of benzaldehyde, phenylacetaldehyde or phenylpropionaldehyde; the mass concentration of phosphoric acid solution is 85%, and the added amount is 0.01-4% of the total mass of epoxy oleic acid methyl ester and aromatic aldehyde;

[0064] S3: Preparation of benzoic acid octadecylamide propyl dimethyl tertiary amine by amidation reaction:

[0065] Mix methyl benzoate octadecanoate, N,N-dimethyl-1,3-propylenediamine and zinc acetate, and react with stirring at 130-160° C. for 4-8 hours, and obtain methyl benzoate octadecanoate propyl dimethyl tertiary amine after separation and purification; wherein the molar ratio of methyl benzoate octadecanoate to N,N-dimethyl-1,3-propylenediamine is 1:(1-3.1), and the amount of zinc acetate added is 0.5-3.5% of the total mass of methyl benzoate octadecanoate and N,N-dimethyl-1,3-propylenediamine;

[0066] S4: Preparation of benzoacetal octadecanoamide quaternary ammonium salt by quaternization reaction:

[0067] Mixing benzoic acid octadecyl amide propyl dimethyl tertiary amine and a halide salt in a solution, stirring and reacting for 12-24 hours at 65-95° C. and pH=8-10, and obtaining benzoic acid octadecyl amide quaternary ammonium salt after separation and purification; wherein the molar ratio of benzoic acid octadecyl amide propyl dimethyl tertiary amine and the halide salt is 1:(1.2-3.1); the halide salt includes chloroacetate or 3-chloro-2-hydroxypropanesulfonate; and the solution is a mixed solution of ethanol and water.

[0068] This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0069] The yield calculation formula of each reaction in the following examples is as follows:

[0070]

[0071] In the formula, A' 油酸甲酯 : The peak area of ​​methyl oleate in the GC-MS total ion chromatogram after epoxidation reaction; A' 环氧油酸甲酯 : The peak area of ​​the chromatographic peak of epoxy oleic acid methyl ester in the GC-MS total ion chromatogram after epoxidation reaction;

[0072]

[0073] In the formula, A' 环氧油酸甲酯 : The peak area of ​​the epoxyoleic acid methyl ester chromatogram in the GC-MS total ion chromatogram after the acetalization reaction; A' 苯缩醛十八酸甲酯 : The peak area of ​​the chromatographic peak of methyl benzoate octadecanoate in the GC-MS total ion chromatogram after acetalization reaction;

[0074]

[0075] In the formula, A' 苯缩醛十八酸甲酯 : The peak area of ​​the chromatographic peak of methyl benzoate octadecanoate in the GC-MS total ion chromatogram after the amidation reaction; A' 苯缩醛十八酰胺丙基二甲基叔胺: The peak area of ​​the chromatographic peak of benzoacetal octadecamidopropyl dimethyl tertiary amine in the GC-MS total ion chromatogram after the amidation reaction;

[0076]

[0077] In the formula, H 酰胺产物 : Total peak height of amide products in the ESI chromatogram after the reaction; H 季铵产物 : Total peak height of quaternary ammonium products in the ESI chromatogram after the reaction.

[0078] Embodiment 1:

[0079] A benzyl acetal octadecyl amide propyl dimethylamino acetate, the preparation method of which comprises the following steps:

[0080] S1: Weigh 10.00g (0.034mol) of methyl oleate and 3.00g (0.065mol) of formic acid in a 100mL dry round-bottom flask and start stirring; then add 5.00g (0.044mol) of 30% hydrogen peroxide solution dropwise for 30 minutes, and then heat to 25°C for 6 hours; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase can be dried to obtain the product epoxy methyl oleate with a yield of 93.9%;

[0081] Among them, the GC-MS total ion chromatogram of the product epoxy oleic acid methyl ester is as follows Figure 1 As shown in the mass spectrum Figure 2 As shown;

[0082] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 2.00 g (0.019 mol) of benzaldehyde, and 0.05 g (0.00043 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2 After the reaction, add 2.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual benzaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried, and the n-hexane was removed by rotary evaporation to obtain the product, methyl benzyl acetal octadecanoate, with a yield of 90.8%;

[0083] Among them, the GC-MS total ion chromatogram of the product methyl benzyl acetal octadecanoate is as follows Figure 3 As shown in the mass spectrum Figure 4 As shown;

[0084] S3: Weigh 2.00g (0.0048mol) of methyl benzyl acetal octadecanoate, 1.00g (0.0098mol) of N,N-dimethyl-1,3-propylenediamine, and 0.02g (0.00011mol) of zinc acetate in a 100mL round-bottom flask, start stirring and heat to 140°C for 4h. After the reaction is completed, remove the residual N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product benzyl acetal octadecylamide propyl dimethyl tertiary amine, with a yield of 98.4%;

[0085] Among them, the GC-MS total ion chromatogram of benzyl acetal octadecylamide propyl dimethyl tertiary amine is as follows Figure 5 As shown in the mass spectrum Figure 6 As shown;

[0086] S4: Weigh 1.00g (0.0020mol) of benzyl acetal octadecyl propyl dimethyl tertiary amine, 0.50g (0.0043mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 65°C for reflux reaction for 24h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction was completed, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product benzyl acetal octadecyl propyl dimethyl amino acetate, and the yield was 87.3%.

[0087] A benzyl acetal octadecyl amide propyl dimethyl amino hydroxysulfonate, the preparation method of which is different from that of the benzyl acetal octadecyl amide propyl dimethyl amino acetate in this embodiment, the only difference is:

[0088] Step S4 is: weigh 1.00g (0.0020mol) of benzyl acetal octadecyl amide propyl dimethyl tertiary amine, 0.85g (0.0043mol) of 3-chloro-2-hydroxypropanesulfonic acid sodium, 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 75°C for reflux reaction for 12h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and then the product is extracted with ethanol, and the supernatant is centrifuged to obtain the product benzyl acetal octadecyl amide propyl dimethyl amino hydroxy sulfonate, with a yield of 95.7%.

[0089] Among them, the electrospray mass spectrum of benzyl acetal octadecyl amide propyl dimethylamino acetate (+) is as follows Figure 7 As shown, the electrospray mass spectrum of benzyl acetal octadecyl amide propyl dimethylamino hydroxy sulfonate (+) is as follows Figure 8 shown.

[0090] Embodiment 2:

[0091] A benzyl acetal octadecyl amide propyl dimethylamino acetate, the preparation method of which comprises the following steps:

[0092] S1: Weigh 10.00g (0.034mol) of methyl oleate and 6.00g (0.13mol) of formic acid in a 100mL dry round-bottom flask and start stirring; then add 10.00g (0.088mol) of 30% hydrogen peroxide solution dropwise over 30min, and then heat to 25°C to react for 12h; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase can be dried to obtain the product epoxy methyl oleate with a yield of 90.5%;

[0093] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 4.00 g (0.038 mol) of benzaldehyde, and 0.22 g (0.0018 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2 After the reaction, add 4.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual benzaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried, and the n-hexane was removed by rotary evaporation to obtain the product, methyl benzyl acetal octadecanoate, with a yield of 92.8%;

[0094] S3: Weigh 2.00g (0.0048mol) of methyl benzyl acetal octadecanoate, 1.50g (0.0147mol) of N,N-dimethyl-1,3-propylenediamine, and 0.12g (0.00066mol) of zinc acetate in a 100mL round-bottom flask, stir and heat to 140°C for 8h. After the reaction is completed, remove the residual N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product benzyl acetal octadecylamide propyl dimethyl tertiary amine, with a yield of 98.6%;

[0095] S4: Weigh 1.00g (0.0020mol) of benzyl acetal octadecyl propyl dimethyl tertiary amine, 0.28g (0.0024mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 85°C for reflux reaction for 12h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction was completed, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product benzyl acetal octadecyl propyl dimethylamino acetate, and the yield was 86.3%.

[0096] A benzyl acetal octadecyl amide propyl dimethyl amino hydroxysulfonate, the preparation method of which is different from that of the benzyl acetal octadecyl amide propyl dimethyl amino acetate in this embodiment, the only difference is:

[0097] Step S4 is: weigh 1.00g (0.0020mol) of benzyl acetal octadecyl amide propyl dimethyl tertiary amine, 1.20g (0.0060mol) of 3-chloro-2-hydroxypropanesulfonic acid sodium, 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 95°C for reflux reaction for 12h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and then the product is extracted with ethanol, and the supernatant is centrifuged to obtain the product benzyl acetal octadecyl amide propyl dimethyl amino hydroxy sulfonate, with a yield of 90.7%.

[0098] Embodiment 3:

[0099] A phenylacetal octadecylamide propyl dimethylaminoacetate, the preparation method of which comprises the following steps:

[0100] S1: Weigh 10.00g (0.034mol) of methyl oleate and 3.60g (0.078mol) of formic acid in a 100mL dry round-bottom flask and start stirring; then add 6.00g (0.088mol) of 30% hydrogen peroxide solution dropwise for 30 minutes, and then heat to 25°C for 8 hours; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase is dried over anhydrous sodium sulfate to obtain the product epoxy methyl oleate, with a yield of 91.4%;

[0101] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 2.28 g (0.019 mol) of phenylacetaldehyde, and 0.05 g (0.00043 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2 After the reaction, add 2.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual phenylacetaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried over anhydrous sodium sulfate, and the n-hexane was removed by rotary evaporation to obtain the product phenylacetal octadecanoic acid methyl ester with a yield of 98.0%;

[0102] Among them, the GC-MS total ion chromatogram of methyl phenylacetal octadecanoate is as follows Fig. 9 As shown in the mass spectrum Fig.10 As shown;

[0103] S3: Weigh 2.12g (0.0049mol) of methyl phenylacetal octadecanoate, 1.00g (0.0098mol) of N,N-dimethyl-1,3-propylenediamine, and 0.02g (0.00011mol) of zinc acetate in a 100mL round-bottom flask, start stirring and heat to 160°C for 6h. After the reaction is completed, remove the residual N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product phenylacetal octadecanoic acid propyl dimethyl tertiary amine, with a yield of 98.6%;

[0104] Among them, the GC-MS total ion chromatogram of phenylacetal octadecylamide propyl dimethyl tertiary amine is as follows Fig.11 As shown in the mass spectrum Fig.12 As shown;

[0105] S4: Weigh 1.05g (0.0021mol) of phenylacetal octadecamidopropyl dimethyl tertiary amine, 0.50g (0.0043mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 75°C for reflux reaction for 12h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product phenylacetal octadecamidopropyl dimethylamino acetate, and the yield was 92.1%.

[0106] A phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate, the preparation method of which is different from that of the phenylacetal octadecylamide propyl dimethylamino acetate in this embodiment, except that:

[0107] Step S4 is: weigh 1.05g (0.0021mol) of phenylacetal octadecylamide propyl dimethyl tertiary amine, 0.85g (0.0043mol) of 3-chloro-2-hydroxypropanesulfonic acid sodium, 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 75°C for reflux reaction for 12h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and then the product is extracted with ethanol, and the supernatant is centrifuged to obtain the product phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate, with a yield of 96.3%.

[0108] Among them, the electrospray mass spectrum of phenylacetal octadecylamide propyl dimethylamino acetate (+) is as follows Fig.13 As shown, the electrospray mass spectrum of phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate (+) is as follows Fig.14 shown.

[0109] Embodiment 4:

[0110] A phenylacetal octadecylamide propyl dimethylaminoacetate, the preparation method of which comprises the following steps:

[0111] S1: Weigh 10.00g (0.034mol) of methyl oleate and 4.50g (0.098mol) of formic acid in a 100mL dry round-bottom flask and start stirring; then add 7.50g (0.066mol) of 30% hydrogen peroxide solution dropwise over 30min, and then heat to 25°C for 10h; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase is dried over anhydrous sodium sulfate to obtain the product epoxy methyl oleate, with a yield of 91.1%;

[0112] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 2.88 g (0.024 mol) of phenylacetaldehyde, and 0.11 g (0.00093 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2 After the reaction was completed, 3.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual phenylacetaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried over anhydrous sodium sulfate, and the n-hexane was removed by rotary evaporation to obtain the product phenylacetal octadecanoic acid methyl ester with a yield of 98.3%;

[0113] S3: Weigh 2.12g (0.0049mol) of methyl phenylacetal octadecanoate, 0.50g (0.0049mol) of N,N-dimethyl-1,3-propylenediamine, and 0.04g (0.00022mol) of zinc acetate in a 100mL round-bottom flask, stir and heat to 140°C for 8h. After the reaction is completed, remove the unreacted N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product phenylacetal octadecanoic acid propyl dimethyl tertiary amine, with a yield of 93.6%;

[0114] S4: Weigh 1.05g (0.0021mol) of phenylacetal octadecylamide propyl dimethyl tertiary amine, 0.75g (0.0065mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 85°C for reflux reaction for 12h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction was completed, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product phenylacetal octadecylamide propyl dimethylamino acetate, and the yield was 93.1%.

[0115] A phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate, the preparation method of which is different from that of the phenylacetal octadecylamide propyl dimethylamino acetate in this embodiment, except that:

[0116] Step S4 is: weigh 1.05g (0.0021mol) of phenylacetal octadecylamide propyl dimethyl tertiary amine, 0.51g (0.0026mol) of 3-chloro-2-hydroxypropanesulfonic acid sodium, 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 85°C for reflux reaction for 12h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and then the product is extracted with ethanol, and the supernatant is centrifuged to obtain the product phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate, with a yield of 92.3%.

[0117] Embodiment 5:

[0118] A phenylpropionic acetal octadecylamide propyl dimethylamino acetate, the preparation method of which comprises the following steps:

[0119] S1: Weigh 10.00g (0.034mol) of methyl oleate and 4.80g (0.104mol) of formic acid into a 100mL dry round-bottom flask and start stirring; then add 8.00g (0.0704mol) of 30% hydrogen peroxide solution dropwise for 30 minutes, and then heat to 25°C for 8 hours; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase is dried over anhydrous sodium sulfate to obtain the product epoxy methyl oleate, with a yield of 90.8%;

[0120] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 2.50 g (0.019 mol) of phenylpropionaldehyde, and 0.05 g (0.00043 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2After the reaction, add 2.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual phenylpropanaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried over anhydrous sodium sulfate, and the n-hexane was removed by rotary evaporation to obtain the product phenylpropanol acetal octadecanoic acid methyl ester with a yield of 96.4%;

[0121] Among them, the GC-MS total ion chromatogram of phenylpropionic acetal octadecanoic acid methyl ester is as follows Fig.15 As shown in the mass spectrum Fig.16 As shown;

[0122] S3: Weigh 2.20g (0.0049mol) of methyl phenylpropionic acetal octadecanoate, 1.00g (0.0098mol) of N,N-dimethyl-1,3-propylenediamine, and 0.02g (0.00011mol) of zinc acetate in a 100mL round-bottom flask, stir and heat to 130°C for 6h. After the reaction is completed, remove the residual N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product phenylpropionic acetal octadecanoic acid propyl dimethyl tertiary amine, with a yield of 99.0%;

[0123] Among them, the GC-MS total ion chromatogram of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine is as follows Fig.17 As shown in the mass spectrum Fig.18 As shown;

[0124] S4: Weigh 1.10g (0.0021mol) of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine, 0.50g (0.0043mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 65°C for reflux reaction for 24h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product phenylpropionic acetal octadecylamide propyl dimethylamino acetate, with a yield of 97.2%.

[0125] A phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate, the preparation method of which is different from that of the phenylpropionic acetal octadecylamide propyl dimethylamino acetate in this embodiment, the only difference being that:

[0126] Step S4 is: weigh 1.10g (0.0021mol) of phenylpropionic acetal octadecanoyl propyl dimethyl tertiary amine, 0.85g (0.0043mol) of sodium 3-chloro-2-hydroxypropanesulfonate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 65°C for reflux reaction for 24h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and then the product is extracted with ethanol, and the supernatant is centrifuged to obtain the product phenylpropionic acetal octadecanoyl propyl dimethyl amino hydroxy sulfonate, with a yield of 98.6%.

[0127] Among them, the electrospray mass spectrum of phenylpropionic acetal octadecyl propyl dimethylamino acetate (+) is as follows Fig.19 As shown, the electrospray mass spectrum of phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate (+) is as follows Fig. 20 shown.

[0128] Embodiment 6:

[0129] A phenylpropionic acetal octadecylamide propyl dimethylamino acetate, the preparation method of which comprises the following steps:

[0130] S1: Weigh 10.00g (0.034mol) of methyl oleate and 5.40g (0.117mol) of formic acid into a 100mL dry round-bottom flask and start stirring; then add 9.00g (0.0792mol) of 30% hydrogen peroxide solution dropwise for 30 minutes, and then heat to 25°C for 6 hours; after the reaction, transfer to a separatory funnel, let stand and remove the lower aqueous phase, wash the upper organic phase with deionized water, sodium carbonate solution, and deionized water three times each, and the obtained organic phase is dried over anhydrous sodium sulfate to obtain the product epoxy methyl oleate, with a yield of 90.6%;

[0131] S2: Weigh 5.00 g (0.016 mol) of methyl epoxyoleate, 2.11 g (0.016 mol) of phenylpropionaldehyde, and 0.30 g (0.00026 mol) of 85% phosphoric acid in a 100 mL round-bottom flask. 2 After the reaction, add 2.00 mL of 30% H 2 O 2 The reaction was stirred at 50°C for 2h to remove residual phenylpropanaldehyde; then n-hexane was added to extract the organic phase; the organic phase was washed three times with deionized water and dried over anhydrous sodium sulfate, and the n-hexane was removed by rotary evaporation to obtain the product phenylpropanol acetal octadecanoic acid methyl ester with a yield of 94.4%;

[0132] S3: Weigh 2.20g (0.0049mol) of methyl phenylpropionic acetal octadecanoate, 1.25g (0.0123mol) of N,N-dimethyl-1,3-propylenediamine, and 0.08g (0.00044mol) of zinc acetate in a 100mL round-bottom flask, stir and heat to 150°C for 6h. After the reaction is completed, remove the residual N,N-dimethyl-1,3-propylenediamine by rotary evaporation to obtain the product phenylpropionic acetal octadecanoic acid propyl dimethyl tertiary amine, with a yield of 98.2%;

[0133] S4: Weigh 1.10g (0.0021mol) of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine, 0.37g (0.0032mol) of sodium chloroacetate, and 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 95°C for reflux reaction for 12h. During the reaction, sodium carbonate solution was added dropwise to maintain the pH in the range of 8-10. After the reaction, the ethanol and water were removed by drying, and then the product was extracted with ethanol, and the supernatant was centrifuged to obtain the product phenylpropionic acetal octadecylamide propyl dimethylamino acetate, with a yield of 91.2%.

[0134] A phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate, the preparation method of which is different from that of the phenylpropionic acetal octadecylamide propyl dimethylamino acetate in this embodiment, the only difference being that:

[0135] Step S4 is: weigh 1.10g (0.0021mol) of phenylpropionic acetal octadecylamide propyl dimethyl tertiary amine, 0.63g (0.0032mol) of 3-chloro-2-hydroxypropanesulfonic acid sodium, 7.00mL of ethanol / water solution (7 / 3, v / v) in a 100mL round-bottom flask, start stirring and heat to 95°C for reflux reaction for 12h. During the reaction, sodium carbonate solution is added dropwise to maintain the pH in the range of 8-10. After the reaction is completed, the ethanol and water are removed by drying, and the product is then extracted with ethanol, and the supernatant is centrifuged to obtain the phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate product, with a yield of 93.6%.

[0136] Embodiment 7:

[0137] This example is used to test and characterize the change of the oil-water dynamic interfacial tension of benzyl acetal octadecylaminopropyl dimethylaminoacetate and benzyl acetal octadecylaminopropyl dimethylaminohydroxysulfonate prepared in Example 1 with concentration. The test method includes: using a spinning drop interfacial tension meter TX-500C to measure the interfacial tension between Daqing crude oil and surfactant solution under different conditions, and evaluating the interfacial performance of the surfactant. The surfactant sample was prepared from Daqing simulated formation water. The ion concentration of Daqing simulated formation water is shown in Table 2. The acid value of Daqing crude oil after dehydration and degassing is 0.062 mg KOH / g, and the density is 0.84 g / cm 3 , the viscosity is 19.2mPa s at 50℃. The instrument parameters are set to a speed of 4500rpm / s, the test is 2h, and photos are taken every 2min. The test content includes first measuring the interfacial tension of the 3g / L sample at 45℃, then gradually diluting the sample to different concentrations and measuring its interfacial tension until the sample cannot achieve ultra-low oil-water interfacial tension.

[0138] Table 2 Ion composition of simulated formation water in Daqing oil reservoir

[0139]

[0140] The test results are as follows Fig.21 , Fig. 22 As shown in the figure, it can be seen that benzyl acetal octadecylamide propyl dimethylamino acetate can only briefly achieve ultra-low oil-water interfacial tension (<0.01mN / m) at a concentration of 0.1g / L, with a minimum interfacial tension of 0.0035mN / m and a equilibrium interfacial tension of 0.026mN / m; while benzyl acetal octadecylamide propyl dimethylamino hydroxysulfonate, whose hydrophilic group is hydroxysulfonic acid group, can achieve ultra-low oil-water interfacial tension at a concentration of 0.1g / L, with a minimum interfacial tension of 0.0025mN / m and a equilibrium interfacial tension of 0.0048mN / m, which is better than when acetate group is the hydrophilic group.

[0141] Embodiment 8:

[0142] This example is used to test and characterize the change in oil-water dynamic interfacial tension of phenylacetal octadecanoylpropyl dimethylaminoacetate and phenylacetal octadecanoylpropyl dimethylaminohydroxysulfonate prepared in Example 3 with concentration. The test method is the same as that in Example 7.

[0143] The test results are as follows Fig.23 , Fig.24As shown in the figure, it can be seen that phenylacetal octadecylamide propyl dimethylamino acetate can only achieve ultra-low oil-water interfacial tension briefly at a concentration of 0.1g / L, with a minimum interfacial tension of 0.0045mN / m and a balanced interfacial tension of 0.022mN / m; phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate with a hydrophilic group as a hydroxysulfonic acid group can stably achieve ultra-low oil-water interfacial tension at a concentration of 0.01-0.5g / L, 0.01g / L The minimum interfacial tension is 0.00031mN / m, and the equilibrium interfacial tension is 0.0025mN / m; the minimum interfacial tension is 0.0020mN / m, and the equilibrium interfacial tension is 0.0029mN / m at 0.1g / L; the minimum interfacial tension is 0.0035mN / m, and the equilibrium interfacial tension is 0.013mN / m at 0.5g / L; it is better than when the acetic acid group is the hydrophilic group, and better than benzyl acetal octadecylamide propyl dimethylamino hydroxy sulfonate.

[0144] Embodiment 9:

[0145] This example is used to test and characterize the oil-water dynamic interfacial tension of phenylpropionic acetal octadecanoyl propyl dimethylamino acetate and phenylpropionic acetal octadecanoyl propyl dimethylamino hydroxysulfonate prepared in Example 5 as a function of (a) surfactant concentration, (b) temperature, (c) NaCl concentration and (d) Ca 2+ The test method is different from that in Example 7 except that the test content also includes the temperature resistance, NaCl resistance and Ca resistance of the surfactant. 2+ The specific test method is as follows:

[0146] Temperature resistance: 0.10 g / L of surfactant was selected, and its oil-water interfacial tension was measured at different temperatures.

[0147] NaCl / Ca resistant 2+ At 45°C, gradually increase the NaCl / Ca content of the surfactant solution by 0.10 g / L. 2+ concentrations and measured them at different NaCl / Ca 2+ The interfacial tension at the specified concentration is adjusted until the sample cannot achieve the ultra-low oil-water interfacial tension.

[0148] The test results are as follows Figure 25-28 , Figure 29-32As shown in the figure, it can be seen that phenylacetal octadecylamide propyl dimethylamino acetate can reduce the oil-water interfacial tension to an ultra-low level (<0.01mN / m) in the concentration range of [0.02g / L, 0.4g / L]. At 0.02g / L, the minimum interfacial tension is 0.0072mN / m, and the equilibrium interfacial tension is 0.0072mN / m; at 0.1g / L, the minimum interfacial tension is 0.00031mN / m, and the equilibrium interfacial tension is 0.0025mN / m; at 0.4g / L, the minimum interfacial tension is 0.0030mN / m, and the equilibrium interfacial tension is 0.0096mN / m; it is better than phenylacetal octadecylamide propyl dimethylamino acetate and phenylacetal octadecylamide propyl dimethylamino acetate; in addition, it is also sensitive to temperature, NaCl, Ca 2+ Good tolerance: temperature [45℃, 80℃], NaCl (≤50g / L), Ca 2+ (≤1.6g / L).

[0149] Phenylpropionic acetal octadecylamide propyl dimethylamino hydroxysulfonate can reduce the oil-water interfacial tension to an ultra-low level (<0.01mN / m) in the concentration range of [0.005g / L, 3.0g / L]. At 0.005g / L, the minimum and equilibrium interfacial tensions are both 0.0093mN / m; at 0.008g / L, the minimum and equilibrium interfacial tensions are both 0.00013mN / m; at 0.01g / L, the minimum and equilibrium interfacial tensions are both 0.0010mN / m ; At 0.10g / L, the minimum and equilibrium interfacial tensions were both 0.0013mN / m; at 0.50g / L, the minimum and equilibrium interfacial tensions were 0.0020mN / m; at 3.00g / L, the minimum interfacial tension was 0.0073mN / m, and the equilibrium interfacial tension was 0.0093mN / m; it was better than benzoyl acetal octadecylamide propyl dimethylamino hydroxysulfonate and phenylacetal octadecylamide propyl dimethylamino hydroxysulfonate; in addition, it was also sensitive to temperature, NaCl, Ca 2+ Good tolerance: temperature [45℃, 80℃], NaCl (≤50g / L), Ca 2+ (≤500mg / L).

[0150] The above description of the embodiments is to facilitate the understanding and use of the invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to these embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made by those skilled in the art based on the disclosure of the present invention without departing from the scope of the present invention should be within the scope of protection of the present invention.

Claims

1. A method for preparing a quaternary ammonium salt of benzene acetal octadecanoamide, characterized in that: The method comprises: mixing tertiary amine of benzene acetal octadecanoic acid amide and a halogenated salt, and performing a quaternization reaction to obtain a quaternary ammonium salt of benzene acetal octadecanoic acid amide; The preparation method of the benzene acetal octadecanoic acid tertiary amine comprises: mixing benzene acetal octadecanoic acid methyl ester, N,N-dimethyl-1,3-propylenediamine and zinc acetate, and performing an amidation reaction, and obtaining benzene acetal octadecanoic acid propyl dimethyl tertiary amine after separation and purification; The molar ratio of the benzene acetal octadecylamide propyl dimethyl tertiary amine to the halide salt is 1:(1.2-3.1), and the halide salt is chloroacetate or 3-chloro-2-hydroxypropanesulfonate; In the quaternization reaction, the reaction temperature is 65-95°C, the reaction time is 12-24h, and the pH is 8-10; The preparation method of methyl benzene acetal octadecanoate comprises: mixing epoxy oleic acid methyl ester, aromatic aldehyde and phosphoric acid solution, and performing acetalization reaction, and obtaining methyl benzene acetal octadecanoate after separation and purification; in the acetalization reaction, the reaction temperature is 140-160°C and the reaction time is 4-10h.

2. The method for preparing a quaternary ammonium salt of benzene acetal octadecanoamide according to claim 1, wherein: The molar ratio of methyl benzoate octadecanoate and N,N-dimethyl-1,3-propylenediamine is 1:(1-3.1), and the added amount of zinc acetate is 0.5-3.5% of the total mass of methyl benzoate octadecanoate and N,N-dimethyl-1,3-propylenediamine.

3. The method for preparing a quaternary ammonium salt of benzene acetal octadecanoamide according to claim 1, wherein: In the amidation reaction, the reaction temperature is 130-160° C. and the reaction time is 4-8 h.

4. The method for preparing a quaternary ammonium salt of benzene acetal octadecanoamide according to claim 3, wherein: The molar ratio of the epoxy methyl oleate to the aromatic aldehyde is 1:(1-2.4); the aromatic aldehyde includes at least one of benzaldehyde, phenylacetaldehyde or phenylpropionaldehyde.

5. The method for preparing a quaternary ammonium salt of benzene acetal octadecanoamide according to claim 4, wherein: The preparation method of epoxy methyl oleate comprises: mixing methyl oleate, formic acid and hydrogen peroxide solution, and performing epoxidation reaction to obtain epoxy methyl oleate.

6. An application of benzoacetal octadecanoamide quaternary ammonium salt, characterized in that: The quaternary ammonium salt of benzene acetal octadecanoamide is prepared by the method according to any one of claims 1 to 5 and is used for petroleum extraction.