A cleaning rust remover containing a surfactant and an inhibitor and a method of preparation

By combining benzenesulfonic acid-based polyamide surfactant with aminobisbenzotriazole corrosion inhibitor, the problem of poor rust removal and corrosion inhibition performance of traditional hydrochloric acid cleaning rust removers is solved, achieving the effects of rapid rust removal and reduced corrosion rate.

CN118147651BActive Publication Date: 2026-07-07GUANGDONG BAICHUAN CHEM CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG BAICHUAN CHEM CO LTD
Filing Date
2024-03-12
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Traditional hydrochloric acid cleaning and rust removal agents have problems with poor rust removal and corrosion inhibition performance.

Method used

A protective film is formed by combining benzenesulfonic acid-based polyamide surfactant and aminobisbenzotriazole corrosion inhibitor. This is achieved through the chelation reaction of sulfonic acid groups with iron ions and the coordination effect of aminobisbenzotriazole groups, thereby improving the rust removal effect and reducing the corrosion rate.

Benefits of technology

It achieves rapid rust removal and reduces the corrosion rate on metal surfaces, forming a clear and transparent rust remover that is suitable for degreasing, rust removal, and corrosion inhibition of metal materials such as steel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118147651B_ABST
    Figure CN118147651B_ABST
Patent Text Reader

Abstract

The present application relates to rust cleaning technical field, specifically to a kind of cleaning rust remover containing surfactant and corrosion inhibitor and preparation method, benzene sulfonic acid group polyamide surfactant, amino bis benzotriazole corrosion inhibitor, polyvinyl alcohol, concentrated hydrochloric acid, organic acid are coordinated, obtain the cleaning rust remover containing surfactant and corrosion inhibitor.Benzene sulfonic acid group polyamide surfactant has the advantages of strong emulsifying performance, good oil removal effect;The sulfonic acid group of benzene sulfonic acid group polyamide surfactant ionizes, and the oxygen atom in sulfonic acid anion contains lone pair of electrons, and chelation reaction is carried out with the iron ion in rust, thereby good rust removal effect is achieved, with the advantages of short rust removal time, fast rust removal rate.Cleaning rust remover can effectively carry out surface oil removal, rust removal and corrosion inhibition to steel and other metal materials.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rust removal and cleaning technology, specifically to a rust remover containing surfactants and corrosion inhibitors and its preparation method. Background Technology

[0002] Metal materials such as steel and their equipment are prone to oil stains and corrosion during use, resulting in rust and other forms of corrosion. In processes such as cold rolling and electroplating, degreasing and rust removal of metal surfaces are essential steps. Currently, the method for degreasing and rust removal of metal materials such as steel is chemical pickling. Hydrochloric acid cleaning agents, in particular, have advantages such as low cost and fast cleaning speed, and are widely used.

[0003] In the process of cleaning and degreasing metal surfaces, over-cleaning can occur. The hydrochloric acid in the cleaning agent can corrode and damage the metal surface. Therefore, adding corrosion inhibitors, surfactants, and penetrants to hydrochloric acid cleaning agents can improve their degreasing and derusting effects while mitigating their corrosive effects on metal materials. Chinese patent CN111635329B discloses a nonionic surfactant containing ether and ester structures, which not only has excellent oil emulsification and penetration effects but also corrosion inhibition properties and low corrosivity to metal kitchenware; however, this cleaning agent does not have a good rust-removing effect. Summary of the Invention

[0004] This invention solves the following technical problem: it prepares a cleaning and rust removal agent containing surfactant and corrosion inhibitor, which solves the problem of poor rust removal and corrosion inhibition performance of traditional hydrochloric acid cleaning and rust removal agents.

[0005] The technical solution of the present invention:

[0006] A cleaning and rust remover containing a surfactant and a corrosion inhibitor comprises the following components: 100 parts by weight of distilled water, 1.5-3 parts by weight of benzenesulfonic acid-based polyamide surfactant, 1.2-2.5 parts by weight of aminobisbenzotriazole corrosion inhibitor, 1.5-4 parts by weight of polyvinyl alcohol, 1.2-2 parts by weight of concentrated hydrochloric acid, and 1.5-2.5 parts by weight of organic acid;

[0007] The chemical structural formula of aminobisbenzotriazole corrosion inhibitor is as follows:

