The invention discloses a preparation method of an MOF-based
magnesium alloy self-repairing and self-early-warning
polymer coating, and belongs to the technical field of
corrosion and protection.The MOF-based
magnesium alloy self-repairing and self-early-warning
polymer coating comprises an MOF nanometer container and organic paint.The preparation method of the MOF nanometer container comprises the steps that
zinc nitrate and 2-methylimidazole are blended into an
organic solvent, a
corrosion inhibitor and an early-warning agent are added, and the mixture is stirred to be uniform; fully stirring, mixing the two solutions, standing, centrifuging, and collecting the precipitate; modifying the precipitate by using a surfactant, and
drying to obtain an MOF nano container; the preparation method of the
corrosion-resistant
coating comprises the following steps: mixing the prepared MOF with
varnish, spraying onto the surface of the
magnesium alloy, and airing in a
drying oven. The coating has the advantages that when the coating is corroded and damaged, the MOF nano container loaded inside can be quickly decomposed and release the
corrosion inhibitor and the early warning agent, further
erosion of a corrosive medium is prevented, and timely detection of the damaged area of the coating is facilitated. The method has the advantages of simplicity and convenience in operation, simple process, low cost and the like, and is suitable for industrial production.