Research on the Corrosion Resistance of an Epoxy Resin-Based Self-Healing Propylene Glycol-Loaded Ethyl Cellulose Microcapsule Coating

: In this work, ethyl cellulose was used as a wall material, propanetriol as a core material, polyvinyl alcohol as a stabilizer and gelatin as an emulsiﬁer. Self-healing microcapsules with a slow-release effect were prepared using the solvent evaporation method. Various analytical techniques, such as 3D confocal microscopy (LCSM), optical microscopy (OM), scanning electron microscopy (SEM), infrared spectroscopy (FT-IR), energy dispersive spectroscopy (EDS), thermal weight loss analysis (TGA), laser particle size tester and electrochemical impedance polarization, are utilized. The morphology, distribution, particle size, corrosion resistance and self-healing ability of the prepared microcapsules and resin-based coatings were characterized and analyzed. The results show that the cross-sectional core–shell structure is clearly seen in the LCSM, showing a smooth, hollow, spherical shape. OM and laser particle size testers have shown that the size of the microcapsules decreases over time. Also, in OM, the microcapsules are uniformly distributed in the emulsion with a smooth and non-adherent surface. In SEM, the microcapsule particle size is about 150 µ m, the shell wall thickness is about 18 µ m, and the hollow structure of ruptured microcapsules is obvious. FT-IR and TGA conﬁrmed the successful encapsulation of the formulated microcapsules. The results show that when the core-wall mass ratio is 1.2:1 and the amount of microcapsule is 10% of the coating amount, the prepared microcapsule has high thermal stability and certain wear resistance. By electrochemical and immersion experiments, it was found that a 3.5 wt % NaCl solution has the best impedance, the lowest corrosion current density, and good adhesion and tensile toughness. The results showed that glycerol was successfully released from the broken microcapsules and self-healed, forming an anticorrosive coating with excellent corrosion resistance and self-healing ability.


Introduction
Magnesium alloy has shown high application value in various applications in today's society.In the field of lightweight alloys, it is of great significance as a benefit mankind and to the promotion of further developments in science and technology.Magnesium alloys are also the lightest structural metal materials in the world [1][2][3].They have the advantages of having a high specific strength sufficient toughness, and being lightweight and easy to transform, hence their pivotal in the development of society from ancient times to the present [4][5][6][7].Therefore, magnesium alloys play an indispensable role in the fields of construction, aerospace, smart wearable, portable home, and so on, as well as in the energy and chemical industries.[5][6][7][8].However, China is a large consumer of magnesium resources, it is not difficult to predict that under the development trend of today's world, further research and application of magnesium alloys will increase in significance [6][7][8][9][10].
analyses, immersion experiments, adhesion tests and coating tensile tests.The purpose of this experiment was to show that the self-repairing coating with added microcapsules has excellent self-healing properties, corrosion resistance characteristics, adhesion, and self-healing tensile ductility under the action of a compounded emulsifier.Meanwhile, the impedance value in 3.5 wt.% NaCl solution was 8.242 × 10 4 , which reached the optimum value.And it had the lowest corrosion current density and good adhesion and tensile toughness.Through the above corresponding series of experiments, it was able to be thoroughly analyzed that the glycerol was successfully released from the broken microcapsules for self-heal.The AZ91D magnesium alloy anticorrosive coating with excellent corrosion resistance and self-healing ability was formed.Compared to other experiments, the wall material, ethyl cellulose, itself is easy to degrade, green and has good biocompatibility as well as the function of bonding and filling.Finally, new theoretical support and empirical methods are provided for the corrosion and protection of magnesium alloy surfaces in this field.

Sample Preparation
An AZ91D magnesium alloy with the size of 15 mm × 15 mm × 25 mm was selected And sanded with 600#, 800#, 1500# and 2000# sandpaper, in this order, until a metallic luster appeared.After, it was rinsed with deionized water for 3 minutes and put into a beaker filled with absolute ethanol.Ultrasonic shaking treatment was carried out for 5 min for the purpose of de-oiling.It was then removed, rinsed again with deionized water for 2 min, and put in alkaline washing solution.After rinsing with deionized water for 2 min, it was degreased with acetone.Then, it was removed and rinsed with deionized water for 3 min and put in an acid washing solution.After rinsing with deionized water for 3 min, it was put into the vacuum drying oven and dried at 50 • C for use.

Sample Preparation
An AZ91D magnesium alloy with the size of 15 mm × 15 mm × 25 mm was selected And sanded with 600#, 800#, 1500# and 2000# sandpaper, in this order, until a metallic luster appeared.After, it was rinsed with deionized water for 3 minutes and put into a beaker filled with absolute ethanol.Ultrasonic shaking treatment was carried out for 5

Experimental Content 2.3.1. Preparation of Microcapsules
Stirring was continued at 200 rpm for 5 min to obtain 250 mL of 0.8 wt.% PVA with 1 wt.% gelatin as a microencapsulated stabilizer.Next, 20 g of ethyl cellulose was fully dissolved in 100 mL of dichloromethane.8 mL of propanetriol was added to the mixture of ethyl cellulose and dichloromethane.It was mechanically emulsified at 600 rpm in a constant temperature water bath at 45 • C and fully reacted for 4 h until the dichloromethane was completely evaporated.After the reaction, the microcapsules were isolated by filtering and rinsing with deionized water and were dried in a vacuum drying oven at 60 • C for use.