[0008]

[0009] Preferably, the organic acids include citric acid, malic acid, tartaric acid, and ethylenediaminetetraacetic acid.

[0010] Preferably, the mass fraction of concentrated hydrochloric acid is 30-37%.

[0011] The preferred method for preparing a cleaning and rust removal agent containing surfactants and corrosion inhibitors is as follows:

[0012] (1) Add 5-carboxybenzotriazole, 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride and 4-dimethylaminopyridine to ethyl acetate, stir and activate at room temperature for 1-3 h, then add N-Boc-serine alcohol, react for 18-24 h, concentrate to remove solvent, wash with acetone, dry and add the product to a dichloromethane solution of trifluoroacetic acid, react at room temperature for 2-6 h, concentrate to remove solvent, recrystallize the product in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor.

[0013] (2) Add benzenesulfonic acid-based polyamide surfactant, aminobisbenzotriazole corrosion inhibitor, polyvinyl alcohol and organic acid to distilled water, stir evenly at 90-95℃, cool to room temperature, and add concentrated hydrochloric acid dropwise to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0014] Preferably, the molar ratio of 5-carboxybenzotriazole, 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, 4-dimethylaminopyridine, and N-Boc-serine alcohol is (2-2.4):(2-2.8):(0.18-0.24):1.

[0015] Preferably, the preparation method of the benzenesulfonic acid-based polyamide surfactant is as follows:

[0016] (1) Add alkyl diamine and triethylamine to N,N-dimethylformamide, add trans-butenedioic acid chloride dropwise at 0-5℃, react at room temperature for 12-24h, pour the solution into acetone to precipitate, filter, wash the precipitate with acetone, dry, and obtain alkenyl polyamide;

[0017] (2) Add alkenyl polyamide, 4-mercaptobenzenesulfonic acid and benzoin dimethyl ether to N,N-dimethylformamide, irradiate the solution under ultraviolet light for 1-3 hours, pour the solution into acetone to precipitate, filter, wash the precipitate with acetone, dry, and obtain benzenesulfonic acid-based polyamide surfactant.

[0018] Preferably, the molar ratio of alkyl diamine, triethylamine and trans-butenedioic acid chloride in (1) is (0.9-1.2):(1-1.4):1.

[0019] Preferably, the structural formula of the alkyl diamine is as follows: Where n is any integer value from 8 to 12.

[0020] Preferably, the mass ratio of alkenyl polyamide, 4-mercaptobenzenesulfonic acid, and benzoin dimethyl ether is 1:(0.82-0.95):(0.012-0.016).

[0021] The technical effect of this invention is as follows: Alkyl diamine and trans-butenediol chloride are polymerized, and then reacted with 4-mercaptobenzenesulfonic acid under ultraviolet light to obtain a benzenesulfonic acid-based polyamide surfactant. Finally, it is coordinated with aminobisbenzotriazole corrosion inhibitor, polyvinyl alcohol, concentrated hydrochloric acid, and organic acid to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0022] Benzenesulfonic acid-based polyamide surfactants, as sulfonic acid surfactants, have the advantages of strong emulsifying properties and good degreasing effect. Furthermore, their sulfonic acid groups and carboxylic acid groups in organic acids can form electrostatic interactions with the amino groups of aminobisbenzotriazole corrosion inhibitors to generate water-soluble ammonium sulfonate and ammonium carboxylate structures. This improves the solubility and dispersibility of aminobisbenzotriazole corrosion inhibitors in water, resulting in a clear, transparent, uniform, and stable cleaning and rust removal solution.

[0023] The sulfonic acid group of the benzenesulfonic acid-based polyamide surfactant is ionized. The oxygen atom in the sulfonic acid anion contains a lone pair of electrons, which chelate with the iron ions in the rust, thus achieving a good rust removal effect. It has the advantages of short rust removal time and fast rust removal rate.

[0024] The aminobisbenzotriazole corrosion inhibitor contains bisbenzotriazole groups, which can strongly coordinate with iron atoms on the steel surface. Furthermore, the sulfonic acid groups in the benzenesulfonic acid-based polyamide surfactant can also coordinate with iron atoms, forming a protective film on the steel surface. This inhibits the corrosion of the steel surface by hydrochloric acid in the cleaning and rust removal agent, reducing the corrosion rate and providing excellent corrosion inhibition. It also prevents the hydrochloric acid in the cleaning solution from corroding the metal surface. The resulting cleaning and rust removal agent can effectively degrease, remove rust, and inhibit corrosion on steel and other metal materials. Attached Figure Description

