Introduction

Due to the significant properties such as high strength-to-weight ratio, low density, high thermal and electrical conductivities, ease of fabrication and recycling potential, Al and its alloys are widely used in many industries such as aerospace, automobile, textile, construction and high-speed trains. However, qualities including low surface hardness, relatively low wear and corrosion resistance and high friction coefficient have restricted their applications (Ref 1,2,3,4). Therefore, these reactive alloys and other light metals need careful finishing operation in order to produce surface layers with high wear and corrosion resistance (Ref 5). Alumina (Al2O3) is an advanced ceramic material that can improve resistance to wear, corrosion, oxidation and high-temperature attack when coated on the metal materials, including Al and its alloys (Ref 6). There are many coating techniques for metallic materials, such as hydrothermal, vapor deposition, sol–gel, thermal oxidation and anodic oxidation (Ref 7). Because of high energy consumption and high temperature of the aforementioned methods, they are not appropriate for materials with low melting point (e.g., Al). In this regard, plasma electrolytic oxidation (PEO), also called micro-arc oxidation (MAO), as a relatively new method was discovered (Ref 8, 9). The PEO process, derived from conventional anodizing, can produce hard and thick ceramic coatings on light metals such as Al, Mg and Ti and their alloys by plasma discharges in an aqueous solution under high voltage with low energy consumption (Ref 3, 8, 10). Coatings produced through this procedure have high micro-hardness, good adhesion to the substrate, high insulation resistance, good wear and corrosion resistance, high-temperature shock and electronic insulation (Ref 11). Generation of many short-lived and fine micro-discharges on the substrate surface due to the instantaneous and local dielectric breakdown of the growing coating under high electric field controls the coating formation mechanism (Ref 2, 12, 13). Many parameters such as electrolyte composition, electrolyte temperature, oxidation time, substrate chemical composition, current density, current mode, applied voltage, frequency and duty cycle can influence the properties of the PEO coatings (Ref 14, 15). Among these factors, the electrolyte composition owing to the participation of electrolyte substances in the coating formation reactions during the PEO process is the most important parameter. Structure, composition and other properties of the PEO coating alter with changing the electrolyte composition (Ref 16). Tseng et al. (Ref 17) have confirmed that changing the concentration of Na2WO4 in the electrolyte greatly affected the morphologies, phase compositions, micro-hardness and corrosion resistances of the PEO coatings. They showed that increasing the Na2WO4 concentration in the electrolyte increased the coating thickness, the amount of α-Al2O3 phase, micro-hardness and corrosion resistance and decreased the friction coefficient. Wang et al. Ref 18 have found that adding NaF to aluminate-based electrolyte could decrease the surface roughness, increase the thickness of the inner compact layer and also improve the corrosion resistance and tribological properties of the PEO coating.

In the current study, different PEO coatings were fabricated on 2024 Al alloy substrate in phosphate-based electrolyte with four different concentrations of disodium phosphate (Na2HPO4·2H2O). Then, the effects of Na2HPO4·2H2O concentration on the microstructure and corrosion behavior of PEO coatings were investigated.

Experimental

2024 Al alloy specimens with the dimensions of 20 mm × 20 mm × 1 mm were used as the substrate material for the PEO processes. Prior to PEO process, all samples were annealed at 420 °C temperature for 3 h. After that, they were polished with #400 to #2000 grit SiC abrasive papers, washed with distilled water and dried with cold air. The phosphate-based electrolytes made of 4 g/L Na2SiO3·5H2O, 1 g/L KOH and four different concentrations of Na2HPO4·2H2O, as given in Table 1, were used for coating processes. The PEO processes lasted 15 min, under a constant current density of 15 A/dm2 by PM700/7 PRC (IPS) with DC power supply. During the experiment, the temperature of the electrolyte was cooled below 35 °C using a cooling system. After each treatment, the coated sample was rinsed with distilled water and dried in cold air. The 2024 Al alloy sample and a stainless steel container were used as anode and cathode, respectively. The values of conductivity and pH of different electrolyte solutions were measured by PTR7 and Lf91 instruments, respectively. The surface and cross-sectional morphologies of the coatings were investigated by JEOL JSM-840A scanning electron microscope (SEM). The average micropore size and thickness of the coatings were measured by Digimizer software. The phase composition of the coating was studied by x-ray diffraction using an APD 2000 diffractometer with a Cu Kα radiation by scanning in the 2θ = 20°-90° range. Also, the elemental analysis of the coated sample was analyzed using a Link AN 10/55 S energy-dispersive x-ray spectrometer (EDS). Corrosion behavior of the uncoated and coated samples was studied with electrochemical impedance spectroscopy (EIS) and potentiodynamic polarization tests in 3.5 wt.% NaCl solutions at room temperature by the μAutolab Type III/FRA2 system. In these tests, a three-electrode flat cell, including platinum plate as the counter electrode and Ag/AgCl saturated in KCl as the reference electrode, was used. Similarly, a sample with an exposed area of 0.4 cm2 was utilized as the working electrode. All the measurements related to the corrosion behavior were carried out with the NOVA 1.11 impedance software. All the uncoated and coated samples were immersed in 3.5 wt.% solutions for 2 h to reach a stable open-circuit potential. EIS tests were employed in the frequency range of 10 mHz to 100 kHz with the amplitude of 10 mV. Then by applying − 250 mV potential, compared to the open-circuit potential, potentiodynamic polarization test was conducted at a scan rate of 1 mV/s on the specimens.

