A heat-resistant polymer gel water plugging agent and preparation process

By introducing alkenyl-sodium sulfonate modified cellulose and methacryloyloxyethyltrimonium chloride and other raw materials into the polyacrylamide gel, a double cross-linked network is formed, which solves the problem of polyacrylamide gel blocking. The problem of low gelling strength and poor temperature resistance of aqueous agents achieves efficient water blocking effect at high temperatures.

CN118221889BActive Publication Date: 2024-09-03JINDAO PETROLEUM ENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410651995.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-03
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

The polyacrylamide gel water-blocking agent has low gel-forming strength and poor temperature resistance, resulting in poor performance in high-temperature oil reservoir mining and water plugging.

Method used

It uses alkenyl-sodium sulfonate modified cellulose and raw materials such as acrylamide, methacryloyloxyethyltrimethylammonium chloride and N,N-methylene bisacrylamide through esterification reaction and cross-linking polymerization. Form a double cross-linked network to improve the gel strength and temperature resistance.

Benefits of technology

It significantly improves the tensile strength and mechanical properties of the gel water-blocking agent, enhances its water absorption and salt water absorption rate at high temperatures, and ensures efficient water-blocking performance in a 90°C environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118221889B
    Figure CN118221889B
Patent Text Reader

Abstract

The present invention relates to the technical field of water plugging agents, specifically to a heat-resistant polymer gel water plugging agent and a preparation process. The present invention utilizes an alkenyl-sulfonic acid modifier and hydroxypropyl methylcellulose to carry out an esterification reaction, obtains alkenyl-sodium sulfonate modified cellulose, and then undergoes a cross-linking polymerization reaction with acrylamide and methacryloyloxyethyl trimethyl ammonium chloride. The obtained heat-resistant polymer gel water plugging agent contains a unique double cross-linking network, improves the gelling strength of the gel water plugging agent, and has better tensile strength and mechanical properties. The heat-resistant polymer gel water plugging agent forms a continuous spatial network in the pores of the core, and the groups such as quaternary ammonium salt cations and sulfonates contained in the gel water plugging agent can interact with the core surface by electrostatic action, hydrogen bonds, etc., so that the gel water plugging agent is tightly attached to the pores of the core, plays a good physical plugging effect, and thus shows excellent water plugging performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water plugging agents, in particular to a temperature-resistant polymer gel water plugging agent and a preparation process. Background Art

[0002] As the depth of oil field exploitation continues to increase, the amount of water produced by the oil layer is also increasing, resulting in a decrease in oil production and recovery rate. Therefore, it is necessary to develop oil well water plugging technology to improve the development efficiency of the reservoir during the high water content period. Among them, polymer resin water plugging agents are the most widely used in oil well water plugging. By forming resin plugging materials, the water-producing layer can be effectively blocked. The main water plugging agents are polyacrylamide water plugging agents, polyurethane water plugging agents, rubber water plugging agents, etc.

[0003] Traditional polyacrylamide water plugging agents can effectively block large pores, have good water plugging efficiency, and achieve the effect of controlling water and stabilizing oil. However, polyacrylamide water plugging agents have poor heat and salt resistance, which greatly limits the exploitation and water plugging of high-temperature oil reservoirs. In addition, polyacrylamide water plugging agents have low gel strength and poor mechanical properties, which will lead to a large amount of filtration loss of water plugging agents in the formation, affecting the water plugging effect.

[0004] Cellulose-based water plugging agents are green and environmentally friendly, have high strength, and have good water absorption and swelling properties. They are widely used in oilfield exploitation and profile control and water plugging processes. Chinese patent CN107868379B discloses enhanced polyacrylamide microspheres for profile control and a preparation method thereof. The polyacrylamide microspheres prepared using acrylamide, modified cellulose, cationic monomers or anionic monomers, nonionic monomers, etc. as raw materials can be well applied to the existing profile control and water plugging processes. However, the polyacrylamide microspheres do not show good temperature resistance, which is not conducive to the practical application of water plugging agents in high-temperature oil reservoir exploitation and water plugging. Summary of the invention

[0005] The invention solves the problems of low strength, poor temperature resistance and poor water plugging performance of the polyacrylamide gel water plugging agent.