[0025] Figure 1 The reaction formula for preparing aminobisbenzotriazole corrosion inhibitor

[0026] Figure 2 This is the reaction formula for the preparation of benzenesulfonic acid-based polyamide surfactants. Detailed Implementation

[0027] The technical solution of this patent will be further described in detail below with reference to specific embodiments.

[0028] Example 1

[0029] Add 10 mmol of 1,8-octanediamine to N,N-dimethylformamide 12 mmol of triethylamine was added dropwise to 10 mmol of fumaric acid chloride at 0 °C, and the reaction was carried out at room temperature for 12 h. The solution was poured into acetone to precipitate the precipitate, filtered, washed with acetone, and dried to obtain alkenyl polyamide.

[0030] Add 2g of alkenyl polyamide, 1.9g of 4-mercaptobenzenesulfonic acid, and 32mg of benzoin dimethyl ether to N,N-dimethylformamide. Irradiate the solution under a 60W UV lamp for 1 hour. Pour the solution into acetone to precipitate the precipitate. Filter, wash the precipitate with acetone, and dry to obtain benzenesulfonic acid-based polyamide surfactant.

[0031] 12 mmol of 5-carboxybenzotriazole, 14 mmol of 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, and 1 mmol of 4-dimethylaminopyridine were added to ethyl acetate and stirred at room temperature for 3 h. Then, 5 mmol of N-Boc-serine alcohol was added and the reaction was carried out for 18 h. The solvent was removed by concentration, the product was washed with acetone, dried, and then added to a dichloromethane solution containing 40 mmol of trifluoroacetic acid. The reaction was carried out at room temperature for 4 h. The solvent was removed by concentration, and the product was recrystallized in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor.

[0032] Add 2g of benzenesulfonic acid-based polyamide surfactant, 1.5g of aminobisbenzotriazole corrosion inhibitor, 1.5g of polyvinyl alcohol, and 2.5g of ethylenediaminetetraacetic acid to 100g of distilled water. Stir well at 90℃, cool to room temperature, and add 2g of concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0033] Example 2

[0034] Add 9 mmol of 1,9-nonanediamine to N,N-dimethylformamide 10 mmol of triethylamine was added dropwise to 10 mmol of fumaric acid chloride at 5 °C, and the reaction was carried out at room temperature for 24 h. The solution was poured into acetone to precipitate the precipitate, filtered, washed with acetone, and dried to obtain alkenyl polyamide.

[0035] Add 2g of alkenyl polyamide, 1.64g of 4-mercaptobenzenesulfonic acid, and 28mg of benzoin dimethyl ether to N,N-dimethylformamide. Irradiate the solution under a 60W UV lamp for 3 hours. Pour the solution into acetone to precipitate the precipitate. Filter, wash the precipitate with acetone, and dry to obtain benzenesulfonic acid-based polyamide surfactant.

[0036] 10 mmol of 5-carboxybenzotriazole, 12 mmol of 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, and 0.9 mmol of 4-dimethylaminopyridine were added to ethyl acetate and stirred at room temperature for 2 h. Then, 5 mmol of N-Boc-serine alcohol was added and the reaction was carried out for 18 h. The solvent was removed by concentration, the product was washed with acetone, dried, and then added to a dichloromethane solution containing 40 mmol of trifluoroacetic acid. The reaction was carried out at room temperature for 6 h. The solvent was removed by concentration, and the product was recrystallized in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor.

[0037] Add 3g benzenesulfonic acid-based polyamide surfactant, 1.2g aminobisbenzotriazole corrosion inhibitor, 4g polyvinyl alcohol, and 2g tartaric acid to 100g distilled water, stir evenly at 95℃, cool to room temperature, and add 1.2g concentrated hydrochloric acid with a mass fraction of 37% to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0038] Example 3

[0039] 12 mmol of 1,10-decanediamine was added to N,N-dimethylformamide. 14 mmol of triethylamine was added dropwise to 10 mmol of fumaric acid chloride at 0 °C, and the reaction was carried out at room temperature for 12 h. The solution was poured into acetone to precipitate the precipitate, filtered, washed with acetone, and dried to obtain alkenyl polyamide.