Table 1 Electrolyte compositions for different PEO processes

Results and Discussion

Voltage–Time Behavior

As constant current mode was used in all processes, voltage–time responses of the coated samples in electrolytes with different concentrations of Na2HPO4·2H2O are shown in Fig. 1. As can be seen, changing the electrolyte composition has affected the voltage–time behavior of the samples during the PEO processes. All voltage–time curves for four different samples depicted three stages. At the beginning of the PEO process, stage 1, due to the formation of a very thin insulating barrier oxide film on the surface of 2024 Al alloy substrate (anode), voltage increased linearly and quickly by the passage of time (about 1 min). In stage 2, the voltage increased with time at a lower ratio compared with stage 1, and then, the breakdown of weak parts of the oxide film occurred. After exceeding the breakdown voltage, many small white transient sparks, which were essentially specified by the composition and concentration of the electrolyte and base metal nature (Ref 19), were emerged on the substrate surface and the voltage slowly increased just some 3 min after the onset of the processing cycle. In this level, the growth rate of the coating decreased because of the coating growth and dissolution coincidence (Ref 20,21,22). In stage 3, known as the micro-arc stage, voltage reached a relatively stable value and sparks became more intense. Also, the color of sparks changed to yellow and then gradually turned orange (Ref 20, 21). Changing the concentration of Na2HPO4·2H2O in the electrolyte led to changing the values of electrolyte conductivity and breakdown voltage. The variation of the conductivity with respect to the breakdown voltage for different electrolytes is depicted in Fig. 2. The relation between the electrolyte conductivity (K) and the breakdown voltage (Vb) is shown in Eq (1). In this equation, a B and b B are constant values related to the metal and electrolyte composition. Therefore, increasing the electrolyte conductivity requires lower arcing energy, thereby decreasing the breakdown voltage of the oxide film (Ref 23). This may be due to the fact that the anionic species of the electrolyte were absorbed in the oxide film with an increased rate. Hence, the primary electrons just injected to the conduction band of the oxide found greater density (Ref 24).

Fig. 1
figure 1

Voltage–time curves of PEO treated 2024 Al alloy samples

Fig. 2
figure 2

Variation of the conductivity with respect to the breakdown voltage for different PEO electrolytes

$$ V_{\text{b}} = a_{B} + b_{B} \log \left( {\frac{1}{K}} \right) $$
(1)

Therefore, increasing the concentration of Na2HPO4·2H2O (5-20 g/L) in the electrolyte, due to the increase in the electrolyte conductivity, led to the reduction in the voltage needed for breaking down the resistance of the dielectric layer. On the other hand, to reach the breakdown voltage, the ease of the dielectric barrier layer formation and the plasma discharge occurrence were in a direct relationship with the time duration (Ref 20, 25). Thus, increasing the concentration of Na2HPO4·2H2O (5-20 g/L) led to increasing the time for the breakdown voltage and the formation of barrier film, and shortening the required duration for the spark discharges to appear. On the other hand, at first, because of reducing the breakdown voltage, increasing the concentration of Na2HPO4·2H2O from 5 to 10 g/L led to the reduction in the size and intensity of the sparks. However, adding the concentration of Na2HPO4·2H2O (up to 20 g/L), due to the greater conductivity, caused more intense and larger sparks.

Coatings Microstructure

Surface Morphology of the Coatings