Preparation of Self-Healing Coatings
In the process of adding microcapsules into the coating, the influence of the amount and dispersion of microcapsules on the properties of the coating was researched.The designs are no add, 5% addition, 10% addition, and 20% addition.Twelve 25 mL beakers were taken and divided into three groups, a, b and c, resulting in three groups of 3 beakers each.3.75 g of epoxy E-51 was put in each beaker.1.25 g of hardener b was put in a beaker.The organic solvent in beaker c was put into a and b in an appropriate amount and stirred with a magnetic stirrer to mix thoroughly.Among them, 0 g, 0.5 g, 1 g, 2 g were added to each component and stirred for 30 min using a magnetic stirrer.Finally, the epoxy resin self-healing coating containing microcapsules with different mass fractions was uniformly coated on the surface of the magnesium alloy and then cured at 25 °C for 12 h and then at 60 °C for 24 h in a vacuum drying box.

Electrochemical Test
The electrochemical impedance spectrum and polarization curves of the self-healing coatings were obtained using a CHI660E electrochemical workstation.The experimental tests were performed using a conventional three-electrode system.The specimen was the working electrode (exposed area of 1 cm 2 ), the saturated glycerol electrode (SCE) was the reference electrode, and the platinum electrode was the auxiliary electrode.The test solution was 3.5% N saturated aCl solution, and the test temperature was (25 ± 5) • C. The electrochemical impedance spectrum was scanned from 0.01 Hz to 100,000 Hz, the polarization curve was scanned at a voltage range of ±0.5 V relative to the open circuit potential, and the scan rate was 5 mV/S.To ensure accuracy and reproducibility, three sets of parallel tests were performed for each test.

Scanning Electron Microscopy and X-ray Diffraction Spectroscopy
A VEGA3 XMU scanning electron microscope (SEM) (Guangzhou Dongrui Technology Co., Ltd., Guangzhou, China) from TESCAN, with an accompanying energy spectrometer (EDS), was used to observe the prepared microcapsules as well as the microscopic morphology and microscopic characterization of the coatings, with a scanning voltage of 20 kV.

Microcapsules Particle Size and Macroscopic Morphology Analysis
3D confocal microscope (LCSM) (Xiamen Maina Optical Technology Co., Ltd., Xiamen, China), optical microscope (OM) (Dongguan Ruixian Optical Instrument Co., Ltd., Dongguan, China), and laser particle size tester (Kunshan Lugong Precision Instrument Co., Ltd., Kunshan, China) were used to characterize the macroscopic morphology, distribution in the compounded emulsion, particle size, and the aggregation of the prepared microcapsules.Among them, LCSM uses a 405 nm laser as the light source to initially determine the microcapsule roughness and core-shell structure.

Fourier Infrared Spectroscopy and Thermal Weight Loss Testing
The GD26-FTIR-650 Fourier infrared spectrometer (Zhongke Ruijie (Tianjin) Technology Co., Ltd., Tianjin, China) was used to view the organic functional group profile of the microcapsules.Among them, about 0.3 mg KBr was weighed and fully ground with microcapsules in an agate mortar, pressurized to 15-20 MPa and kept for 1 min for testing.The TGA55 heat loss tester (Nanjing Nanda Wanhe Technology Co., Ltd., Nanjing, China) was used for testing, and the sample was tested by opening the pure nitrogen valve and adjusting the outlet pressure to 0.1 MPa.

Microstructure and Particle Size Distribution
Figure 2 shows the SEM morphology and particle size distribution of the microcapsules and microstructure.Figure 2a shows the SEM image of microcapsules loaded with glycerol at 500 µm.It can be seen from the figure that the microcapsules are relatively uniform in both distribution and size.Local rupture appears, and the core-shell structure can be seen initially from the rupture.Figure 2b shows the SEM image of the microcapsules at 200 µm, and further magnification shows that the surface of the microcapsule is smooth and round and that the size distribution is relatively uniform.Figure 2c shows the SEM image of a single microcapsule, which is the moment when the magnification could be maximized and a clear image could be taken under the right conditions.At 100 µm, the synthesized capsule appears spherical, then becomes very round and smooth again.The core and wall states of the core-shell structure can be seen under reflection, in addition to the compact distribution of the capsule-forming structure.Figure 2d shows the SEM cross-section of the microcapsules rupture.The total thickness of the outer and inner walls of the capsule is about 15 µm, and Figure 2e shows the SEM image at a magnification of 100 µm.At this time, not only can the core-shell structure be clearly seen, but also the change distribution of microcapsule particle size can be seen.The observed results correspond to the particle size distribution detected by the laser particle size tester.Figure 2f shows the particle size distribution of the microcapsules, ranging from (150.424 ± 3.756) µm, which is consistent with the Gaussian nonlinear fitting results.
Coatings 2023, 13, 1514 6 of 17 section of the microcapsules rupture.The total thickness of the outer and inner walls of the capsule is about 15 µm, and Figure 2e shows the SEM image at a magnification of 100 µm.At this time, not only can the core-shell structure be clearly seen, but also the change distribution of microcapsule particle size can be seen.The observed results correspond to the particle size distribution detected by the laser particle size tester.Figure 2f shows the particle size distribution of the microcapsules, ranging from (150.424±3.756)μm, which is consistent with the Gaussian nonlinear fi ing results.

