The invention relates to the technical field of scale inhibitors, and particularly discloses a preparation method of a
corrosion and scale inhibitor, which comprises the following steps: dissolving modified
polyaspartic acid in hydrogenated diesel oil, adding an
antioxidant, and uniformly mixing to obtain a solution A; dissolving hydrolytic
polymaleic anhydride in hydrogenated diesel oil to obtain a solution B; the preparation method comprises the following steps: uniformly mixing an imidazoline oleoyl
polyamine corrosion inhibitor and 2-amino-5-methyl-4-phenylthiazole to obtain a mixture C; the preparation method comprises the following steps: adding
sodium dodecyl
benzene sulfonate into hydrogenated diesel oil, then adding nano
titanium dioxide and
nano zinc oxide, and uniformly mixing to obtain dispersion liquid D; dissolving a dispersing agent in the hydrogenated diesel oil to obtain a solution E; and mixing the solution A and the solution B in a reactor, heating for reaction, adding the mixture C, heating for reaction, cooling, adding the solution E, adding the dispersion liquid D, heating for reaction, cooling, carrying out
solid-liquid separation, and distilling to obtain the product. The
corrosion and scale inhibitor prepared in the invention has good
temperature resistance.