Introduction

In recent years, a plasma electrolytic oxidation (PEO) has emerged as a novel method for surface treatment capable of producing metal-oxide-based coatings with desirable properties on the surface of valve metals and alloys1,2,3,4,5,6. When a high voltage above the breakdown voltage would be applied, a protective coating formed on the surface of the metal substrate by plasma-assisted electrochemical reactions7, 8. Typically, the structure of PEO coating comprised two distinct layers: an outer layer with a number of the micropores, cracks, and structural defects, and an inner layer with a relatively compact structure. The micropores and other defects were distributed inhomogeneously in both layers. They were more evident in the outer layer. This would cause the infiltration of corrosive medium into the inner layer of the coating and, thereby, arrive at the substrate, which accelerated the corrosion rate due to a local change in pH9. To alleviate the present problem, considerable attention has been paid to improving the fabrication of defect-free coatings by PEO through the development of novel electrolytic systems together with the optimization of the electrical parameters, such as frequency and current density8.

Among various approaches, the incorporations of inorganic particles, such as ZrO2, TiO2, CeO2, and clay, was considered one of the useful strategies, Kaseem et al.10 suggested an effective way to block the micropores by incorporating ZrO2 and MoO2 particles into the coating, which improved significantly the corrosion performance of 7075 Al alloy. According to recent results by Rapheal et al.11, however, the micropores and cracks were still clearly visible in the coating, which might provide the short paths for the corrosive medium although the addition of clay helped increase the compactness of the coating formed on an AM50 Mg alloy by PEO at a low current density of 30 mA/cm2. In contrast, Lu et al.12 demonstrated that, in coating formed by PEO on AM50 Mg alloy, the micropores would be filled fairly by adding Si3N4 particles to the KOH-Na3PO4-containing electrolyte. The distribution of the microdefects found in cross section of the coating was still in argument. Thus, the improvement in corrosion performance was case-sensitive.

On the other hand, the incorporation of F ions into the coatings has been reported as an effective strategy to improve the corrosion performance13,14,15,16,17,18. Per potentiodynamic polarization results reported by Kazanski et al.13, the coating formed on AZ91 Mg alloy by PEO under alternating current in an alkaline silicate-based electrolyte containing KF exhibited better corrosion performance as compared to the counterpart coating formed without KF. This result suggested that a significant drop in the porosity was achieved by the incorporation of F ions into the coating. Indeed, Duan et al.18 suggested that KF was able to enhance the corrosion resistance of the inner layer. It was, therefore, concluded that F ions would improve the corrosion performance due to the formations of F-compounds that would increase the thickness and compactness of the inner layer. In case of Mg alloy, MgF2 would precipitate readily on the surface of the anode, preventing excessive dissolution of Mg element from the substrate8, 14. However, Yerokhin et al.19 reported that the addition of F ions to the electrolyte showed a different tendency of Al-oxide coating. Sodium hexafluoroaluminate (Na3AlF6) was prone to be hydrolyzed in aqueous solution, resulting in the formations of aluminum hydroxide (Al(OH)3) and F-containing compounds. Hence, the observations in the previous studies raised the question of whether the use of the complex fluorine-containing salts would be desirable for fabricating a nearly defect-free coating via PEO because the hydrolysis of Na3AlF6 might lead to the structural modification of the coating. Up to the present study, the fabrication of a nearly defect-free coating on Al-based alloy under high-energy plasma condition using the fluorine-containing salt as an additive in the electrolyte and the electrochemical contribution of the present coating have rarely been understood.

Therefore, the aim of this work is to fabricate the nearly defect-free compact coating on Al-Mg-Si alloy by PEO to improve corrosion performance by adding Na3AlF6 to the alkaline phosphate-based electrolyte. On the basis of the results, the mechanism on the formation of the coatings in the presence of Na3AlF6 will be discussed in relation to the structural characteristics controlled with respect to current density as well as Na3AlF6 concentration.

Results and Discussion

Structural characteristics of coating