Macroscopic Structure and Particle Dispersion
Figure 3 shows the macroscopic structure and particle size morphology of the microcapsules prepared under the 3D confocal microscopy (LCSM), optical microscopy (OM), and camera 2a. Figure 3a,b show the morphology of the capsule emulsion prepared under optimal conditions and the capsule emulsion dried in a vacuum drying oven, respectively.It can clearly be seen that the emulsions are green and transparent, the viscosity is moderate, and the dry powder is milky and delicate, which preliminarily indicates that the preparation method and process were successful.Figure 3c shows the dispersion of the emulsion under an optical microscopy (OM).It can be seen that the surface of the microcapsule obtained after mixing the water phase with oil is smooth and has no adhesion.The uniform distribution in the emulsion is a ributed to the use of a gelatin and PVA compound emulsifier.The deposition rate of the polymer on the wall slowed down, forming a smooth-surfaced microcapsule.The microcapsule particle size is about 152 µm, as shown in Figure 3d.The inner capsule wall, outer capsule wall, and hollow of the microcapsule are clearly seen in Figure 3e. Figure 3f shows the three-dimensional structure of the microcapsule measured under 3D confocal microscope.It can be seen that the outer capsule wall is locally depressed, indicating that the interior is hollow.The reason for the depression is that the outer capsule wall is resistant to friction and has toughness, which

Macroscopic Structure and Particle Dispersion
Figure 3 shows the macroscopic structure and particle size morphology of the microcapsules prepared under the 3D confocal microscopy (LCSM), optical microscopy (OM), and camera 2a. Figure 3a,b show the morphology of the capsule emulsion prepared under optimal conditions and the capsule emulsion dried in a vacuum drying oven, respectively.It can clearly be seen that the emulsions are green and transparent, the viscosity is moderate, and the dry powder is milky and delicate, which preliminarily indicates that the preparation method and process were successful.Figure 3c shows the dispersion of the emulsion under an optical microscopy (OM).It can be seen that the surface of the microcapsule obtained after mixing the water phase with oil is smooth and has no adhesion.The uniform distribution in the emulsion is attributed to the use of a gelatin and PVA compound emulsifier.The deposition rate of the polymer on the wall slowed down, forming a smooth-surfaced microcapsule.The microcapsule particle size is about 152 µm, as shown in Figure 3d.The inner capsule wall, outer capsule wall, and hollow of the Coatings 2023, 13, 1514 7 of 17 microcapsule are clearly seen in Figure 3e. Figure 3f shows the three-dimensional structure of the microcapsule measured under 3D confocal microscope.It can be seen that the outer capsule wall is locally depressed, indicating that the interior is hollow.The reason for the depression is that the outer capsule wall is resistant to friction and has toughness, which can undergo some deformation.As can be seen in Figure 3d-f, this is consistent with the results from scanning electron microscopy (SEM) and the laser particle size tester tests.

Chemical Structure of Microcapsules
Figure 4a shows the FTIR spectrum of ethyl cellulose in the wall material.In the above peaks of organic functional groups, the tensile vibration of C-C aromatic ring ranges from 1586 to 1467 cm −1 .The characteristic peak corresponding to the microcapsules in Figure 4c is 1439 cm −1 .Meanwhile, the O-H-O asymmetric tensile vibration ranges from 1316 to 1289 cm −1 .The peak value of C-O-C stretching vibration is 1227 cm −1 .This corresponds to microcapsules at the characteristic peak of 1240 cm −1 .Figure 4b shows the FTIR spectrum of glycerol.There is a stretching vibration at the 3248 cm −1 peak for the -OH bond and an asymmetric stretching vibration at the 2913 cm −1 peak for the -CH2 bond.There is a sym-  1289 cm −1 .The peak value of C-O-C stretching vibration is 1227 cm −1 .This corresponds to microcapsules at the characteristic peak of 1240 cm −1 .Figure 4b shows the FTIR spectrum of glycerol.There is a stretching vibration at the 3248 cm −1 peak for the -OH bond and an asymmetric stretching vibration at the 2913 cm −1 peak for the -CH 2 bond.There is a symmetric stretching vibration for the -CH 2 at the 2867 cm −1 peak and a bending vibration for the -CH 2 bond at the 1407 cm −1 peak.The symmetric stretching vibration peak of C-O ranges from 1132 to 1030 cm −1 , and that of the secondary alcohol is at 839 cm −1 .These peaks coincide with those of the microcapsule at 2964 cm −1 .The results showed that the characteristic peaks of ethyl cellulose and glycerol reacted in microcapsules.This also confirmed that glycerol was successfully encapsulated in the microcapsules.
Coatings 2023, 13, x FOR PEER REVIEW 8 of 1 ranges from 1132 to 1030 cm −1 , and that of the secondary alcohol is at 839 cm −1 .These peak coincide with those of the microcapsule at 2964 cm −1 .The results showed that the charac teristic peaks of ethyl cellulose and glycerol reacted in microcapsules.This also confirmed that glycerol was successfully encapsulated in the microcapsules.

Conversion Efficiency of TGA and Microcapsules
Figure 5a,b show the heat weight loss curve and the conversion rate curve of micro capsules, respectively, and the initial decomposition temperature of ethyl cellulose i shown in Figure 5a at 465 °C.It has a higher initial decomposition temperature than the wood carbon structure, and the residue content is 29 wt.% at 800 °C, which easily forms a heat-stable carbon material.This is inherently because of the presence of the aromatic hy drocarbon skeleton structure in ethyl cellulose.Therefore, the initial decomposition tem perature of glycerol is 150 °C, and the final decomposition temperature is 284 °C.The initial thermal degradation temperature of the microcapsules is 360 °C.It can be seen from the figure that the slope of the microcapsule curve is smaller than that of the ethyl cellulose curve.Combined with the Fourier infrared spectroscopy in Figure 4, it can be seen tha glycerol is well encapsulated into the microcapsules.In Figure 5b, the thermogravimetric analysis of the figure shows that the microcapsule structure is synthesized by glycerol and the wall material.It can be seen from the TGA diagram of the microcapsules that the en capsulation rate of the microcapsules is 12 wt.%.This further indicates that the prepara tion of microcapsules was successful.

