A water-soluble corrosion inhibitor and preparation method thereof

By preparing an environmentally friendly triazine derivative water-soluble corrosion inhibitor with a branched structure, the toxicity and degradation problems of benzene ring structure corrosion inhibitors in the existing technology are solved, and a high coverage film layer is formed on the metal surface, which significantly Improve acid corrosion inhibition effect and enhance environmental protection.

CN117247769BActive Publication Date: 2024-09-27XIAN CHUAN QIN SHIYOU SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311003710.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2024-09-27
Estimated Expiration
2043-08-10

AI Technical Summary

Technical Problem

Most of the corrosion inhibitors in existing acidizing solutions contain benzene ring structures, which are highly toxic and difficult to degrade. Moreover, quaternary ammonium salt corrosion inhibitors are difficult to form a stable film layer on the surface of the metal substrate, and the corrosion inhibition effect is poor.

Method used

Environmentally friendly triazine derivatives are compounded with dispersants, surfactants and thickeners to prepare water-soluble corrosion inhibitors through specific chemical reactions to form a film layer with a branched structure and high coverage to slow down the attack of acid on metals. of corrosion.

Benefits of technology

It achieves the formation of a dense, high-coverage film layer on the metal surface, significantly improves the corrosion inhibition effect of acid corrosion, and is more environmentally friendly due to its benzene-free structure and biodegradability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure SMS_3
    Figure SMS_3
  • Figure SMS_8
    Figure SMS_8
  • Figure SMS_9
    Figure SMS_9
Patent Text Reader

Abstract

The present invention relates to a water-soluble corrosion inhibitor and a preparation method, and belongs to the technical field of petroleum additives. It includes: 32-38wt% of environmentally friendly triazine derivatives, 0.9-1.1wt% of dispersants, 0.5-0.7wt% of surfactants and 0.25-0.35wt% of thickeners, and the remainder is water; environmentally friendly triazine derivatives are condensed with 2-amino-1,3,4-thiadiazoles and formaldehyde to form a compound with a triazine ring and a branched sulfur-nitrogen heterocyclic structure, and then N-bromosuccinimide is introduced to modify the bromine group, and then tertiary amine structure modification is introduced by substitution of diethanolamine and bromine groups, and finally trimethylene chlorohydrin is used for quaternization treatment, and at the end branched hydroxyl and quaternary ammonium structure, it has good water solubility, presents a uniform branched structure and contains a large amount of sulfur and nitrogen elements, is easily adsorbed on the surface of a metal substrate, forms a high coverage and dense film layer, and effectively slows down the corrosion of acid to metal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of petroleum additives, and in particular relates to a water-soluble corrosion inhibitor and a preparation method thereof. Background Art

[0002] Acidizing is a commonly used method to increase production in oil and gas field development. Acid can dissolve underground rock formations, increase rock porosity, and thus improve oil and gas recovery rates. The use of acid during the acidizing process often leads to severe corrosion of oil wells, which in turn causes formation damage, economic losses, and threats to personnel safety. Therefore, it is of great significance to take economical and effective measures to slow down acidizing corrosion. Among them, adding acidizing corrosion inhibitors is the most commonly used and effective method.

[0003] The corrosion inhibitors used in the acidizing solution in the prior art are mainly heterocyclic compounds and quaternary ammonium salts, and their mechanism is to form a protective film on the surface of the metal substrate to prevent the substrate from being corroded by the acid solution, thereby achieving the corrosion inhibition effect; the following are some high-efficiency corrosion inhibitor structures disclosed in the prior art:

[0004]

[0005] Most of these corrosion inhibitors contain benzene ring structures, are highly toxic and difficult to degrade, and are not easy to dissolve in water. They need to be compounded with a large amount of emulsifiers and dispersants. In comparison, quaternary ammonium salt corrosion inhibitors are less toxic and easily soluble in water. They can be directly made into aqueous solutions and dispersed in acid solutions, but they are difficult to form a stable film layer on the surface of the metal substrate and the corrosion inhibition effect is general. Summary of the invention

[0006] In order to solve the technical problems mentioned in the background technology, the purpose of the present invention is to provide a water-soluble corrosion inhibitor and a preparation method thereof.