[0006] Technical solution: A heat-resistant polymer gel water plugging agent, comprising the following raw materials: 100 parts by weight of sodium olefin-sulfonate modified cellulose, 250-600 parts by weight of acrylamide, 35-80 parts by weight of methacryloyloxyethyl trimethylammonium chloride, 2.6-9 parts by weight of potassium persulfate, and 3-7 parts by weight of N,N-methylenebisacrylamide.

[0007] Further, the preparation process of olefin-sodium sulfonate modified cellulose is:

[0008] (1) Add 1,3-propane sultone and 3-amino-5-hydroxybenzoic acid to acetonitrile, stir to react, remove acetonitrile by rotary evaporation, and recrystallize the product with ethyl acetate to obtain a modifier precursor.

[0009] (2) Add the modifier precursor and isocyanoethyl methacrylate to toluene, stir and react at 60-80°C for 2-3 hours, remove the toluene by rotary evaporation, and recrystallize the product with ethyl acetate to obtain an olefin-sulfonic acid modifier.

[0010] (3) Add hydroxypropyl methylcellulose and olefin-sulfonic acid modifier to dimethyl sulfoxide, stir evenly, then add 4-dimethylaminopyridine and N,N-dicyclohexylcarbodiimide, stir to react, add sodium hydroxide aqueous solution to adjust the pH to 8-10, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sodium sulfonate modified cellulose.

[0011] Furthermore, the molar amount of 1,3-propane sultone in (1) is 150-180% of the molar amount of 3-amino-5-hydroxybenzoic acid.

[0012] Furthermore, the reaction in (1) is carried out at 20-40°C for 10-18h.

[0013] Furthermore, the molar amount of isocyanoethyl methacrylate in (2) is 100-120% of the molar amount of the modifier precursor.

[0014] Furthermore, the mass of the olefin-sulfonic acid modifier in (3) is 25-60% of the mass of the hydroxypropylmethylcellulose.

[0015] Furthermore, the reaction in (3) is carried out at 20-30°C for 24-36 hours.

[0016] Furthermore, the preparation process of the heat-resistant polymer gel water-plugging agent is as follows: 100 parts by weight of sodium olefin-sulfonate modified cellulose, 250-600 parts by weight of acrylamide, and 35-80 parts by weight of methacryloyloxyethyltrimethylammonium chloride are added to distilled water, mixed and heated to 60-75° C. under a nitrogen atmosphere, 2.6-9 parts by weight of potassium persulfate and 3-7 parts by weight of N,N-methylenebisacrylamide are added, the reaction is stirred for 3-5 hours, cooled, filtered, washed with distilled water, and dried to obtain a heat-resistant polymer gel water-plugging agent.

[0017] Technical effect: The present invention utilizes an olefin-sulfonic acid modifier to carry out an esterification reaction with hydroxypropyl methylcellulose to obtain olefin-sodium sulfonate modified cellulose, which contains olefin polymerization sites and can promote the cross-linking polymerization reaction of hydroxypropyl methylcellulose with acrylamide and methacryloyloxyethyltrimethylammonium chloride to form a first heavy polymerization cross-linking network of olefin polymerization. At the same time, the olefin-sodium sulfonate modified cellulose contains sodium sulfonate groups, which interact with the cations in the acrylamide copolymer molecular chain to generate a zwitterionic structure, so that the cellulose and acrylamide molecular chains form a second heavy ion cross-linking network.

[0018] The heat-resistant polymer gel water plugging agent of the present invention contains a unique double cross-linked network, which improves the gel strength of the gel water plugging agent, has better tensile strength and mechanical properties, and is beneficial to improving the filtration loss of the water plugging agent in the formation. In addition, the gel water plugging agent contains a sulfonate zwitterionic structure, as well as groups such as benzene rings, which can improve the heat resistance of the gel water plugging agent. After high-temperature heat treatment, it still maintains very high gel performance and tensile strength. In addition, the gel water plugging agent contains hydrophilic groups such as hydrophilic sodium sulfonate and quaternary ammonium salt cations, which can significantly improve the water absorption rate and expansion performance of the gel water plugging agent. The gel water plugging agent has good temperature resistance and still has a high water absorption and salt water absorption rate in hot water at 90°C.