Conversion Efficiency of TGA and Microcapsules
Figure 5a,b show the heat weight loss curve and the conversion rate curve of microcapsules, respectively, and the initial decomposition temperature of ethyl cellulose is shown in Figure 5a at 465 • C. It has a higher initial decomposition temperature than the wood carbon structure, and the residue content is 29 wt.% at 800 • C, which easily forms a heat-stable carbon material.This is inherently because of the presence of the aromatic hydrocarbon skeleton structure in ethyl cellulose.Therefore, the initial decomposition temperature of glycerol is 150 • C, and the final decomposition temperature is 284 • C. The initial thermal degradation temperature of the microcapsules is 360 • C. It can be seen from the figure that the slope of the microcapsule curve is smaller than that of the ethyl cellulose curve.Combined with the Fourier infrared spectroscopy in Figure 4, it can be seen that glycerol is well encapsulated into the microcapsules.In Figure 5b, the thermogravimetric analysis of the figure shows that the microcapsule structure is synthesized by glycerol and the wall material.It can be seen from the TGA diagram of the microcapsules that the encapsulation rate of the microcapsules is 12 wt.%.This further indicates that the preparation of microcapsules was successful.

Characterization of Optimal Core-to-Wall Ratio of Microcapsules and Corrosion Resistance of Self-Healing Coatings
Figure 6 shows the optimal core-wall ratio and corrosion resistance test of self-healing coatings after the microcapsules with different mass fractions are soaked.In Figure 6a, when the core-wall ratio of microcapsules is 1:1, the proportion of spherical microcapsules with regular morphology is low in the total number of microcapsules.The surface is not polished, and there are more impurities a ached.Due to the low core material ratio, the microcapsules adhere to each other, causing excess wall polymers to accumulate on the already formed microcapsules.In Figure 6b, when the core-towall ratio of 1.2:1, it is easily seen that the microcapsules are uniformly dispersed.The spherical structure of the microcapsule formed is smooth and more regular, and the surface is not adhered to anything.Figure 6c When the core-wall ratio is 1.5:1, the wall content is too low.During the mixing process, the microcapsule capsule is easy to break due to its thin wall shell.Therefore, when the mass ratio of core material to wall material is 1.2:1, the microcapsules synthesized with high sphericity have a regular shape and clear structure.There is no adhesion between microcapsules.The best results were prepared at this ratio.In Figure 6d-f, the scratch corrosion morphologies of magnesium alloys soaked in non NaCl solution, 3.5% NaCl solution for 24 h and 3.5% NaCl solution for 48 h, respectively, can be seed .The analysis showed that the corrosion of the epoxy coating without microcapsules was more significant than that of epoxy coating with microcapsules.And relative to the epoxy coatings with 5% and 20%, the epoxy coating with 10% microcapsules has good corrosion resistance.This indicates that there is an optimal concentration range for self-healing microcapsules

Characterization of Optimal Core-to-Wall Ratio of Microcapsules and Corrosion Resistance of Self-Healing Coatings
Figure 6 shows the optimal core-wall ratio and corrosion resistance test of self-healing coatings after the microcapsules with different mass fractions are soaked.In Figure 6a, when the core-wall ratio of microcapsules is 1:1, the proportion of spherical microcapsules with regular morphology is low in the total number of microcapsules.The surface is not polished, and there are more impurities attached.Due to the low core material ratio, the microcapsules adhere to each other, causing excess wall polymers to accumulate on the already formed microcapsules.In Figure 6b, when the core-to-wall ratio of 1.2:1, it is easily seen that the microcapsules are uniformly dispersed.The spherical structure of the microcapsule formed is smooth and more regular, and the surface is not adhered to anything.Figure 6c When the core-wall ratio is 1.5:1, the wall content is too low.During the mixing process, the microcapsule capsule is easy to break due to its thin wall shell.Therefore, when the mass ratio of core material to wall material is 1.2:1, the microcapsules synthesized with high sphericity have a regular shape and clear structure.There is no adhesion between microcapsules.The best results were prepared at this ratio.In Figure 6d-f, the scratch corrosion morphologies of magnesium alloys soaked in non NaCl solution, 3.5% NaCl solution for 24 h and 3.5% NaCl solution for 48 h, respectively, can be seed.The analysis showed that the corrosion of the epoxy coating without microcapsules was more significant than that of epoxy coating with microcapsules.And relative to the epoxy coatings with 5% and 20%, the epoxy coating with 10% microcapsules has good corrosion resistance.This indicates that there is an optimal concentration range for self-healing microcapsules to achieve maximum corrosion resistance.Excessive microcapsule content may compromise the water repellency of the coating, resulting in reduced corrosion resistance.