[0007] The purpose of the present invention can be achieved through the following technical solutions:

[0008] A water-soluble corrosion inhibitor comprises, by weight percentage, 32-38 wt% of an environmentally friendly triazine derivative, 0.9-1.1 wt% of a dispersant, 0.5-0.7 wt% of a surfactant, 0.25-0.35 wt% of a thickener, and the balance is water.

[0009] The environmentally friendly triazine derivative is prepared by the following method:

[0010] Step A1: 2-amino-1,3,4-thiadiazole and methanol solution are mixed and dissolved, acetic acid is added to adjust the pH value to 5-6, and then formaldehyde solution is added and mixed, nitrogen is introduced for protection, formaldehyde solution is added and mixed, the temperature is controlled at 55-65° C., and stirring and refluxing at 120-180 rpm are applied for reaction for 3-4 hours to obtain compound a;

[0011] Further, the molar ratio of 2-amino-1,3,4-thiadiazole to formaldehyde is 1:1.5-1.8, the mass fraction of the methanol solution is 30-45%, and formaldehyde reacts with 2-amino-1,3,4-thiadiazole to form a triazine compound. The specific reaction process can be expressed as follows:

[0012]

[0013] Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone are mixed and dissolved, the temperature is controlled at 35-42° C., and the mixture is stirred at 240-360 rpm and refluxed for 1.8-2.5 h to obtain compound b;

[0014] Further, the dosage ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone is 0.1 mol: 0.32-0.34 mol: 20-30 mg: 80-100 mL. Under the catalysis of azobisisobutyronitrile, N-bromosuccinimide bromines and replaces compound a. The specific reaction process can be expressed as follows:

[0015]

[0016] Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and dissolved, the temperature is controlled at 5-10° C., mechanical stirring is applied at 480-540 rpm, triethylamine is slowly added dropwise, and the total addition reaction time is controlled to be 2-3 h, to obtain compound c;

[0017] Furthermore, the usage ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1 mol: 0.3 mol: 15-20 mL: 120-160 mL, diethanolamine reacts with the bromine group of compound b to introduce a tertiary amine structure modification containing a hydroxyl group, and the specific reaction can be expressed as follows:

[0018]

[0019] Step A4: Compound c and dimethylacetamide are mixed and dissolved, and trimethylene chloride is added and mixed, nitrogen is introduced for protection, the temperature is raised to 85-100° C., mechanical stirring is applied at 120-240 rpm, and the reaction is carried out for 5-6 hours to obtain an environmentally friendly triazine derivative;

[0020] Further, the usage ratio of compound c, trimethylene chlorohydrin and dimethylacetamide is 0.1 mol:45-55 mL:110-140 mL, and trimethylene chlorohydrin quaternizes the tertiary amine structure in the compound c molecule to form a terminal quaternary ammonium structure modification. The specific reaction process can be expressed as follows:

[0021]

[0022] Furthermore, the dispersant is sodium lignin sulfonate.

[0023] Furthermore, the surfactant is heptamethyltrisiloxane polyoxyethylene ether.

[0024] Furthermore, the thickener is sodium silicate.

[0025] A method for preparing a water-soluble corrosion inhibitor comprises the following steps: uniformly mixing an environmentally friendly triazine derivative, a dispersant, a surfactant and part of water, dissolving a thickener and the remaining water, adding the dissolved thickener and the remaining water into the mixed solution and mixing the mixed solution to obtain the water-soluble corrosion inhibitor.

[0026] Beneficial effects of the present invention:

[0027] The invention prepares an environmentally friendly triazine derivative, which is compounded with an auxiliary agent for use to obtain an excellent corrosion inhibition effect. The compound is subjected to a condensation reaction of 2-amino-1,3,4-thiadiazole and formaldehyde to form a compound having a triazine ring and a branched sulfur-nitrogen heterocyclic structure, and then N-bromosuccinimide is used as a brominating agent to introduce a bromine group into the sulfur-nitrogen heterocyclic ring for modification, and then a tertiary amine structure is introduced for modification through a substitution reaction between diethanolamine and the bromine group. Finally, trimethylene chlorohydrin is used for quaternization treatment, and the end branched hydroxyl group and the quaternary ammonium structure are provided with good water solubility for the environmentally friendly triazine derivative. Compared with the existing corrosion inhibitor, the environmentally friendly triazine derivative contains a large amount of sulfur and nitrogen elements in its structure, and is easily adsorbed on the surface of a metal substrate. In addition, the environmentally friendly triazine derivative presents a uniform branched structure in its structure, and is more likely to form a high coverage and dense film layer on the surface of the metal substrate, and effectively slows down the corrosion of the metal by the acid solution. In addition, the environmentally friendly triazine derivative does not contain a benzene structure, and the triazine ring structure in the molecule has a certain biodegradability, and is more environmentally friendly when used in oil and gas fields. DETAILED DESCRIPTION

[0028] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] Example 1

[0030] This embodiment prepares a water-soluble corrosion inhibitor, and the specific implementation process is as follows:

[0031] 1. Preparation of environmentally friendly triazine derivatives

[0032] Step A1: prepare a 30% methanol solution by mass, add 2-amino-1,3,4-thiadiazole to the methanol solution, stir and dissolve, add acetic acid to the solution to adjust the pH to 6, then add 30% formaldehyde solution by mass to mix, control the molar ratio of 2-amino-1,3,4-thiadiazole and formaldehyde to be 1:1.5, heat to 55°C, apply mechanical stirring at 120 rpm, reflux for 4 hours to obtain compound a.

[0033] Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone were mixed and mechanically stirred until completely dissolved, the temperature was raised to 35°C, mechanical stirring was applied at 240 rpm, and refluxed for 2.5 hours to obtain compound b. During the reaction, the dosage ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone was 0.1 mol: 0.32 mol: 20 mg: 80 mL.

[0034] Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and mechanically stirred until completely dissolved. An ice-water bath is used to maintain a constant temperature at 5-10°C, and mechanical stirring is applied at 480 rpm. Triethylamine is slowly added dropwise within 1.5 hours. After complete addition, the constant temperature stirring reaction is continued. The total reaction time of the addition of triethylamine is controlled to be 3 hours to obtain compound c. During the reaction, the amount ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1 mol: 0.3 mol: 15 mL: 120 mL.

[0035] Step A4: Compound c and dimethylacetamide were mixed and dissolved, and trimethylene chloride was added and mixed, nitrogen was introduced for protection, the temperature was raised to 85°C, mechanical stirring was applied at 120 rpm, and the reaction was carried out for 6 hours to obtain an environmentally friendly triazine derivative. During the reaction, the dosage ratio of compound c, trimethylene chloride and dimethylacetamide was 0.1 mol:45 mL:110 mL.

[0036] 2. Preparation of water-soluble corrosion inhibitor

[0037] Step S1: Take the following raw materials in proportion by weight: 34wt% of environmentally friendly triazine derivative, 1wt% of dispersant (sodium lignin sulfonate is used in the embodiments), 0.7wt% of surfactant (heptamethyltrisiloxane polyoxyethylene ether is used in the embodiments), 0.25wt% of thickener (sodium silicate is used in the embodiments, with a modulus of 1), and 64.05wt% of water.

[0038] Step S2: Add the environmentally friendly triazine derivative, dispersant and surfactant, add two-thirds of water to premix evenly, then dissolve the thickener and the remaining water, add them to the mixed solution and mix evenly to obtain a water-soluble corrosion inhibitor.

[0039] Example 2

[0040] This embodiment prepares a water-soluble corrosion inhibitor, and the specific implementation process is as follows:

[0041] 1. Preparation of environmentally friendly triazine derivatives

[0042] Step A1: prepare a methanol solution with a mass fraction of 45%, take 2-amino-1,3,4-thiadiazole and add it to the methanol solution, stir and dissolve it, add acetic acid to the solution to adjust the pH to 5, then add a formaldehyde solution with a mass fraction of 45% and mix it, control the molar ratio of 2-amino-1,3,4-thiadiazole and formaldehyde to be 1:1.8, heat it to a constant temperature of 65°C, apply mechanical stirring at 180 rpm, and reflux for 3 hours to obtain compound a.