[0019] The heat-resistant polymer gel water-plugging agent of the present invention contains a double cross-linked molecular chain network, which can form a continuous spatial network in the pores of the core. At the same time, the quaternary ammonium salt cations, sulfonate and other groups contained in the gel water-plugging agent can interact with the core surface through electrostatic effects, hydrogen bonds and the like, so that the gel water-plugging agent is tightly attached to the pores of the core, plays a good physical plugging role, and thus exhibits excellent water-plugging performance, which can meet the water-plugging needs of high-temperature and high-salt oil fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is the reaction formula for preparing the modifier precursor.

[0021] Figure 2 is the reaction formula for preparing olefin-sulfonic acid modifier.

[0022] Figure 3 It is the reaction formula of sodium olefin sulfonate modified cellulose. DETAILED DESCRIPTION

[0023] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0024] Example 1

[0025] (1) Add 15 mmol of 1,3-propane sultone and 10 mmol of 3-amino-5-hydroxybenzoic acid to 30 mL of acetonitrile, stir and react at 20°C for 18 h, remove acetonitrile by rotary evaporation, and recrystallize the product from ethyl acetate to obtain a light yellow solid with a yield of 2.15 g.

[0026] (2) Add 15 mmol of the modifier precursor and 18 mmol of isocyanoethyl methacrylate to toluene, stir and react at 60°C for 2 h, remove the toluene by rotary evaporation, and recrystallize the product with ethyl acetate to obtain an olefin-sulfonic acid modifier as a yellow solid with a yield of 5.52 g.

[0027] Example 2

[0028] (1) Add 18 mmol of 1,3-propane sultone and 10 mmol of 3-amino-5-hydroxybenzoic acid to 40 mL of acetonitrile, stir and react at 40°C for 10 h, remove acetonitrile by rotary evaporation, and recrystallize the product from ethyl acetate to obtain a light yellow solid with a yield of 2.07 g.

[0029] (2) Add 15 mmol of the modifier precursor and 15 mmol of isocyanoethyl methacrylate to toluene, stir and react at 80°C for 3 h, remove toluene by rotary evaporation, and recrystallize the product with ethyl acetate to obtain an olefin-sulfonic acid modifier. The product is a yellow solid with a yield of 5.80 g.

[0030] Example 3

[0031] (1) Prepare an olefin-sulfonic acid modifier according to the method of Example 2.

[0032] (2) Add 4 g of hydroxypropyl methylcellulose and 1 g of olefin-sulfonic acid modifier to 60 mL of dimethyl sulfoxide and stir evenly. Then add 0.3 g of 4-dimethylaminopyridine and 0.7 g of N,N-dicyclohexylcarbodiimide and stir at 30°C for 24 h. Add sodium hydroxide aqueous solution to adjust the pH to 8, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sulfonate sodium modified cellulose.

[0033] (3) Add 10 g of sodium olefin-sulfonate modified cellulose, 25 g of acrylamide, and 3.5 g of methacryloyloxyethyl trimethylammonium chloride into distilled water, mix well, and heat to 65 °C under a nitrogen atmosphere. Add 0.26 g of potassium persulfate and 0.3 g of N,N-methylenebisacrylamide, stir and react for 3 h, cool, filter, wash with distilled water, and dry to obtain a temperature-resistant polymer gel water plugging agent.

[0034] Example 4

[0035] (1) Prepare an olefin-sulfonic acid modifier according to the method of Example 2.

[0036] (2) Add 4 g of hydroxypropyl methylcellulose and 1.5 g of olefin-sulfonic acid modifier to 80 mL of dimethyl sulfoxide and stir evenly. Then add 0.4 g of 4-dimethylaminopyridine and 0.9 g of N,N-dicyclohexylcarbodiimide and stir at 20 °C for 36 h. Add sodium hydroxide aqueous solution to adjust the pH to 8, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sodium sulfonate modified cellulose.