Figure 1 shows the changes in surface morphology of the PEO coatings as a function of Na3AlF6 concentration and current density. In all coatings, the surface was dominated by numerous micropores, which are characteristic of PEO coatings. To elucidate the effect of Na3AlF6 concentration and current density on the surface morphology of the coatings formed by PEO, the porosity and pore size values were measured, and they are listed in Table 1. Irrespective of current density, it was observed that the average size of the micropores and cracks, as well as the degree of porosity, was lower for the coatings formed with 1.5 g/L Na3AlF6. This suggested that the addition of 1.5 g/L Na3AlF6 to the phosphate-based electrolyte might decrease the intensity of plasma discharges, resulting in the generation of a compact microstructure with less structural defects (Fig. 1b and e). Indeed, when adding 3 g/L Na3AlF6 to the electrolyte, the porosity and micropore size increased as compared to the sample obtained in an electrolyte containing 1.5 g/L Na3AlF6. In addition, from the high-magnification SEM images shown in the insets of Fig. 1, two important observations were made regarding surface morphology. Firstly, as current density increased, the micropore size tended to increase, whereas the percentage of porosity tended to decrease. Secondly, the coating obtained with no Na3AlF6 at 125 mA/cm2 exhibited severe cracking as compared to the coatings formed in electrolytes containing Na3AlF6, which is consistent with earlier reports11, 20, 21. For the coatings formed in the electrolyte with no Na3AlF6, larger micropores and cracks were formed at the higher current density due to the increased plasma discharge intensity after quenching by the surrounding electrolyte. However, interestingly, for the coatings formed in electrolyte containing Na3AlF6, the number of cracks tended to decrease as current density increased, suggesting that the addition of Na3AlF6 together with a higher current density could promote the incorporation of F-containing compounds, thus decreasing the size of micropores and cracks (Fig. 1e and f).

Figure 1
figure 1

SEM images showing the surface morphology of the coatings formed on an Al-Mg-Si alloy by PEO at 50 mA/cm2 (ac) and 125 mA/cm2 (df) in an electrolyte containing no Na3AlF6 (a and d), 1.5 g/L Na3AlF6 (b and e), and 3 g/L Na3AlF6 (c and f). Insets are the high-magnification images of the surface morphology of the PEO coatings.

Table 1 Pore size and porosity of the PEO coatings formed on an Al-Mg-Si alloy by PEO for 8 min using different concentrations of Na3AlF6 at different current densities.

Table 2 lists the EDS results corresponding to the surface of the coatings obtained in different electrolytes at different current densities. Irrespective of current density, EDS results showed that the coatings formed in the electrolyte with no Na3AlF6 were mainly composed of Al, O, and P, while as expected, F was only detected in the coatings formed in electrolytes containing Na3AlF6. This result indicated that AlF6 3− ions effectively contributed to form the coating layers during the plasma-assisted electrochemical reaction. It is worth noting that the amount of P was observed to decrease in the coatings formed in electrolytes containing Na3AlF6, which was attributed to the fact that AlF6 3− ions prevented the adsorption of phosphate groups on the surface22.

Table 2 EDS results of the PEO coatings formed on an Al-Mg-Si alloy by PEO for 8 min using different concentrations of Na3AlF6 at different current densities.

The cross-sectional images of the PEO coatings obtained in different electrolytes and at different current densities are shown in Fig. 2. It was observed that Na3AlF6 had no effect on the thickness of the coating. By contrast, the coatings obtained at a current density of 50 mA/cm2 exhibited a thickness of about 10 µm, while the coatings obtained at 125 mA/cm2 were thicker (with a thickness of ~15 µm). These results were reasonably consistent with those obtained for Ti alloy samples coated by PEO in electrolytes containing different concentrations of calcium hypophosphite23. In addition, it was clear that the coatings obtained with Na3AlF6 exhibited a more compact structure as compared to their counterparts obtained in the electrolyte with no Na3AlF6, indicating that AlF6 3− ions decreased the porosity and enhanced the density of the PEO coatings. Since the inner layer of the coatings formed in electrolyte containing Na3AlF6 was thicker and more compact, it was expected that such coatings would exhibit a higher resistance against corrosion.