[0040] Add 2g of alkenyl polyamide, 1.85g of 4-mercaptobenzenesulfonic acid, and 24mg of benzoin dimethyl ether to N,N-dimethylformamide. Irradiate the solution under a 60W UV lamp for 1 hour. Pour the solution into acetone to precipitate the precipitate. Filter, wash the precipitate with acetone, and dry to obtain benzenesulfonic acid-based polyamide surfactant.

[0041] 12 mmol of 5-carboxybenzotriazole, 12 mmol of 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, and 1.2 mmol of 4-dimethylaminopyridine were added to ethyl acetate and stirred at room temperature for 1 h. Then, 5 mmol of N-Boc-serine alcohol was added and the reaction was carried out for 24 h. The solvent was removed by concentration, the product was washed with acetone, dried, and then added to a dichloromethane solution containing 40 mmol of trifluoroacetic acid. The reaction was carried out at room temperature for 6 h. The solvent was removed by concentration, and the product was recrystallized in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor.

[0042] Add 1.5g benzenesulfonic acid-based polyamide surfactant, 2.5g aminobisbenzotriazole corrosion inhibitor, 4g polyvinyl alcohol, and 1.5g citric acid to 100g distilled water, stir evenly at 90℃, cool to room temperature, and add 2g concentrated hydrochloric acid with a mass fraction of 37% to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0043] Example 4

[0044] 12 mmol of 1,12-diaminododecane was added to N,N-dimethylformamide. 14 mmol of triethylamine was added dropwise to 10 mmol of fumaric acid chloride at 0 °C, and the reaction was carried out at room temperature for 24 h. The solution was poured into acetone to precipitate the precipitate, filtered, washed with acetone, and dried to obtain alkenyl polyamide.

[0045] Add 2g of alkenyl polyamide, 1.9g of 4-mercaptobenzenesulfonic acid, and 28mg of benzoin dimethyl ether to N,N-dimethylformamide. Irradiate the solution under a 60W UV lamp for 3 hours. Pour the solution into acetone to precipitate the precipitate. Filter, wash the precipitate with acetone, and dry to obtain benzenesulfonic acid-based polyamide surfactant.

[0046] 10 mmol of 5-carboxybenzotriazole, 14 mmol of 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, and 1 mmol of 4-dimethylaminopyridine were added to ethyl acetate and stirred at room temperature for 3 h. Then, 5 mmol of N-Boc-serine alcohol was added and the reaction was carried out for 24 h. The solvent was removed by concentration, the product was washed with acetone, dried, and then added to a dichloromethane solution containing 40 mmol of trifluoroacetic acid. The reaction was carried out at room temperature for 2 h, the solvent was removed by concentration, and the product was recrystallized in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor.

[0047] Add 2g benzenesulfonic acid-based polyamide surfactant, 2g aminobisbenzotriazole corrosion inhibitor, 3g polyvinyl alcohol, and 2g malic acid to 100g distilled water, stir evenly at 90℃, cool to room temperature, and add 1.5g concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

[0048] Comparative Example 1

[0049] Add 2g of benzenesulfonic acid-based polyamide surfactant, 1.5g of aminobisbenzotriazole corrosion inhibitor, and 1.5g of polyvinyl alcohol to 100g of distilled water, stir evenly at 90℃, cool to room temperature, and add 2g of concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent.

[0050] Comparative Example 2

[0051] Add 1.5g of aminobisbenzotriazole corrosion inhibitor, 1.5g of polyvinyl alcohol, and 2.5g of ethylenediaminetetraacetic acid to 100g of distilled water, stir evenly at 90℃, cool to room temperature, and add 2g of concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent.

[0052] Comparative Example 3

[0053] Add 1.5g of aminobisbenzotriazole corrosion inhibitor and 1.5g of polyvinyl alcohol to 100g of distilled water, stir at 90℃ until homogeneous, cool to room temperature, and add 2g of concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent.

[0054] Place the cleaning and rust removal agent at room temperature for 72 hours and observe its condition.