[0043] Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone were mixed and mechanically stirred until completely dissolved, the temperature was raised to 42°C, mechanical stirring was applied at 360 rpm, and refluxed for 1.8 h to obtain compound b. During the reaction, the dosage ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone was 0.1 mol: 0.34 mol: 30 mg: 100 mL.

[0044] Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and mechanically stirred until completely dissolved. An ice-water bath is used to maintain a constant temperature at 5-10°C, and mechanical stirring is applied at 540 rpm. Triethylamine is slowly added dropwise within 1 hour. After complete addition, constant temperature stirring is continued to react. The total reaction time of the addition of triethylamine is controlled to be 2 hours to obtain compound c. During the reaction, the amount ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1 mol: 0.3 mol: 20 mL: 160 mL.

[0045] Step A4: Compound c and dimethylacetamide were mixed and dissolved, and trimethylene chloride was added and mixed, nitrogen was introduced for protection, the temperature was raised to 100°C, mechanical stirring was applied at 240 rpm, and the reaction was carried out for 5 hours to obtain an environmentally friendly triazine derivative. During the reaction, the amount ratio of compound c, trimethylene chloride and dimethylacetamide was 0.1 mol: 55 mL: 140 mL.

[0046] 2. Preparation of water-soluble corrosion inhibitor

[0047] Step S1: Take the following raw materials in proportion by weight: 38 wt % of environmentally friendly triazine derivative, 1.1 wt % of dispersant, 0.5 wt % of surfactant, 0.3 wt % of thickener, and 60.1 wt % of water.

[0048] Step S2: Add the environmentally friendly triazine derivative, dispersant and surfactant, add two-thirds of water to premix evenly, then dissolve the thickener and the remaining water, add them to the mixed solution and mix evenly to obtain a water-soluble corrosion inhibitor.

[0049] Example 3

[0050] This embodiment prepares a water-soluble corrosion inhibitor, and the specific implementation process is as follows:

[0051] 1. Preparation of environmentally friendly triazine derivatives

[0052] Step A1: prepare a methanol solution with a mass fraction of 40%, take 2-amino-1,3,4-thiadiazole and add it to the methanol solution, stir and dissolve it, add acetic acid to the solution to adjust the pH to 5, then add a formaldehyde solution with a mass fraction of 37% and mix it, control the molar ratio of 2-amino-1,3,4-thiadiazole and formaldehyde to be 1:1.6, heat it to a constant temperature of 55-65°C, apply mechanical stirring at 180 rpm, and reflux for 3.5 hours to obtain compound a.

[0053] Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone were mixed and mechanically stirred until completely dissolved, the temperature was raised to 38°C, mechanical stirring was applied at 300 rpm, and refluxed for 2.2 h to obtain compound b. During the reaction, the dosage ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone was 0.1 mol: 0.33 mol: 26 mg: 90 mL.

[0054] Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and mechanically stirred until completely dissolved. An ice-water bath is used to maintain a constant temperature at 5-10°C, and mechanical stirring is applied at 540 rpm. Triethylamine is slowly added dropwise within 1.3 hours. After complete addition, the constant temperature stirring is continued to react. The total reaction time of the addition of triethylamine is controlled to be 2.8 hours to obtain compound c. During the reaction, the amount ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1 mol: 0.3 mol: 18 mL: 150 mL.

[0055] Step A4: Compound c and dimethylacetamide were mixed and dissolved, and trimethylene chloride was added and mixed, nitrogen was introduced for protection, the temperature was raised to 95°C, mechanical stirring was applied at 180 rpm, and the reaction was carried out for 5.2 hours to obtain an environmentally friendly triazine derivative. During the reaction, the dosage ratio of compound c, trimethylene chloride and dimethylacetamide was 0.1 mol: 50 mL: 120 mL.

[0056] 2. Preparation of water-soluble corrosion inhibitor

[0057] Step S1: Take the following raw materials according to weight ratio: 36 wt % of environmentally friendly triazine derivative, 1 wt % of dispersant, 0.6 wt % of surfactant, 0.28 wt % of thickener, and 62.12 wt % of water.

[0058] Step S2: Add the environmentally friendly triazine derivative, dispersant and surfactant, add two-thirds of water to premix evenly, then dissolve the thickener and the remaining water, add them to the mixed solution and mix evenly to obtain a water-soluble corrosion inhibitor.