[0037] (3) Add 10 g of sodium olefin-sulfonate modified cellulose, 35 g of acrylamide, and 4.2 g of methacryloyloxyethyl trimethylammonium chloride into distilled water, mix well, and heat to 75 °C under a nitrogen atmosphere. Add 0.35 g of potassium persulfate and 0.42 g of N,N-methylenebisacrylamide, stir and react for 3 h, cool, filter, wash with distilled water, and dry to obtain a temperature-resistant polymer gel water plugging agent.

[0038] Example 5

[0039] (1) Prepare an olefin-sulfonic acid modifier according to the method of Example 2.

[0040] (2) Add 4 g of hydroxypropyl methylcellulose and 2 g of olefin-sulfonic acid modifier to 100 mL of dimethyl sulfoxide and stir evenly. Then add 0.57 g of 4-dimethylaminopyridine and 1.2 g of N,N-dicyclohexylcarbodiimide and stir at 20°C for 36 h. Add sodium hydroxide aqueous solution to adjust the pH to 10, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sodium sulfonate modified cellulose.

[0041] (3) Add 10 g of sodium olefin-sulfonate modified cellulose, 48 g of acrylamide, and 6.3 g of methacryloyloxyethyl trimethylammonium chloride into distilled water, mix well, and heat to 60 °C under a nitrogen atmosphere. Add 0.73 g of potassium persulfate and 0.6 g of N,N-methylenebisacrylamide, stir and react for 5 h, cool, filter, wash with distilled water, and dry to obtain a temperature-resistant polymer gel water plugging agent.

[0042] Example 6

[0043] (1) Prepare an olefin-sulfonic acid modifier according to the method of Example 2.

[0044] (2) Add 4 g of hydroxypropyl methylcellulose and 2.4 g of olefin-sulfonic acid modifier to 100 mL of dimethyl sulfoxide and stir evenly. Then add 0.7 g of 4-dimethylaminopyridine and 1.5 g of N,N-dicyclohexylcarbodiimide and stir at 30°C for 30 h. Add sodium hydroxide aqueous solution to adjust the pH to 10, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sodium sulfonate modified cellulose.

[0045] (3) Add 10 g of sodium olefin-sulfonate modified cellulose, 60 g of acrylamide, and 8 g of methacryloyloxyethyl trimethylammonium chloride into distilled water, mix well, and heat to 75 °C under a nitrogen atmosphere. Add 0.9 g of potassium persulfate and 0.7 g of N,N-methylenebisacrylamide, stir and react for 5 h, cool, filter, wash with distilled water, and dry to obtain a temperature-resistant polymer gel water plugging agent.

[0046] Comparative Example 1

[0047] Add 10g of hydroxypropyl methylcellulose, 25g of acrylamide, and 3.5g of methacryloyloxyethyltrimethylammonium chloride into distilled water, mix well, and heat to 65°C under a nitrogen atmosphere. Add 0.26g of potassium persulfate and 0.3g of N,N-methylenebisacrylamide, stir and react for 3h, cool, filter, wash with distilled water, and dry to obtain a heat-resistant polymer gel water plugging agent.

[0048] Comparative Example 2

[0049] (1) Prepare an olefin-sulfonic acid modifier according to the method of Example 2.

[0050] (2) Add 4 g of hydroxypropyl methylcellulose and 1 g of olefin-sulfonic acid modifier to 60 mL of dimethyl sulfoxide and stir evenly. Then add 0.3 g of 4-dimethylaminopyridine and 0.7 g of N,N-dicyclohexylcarbodiimide and stir at 30°C for 24 h. Add sodium hydroxide aqueous solution to adjust the pH to 8, stir and precipitate, filter, wash the precipitate with ethanol, and dry to obtain olefin-sulfonate sodium modified cellulose.

[0051] (3) Add 10 g of sodium olefin-sulfonate modified cellulose and 25 g of acrylamide into distilled water, mix well, and heat to 65 °C under nitrogen atmosphere. Add 0.26 g of potassium persulfate and 0.3 g of N,N-methylenebisacrylamide, stir and react for 3 h, cool, filter, wash with distilled water, and dry to obtain a temperature-resistant polymer gel water plugging agent.