[0055] Cleaning and rust removal agent status Example 1 Clear and transparent, with no suspended matter Example 2 Clear and transparent, with no suspended matter Example 3 Clear and transparent, with no suspended matter Example 4 Clear and transparent, with no suspended matter Comparative Example 1 Clear and transparent, with no suspended matter Comparative Example 2 Slightly turbid, with no obvious suspended matter. Comparative Example 3 There are obvious suspended matter, but no sediment.

[0056] Benzotriazole corrosion inhibitors have poor water solubility and poor dispersibility in aqueous solutions, resulting in obvious suspended matter in the cleaning and rust removal solution in Comparative Example 3.

[0057] In Examples 1-4, benzenesulfonic acid-based polyamide surfactants and organic acids were added. The benzenesulfonic acid-based polyamide surfactant, as a sulfonic acid surfactant, has the advantages of strong emulsifying properties and good degreasing effect; furthermore, its sulfonic acid groups and the carboxylic acid groups in the organic acids can react with the aminobisbenzotriazole corrosion inhibitor. The amino groups form electrostatic interactions to generate water-soluble ammonium sulfonate and ammonium carboxylate salts, which significantly improves the solubility and dispersibility of aminobisbenzotriazole corrosion inhibitor in water.

[0058] Comparative Example 2, with the addition of only organic acid, did not significantly improve the dispersibility of aminobisbenzotriazole corrosion inhibitor in water; the solution was slightly turbid, but there were no obvious suspended solids.

[0059] The Q235 carbon steel was cleaned, dried, and polished until bright. It was then placed in a salt spray chamber for corrosion. The temperature of the salt spray chamber was 35℃, and the corrosion simulation solution was a 10% sodium chloride solution.

[0060] The corroded Q235 carbon steel was cut into thin sheets and weighed, recorded as m0. The carbon steel sheets were suspended in a rust-removing solution until the rust on the surface of the carbon steel sheets showed no significant disappearance. The sheets were then removed and the time was recorded as the rust removal time t. The sheets were washed with water and ethanol, dried, weighed, and recorded as m1. The rust condition on the surface of the carbon steel sheets was observed. The rust removal rate W was calculated. W = (m0 - m1) / (S × t), where S is the surface area of ​​the carbon steel sheet, and t is the rust removal time.

[0061] Table 1 Rust removal performance test of cleaning and rust removal agents

[0062]

[0063]

[0064] In Examples 1-4, benzenesulfonic acid-based polyamide surfactant, organic acid, and hydrochloric acid were added as a compound rust removal and cleaning system. The sulfonic acid group of the benzenesulfonic acid-based polyamide surfactant ionizes, and the oxygen atom in the sulfonic acid anion contains lone pair electrons, which chelate the iron ions in the rust, thereby achieving a good rust removal effect with short rust removal time and fast rust removal rate.

[0065] Comparative Example 4

[0066] Add 2g of benzenesulfonic acid-based polyamide surfactant, 1.5g of polyvinyl alcohol, and 2.5g of ethylenediaminetetraacetic acid to 100g of distilled water, stir evenly at 90℃, cool to room temperature, and add 2g of concentrated hydrochloric acid with a mass fraction of 30% to obtain a cleaning and rust removal agent.

[0067] Clean, dry, and polish Q235 carbon steel to a bright finish, then make it into a thin sheet. Weigh the sheet and record it as M0. Then suspend the sheet in a cleaning and rust removal agent and immerse it for 1 hour. Take out the sheet, wash it with water and ethanol, and weigh it again, recording it as M1. Calculate the corrosion rate V, V=(M1-M0) / (S×t), where S is the surface area of ​​the sheet and t is the immersion time.

[0068] Table 2 Corrosion Inhibition Performance Test of Cleaning and Rust Removing Agents

[0069] Corrosion rate V (g / m 2 ·h) <!-- 6 -->]]> Example 1 1.14 Example 2 1.49 Example 3 0.86 Example 4 0.98 Comparative Example 1 1.18 Comparative Example 2 1.54 Comparative Example 3 1.57 Comparative Example 4 2.39