Figure 2
figure 2

Cross-sectional images of the coatings formed on an Al-Mg-Si alloy by PEO at 50 mA/cm2 (ac) and 125 mA/cm2 (df) in an electrolyte containing no Na3AlF6 (a and d), 1.5 g/L Na3AlF6 (b and e), and 3 g/L Na3AlF6 (c and f).

The elemental distribution along the cross-section of the coatings formed at 125 mA/cm2 in electrolytes either with no Na3AlF6 or containing 3 g/L Na3AlF6 was investigated by EDS line scan (Fig. 3). The EDS analysis of the PEO coating obtained with 3 g/L Na3AlF6 clearly showed that F was almost uniformly distributed along the cross-section of the coating, while the distribution of P was less uniform as compared to the counterpart coating obtained without Na3AlF6.

Figure 3
figure 3

EDS line scan of the cross-section of the coatings formed on an Al-Mg-Si alloy at 125 mA/cm2 in electrolyte containing no Na3AlF6 (ac) and 3 g/L Na3AlF6 (dg).

Figure 4 shows the XRD patterns of the PEO coatings obtained in different electrolytes at different current densities. The XRD peaks corresponding to Al, γ-Al2O3, α-Al2O3, and AlPO4 were detected in all coatings. The identification of metallic Al in the pattern of the PEO coatings was ascribed to porosity, which caused X-ray penetration through the Al-Mg-Si alloy substrate. During PEO, Al3+ ions were released from the substrate and reacted with O2− ions in the electrolyte to produce γ-Al2O3 and α-Al2O3 on the surface of the Al-Mg-Si alloy at rapid and slow cooling rates, respectively24, 25. On the other hand, AlPO4 could be formed by the reaction between PO4 3− ions, generated through ionization of Na3PO4 in the electrolyte, and Al+3 ions (Equation 1). It is worth noting that although the EDS analysis showed a significant amount of F in the coatings formed in electrolytes containing Na3AlF6, no peaks attributed to F-containing phases were detected in the XRD patterns, suggesting that F-containing compounds were incorporated into the coatings as the amorphous phase, rather than the crystalline. In addition, it was observed that in the XRD pattern of the coatings formed in electrolyte containing Na3AlF6, the intensity of all characteristic peaks of γ-Al2O3 was higher. This suggested that the addition of Na3AlF6 to the phosphate-based electrolyte affected the phase composition of the coatings. Furthermore, for all coatings, the amount of α-Al2O3 tended to be lower as compared to that of γ-Al2O3, which was attributed to the fact that the rapid solidification of molten Al2O3 did not allow the complete transformation from metastable γ-Al2O3 into stable α-Al2O3. Therefore, the amount of the α-Al2O3 phase obtained was lower under these experimental conditions26. Finally, according to the XRD and EDS results, the possible reactions during PEO in the different electrolytes are the following:

$$A{l}^{+3}+P{{O}_{4}}^{-3}\to AlP{O}_{4}$$
(1)
$$Al{{F}_{6}}^{3-}+3{H}_{2}O\to Al{(OH)}_{3}+3{H}^{+}+6{F}^{-}$$
(2)
$$Al{(OH)}_{3}\,\mathop{\to }\limits^{ \sim 723K}\,\gamma -A{l}_{2}{O}_{3}$$
(3)
$$Al{(OH)}_{3}\,\mathop{\to }\limits^{ \sim 1373K}\,a-A{l}_{2}{O}_{3}$$
(4)
Figure 4
figure 4

XRD patterns of the coatings formed on al Al-Mg-Si alloy by PEO at (a) 50 mA/cm2 and (b) 125 mA/cm2 using electrolytes containing different concentrations of Na3AlF6.

Electrochemical behavior of coating