[0052] The heat-resistant polymer gel water plugging agent was made into a dumbbell-shaped specimen of 25 mm × 5 mm × 3 mm, and the tensile strength Q1 of the gel water plugging agent was tested using a universal tensile machine. The tensile rate was 100 mm / min.

[0053] The heat-resistant polymer gel water plugging agent was placed in an oven and heat treated at 100°C for 120 hours. After cooling, the tensile strength Q2 was tested.

[0054] The test results of the above tensile strength are shown in Table 1.

[0055] Table 1 Tensile strength test of heat-resistant polymer gel water plugging agent

[0056]

[0057] After testing, the tensile strength of the heat-resistant polymer gel water plugging agent prepared in Examples 3-6 reached 0.463-0.820 MPa, and the tensile strength remained at 0.449-0.801 MPa after high-temperature heat treatment. This is because the cellulose modified by sodium olefin sulfonate contains olefin polymerization sites, which can promote the cross-linking polymerization reaction between hydroxypropyl methylcellulose and acrylamide and methacryloyloxyethyl trimethyl ammonium chloride to form the first heavy polymerization cross-linking network of olefin polymerization. At the same time, the cellulose modified by sodium olefin sulfonate contains sodium sulfonate groups, which interact with the cations in the acrylamide copolymer molecular chain to generate a zwitterionic structure, so that the cellulose and acrylamide molecular chains form a second heavy ion cross-linking network. The obtained heat-resistant polymer gel water plugging agent contains a double cross-linking network, which improves the gel strength of the gel water plugging agent, has better tensile strength and mechanical properties, and is conducive to improving the filtration loss of the water plugging agent in the formation. In addition, the gel water plugging agent contains sulfonate zwitterionic structure, as well as groups such as benzene rings, which can improve the temperature resistance of the gel water plugging agent. After high-temperature heat treatment, it still maintains high gelling properties and tensile strength.

[0058] In Comparative Example 1, although ordinary hydroxypropyl methylcellulose can also undergo graft polymerization reaction with acrylamide and methacryloyloxyethyltrimethylammonium chloride, compared with Examples 3-6, ordinary hydroxypropyl methylcellulose does not contain alkenyl groups, has fewer cross-linking polymerization sites, and hydroxypropyl methylcellulose does not contain sodium sulfonate groups, and cannot interact with cations in the acrylamide copolymer molecular chain to form a second heavy ion cross-linking network, and the resulting gel water plugging agent has low gelling properties and tensile strength.

[0059] The gel water plugging agent of Comparative Example 2 does not contain methacryloyloxyethyl trimethyl ammonium chloride, does not contain a cationic group, and cannot form an ion cross-linking network with the sodium sulfonate group of cellulose. The obtained gel water plugging agent has low gelling performance and tensile strength.

[0060] Weigh the heat-resistant polymer gel water plugging agent (recorded as m0), then add it to distilled water or a 0.9% sodium chloride aqueous solution, control the temperature of the distilled water or sodium chloride aqueous solution to 25 or 90°C, soak for 48 hours, take out the water plugging agent, wipe the surface moisture, weigh it (recorded as m1), and calculate the water absorption or salt water absorption rate. Water absorption or salt water absorption rate = (m1-m0) / m0.

[0061] The above water absorption and salt water absorption rate test results are shown in Table 2.

[0062] Table 2 Water absorption and salt water absorption rate test of heat-resistant polymer gel water plugging agent

[0063]

[0064] After testing, the heat-resistant polymer gel water plugging agent prepared in Examples 3-6 has a water absorption rate of 54.4-89.2 g / g at 25°C, and a brine absorption rate of 41.0-65.7 g / g. This is because the gel water plugging agent contains hydrophilic groups such as hydrophilic sodium sulfonate and quaternary ammonium salt cations, which can significantly improve the water absorption rate and expansion performance of the gel water plugging agent. In addition, the gel water plugging agent has good temperature resistance and still has a high water absorption and brine absorption rate in 90°C hot water. It has good practical applications in high-temperature oil well exploitation and water plugging.

[0065] The water plugging performance of the temperature-resistant polymer gel water plugging agent was tested using a core simulation experiment.