[0070] In Examples 1-4 and Comparative Example 1, benzenesulfonic acid-based polyamide surfactant and aminobisbenzotriazole corrosion inhibitor were added to form a compound corrosion-inhibiting cleaning system. The bisbenzotriazole group contained in the aminobisbenzotriazole corrosion inhibitor can strongly coordinate with the iron atoms on the steel surface, and the sulfonic acid group in the benzenesulfonic acid-based polyamide surfactant can also coordinate with the iron atoms, thereby forming a protective film on the steel surface, inhibiting the corrosion of the steel surface with the hydrochloric acid in the cleaning and rust removal agent, reducing the corrosion rate, and achieving a good corrosion inhibition effect.

Claims

1. A cleaning and rust removal agent containing a surfactant and a corrosion inhibitor, characterized in that, The cleaning and rust removal agent containing surfactants and corrosion inhibitors comprises the following components: 100 parts by weight of distilled water, 1.5-3 parts by weight of benzenesulfonic acid-based polyamide surfactant, 1.2-2.5 parts by weight of aminobisbenzotriazole corrosion inhibitor, 1.5-4 parts by weight of polyvinyl alcohol, 1.2-2 parts by weight of concentrated hydrochloric acid, and 1.5-2.5 parts by weight of organic acid. The chemical structural formula of the aminobisbenzotriazole corrosion inhibitor is as follows: ; The structural formula of the benzenesulfonic acid-based polyamide surfactant is as follows: The n is any integer value between 8 and 12.

2. The cleaning and rust removal agent containing surfactant and corrosion inhibitor according to claim 1, characterized in that, The organic acids include citric acid, malic acid, tartaric acid, and ethylenediaminetetraacetic acid.

3. The cleaning and rust removal agent containing surfactant and corrosion inhibitor according to claim 1, characterized in that, The concentrated hydrochloric acid has a mass fraction of 30-37%.

4. A method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor as described in any one of claims 1-3, characterized in that, The preparation method is as follows: (1) Add 5-carboxybenzotriazole, 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride and 4-dimethylaminopyridine to ethyl acetate, stir and activate at room temperature for 1-3 h, then add N-Boc-serine alcohol, react for 18-24 h, concentrate to remove solvent, wash with acetone, dry and add the product to dichloromethane solution of trifluoroacetic acid, react at room temperature for 2-6 h, concentrate to remove solvent, recrystallize the product in ethyl acetate to obtain aminobisbenzotriazole corrosion inhibitor; (2) Add benzenesulfonic acid-based polyamide surfactant, aminobisbenzotriazole corrosion inhibitor, polyvinyl alcohol and organic acid to distilled water, stir evenly at 90-95℃, cool to room temperature, and add concentrated hydrochloric acid dropwise to obtain a cleaning and rust removal agent containing surfactant and corrosion inhibitor.

5. The method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor as described in claim 4, characterized in that, The molar ratio of 5-carboxybenzotriazole, 1-(3-dimethylaminopropyl)-3-ethylcarbodiimide hydrochloride, 4-dimethylaminopyridine, and N-Boc-serine alcohol is (2-2.4):(2-2.8):(0.18-0.24):

1.

6. The method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor according to claim 4, characterized in that, The preparation method of the benzenesulfonic acid-based polyamide surfactant is as follows: (1) Add alkyl diamine and triethylamine to N,N-dimethylformamide, add trans-butenedioic acid chloride dropwise at 0-5℃, react at room temperature for 12-24h, pour the solution into acetone to precipitate, filter, wash the precipitate with acetone, dry, and obtain alkenyl polyamide; (2) Add alkenyl polyamide, 4-mercaptobenzenesulfonic acid and benzoin dimethyl ether to N,N-dimethylformamide, irradiate the solution under ultraviolet light for 1-3 hours, pour the solution into acetone to precipitate, filter, wash the precipitate with acetone, dry, and obtain benzenesulfonic acid-based polyamide surfactant.

7. The method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor according to claim 6, characterized in that, The molar ratio of the alkyl diamine, triethylamine, and trans-butenedioic acid chloride is (0.9-1.2):(1-1.4):

1.

8. The method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor according to claim 7, characterized in that, The structural formula of the alkyldiamine is given by [formula omitted], where n is any integer value from 8 to 12.

9. The method for preparing a cleaning and rust-removing agent containing a surfactant and a corrosion inhibitor as described in claim 7, characterized in that, The mass ratio of the alkenyl polyamide, 4-mercaptobenzenesulfonic acid, and benzoin dimethyl ether is 1:(0.82-0.95):(0.012-0.016).