Characterization of Self-Healing Ability of Coating by Microcapsules with Different Mass Fraction Addition
Figure 7 shows the corrosion effect of the coated samples with different amounts of microcapsules in artificial seawater.For pure epoxy resins without microcapsules.With the increase in soaking time, corrosion appeared in the scratch area, and the corrosion outside the scratch was more obvious.As can be seen from figure b, when the microcapsule content is 5%, compared to the pure epoxy coating, the scratches become shallower and lighter under the same soaking time.This indicates an initial ability to self-healing, and when the microcapsule content is 10%, only a small amount of corrosion occurs around the coating.This indicates that the microcapsules will release the core material, propanetriol, over time when the coating is scratched or broken.However, glycerol is a polar molecule, and the unshared electron pair of the oxygen element on the polar group combines with the hydrogen ion.This causes cations to adsorb on the substrate surface, which changes the structure of the double electric layer on the surface of the substrate, producing a covering Coatings 2023, 13, 1514 10 of 17 effect, forming a hydrophobic coating and weakening the movement of hydrogen ions, chloride ions and water molecules.In turn, this weakens the access to the solution substrate and hinders charge transfer.Moreover, anode polarization occurs, thereby reducing the corrosion rate and self-healing, and hindering further corrosion.When the microcapsules content in d is 20%, the ratio between microcapsules and epoxy resin becomes larger.As a result, the epoxy resin inside the microcapsule cannot be evenly dispersed and cannot be scratched at the scratch site, and the corrosion resistance is weakened as the soaking time increases.It can be seen that when the microcapsule content is 10%, the self-healing ability is the best, which is consistent with Figure 6.
Figure 6 shows the optimal core-wall ratio and corrosion resistance test of self-healing coatings after the microcapsules with different mass fractions are soaked.In Figure 6a, when the core-wall ratio of microcapsules is 1:1, the proportion of spherical microcapsules with regular morphology is low in the total number of microcapsules.The surface is not polished, and there are more impurities a ached.Due to the low core material ratio, the microcapsules adhere to each other, causing excess wall polymers to accumulate on the already formed microcapsules.In Figure 6b, when the core-towall ratio of 1.2:1, it is easily seen that the microcapsules are uniformly dispersed.The spherical structure of the microcapsule formed is smooth and more regular, and the surface is not adhered to anything.Figure 6c When the core-wall ratio is 1.5:1, the wall content is too low.During the mixing process, the microcapsule capsule is easy to break due to its thin wall shell.Therefore, when the mass ratio of core material to wall material is 1.2:1, the microcapsules synthesized with high sphericity have a regular shape and clear structure.There is no adhesion between microcapsules.The best results were prepared at this ratio.In Figure 6d-f, the scratch corrosion morphologies of magnesium alloys soaked in non NaCl solution, 3.5% NaCl solution for 24 h and 3.5% NaCl solution for 48 h, respectively, can be seed .The analysis showed that the corrosion of the epoxy coating without microcapsules was more significant than that of epoxy coating with microcapsules.And relative to the epoxy coatings with 5% and 20%, the epoxy coating with 10% microcapsules has good corrosion resistance.This indicates that there is an optimal concentration range for self-healing microcapsules to achieve maximum corrosion resistance.Excessive microcapsule content may compromise the water repellency of the coating, resulting in reduced corrosion resistance.

Characterization of Self-Healing Ability of Coating by Microcapsules with Different Mass Fraction Addition
Figure 7 shows the corrosion effect of the coated samples with different amounts of microcapsules in artificial seawater.For pure epoxy resins without microcapsules.With the increase in soaking time, corrosion appeared in the scratch area, and the corrosion outside the scratch was more obvious.As can be seen from figure b, when the microcapsule content is 5%, compared to the pure epoxy coating, the scratches become shallower and lighter under the same soaking time.This indicates an initial ability to self-healing, and when the microcapsule content is 10%, only a small amount of corrosion occurs around the coating.This indicates that the microcapsules will release the core material, propanetriol, over time when the coating is scratched or broken.However, glyc-   As the radius of the capacitive resistance of the capacitive arc in solution gradually increases, the corresponding resistance of the solvation layer also increases.The charge transfer resistance becomes more pronounced, which in turn hinders further erosion of the coating by the solute in solution.Moreover, when the microcapsule addition amount is 10 wt.%.The coating has the best selfhealing ability, indicating that it has the best corrosion resistance at this moment.Compared to the pure epoxy coating without the addition of microcapsules, its corrosion resistance is poor.Also in the Byrd plot in Figure 8b, it can be seen that the |Z| value increases continuously in the absence of the microcapsules up until they are added up at 10 wt.%, but the value decreases at a microcapsule content of 20 wt.%.This indicates that the self-healing coating exhibits optimal impedance coating volume with a stable passive response at 10 wt.% microcapsule content [40].The self-healing epoxy coating successfully prevented the electrolyte solution from penetrating into the substrate and coating surface.The corrosion inhibitor released by the microcapsule is adsorbed at the corrosion site.It successfully inhibits the corrosion process.The appearance of double peaks can clearly be observed in Figure 8c, indicating that the self-healing coating was successfully coated at this time and has a double-layer structure.This indicates that the corrosion resistance of the coating is optimal when the microcapsule content is 10 wt.%.In Figure 9, the error between the data fi ed in the figure  The impedance modulus values in the low frequency region are 2.8 × 10 4 , 3.6 × 10 4 , 7.8 × 10 4 , and 5.3 × 10 4 , respectively.As the radius of the capacitive resistance of the capacitive arc in solution gradually increases, the corresponding resistance of the solvation layer also increases.The charge transfer resistance becomes more pronounced, which in turn hinders further erosion of the coating by the solute in solution.Moreover, when the microcapsule addition amount is 10 wt.%.The coating has the best self-healing ability, indicating that it has the best corrosion resistance at this moment.Compared to the pure epoxy coating without the addition of microcapsules, its corrosion resistance is poor.Also in the Byrd plot in Figure 8b, it can be seen that the |Z| value increases continuously in the absence of the microcapsules up until they are added up at 10 wt.%, but the value decreases at a microcapsule content of 20 wt.%.This indicates that the self-healing coating exhibits optimal impedance coating volume with a stable passive response at 10 wt.% microcapsule content [40].The self-healing epoxy coating successfully prevented the electrolyte solution from penetrating into the substrate and coating surface.The corrosion inhibitor released by the microcapsule is adsorbed at the corrosion site.It successfully inhibits the corrosion process.The appearance of double peaks can clearly be observed in Figure 8c, indicating that the self-healing coating was successfully coated at this time and has a double-layer structure.This indicates that the corrosion resistance of the coating is optimal when the microcapsule content is 10 wt.%.In Figure 9, the error between the data fitted in the figure and the experimental data is minimal, so the equivalent circuit can be used to fit the coating data of the optimal microcapsule addition amount, where CR and CP are, respectively, the annual corrosion rate and anti-corrosion efficiency on the Tafel curve.Ecorr mainly describes the corrosion thermodynamic trend of the coating, and Icorr is the corrosion current density.In general, the main criterion of corrosion resistance is determined by the corrosion current density.The lower the current density, the lower the corrosion rate accordingly.Epoxy resin varnish coatings and self-healing coatings have orders of magnitude lower current densities compared to magnesium alloy substrates.In addition, the self-healing coating worked better in the sodium chloride solution.The reason is that the coating successfully resists the penetration of the electrolyte solution to the substrate and the coating surface.The corrosion inhibitor released by the microcapsule is adsorbed at the corrosion site.The corrosion process was successfully suppressed, which is also consistent with the polarization curve analysis in Figure 10 below.