[0066] The natural core was dried and weighed, and vacuumed in the core experimental device, and then saturated with formation water (mineralization of 1149.2 mg / L), and the permeability K1 before plugging was tested. Then the gel plugging agent was added, and the core permeability K2 was tested after gelation, and the plugging rate after 24 hours was calculated. The plugging rate W1 = (K1- K2) / K1 × 100%.

[0067] The heat-resistant polymer gel water-plugging agent was placed in an oven and heat treated at 100°C for 120 hours. After cooling, a water-plugging performance test was carried out and the water-plugging rate W2 was calculated.

[0068] The above water plugging rate test results are shown in Table 3.

[0069] Table 3 Water plugging performance test of heat-resistant polymer gel water plugging agent

[0070]

[0071] After testing, the water blocking rate of the gel water blocking agent of Examples 3-6 reached 99.27-99.85%, and after high-temperature heat treatment, the water blocking rate reached 98.90-99.61%, showing good water blocking performance. This is because the gel water blocking agent contains a double cross-linked molecular chain network, which can form a continuous spatial network in the pores of the core, and the quaternary ammonium salt cations, sulfonates and other groups contained in the gel water blocking agent can interact with the core surface through electrostatic effects, hydrogen bonds, etc., so that the gel water blocking agent is tightly attached to the pores of the core, playing a good physical blocking role.

[0072] Although the above-mentioned embodiments have made a detailed description of the present invention, they are only some embodiments of the present invention, rather than all embodiments. People can also obtain other embodiments based on the embodiments of the present invention without creative work, and these embodiments all fall within the scope of protection of the present invention.

Claims

1. A heat-resistant polymer gel water plugging agent, characterized in that: The heat-resistant polymer gel water plugging agent comprises the following raw materials: 100 parts by weight of sodium olefin-sulfonate modified cellulose, 250-600 parts by weight of acrylamide, 35-80 parts by weight of methacryloyloxyethyl trimethylammonium chloride, 2.6-9 parts by weight of potassium persulfate, and 3-7 parts by weight of N,N-methylenebisacrylamide; The preparation process of the alkenyl-sodium sulfonate modified cellulose is as follows: (1) adding 1,3-propane sultone and 3-amino-5-hydroxybenzoic acid to acetonitrile, stirring for reaction, rotary evaporation, and recrystallization to obtain a modifier precursor; The molar amount of 1,3-propane sultone in (1) is 150-180% of the molar amount of 3-amino-5-hydroxybenzoic acid; The reaction in (1) is carried out at 20-40° C. for 10-18 hours; (2) adding a modifier precursor and isocyanoethyl methacrylate to toluene, stirring for reaction, rotary evaporation, and recrystallization to obtain an olefin-sulfonic acid modifier; The molar amount of isocyanoethyl methacrylate in (2) is 100-120% of the molar amount of the modifier precursor; The reaction in (2) is carried out at 60-80° C. for 2-3 hours; (3) adding hydroxypropyl methylcellulose and olefin-sulfonic acid modifier to dimethyl sulfoxide, stirring evenly, then adding 4-dimethylaminopyridine and N,N-dicyclohexylcarbodiimide, stirring to react, adding sodium hydroxide aqueous solution, stirring to precipitate, filtering, washing, and drying to obtain olefin-sulfonate sodium modified cellulose; The mass of the olefin-sulfonic acid modifier in (3) is 25-60% of the mass of the hydroxypropyl methylcellulose; The reaction in (3) is carried out at 20-30°C for 24-36 hours; A sodium hydroxide aqueous solution is added to the (3) to adjust the pH to 8-10.

2. A process for preparing the heat-resistant polymer gel water plugging agent as claimed in claim 1, characterized in that: 100 parts by weight of sodium olefin-sulfonate modified cellulose, 250-600 parts by weight of acrylamide, and 35-80 parts by weight of methacryloyloxyethyl trimethyl ammonium chloride are added to distilled water, mixed and heated to 60-75° C. under a nitrogen atmosphere, 2.6-9 parts by weight of potassium persulfate and 3-7 parts by weight of N,N-methylenebisacrylamide are added, stirred for reaction for 3-5 hours, cooled, filtered, washed, and dried to obtain a temperature-resistant polymer gel water plugging agent.