The corrosion resistance of the PEO coatings formed in various electrolytes at two different current densities was evaluated by potentiodynamic polarization tests, and curves are shown in Fig. 5. Corrosion parameters such as the corrosion potential (E corr ) and corrosion current density (i corr ) were extrapolated from the polarization curves, and the results are listed in Table 3. These results indicated that all coatings obtained in electrolytes containing Na3AlF6 exhibited a higher resistance against corrosion as compared to the coatings formed in the electrolyte with no Na3AlF6. In particular, the coating formed in the electrolyte containing 1.5 g/L Na3AlF6 at 125 mA/cm2 exhibited the lowest i corr of all. This suggested that at a current density of 125 mA/cm2, by adding 1.5 g/L Na3AlF6 to the electrolyte, the anticorrosion properties of the Al-Mg-Si alloy could be significantly improved with respect to the counterparts obtained in electrolytes containing either no Na3AlF6 or 3 g/L Na3AlF6. This improvement of the anticorrosion properties was attributed to the formation of a relatively defect-free structure rich in F, which prevented the diffusion of corrosive ions (Cl) towards the substrate. In other studies, Wang et al.27 reported based on the coating layers formed on LY12 Al alloy by PEO that the i corr of the coating decreased from 1.85 × 10−7 A/cm2 to 8.8 × 10−8 A/cm2 when the electrolyte consisting of 2 g/L NaF and 8 g/L NaAlO2 was used at 80 mA/cm2 for 60 min as compared to the counterpart obtained from electrolyte without NaF. On the other hand, Arunnellaiappan et al.28 found that addition of 4 g/L CeO2 into the alkaline-silicate-based electrolyte would decrease the i corr from 4.2 × 10−7 A/cm2 to 1.25 × 10−10 A/cm2 when the PEO coatings were formed on 7075 Al alloy at 150 mA/cm2 for 10 min. The present results shown in Table 3 clearly implied that the addition of 1.5 g/L Na3 AlF6 into the electrolyte together with a high current density condition would beneficial for fabricating compact coatings with excellent corrosion protection properties.

Figure 5
figure 5

Potentiodynamic polarization curves recorded in 3.5 wt.% NaCl solution of the coatings formed on an Al-Mg-Si alloy by PEO at (a) 50 mA/cm2 and (b) 125 mA/cm2 using electrolytes containing different concentrations of Na3AlF6. The potentiodynamic polarization curves were recorded at a scan rate of 1 mV/s from −0.25 V to +0.4 V with respect to the open circuit potential.

Table 3 Extrapolation results of the potentiodynamic polarization curves of the PEO coatings formed on an Al-Mg-Si alloy by PEO for 8 min using different concentrations of Na3AlF6 at different current densities.

To investigate the effect of Na3AlF6 on the corrosion behavior of the Al-Mg-Si alloy coated by PEO in more detail, EIS tests in 3.5 wt.% NaCl solution were conducted, and the results are shown in Fig. 6 as the Nyquist plots. The corrosion resistance of the samples can be qualitatively compared from the EIS spectra, where larger semicircles usually indicate a higher corrosion resistance. The smallest semicircles were observed in the EIS spectrum of the coating formed with no Na3AlF6, suggesting that the corrosion resistance of the Al-Mg-Si alloy in 3.5 wt.% NaCl solution was improved by the coatings formed in electrolyte containing Na3AlF6. In addition, irrespective of the current density at which the coating was formed, the coating formed in the electrolyte containing 1.5 g/L Na3AlF6 exhibited the largest capacitive loop of all, indicating the excellent anticorrosion properties of this coating, which was in good agreement with the potentiodynamic polarization results shown in Fig. 5.

Figure 6
figure 6

Nyquist plots recorded in 3.5 wt.% NaCl solution of the coatings formed on an Al-Mg-Si alloy by PEO at (a) 50 mA/cm2 and (b) 125 mA/cm2 using electrolytes containing different concentrations of Na3AlF6 and (c) the equivalent circuit model used for analyzing the EIS data of the coatings formed in the electrolyte containing Na3AlF6 with different concentrations at two different current densities, where R s is the resistance of the solution, R o and R i is the resistance of the outer and inner layers of the coatings, respectively, and CPE o and CPE i is the constant phase element of the outer and inner layers, respectively.