The surface morphologies and average size of micropores of different PEO coatings fabricated on the surface of 2024 Al alloy substrate are shown in Fig. 3 and 4, respectively. It is obvious that changing the concentration of Na2HPO4·2H2O in the electrolyte has influenced the surface morphologies of the PEO coatings. All four coatings due to the nature of PEO process exhibited the porous structure with crater shape micropores. During the PEO process, as the micro-arcs and the following discharges occur, gas evolution channels are created because of the rapid melting and solidification impact on the substrate surface (Ref 18, 25). The breakdown voltage, and evolution and characteristics of the discharging sparks during the PEO process, intimately correlated with the conductivity of the electrolyte, influence the formation of porous structure and change the surface morphology and thickness of the coatings. The larger the sparks, the bigger the micropore form on the surface of the coating, whereas the shorter the sparks, the lesser the amount and size of the micropore shape (Ref 26). Higher breakdown voltage leads to higher level of discharge energy and forms larger micropores with non-uniform dispersion on the surface of the coating (Ref 27). Here, at first, increasing the concentration of Na2HPO4·2H2O (from 5 to 10 g/L) in the electrolyte, due to an increase in the conductivity, a decrease in the breakdown voltage and the size and the intensity of sparks, led to an increment in the compactness and uniformity of the structure and the reduction in the micropore size and number. Then by adding to the concentration (from 10 to 20 g/L), the size and number of the micropores are increased. This phenomenon was related to the increase in the size and intensity of spark discharges because of the enhanced electrolyte conductivity (Ref 28). The coated sample in the electrolyte containing 5 g/L Na2HPO4·2H2O showed the most non-uniform structure with large solidified oxide particles and the largest average micropore size in comparison with three other coatings. Low conductivity of the electrolyte, leading to the greater sparks in the coating process, and higher final and breakdown voltage might result in this phenomenon. Consequently, the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O had the most uniform and compact structure with the lowest and smallest micropores (with average size of 1.44 μm).

Fig. 3
figure 3

Surface morphologies of the PEO coatings formed in electrolytes with different concentrations of Na2HPO4·2H2O at the magnification of × 1000: (a) 5 g/L; (b) 10 g/L; (c) 15 g/L; (d) 20 g/L

Fig. 4
figure 4

Average micropore size of different PEO coatings

Thickness of Coatings

Figure 5 and 6 show the cross-sectional morphologies and thickness values of different PEO coatings, respectively. As can be concluded, the thickness of the coatings increased (from 8.07 to 12.04 μm) by increasing the concentration of Na2HPO4·2H2O (5-20 g/L) in the electrolyte. Indeed, rising the PO43− ion concentration in the electrolyte involved more components from the applied solution to be incorporated into the coating, thereby increasing the coating growth rate and thickness through poly-reactions and deposition on the surface (Ref 29, 30). On the other hand, the increased concentration of Na2HPO4·2H2O in the electrolyte led to an increment in the electrolyte conductivity and as a result, the rate of the film formation dominated the rate of anodic dissolution forming the thicker coating (Ref 23). All four coatings were compact without any obvious deep porosity, but the fabricated coating using the electrolyte containing 5 g/L Na2HPO4·2H2O was less uniform in comparison with the others. Also, for all of the specimens, the interface of the substrate and coating was continuously observed, demonstrating acceptable coating adhesion to the substrate.

Fig. 5
figure 5

Cross-sectional morphologies of the PEO coatings formed in electrolytes with different concentrations of Na2HPO4·2H2O at the magnification of × 1000: (a) 5 g/L; (b) 10 g/L; (c) 15 g/L; (d) 20 g/L

Fig. 6
figure 6

Thickness of different PEO coatings

Corrosion Behavior

Electrochemical Impedance Spectroscopy (EIS)