Electrochemical Polarization Curve Graph Analysis
Figure 10 shows the polarization curves of epoxy resin coatings in 3.5% NaCl solution at the optimal microcapsule dosage.Table 1 shows the Ecorr and icorr of the epoxy coating with different microcapsules added in 3.5% NaCl solution.Each set of experiments was conducted three times in parallel to exclude accidental errors.It can be concluded from the figure that when the addition of microcapsules reaches 20%, the anode arc can be observed.The corrosion potential and corrosion current density of magnesium alloy in a bare matrix are the worst, at −1.125 V and 1.562 × 10 −5 A, respectively.With the addition of epoxy resin varnish, the corrosion potential and corrosion current density showed an obvious optimization trend.At this time, the corrosion potential and the corrosion current density are −1.014V and 1.854 × 10 −5 A, respectively.After that, according to the percentage content of microcapsule additives, the added amounts were 5 wt.%, 10 wt.% and 20 wt.%.The corresponding electrochemical measurement data showed a trend of first increasing and then decreasing, and reached the peak value when the microcapsule addition amount was 10 wt.%; that is, the optimal value was reached.The optimal corrosion potential and corrosion current density are −0.721V and 1.86 × 10 −7 A, respectively.In general, the corrosion resistance of self-healing coatings is mainly determined by the corrosion current density.The lower the corrosion current density, the lower the corresponding corrosion rate of the self-healing coating.The self-healing coating without added microcapsules has a lower order of magnitude current density compared to the added microcapsules.This indicates that both coatings can provide corrosion protection to magnesium alloy substrates and slow down the corrosion rate.However, the self-healing coating is effective

Electrochemical Polarization Curve Graph Analysis
Figure 10 shows the polarization curves of epoxy resin coatings in 3.5% NaCl solution at the optimal microcapsule dosage.Table 1 shows the Ecorr and icorr of the epoxy coating with different microcapsules added in 3.5% NaCl solution.Each set of experiments was conducted three times in parallel to exclude accidental errors.It can be concluded from the figure that when the addition of microcapsules reaches 20%, the anode arc can be observed.The corrosion potential and corrosion current density of magnesium alloy in a bare matrix are the worst, at −1.125 V and 1.562 × 10 −5 A, respectively.With the addition of epoxy resin varnish, the corrosion potential and corrosion current density showed an obvious optimization trend.At this time, the corrosion potential and the corrosion current density are −1.014V and 1.854 × 10 −5 A, respectively.After that, according to the percentage content of microcapsule additives, the added amounts were 5 wt.%, 10 wt.% and 20 wt.%.The corresponding electrochemical measurement data showed a trend of first increasing and then decreasing, and reached the peak value when the microcapsule addition amount was 10 wt.%; that is, the optimal value was reached.The optimal corrosion potential and corrosion current density are −0.721V and 1.86 × 10 −7 A, respectively.In general, the corrosion resistance of self-healing coatings is mainly determined by the corrosion current density.The lower the corrosion current density, the lower the corresponding corrosion rate of the self-healing coating.The self-healing coating without added microcapsules has a lower order of magnitude current density compared to the added microcapsules.This indicates that both coatings can provide corrosion protection to magnesium alloy substrates and slow down the corrosion rate.However, the self-healing coating is effective because it can release microcapsules, causing the slow-release healing of coating ruptures and adsorption on the broken parts, which can inhibit the corrosion process well.Table 2 shows the equivalent fitting of impedance using electrochemical fitting software, and the fitted equivalent circuit diagram of the coating is shown in Figure 9, which shows that the fitted data and the experimental data are similar.The result error is small, so the equivalent circuit diagram can be used to fit the experimental data.Rs represents the resistance of the solution, CPE1 and CPE2 represent the capacitance and resistance of the self-healing coating, and R1 and R2 represent the charge transfer resistance between the coating and the reaction resistance of the coating, respectively.Due to the rough surface and inhomogeneous electrochemical properties of the magnesium alloy substrate, a phase angle element is commonly used instead of the capacitance for interpreting the behavior of the high-frequency capacitive arcs.CPE1 and CPE2 represent the phase angle elements of the reaction interface and the two-layer corrosion products, respectively.The results show that the higher the fitting resistance of microcapsules, the better the corrosion resistance.When the mass fraction of the microcapsule is 10 wt.%, its corrosion resistance reaches its maximum.The results are consistent with those of the polarization curve.Figure 11 shows the planar SEM image, sectional SEM image and the corresponding sectional EDS spectra of the epoxy resin coating with optimal microcapsule dosage.At the magnification of Figure 11a, 200 µm, it can be seen that the encapsulated small particles are uniformly dispersed on the surface of the self-healing coating.This indicates that the microcapsules at the optimal content are well formed by stirring and curing after being added to the epoxy resin coating.When the coating is damaged by external forces, the microcapsules encapsulated in the coating can flow out in time to release the retarding agent, glycerin.In turn, the coating provides good protection against corrosion.Figure 11b shows the enlarged view in a.At this time, under the amplification size of 100 µm, the structure of the microcapsule can be seen increasingly clearly, and the dispersion is very good.Figure 11c shows the cross-sectional SEM image of the epoxy resin coating at the optimal microcapsule dosage.Figure 11d shows the EDS energy spectrum of the corresponding cross section in Figure 11c, which corresponds to the overall face-swept element distribution.The thickness of the self-healing coating is 95-100 µm.It is clearly seen that the incorporation of microcapsules results in a tighter adhesion of the coating to the magnesium alloy substrate and thus excellent corrosion resistance.