Based on the EIS results and the structure of the PEO coatings, the data was adequately fitted to the equivalent circuit model shown in Fig. 6c 29. To better describe the interfacial heterogeneities of the coatings, the more general constant phase element (CPE) was used instead of a rigid capacitive element30. The CPE is defined by the following equation:

$${Z}_{CPE}=1/[Y{(j\omega )}^{n}]$$
(5)

where j is the imaginary unit, ω is the angular frequency, and n and Y are the CPE parameters. The n values range from 0 to 1: for n = 0, the CPE describes an ideal resistor, and for n = 1, the CPE describes an ideal capacitor. The fitted R o , R i , n o , and n i values for the coatings obtained at different current densities using various concentrations of Na3AlF6 are presented in Fig. 7 (R is the resistance, and subscripts “o” and “i” denote the outer and inner layers of the coating, respectively).

Figure 7
figure 7

Representation of the EIS-fitted R 0 , R i , n 0 , and n i values of the coatings formed at two different current densities in electrolytes containing different concentrations of Na3AlF6.

In terms of R o , which was inversely proportional to coating porosity, it was observed in Fig. 7a that the coating obtained with 1.5 g/L Na3AlF6 at 125 mA/cm2 exhibited the highest R o value, while the coating obtained with no Na3AlF6 at 50 mA/cm2 had the lowest, further confirming that in the formation of coatings by PEO, the addition of 1.5 g/L Na3AlF6 to the electrolyte, as well as applying a higher current density, can improve the anticorrosion properties by significantly decreasing the level of porosity. These results were consistent with the SEM results shown in Fig. 1 and Table 1.

In addition, the results shown in Fig. 7b indicated that R i was generally higher than R o , indicating that the inner layer contributed the most to the overall corrosion resistance. It was also observed that the R i values for the coatings obtained in electrolytes containing Na3AlF6 were higher than for those obtained with no Na3AlF6, suggesting that Na3AlF6 also produced an increase in the compactness of the PEO coatings through the incorporation of F-containing compounds.

Furthermore, CPE-n o and CPE-n i were used as an indicator to confirm microstructural results, such as porosity and micropore size, which strongly affect the anticorrosion properties of PEO coatings31, 32. As shown in Fig. 7c and d, the CPE-n o and CPE-n i values for the coatings obtained in electrolyte containing 1.5 g/L Na3AlF6 at 125 mA/cm2 were higher than for the other coatings, which indicated that the coating/electrolyte interface and coating/substrate interface became smoother with the addition of 1.5 g/L Na3AlF6 and upon increasing the current density for the PEO process.

Mechanism underlying a role of Na3AlF6

The effect of adding Na3AlF6 to the alkaline phosphate-based electrolyte on the coating morphology and corrosion resistance was found to be significant. During the PEO process, the AlF6 3− ions generated due to ionization of Na3AlF6 were hydrolyzed, which resulted in the formation of Al(OH)3 and F ions (Equation 2). The high temperature under plasma conditions caused dehydration of Al(OH)3, which resulted in the formation of Al2O3 within the coating (Equations 3 and 4)33. Moreover, irrespective of current density, the coatings formed in electrolyte containing 3 g/L Na3AlF6 exhibited a higher F content than their counterparts obtained with 1.5 g/L Na3AlF6, which suggested that a further hydrolysis of AlF6 3− ions occurred with 3 g/L Na3AlF6. It is worth mentioning that the presence of numerous structural defects (Figs 1a and d and 2a and d) in the coatings obtained in the electrolyte with no Na3AlF6 could provide a short path for F ions to cross the PEO coating and distribute almost uniformly throughout it under plasma conditions (Fig. 3g). As described earlier, F ions, being the ion with the smallest size among all negative ions, could enter the micropores, changing the structure and properties of the PEO coatings27. Therefore, in comparison, the coatings obtained in electrolyte containing Na3AlF6 exhibited a relatively defect-free structure. However, compared with the coating obtained with 1.5 g/L Na3AlF6, the coating obtained with 3 g/L Na3AlF6, despite having the highest F content, showed larger micropores and a higher degree of porosity, which was attributed to the strong corrosive effect of the electrolyte due to formation of HF34. Indeed, a high concentration of HF could lead to the formation of numerous defects in the coating due to a decrease of the electrolyte pH, which produced etching of the substrate surface. In addition, for the coating formed in electrolyte containing 3 g/L Na3AlF6, some cracks were also observed in the higher magnification (inset of Fig. 1f), which was associated with the transformation of Al(OH)3 into Al2O3. In summary, it was concluded that Na3AlF6 could lead to an increase in the compactness of the inner layer up to a certain level, above which compactness decreased.