The Nyquist plots derived from EIS data are shown in Fig. 7. In these plots, the real part of the impedance was plotted versus its imaginary part at each frequency after 2-h immersion in 3.5 wt.% NaCl solution. As can be seen, in all frequency regions, the uncoated 2024 Al alloy substrate had one capacitive semicircle. The oxide layer made on the surface of the substrate might cause this quality; therefore, in the electrical equivalent circuit, there would be just one single time constant presented in Fig. 8(a). The corrosion resistance of uncoated 2024 Al alloy was obtained by measuring the diameter of the semicircle in the Nyquist plot. Conversely, the Nyquist plots of all coated samples included two capacitive semicircles in electrolytes having varying degrees of concentration of NaH2PO4·2H2O. The smaller semicircle appeared at high frequencies was related to the porous outer layer, and the bigger semicircle appeared at low frequencies was referred to as the compact inner layer (Ref 29). The electrical equivalent circuits that were used to simulate the impedance data of the uncoated 2024 Al alloy and the coated samples are illustrated in Fig. 8. The electrical equivalent circuit in Fig. 8(a) was suggested for the bare 2024 Al alloy. In this circuit, R s (3.1 Ω cm2), RI and QI were the solution resistance, corrosion resistance and constant phase element, respectively. In order to fit the impedance plots of the coated samples, the electrical equivalent circuit given in Fig. 8(b) was used. In this circuit, RI and QI were related to the corrosion resistance and the constant phase element of the compact inner layer, and RO and QO are referred to as the porous outer one. Also, RS was the solution resistance (2.8 ± 1 Ω cm2). Two factors mainly determine the value of Rs, namely the electrochemical cell geometry and the corrosion test solution conductivity (Ref 29). The extracted corrosion resistance values of the inner and outer layers from the electrical equivalent circuit of all samples are listed in Fig. 9. The corrosion resistance of 2024 Al alloy substrate was very low (9.4 × 103 Ω cm2). Accordingly, in order to improve its corrosion resistance, it was necessary to apply a coating on its surface. As it is clear, because of the higher values of corrosion resistance of inner layers compared with those of the outer layer, the corrosion resistance of the PEO coatings was attributed to the corrosion resistance of the inner layer, and the outer layer did not effectively improve the corrosion resistance of the uncoated 2024 Al alloy substrate. All coatings exhibited better corrosion resistance compared to the uncoated 2024 Al alloy substrate. This meant that the PEO technique was an effective coating process improving the corrosion resistance of 2024 Al alloy substrate. Indeed, the coatings did not allow the corrosive species to be in contact with the surface of the metal, thereby impeding the corrosion. At first, increasing the concentration of Na2HPO4·2H2O (5-10 g/L) in the electrolyte led to a remarkable increase in the corrosion resistance of both inner and outer layers, and with increasing the concentration more (up to 20 g/L), the corrosion resistance reduced. Therefore, the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O showed the best corrosion resistance among all other samples. The corrosion resistance of this sample was 4.574 × 105 Ω cm2, which was 48 times greater than that of the uncoated 2024 Al alloy substrate. Also, the sample coated in the electrolyte with 5 g/L Na2HPO4·2H2O had the minimum corrosion resistance (1.69 × 104 Ω cm2) in comparison with the concentrations of 15 and 20 g/L.

Fig. 7
figure 7

Nyquist plots for 2024 Al alloy substrate and different coated samples after 2-h immersion in 3.5 wt.% NaCl solutions

Fig. 8
figure 8

EIS equivalent circuit of (a) 2024 Al alloy substrate and (b) PEO coating

Fig. 9
figure 9

Extracted data of the Nyquist plots for 2024 Al alloy substrate and different coated samples: (a) corrosion resistance of inner layer; (b) corrosion resistance of outer layer; (c) solution resistance

Potentiodynamic Polarization