Conclusions
The present work is based on the preparation of loaded propanetriol microcapsules in micrometer vessels.Because ethyl cellulose is easily decomposed by heat, it is biodegradable and chemically stable.Glycerol itself, due to its lubricating and oiliness, can form a good hydrophobic coating with hydrogen ions on the surface of magnesium alloys.In turn, it can slow down hydrogen ions, chloride ions and water molecules from penetrating the epoxy resin coating, which can effectively reduce the corrosion resistance of the coating and enhance the self-healing performance of the coating, specifically as follows: 1. Microcapsules containing the corrosion inhibitor propanetriol are added into the epoxy resin to form a round and smooth spherical structure, which is uniformly dispersed into the coating.
2. The particle size of the propanetriol-loaded microcapsules was (150.424 ± 3.756) µm as observed by SEM, laser particle size tester, and 3D confocal microscopy.
3. The results of TGA and FTIR show that propanetriol, as a corrosion inhibitor, was effectively encapsulated inside the capsule wall as a core material for release retardation when rupturing of the microcapsules occurred.The DTG curves of the microcapsules show that the capsule wall shell are loaded with about 12% of the printing agent.
4. SEM images of the plane and cross-section of the self-healing coating show that the microcapsules are evenly distributed in the epoxy resin layer, and the incorporation of microcapsules makes the coating adhere more closely to the magnesium alloy substrate.
5. The electrochemical experimental analysis shows that the microcapsules are successfully

Conclusions
The present work is based on the preparation of loaded propanetriol microcapsules in micrometer vessels.Because ethyl cellulose is easily decomposed by heat, it is biodegradable and chemically stable.Glycerol itself, due to its lubricating and oiliness, can form a good hydrophobic coating with hydrogen ions on the surface of magnesium alloys.In turn, it can slow down hydrogen ions, chloride ions and water molecules from penetrating the epoxy resin coating, which can effectively reduce the corrosion resistance of the coating and enhance the self-healing performance of the coating, specifically as follows: 1.
Microcapsules containing the corrosion inhibitor propanetriol are added into the epoxy resin to form a round and smooth spherical structure, which is uniformly dispersed into the coating.

2.
The particle size of the propanetriol-loaded microcapsules was (150.424 ± 3.756) µm as observed by SEM, laser particle size tester, and 3D confocal microscopy.

3.
The results of TGA and FTIR show that propanetriol, as a corrosion inhibitor, was effectively encapsulated inside the capsule wall as a core material for release retardation when rupturing of the microcapsules occurred.The DTG curves of the microcapsules show that the capsule wall shell are loaded with about 12% of the printing agent.4.
SEM images of the plane and cross-section of the self-healing coating show that the microcapsules are evenly distributed in the epoxy resin layer, and the incorporation of microcapsules makes the coating adhere more closely to the magnesium alloy substrate.

5.
The electrochemical experimental analysis shows that the microcapsules are successfully added into the epoxy resin coating.Glycerol, as a corrosion inhibitor, is able to be successfully released.It is adsorbed to the rupture site to form a hydrophobic coating layer for self-healing, which in turn attenuates the corrosion rate of the magnesium alloy.
Figure4ashows the FTIR spectrum of ethyl cellulose in the wall material.In the above peaks of organic functional groups, the tensile vibration of C-C aromatic ring ranges from 1586 to 1467 cm −1 .The characteristic peak corresponding to the microcapsules in Figure4cis 1439 cm −1 .Meanwhile, the O-H-O asymmetric tensile vibration ranges from 1316 to ber(c m -1 ) a-E thyl c el lul os e b -G ly ce rol c-M i croc a ps ule s

