The invention belongs to the technical field of scale inhibitors, and particularly relates to a slow-release scale inhibitor and a preparation method thereof.The preparation method comprises the steps that 3, 4, 5-allyl trihydroxybenzoate,
itaconic acid,
sodium hydrogen sulfite, methacryloyloxyethyl-n-hexadecyl-dimethyl
ammonium bromide and deionized water are mixed, after water bath heating, an
ammonium persulfate aqueous solution is slowly added, and the scale inhibitor is obtained after reaction; the preparation method comprises the following steps: dissolving
agar in deionized water, adding
polyethylene glycol modified
sodium alginate and a scale inhibitor into the deionized water, stirring, dropwise adding into
edible oil to obtain gel microspheres, adding the gel microspheres into a
calcium chloride aqueous solution, slowly stirring, cross-linking, cleaning and
drying to obtain the slow-release scale inhibitor. The
hydrogel microspheres swell to slowly release the scale inhibitor, meanwhile, the released scale inhibitor is hydrolyzed in water, ester groups are slowly broken, polycarboxylic acid, 3, 4, 5-trihydroxybenzoic acid and hydroxyethyl-n-hexadecyl-dimethyl
ammonium bromide are slowly released, and good scale inhibition and
corrosion inhibition effects are achieved.