[0059] Example 4

[0060] This embodiment prepares a water-soluble corrosion inhibitor, and the specific implementation process is as follows:

[0061] 1. Preparation of environmentally friendly triazine derivatives

[0062] Step A1: prepare a methanol solution with a mass fraction of 40%, take 2-amino-1,3,4-thiadiazole and add it to the methanol solution, stir and dissolve it, add acetic acid to the solution to adjust the pH to 6, then add 37% formaldehyde solution to mix, control the molar ratio of 2-amino-1,3,4-thiadiazole and formaldehyde to be 1:1.7, heat to 60°C, apply mechanical stirring at 180 rpm, reflux for 4 hours, and obtain compound a.

[0063] Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone were mixed and mechanically stirred until completely dissolved, the temperature was raised to 40°C, mechanical stirring was applied at 360 rpm, and refluxed for 2.3 h to obtain compound b. During the reaction, the dosage ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone was 0.1 mol: 0.32 mol: 25 mg: 100 mL.

[0064] Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and mechanically stirred until completely dissolved. An ice-water bath is used to maintain a constant temperature at 5-10°C, and mechanical stirring is applied at 540 rpm. Triethylamine is slowly added dropwise within 1.5 hours. After complete addition, the constant temperature stirring is continued to react. The total reaction time of the addition of triethylamine is controlled to be 2.5 hours to obtain compound c. During the reaction, the amount ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1 mol: 0.3 mol: 20 mL: 140 mL.

[0065] Step A4: Compound c and dimethylacetamide were mixed and dissolved, and trimethylene chloride was added and mixed, nitrogen was introduced for protection, the temperature was raised to 90°C, mechanical stirring was applied at 240 rpm, and the reaction was carried out for 5.5 hours to obtain an environmentally friendly triazine derivative. During the reaction, the amount ratio of compound c, trimethylene chloride and dimethylacetamide was 0.1 mol: 50 mL: 140 mL.

[0066] 2. Preparation of water-soluble corrosion inhibitor

[0067] Step S1: Take the following raw materials in proportion by weight: 32 wt % of environmentally friendly triazine derivative, 0.9 wt % of dispersant, 0.6 wt % of surfactant, 0.35 wt % of thickener, and 66.15 wt % of water.

[0068] Step S2: Add the environmentally friendly triazine derivative, dispersant and surfactant, add two-thirds of water to premix evenly, then dissolve the thickener and the remaining water, add them to the mixed solution and mix evenly to obtain a water-soluble corrosion inhibitor.

[0069] Comparative Example

[0070] This comparative example is a commercially available imidazoline quaternary ammonium salt acidifying corrosion inhibitor, model number YTY-02, and the active ingredient content is about 50wt%.

[0071] The corrosion inhibition performance of the corrosion inhibitors prepared in Examples 1 to 4 and provided in the comparative examples was tested as follows:

[0072] Corrosion specimen: N80 steel sheet with specifications of 50mm×10mm×3mm was selected, and the surface was polished with 800# sandpaper, then soaked and cleaned with distilled water, acetone, and ethanol in turn, and weighed after drying for later use.

[0073] Test solution preparation: Prepare a hydrochloric acid solution with a mass fraction of 15%, add the corrosion inhibitors prepared in Examples 1 to 4 respectively, and control the content of the environmentally friendly triazine derivative to 0.4wt%; take the corrosion inhibitor provided in the comparative example and mix it with 15% hydrochloric acid, and control the content of the effective ingredient to 0.4wt%; the ratio of the test solution to the corrosion sample is 20mL / cm 2 .

[0074] Static weight loss test: The test liquids were heated to 60°C, and then the corrosion samples were completely immersed in the test liquids for 72 hours. After corrosion, the samples were taken out and cleaned with ethanol and dried. The corrosion rate and corrosion inhibition rate were calculated based on the mass change of the corrosion samples. The specific test data are shown in Table 1:

[0075] Table 1

[0076]

[0077] It can be seen from the data in Table 1 that the corrosion inhibitor prepared by the present invention, with an active ingredient content of 0.4wt%, is added to 15% hydrochloric acid, and the corrosion inhibition rate of N80 steel sheet reaches 92.90-96.24%, which is significantly better than the existing imidazoline quaternary ammonium salt acidifying corrosion inhibitor and shows excellent corrosion inhibition performance.