The PEO process has an influence on corrosion from three main aspects as follows: (1) “retarding” effect, decelerating corrosive species ingress in the corrosion process; (2) “blocking” effect, limiting the substrate contact area with the surrounding solution; and (3) “passivation” effect, concealing defective/active substrate (Ref 31). The potentiodynamic polarization plots for uncoated 2024 Al alloy substrate and coated samples in 3.5 wt.% NaCl solutions at room temperature are shown in Fig. 10. The corrosion potential (Ecorr) and corrosion current density (icorr) values extracted from the potentiodynamic polarization plots are given in Fig. 11. While icorr shows the sample corrosion rate, Ecorr represents the thermodynamic tendency for corrosion (Ref 32). Though the corrosion potential (Ecorr) and the corrosion current density (icorr) are often considered to evaluate the specimens corrosion behavior, the corrosion current density has taken precedence over the corrosion potential (Ecorr) and is mainly used to determine the corrosion resistance. The lower corrosion current density indicates the higher corrosion resistance (Ref 33). Therefore, all coated samples, due to their lower corrosion current density, had higher corrosion resistance compared to the bare substrate. However, the corrosion potential of the coated sample in the electrolyte containing 5 g/L Na2HPO4·2H2O was more negative than that of the substrate. In fact, the exchange of electrical charges and the transference of the electrons on the surface of the samples are both decreased by the low electrical conductivity of Al2O3 coatings, necessary for electrochemical corrosion (Ref 34). In the current study, the thickness and porosity were the two vital elements in controlling the corrosion behavior of the coatings as the concentration of Na2HPO4·2H2O was the only investigated variable. Pitting corrosion is the main defect observed in alumina coatings in the NaCl solution. It could be concluded that considerable defects within the outer layer resulting from rapid melting and solidification during the discharge occurrence during the PEO process in the electrolyte are suitable paths for the aggressive Cl anions penetration causing corrosion. Accordingly, the fabrication of thicker coatings with denser and finer microstructures containing smaller pores can effectively enhance the corrosion resistance through the inhibition of Cl attack in the NaCl solution (Ref 35,36,37). Consequently, increasing the concentration of Na2HPO4·2H2O in the electrolyte (5-10 g/L) enhanced the coating uniformity and compactness, reduced the number and size of micropores, increased the coating thickness and, subsequently, improved the corrosion resistance. However, higher concentration of Na2HPO4·2H2O (up to 20 g/L), by increasing the coating thickness, would lead to a reduction in the corrosion resistance of the coating as the size and number of micropores would increase. Based on what has so far explained, no defects must be found in the coating including micro-cracks and porosities if we want to achieve higher corrosion properties (Ref 38). Therefore, the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O had the noblest corrosion potential (− 0.603 V) and the lowest corrosion current density (8.7 × 10−8 A/cm2) and, accordingly, displayed the best corrosion resistance. In this sample, the corrosion current density was about two orders lower than that of the uncoated 2024 Al alloy substrate. Indeed, the uniform compact coating of this study containing few cracks or porosities led to the great corrosion behavior of the sample, decreasing the dispersion of the destructive Cl anions to the Al substrate.

Fig. 10
figure 10

Potentiodynamic polarization curves of 2024 Al alloy substrate and different coated samples in 3.5 wt.% NaCl solutions

Fig. 11
figure 11

Analysis of data of potentiodynamic polarization curves for 2024 Al alloy substrate and different coated samples: (a) corrosion potential; (b) corrosion current density

Coating Phase Composition

Figure 12 displays the EDS analysis of two selected regions (shown in Fig. 3b) of the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O (the optimum concentration). Points A and B were related to the micropore and the surface of coating, respectively. Both EDS of the coating surface and micropore showed the peaks of Al relating to the 2024 Al alloy substrate, and O, Si and P elements coming from the electrolyte components (Na2HPO4·2H2O and Na2SiO3·5H2O). While the intensity of Al peak in the EDS of the region A (micropore) was more than that in the region B (surface), the Si and P peaks were more intense in the EDS of region B. This was due to the Al egress from where sparks produced and the electrochemical participation of Si and P in the reactions was assisted by micro-sparks resulting in their adsorption to the coating. In other words, conventionally, heat-affected zones and micro-arc discharging zones are both created throughout PEO treatment. These two zones are considered as the adsorption centers due to their high energy resulting from the super-high temperature. This causes the solute anions to be adsorbed in the surface of the coating (Ref 39). In order to evaluate the phase composition of the coating and to complete the EDS analysis, the XRD pattern of this sample is shown in Fig. 13. As can be seen, the coating was composed of α-Al2O3 and γ-Al2O3 phases, generally the main phases of the PEO coatings on Al and its alloys (Ref 40). The α-Al2O3 is a thermodynamically stable phase at all temperatures with a high melting point of 2050 °C and the hexagonal dense close-packed structure providing the highest stability. But the γ-Al2O3 is a metastable phase with face-centered cubic structure, which can be easily transformed to the α-Al2O3 at temperatures over 1000 °C (Ref 41,42,43). The following processes are commonly suggested for the in situ growth of the Al2O3 film formed on the aluminum alloy using MAO technique.

Fig. 12
figure 12

EDS spectra of the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O: (a) region A; (b) region B

Fig. 13
figure 13

XRD pattern of the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O

Cathode reaction:

$$ 2{\text{H}}^{ + } + 2{\text{e}} \to {\text{H}}_{2} \uparrow $$
(2)

Anode reaction:

$$ {\text{HPO}}_{4}^{2 - } + {\text{H}}_{2} {\text{O}} \to {\text{OH}}^{ - } + {\text{H}}_{2} {\text{PO}}_{4}^{ - } $$
(3)
$$ 4{\text{OH}}^{ - } \to 2{\text{H}}_{2} {\text{O}} + {\text{O}}_{2} \uparrow + 4{\text{e}} $$
(4)
$$ {\text{Al}} \to {\text{Al}}^{3 + } + 3{\text{e}} $$
(5)
$$ {\text{Al}}^{3 + } + 3{\text{OH}}^{ - } \to {\text{Al(OH)}}_{3} $$
(6)
$$ 2{\text{Al}}({\text{OH}})_{3} \to {\text{Al}}_{2} {\text{O}}_{3} + 3{\text{H}}_{2} {\text{O}} $$
(7)
$$ 2{\text{Al}}^{3 + } + 3{\text{SiO}}_{3} \to 3{\text{SiO}}_{2} + {\text{Al}}_{2} {\text{O}}_{3} $$
(8)
$$ 2{\text{Al}}^{3 + } + 3{\text{O}}^{2 - } \to {\text{Al}}_{2} {\text{O}}_{3} $$
(9)

Al3+ from the substrate reacts with OH and O2− in the electrolyte, and molten Al2O3 is consequently formed because of the higher voltage and temperature initiated by discharge sparks. Instantaneously, the molten Al2O3 throws out of the discharge channels and makes the ceramic coatings by suppressing the electrolyte with a high cooling rate (Ref 44). Furthermore, no trace of phosphorus-based crystalline phases was found in the XRD pattern in spite of the phosphate existence in the electrolyte. Also, because of the low thickness of the coating and the existence of porosity on its surface, x-ray could easily penetrate through the surface and as a result, diffraction peaks of Al substrate were detected in the XRD pattern.

Conclusion

In this study, the effects of disodium phosphate (Na2HPO4·2H2O) concentration on the microstructure and corrosion resistance of the alumina (Al2O3) PEO coatings on the surface of 2024 Al alloy were investigated. The obtained results are as follows:

  1. 1.

    The increase in the concentration of Na2HPO4·2H2O (5-20 g/L) in the electrolyte caused a decrease in the breakdown voltage and an increase in the conductivity, and as a result affected the coating morphology. Surface and cross-sectional morphologies of the coatings indicated that increasing the concentration of Na2HPO4·2H2O (5-10 g/L) in the electrolyte increased the compactness and uniformity of the structure and decreased the average size and the number of micropores. However, higher concentrations (10 to 20 g/L), despite increasing the thickness, resulted in the deterioration of the microstructure by increasing the average size and the number of micropores. Therefore, the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O (with 9.14 µm thickness) had the most uniform and compact structure with the lowest and smallest micropores (with the average size of 1.43 μm).

  2. 2.

    EIS tests of the uncoated 2024 Al alloy substrate and coated samples indicated that increasing the concentration of Na2HPO4·2H2O in the electrolyte (5-10 g/L) led to the improvement of corrosion resistance, and greater concentrations (10-20 g/L) reduced the corrosion resistance. Therefore, the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O presented the most corrosion resistance (4.574 × 105 Ω cm2). The corrosion resistance of this coating was 48 times greater than that of the uncoated 2024 Al alloy substrate. The results of the potentiodynamic polarization measurements exhibited that increasing the concentration of Na2HPO4·2H2O (5-10 g/L) in the electrolyte, due to an increase in the compactness and uniformity and a decrease in the porosity, enhanced the corrosion potential and reduced the corrosion current density of the coating. In addition, with more increased concentrations (up to 20 g/L), despite the formation of a thicker coating, the corrosion potential was dropped to more negative values and the corrosion current density of the coatings increased because of the porosity increment. Thus, the sample coated in the electrolyte with 10 g/L Na2HPO4·2H2O had the noblest corrosion potential (− 0.603 V) and the lowest corrosion current density (8.7 × 10−8 A/cm2) and as a result, better corrosion resistance among all samples. The corrosion current density of this coating was about two orders lower in comparison with the uncoated 2024 Al alloy substrate.

  3. 3.

    The EDS analysis of the two regions (surface and micropore) of the coated sample in the electrolyte with 10 g/L Na2HPO4·2H2O (optimum concentration) proved that both regions had Al, O, Si and P elements. The intensity of Al peak was higher and the intensity of Si and P elements peaks was lower in the micropore EDS compared to the coating surface. Also, the XRD pattern of this sample revealed that the coating was composed of α-Al2O3 and γ-Al2O3 phases.