18 (Figure 6 .
Figure 6.In the impregnation corrosion resistance test, the best core-wall ratio of microcapsules and self-healing coatings with different mass fractions are the following: (a) core-to-wall ratio of 1.5:1; (b) core-to-wall ratio of 1.2:1; (c) core-to-wall ratio of 1.5:1; (d) no sodium chloride solution immersion; (e) 3.5% sodium chloride solution immersion for 24 h; (f) 3.5% sodium chloride solution immersion for 48 h.

Figure 6 .
Figure 6.In the impregnation corrosion resistance test, the best core-wall ratio of microcapsules and self-healing coatings with different mass fractions are the following: (a) core-to-wall ratio of 1.5:1; (b) core-to-wall ratio of 1.2:1; (c) core-to-wall ratio of 1.5:1; (d) no sodium chloride solution immersion; (e) 3.5% sodium chloride solution immersion for 24 h; (f) 3.5% sodium chloride solution immersion for 48 h.

3. 4 .
Figure 8 above shows the electrochemical impedance spectra of different self-healing microcapsules added to the 3.5% NaCl solution.Figure 8a shows the Nyquist diagram.The impedance modulus values in the low frequency region are 2.8 × 10 4 , 3.6 × 10 4 , 7.8 × 10 4 , and 5.3 × 104 , respectively.As the radius of the capacitive resistance of the capacitive arc in solution gradually increases, the corresponding resistance of the solvation layer also increases.The charge transfer resistance becomes more pronounced, which in turn hinders further erosion of the coating by the solute in solution.Moreover, when the microcapsule addition amount is 10 wt.%.The coating has the best selfhealing ability, indicating that it has the best corrosion resistance at this moment.Compared to the pure epoxy coating without the addition of microcapsules, its corrosion resistance is poor.Also in the Byrd plot in Figure8b, it can be seen that the |Z| value increases continuously in the absence of the microcapsules up until they are added up at 10 wt.%, but the value decreases at a microcapsule content of 20 wt.%.This indicates that the self-healing coating exhibits optimal impedance coating volume with a stable passive response at 10 wt.% microcapsule content[40].The self-healing epoxy coating successfully prevented the electrolyte solution from penetrating into the substrate and coating surface.The corrosion inhibitor released by the microcapsule is adsorbed at the corrosion site.It successfully inhibits the corrosion process.The appearance of double peaks can clearly be observed in Figure8c, indicating that the self-healing coating was successfully coated at this time and has a double-layer structure.This indicates that the corrosion resistance of the coating is optimal when the microcapsule content is 10 wt.%.In Figure9, the error between the data fi ed in the figure

3. 4 .
Figure 8  above shows the electrochemical impedance spectra of different self-healing microcapsules added to the 3.5% NaCl solution.Figure8ashows the Nyquist diagram.The impedance modulus values in the low frequency region are 2.8 × 10 4 , 3.6 × 10 4 , 7.8 × 10 4 , and 5.3 × 10 4 , respectively.As the radius of the capacitive resistance of the capacitive arc in solution gradually increases, the corresponding resistance of the solvation layer also increases.The charge transfer resistance becomes more pronounced, which in turn hinders further erosion of the coating by the solute in solution.Moreover, when the microcapsule addition amount is 10 wt.%.The coating has the best self-healing ability, indicating that it has the best corrosion resistance at this moment.Compared to the pure epoxy coating without the addition of microcapsules, its corrosion resistance is poor.Also in the Byrd plot in Figure8b, it can be seen that the |Z| value increases continuously in the absence of the microcapsules up until they are added up at 10 wt.%, but the value decreases at a microcapsule content of 20 wt.%.This indicates that the self-healing coating exhibits optimal impedance coating volume with a stable passive response at 10 wt.% microcapsule content[40].The self-healing epoxy coating successfully prevented the electrolyte solution from penetrating into the substrate and coating surface.The corrosion inhibitor released by the microcapsule is adsorbed at the corrosion site.It successfully inhibits the corrosion process.The appearance of double peaks can clearly be observed in Figure8c, indicating that the self-healing coating was successfully coated at this time and has a double-layer structure.This indicates that the corrosion resistance of the coating is optimal when the microcapsule content is 10 wt.%.In Figure9, the error between the data fitted in the figure and the experimental data is minimal, so the equivalent circuit can be used to fit the coating data of the optimal microcapsule addition amount, where CR and CP are, respectively, the annual corrosion rate and anti-corrosion efficiency on the Tafel curve.Ecorr mainly describes the corrosion thermodynamic trend of the coating, and Icorr is the corrosion current density.In general, the main criterion of corrosion resistance is determined by

Figure 8 .
Figure 8. Electrochemical impedance spectra of coatings with different self-healing microcapsule additions in 3.5% NaCl solution: (a) Nyquist plot; (b) impedance vs. frequency Byrd plot; (c) Bode diagram of phase angle and frequency.

Figure 8 .
Figure 8. Electrochemical impedance spectra of coatings with different self-healing microcapsule additions in 3.5% NaCl solution: (a) Nyquist plot; (b) impedance vs. frequency Byrd plot; (c) Bode diagram of phase angle and frequency.

Figure 9 .
Figure 9. Equivalent circuit diagram of epoxy resin coating in 3.5% NaCl solution at optimal microcapsule addition.Figure 9. Equivalent circuit diagram of epoxy resin coating in 3.5% NaCl solution at optimal microcapsule addition.

Figure 9 .Figure 10 .
Figure 9. Equivalent circuit diagram of epoxy resin coating in 3.5% NaCl solution at optimal microcapsule addition.Figure 9. Equivalent circuit diagram of epoxy resin coating in 3.5% NaCl solution at optimal microcapsule addition.

Figure 10 .
Figure 10.Polarization curve of epoxy resin coating in 3.5% NaCl solution at optimal microcapsule addition.

18 Figure 11 .
Figure 11.Plane SEM and cross-sectional SEM and EDS spectra of epoxy resin coatings at optimal microcapsule addition levels: (a) 200 micron SEM; (b) 100 micron SEM; (c) cross section of the selfhealing coating was examined by SEM at 100 microns; (d) EDS spectra of self-healing coating cross section at 100 microns.

Figure 11 .
Figure 11.Plane SEM and cross-sectional SEM and EDS spectra of epoxy resin coatings at optimal microcapsule addition levels: (a) 200 micron SEM; (b) 100 micron SEM; (c) cross section of the selfhealing coating was examined by SEM at 100 microns; (d) EDS spectra of self-healing coating cross section at 100 microns.

Table 1 .
Ecorr and icorr of epoxy resin coatings with different microcapsule additions in 3.5% NaCl solution.

Table 2 .
Tafel curve extrapolation results of epoxy resin coatings with different microcapsule additions in 3.5% NaCl solution.