[0078] AC impedance test: CHI604C electrochemical analyzer was used, the working electrode was N80 steel sheet, and the exposed surface was 1cm 2, the auxiliary electrode is Pt electrode, the reference electrode is SCE electrode, the potential fluctuation is 5mV, the measurement frequency range is 5mHz-10kHz, and the specific test parameters are shown in Table 2:

[0079] Table 2

[0080]

[0081] It can be seen from the data in Table 2 that in the corrosion inhibitor test group prepared by Example 1 to Example 4, R ct The value is 533.9-594.2Ω·cm 2 , which is significantly larger than the comparative example, indicating that substances that hinder charge transfer are formed on the electrode surface. dl The value is 41.3-52.7μF / cm 2 , which is significantly lower than the comparative example, and the thickness of the film layer constituting the double electric layer on the surface of the surface electrode is greater than that of the comparative example;

[0082] Combining the data in Table 1 and Table 2, it can be seen that the corrosion inhibitor prepared by the present invention is easier to form a dense and thick film layer on the metal surface, effectively protecting the metal from corrosion.

[0083] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0084] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

Claims

1. A water-soluble corrosion inhibitor, characterized in that: The composition includes, by weight percentage, 32-38 wt% of an environmentally friendly triazine derivative, 0.9-1.1 wt% of a dispersant, 0.5-0.7 wt% of a surfactant, and 0.25-0.35 wt% of a thickener, and the balance is water; The environmentally friendly triazine derivative is prepared by the following method: Step A1: 2-amino-1,3,4-thiadiazole and methanol solution are mixed and dissolved, acetic acid is added to adjust the pH value to 5-6, and then formaldehyde solution is added and mixed, nitrogen protection is added, formaldehyde solution is added and mixed, the temperature is controlled at 55-65° C., and stirring and reflux reaction is carried out for 3-4 hours to obtain compound a, wherein the molar ratio of 2-amino-1,3,4-thiadiazole and formaldehyde is 1:1.5-1.8, and the mass fraction of methanol solution is 30-45%; Step A2: Compound a, N-bromosuccinimide, triphenylphosphine and acetone are mixed and dissolved, the temperature is controlled at 35-42° C., and the mixture is stirred and refluxed for 1.8-2.5 hours to obtain compound b, wherein the amount ratio of compound a, N-bromosuccinimide, azobisisobutyronitrile and acetone is 0.1 mol: 0.32-0.34 mol: 20-30 mg: 80-100 mL; Step A3: Compound b, diethanolamine and dimethyl sulfoxide are mixed and dissolved, the temperature is controlled at 5-10°C, triethylamine is slowly added dropwise while stirring, and the total reaction time is controlled to be 2-3h to obtain compound c, wherein the amount ratio of compound b, diethanolamine, triethylamine and dimethyl sulfoxide is 0.1mol:0.3mol:15-20mL:120-160mL; Step A4: Compound c and dimethylacetamide are mixed and dissolved, and trimethylene chloride is added and mixed, and nitrogen is protected, and the temperature is raised to 85-100° C. and stirred for reaction for 5-6 hours to obtain an environmentally friendly triazine derivative, wherein the amount ratio of compound c, trimethylene chloride and dimethylacetamide is 0.1 mol: 45-55 mL: 110-140 mL.

2. A water-soluble corrosion inhibitor according to claim 1, characterized in that: The dispersant is sodium lignin sulfonate.

3. A water-soluble corrosion inhibitor according to claim 1, characterized in that: The surfactant is heptamethyl trisiloxane polyoxyethylene ether.

4. A water-soluble corrosion inhibitor according to claim 1, characterized in that: The thickener is sodium silicate.

5. A method for preparing a water-soluble corrosion inhibitor according to any one of claims 1 to 4, characterized in that: The specific operation is: mix the environmentally friendly triazine derivative, dispersant, surfactant and part of water evenly, then dissolve the thickener and the remaining water and add them into the mixed liquid and mix evenly to obtain the water-soluble corrosion inhibitor.