Conclusions

A nearly defect-free coating formed by plasma electrolytic oxidation at high current density of 125 mA/cm2 was obtained in a phosphate-based electrolyte with Na3AlF6, and the role of Na3AlF6 in improving the corrosion performance of the coating was investigated. The microstructural results revealed that the coating formed in the electrolyte containing 1.5 g/L Na3AlF6 at 125 mA/cm2 exhibited the structural defects to the less extent in comparison to the other coatings since fluorine was distributed uniformly throughout the coating due to the hydrolysis of AlF6 3− triggered by intense plasma sparks. Hence, the coating formed in the electrolyte containing Na3AlF6 would improve the corrosion performance of Al-based alloys.

Materials and Methods

The substrate sample used in this study was an Al-Mg-Si alloy with a chemical composition (expressed in wt.%) of 0.99 Mg, 0.59 Si, 0.25 Cu, 0.16 Fe, 0.11 Cr, 0.13 Mn, and balance Al. Before the PEO treatment, the initial samples, with a dimension of 25 mm × 20 mm × 4 mm, were ground to 1200 grit with SiC paper and then, ultrasonically cleaned in acetone. The electrolytes were prepared by mixing 3 g/L potassium hydroxide (KOH) and 6 g/L sodium phosphate (Na3PO4) in distilled water, followed by the addition of Na3AlF6 at two different concentrations: 1.5 g/L and 3 g/L. The Na3AlF6 concentration was set at a maximum value of 3 g/L because higher concentrations could cause severe electrochemical etching of the substrate surface. For reference, an electrolyte containing no Na3AlF6 was also prepared. To obtain the coating, the PEO treatment was conducted at a frequency of 60 Hz during 8 min. In order to study the effect of current density on the characteristics of the coating, two different current densities, viz. 50 and 125 mA/cm2, were applied. During the PEO process, the temperature of the electrolyte was controlled to be below 25 °C by adjusting the flow rate of the cooling water. The surface morphology and elemental composition of the coating layers was studied with a scanning electron microscope (SEM, Hitachi S-4800) equipped with an energy dispersive spectrometer (EDS). The Image Analyzer 1.33 program was used to measure and calculate the micropore size and the percentage of porosity. The phase composition was examined by X-ray diffraction (XRD, Rigaku D/Max-2500) with a step size of 0.05° over a scan range from 20° to 90°. The corrosion performance of the PEO coatings was evaluated through potentiodynamic polarization and EIS (electrochemical impedance spectroscopy) tests in a 3.5 wt.% NaCl solution using a Reference 600 potentiostat from Gamry Instruments. A standard three-electrode cell with a coated alloy sample as the working electrode, Ag/AgCl (sat. KCl) as the reference electrode, and a platinum plate as the counter electrode was used in the experiments. Polarization curves were recorded from −0.25 V to +0.4 V with respect to the open circuit potential at a scan rate of 1 mV/s. Impedance measurements were performed on the PEO coatings in the frequency range from 106 Hz to 0.1 Hz with an amplitude of ±10 mV. In order to stabilize the open circuit potential, all electrochemical tests were performed after a 5-h immersion in the 3.5 wt.% NaCl solution. In addition, all tests were repeated at least three times to ensure data accuracy.