1 Introduction

As a commercialized magnesium alloy [1,2,3,4], Mg–Al-Zn magnesium alloy has been widely used in automotive industry [5, 6], especially in engine cylinder block, inner frame of door, vehicle wheel, due to its low density, high specific strength, good shock absorption capabilities, and recyclability [7,8,9,10]. In addition, the rapid development of 5G communication has stimulated further requirements for lightweight materials, leading to a rapid growth in its applications. However, the applications of magnesium alloys were still limited due to its poor corrosion resistance [11,12,13]. For automotive products, they are mainly exposed to the atmospheric environment; therefore, it is necessary to improve their corrosion resistance.

Alloying is an important way to improve the corrosion resistance of magnesium alloys. Rare earth elements (such as Nd, Y, Zr, Ce) are regarded as one of the best candidates for alloying, vitally affect their purification of melt effect, and refine the grains to reduce the corrosion tendency effect etc. Nd is an effective element to improve the corrosion resistance of magnesium alloys. For example, Zhang et al. [14] demonstrated that Nd can refine the grain size, and the lowest corrosion rate (3.95 mg/cm2/day) occurs at 0.9% Nd content; further studies showed that higher potential of Al11Nd3 favor reducing the interfacial corrosion of α-Mg/NaCl solution effectively. Zhang et al. [15] found that the proper Nd addition is beneficial for the formation of the long period stacked ordered (LPSO) phase and Mg12Nd phase. The LPSO phase and Mg12Nd phase act as the cathode and the α-Mg phase as the anode in alloys, and with the addition of 0.5% Nd, the corrosion rate has the lowest value of 0.52 mm/year.

Heat treatment is another way to improve the corrosion resistance of magnesium alloys. For example, Yang et al. [16] reported that the corrosion rate of the alloy treated with T6 was lower than that of the as-cast alloy. Wang et al. [17] found that heat treatment changed the corrosion resistance of AZ91D alloy in the simulated body fluid (SBF) effectively; the configuration and size of the β-Mg17Al12 phase were the main factors affecting the corrosion rate of the alloy and acted as a barrier against corrosion. However, the effects of Nd element and heat treatment on the corrosion properties for AZ80 magnesium alloy are still open questions.

As a lightweight material, AZ80 magnesium alloy has great potential in automotive applications, but many researchers are committed to improving its mechanical properties [18,19,20]; as an external component, it is easy to corrode under the influence of external environment. Therefore, it is necessary to study the corrosion behavior and mechanism of AZ80 magnesium alloy. Few earlier works have studied the effect of single addition of Nd on the corrosion resistance of AZ80 magnesium alloy, and the effect of Nd on the heat-treated AZ80 magnesium alloy is even less. But, the corrosion mechanism of Nd on AZ80 magnesium alloy in medium has seldom been proposed. Therefore, the aim of this work is to investigate the effect of Nd element and heat treatment on the corrosion resistance of AZ80 alloy.

2 Experimental

2.1 Materials

The chemical compositions of the AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys are shown in Table 1.

Table 1 Chemical compositions of experimental alloys (wt.%)

2.2 Heat treatment process

Based on previous research, the solution treatment process of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys was performed at 420 °C for 12h, and the aging treatment was carried out at 175 °C for 28h of AZ80 alloy, 175 °C for 32h of AZ80-0.5% Nd, and 175 °C for 36h of AZ80-1.0% Nd, respectively.

2.3 Structural characterization

The microstructure and corrosion morphology of the as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloy samples were analyzed by scanning electron microscope (SEM, SU-1500) with energy-dispersive spectrometer (EDS). The phase analysis was performed with X-ray diffraction (XRD, D/max-rB-x X-ray diffractometer). After the mass loss measurement, the corroded samples were photographed, and the macroscopic corrosion morphology was observed.

2.4 Mass loss measurement

The corrosion rate of the alloy was measured by the static mass loss. The AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys were cut into Φ 30 × 7 mm sheet by wire cutting machine. After rough grinding, fine grinding, and polishing, the samples were dipped in an anhydrous ethanol (to ensure no water stain on the surface) and dried. The experiment was carried out in 3.5 wt.% NaCl solution, which was kept in a constant temperature water bath at 25 ± 0.5 °C for 72h, with 3 samples in each group. The ratio of solution volume to alloy sample surface area was 30 mL:1 cm2. Before the experiment, the sample was cleaned ultrasonically in absolute ethanol, dried, and weighed with analytical balance (the accuracy of analytical balance is 0.0001). After the experiment, the sample was taken out and rinsed with deionized water. The corrosion products on the sample surface was cleaned with chromic acid solution (200 g/L CrO3 + 10 g/L AgNO3) and then weighed. The average corrosion rate (V) of the alloy was calculated by Eq. (1):

$$\mathrm{V}=\left({\mathrm{W}}_{0}-{\mathrm{W}}_{1}\right)/\left(\mathrm{S}\cdot \mathrm{t}\right)$$
(1)

where W0 is the weight of the sample before immersion, W1 is the weight of the sample after immersion, S is the surface area of specimen, and t is the immersion time.

2.5 Electrochemical measurement

The electrochemical corrosion behaviors of the AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys in 3.5 wt.% NaCl solution were carried out using a Land CHI660E electrochemical system. It was characterized by both potentiodynamic polarization curve and electrochemical impedance spectrum (EIS). The experiment was carried out in a three-electrode system, in which the specimen with an exposed area of 1.1 cm2 acted as the working electrode, while the graphite electrode and saturated calomel electrode acted as the auxiliary electrode and the reference electrode, respectively. Before the experiment, the open circuit potential was operated for 1800s to make the sample stable in the solution. The scanning rate of polarization curve is 1 mV/s. The frequency range of impedance test was 0.01–100,000 Hz, and the amplitude was 5 mV. The impedance behavior was analyzed by the equivalent circuit and fitted by ZSimpwin software.

3 Results and discussion

3.1 Analysis on microstructures

Figure 1 shows the microstructures of the as-cast AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys. It can be seen from Fig. 1a that the microstructure of the as-cast AZ80 alloy is composed of primary α-Mg matrix and reticular β-Mg17Al12 phase distributed along the grain boundaries. With the addition of Nd element, the β-Mg17Al12 phase changed from coarse reticular structure to fine and discontinuous distribution, and a new phase occurs (Fig. 1b and c). It can be seen from Fig. 1b that the addition of 0.5% Nd not only refines the β-Mg17Al12 phase, but also reduces the number of β-Mg17Al12 phases, which is consistent with other results [18]. Moreover, many studies have shown that the as-cast microstructure of magnesium alloy can be obviously refined by adding appropriate amount of rare earth elements to Mg–Al-Zn alloy, which is mainly due to the formed Al-RE binary phase in the alloy [21]. However, with the increase of Nd content, the grain size of the alloy increases [22, 23]. These results show that proper amount of rare earth Nd can refine the microstructure of the alloy and improve the distribution of β-Mg17Al12 phase.

Fig. 1
figure 1

Optical microscope (OM) images of as-cast samples a AZ80; b AZ80-0.5% Nd; and c AZ80-1.0% Nd

The SEM images of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys in both as-cast and as-solution treated are shown in Fig. 2. It can be seen that there are many rod-shaped and block-shaped phases in the α-Mg matrix after the addition of Nd element to AZ80 alloy, and they increase with the increase of Nd content, as shown in Fig. 2c and e. This indicates that the addition of Nd element leads to the formation of new phases. The main reason is that the electronegativity difference between Mg and Nd is less than that between Al and Nd, so Nd will preferentially combine with Al to form Al-Nd compounds, which has been reported in the literature [24]. At the same time, it can be seen that the addition of 0.5% Nd not only refines the β-Mg17Al12 phase, but also reduces the number of β-Mg17Al12 phase.

Fig. 2
figure 2

SEM micrograph of samples a,b AZ80 F, T4; c,d AZ80-0.5% Nd F, T4; e,f AZ80-1.0% Nd F, T4

After solution treatment, it is found that the β-Mg17Al12 phase distributed along the grain boundaries is almost completely dissolved in the α-Mg matrix (Fig. 2b, d and f), and the Al-Nd compounds with high thermal stability are only partially dissolved (Fig. 2d, f). Many studies have shown that the β-Mg17Al12 phase plays a dual role in the corrosion process of Al-Zn magnesium alloys. On one hand, it acts as a cathode phase to accelerate the corrosion of the matrix; on the other hand, it acts as a barrier against corrosion [25]. Therefore, the solution treatment reduces the number of second phase, so that the corrosion rate of the as-solution treatment alloy is faster than that of the as-cast alloy.

EDS analysis (Fig. 2e) shows that the discontinuous phase (area A) consists mainly of Al; therefore, it may be Al-rich phase; both the rod-shaped phase (area B) and the block-shaped phase (area C) are mainly composed of Al and Nd. Therefore, it can be inferred that the rod-shaped phase and block-shaped phase are two different Al-Nd rare earth phases, as detailed in the XRD analysis. Wang et al. [26] pointed out that the new block-shaped Al2Nd phases are observed in the as-cast AZ80 microstructure after adding Nd element. The results indicated that the addition of Nd not only led to the formation of new phases but also changed the microstructure of AZ80 alloy. Li et al. [27] studied the effects of different contents of rare earth Nd on the as-cast microstructure and corrosion resistance of AZ80 magnesium alloy. It is found that Al3Nd phase is formed after adding Nd, and the proper amount of Nd can effectively improve the corrosion resistance of AZ80 alloy.

Figure 3 shows the XRD patterns of as-cast and as-solution treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys, respectively. The as-cast AZ80 magnesium alloy consisted of the α-Mg and β-Mg17Al12 phases. With the addition of Nd, an additional peak corresponding to the formation of the Al3Nd and Al2Nd phases appeared in the XRD patterns of AZ80-Nd alloy (Fig. 3a). When the Nd content was increased from 0.5 to 1.0 wt.%, the peak intensity of both Al3Nd and Al2Nd phases was slightly increased, which indicates that the number of Al-Nd binary phase increases with the increase in the Nd content.

Fig. 3
figure 3

XRD patterns of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys: a as-cast and b as-solution treatment

After solution treatment (Fig. 3b), the β-Mg17Al12 phase can hardly be detected. This indicates that the β phase is completely dissolved in the α-Mg matrix. This is consistent with the previous microstructural analysis. In addition, from the X-ray diffraction analysis results of the as-solution treated AZ80-Nd alloy, it can be seen that the Al3Nd phase keeps its diffraction peaks, while the Al2Nd phase is not detected. This is due to the limited amount of Nd element added and the partial solid solubility of Al-Nd compounds in the magnesium matrix.

The hardness of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys change with time at 175 ℃ is shown in Fig. 4. It can be seen that with the increase in aging time, the hardness of the alloy first increases to the peak and then enters the over aging stage, and the hardness value decreases. The main reason is the diffusion of aluminum atoms towards the grain boundaries to form β-Mg17Al12 precipitate. This indicates that precipitation of β-Mg17Al12 phase from supersaturated α-Mg solid solution increases continuously with the aging treatment. In addition, studies have shown that the β-Mg17Al12 phase precipitates from the supersaturated α-Mg solid solution in two forms: discontinuous precipitation and continuous precipitation. With the extension of aging time, discontinuous precipitation stops, and continuous precipitation continues to increase [28]. Clark et al. [29] reported that aging treatment after solid solution will cause the β-Mg17Al12 phase previously dissolved in the matrix to precipitate again. Moreover, during aging treatment, the number of β-Mg17Al12 phases increases and becomes uniform and fine. In conclusion, with the increase of aging time, β-Mg17Al12 phase increases continuously and becomes finer and distributed more uniformly. It can effectively pin the movement of dislocation and increase the dislocation resistance. It plays the role of second phase strengthening and dispersion strengthening, resulting in the obvious increase of the hardness of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys. Entering the over aging stage, as the β-Mg17Al12 phase continues to precipitate and gradually becomes coarser, the hardness of the alloy decreases, which is consistent with the results of Zhao and Kim et al. [30, 31]. In addition, it can be observed from Fig. 4 that the hardness of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys reach the peak at 28h (75.8 HB), 32h (76.7 HB), and 36h (78 HB), respectively. Moreover, the peak hardness of the alloy increases with the addition of rare earth Nd. The Nd element added to AZ80 alloy promotes the formation of Al2Nd and Al3Nd phases. After aging treatment, Nd- phase is dispersed in the alloy as the second phase strengthening agent. The newly formed rare earth phase particles will cause lattice distortion, resulting in a large number of dislocations. Therefore, the hardness of the alloy increases. However, after peak aging, the second phase formed in the alloy gradually coarsens with the increase of the number, which makes the structure of the alloy become uneven and the hardness of the alloy decreased.

Fig. 4
figure 4

Hardness of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys aged at 175 °C

The XRD patterns of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys after aging at 175 °C are shown in Fig. 5. It can be found that the precipitated phase of aged AZ80 alloy is β-Mg17Al12 phase, and the Al3Nd and Al2Nd are detected with the addition of Nd. The results show that the β-Mg17Al12 phase and Al3Nd and Al2Nd phases precipitate again after aging treatment.

Fig. 5
figure 5

XRD patterns of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys after aging treatment

3.2 Analysis on corrosion morphology and corrosion products

3.2.1 Macro-morphology

Figure 6 shows the macro-morphologies of the as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys immersed in 3.5 wt.% NaCl solution for 3 days. By observing the macro-morphologies of the samples, it is found that the effect of heat treatment on the corrosion behavior of the three alloys with different Nd content is the same. For the as-cast alloy, the alloy surface shows the local corrosion after immersion, and there are many pitting and corrosion pits. For the as-solution treatment alloy, the reticulated β-Mg17Al12 phase at the grain boundaries is dissolved in the α-Mg matrix, which reduces the hindrance to the alloy corrosion. Therefore, the as-solution treatment alloy is more prone to corrosion and covered with a large amount of corrosion products. For the aged alloy, the β-Mg17Al12 phase and Al-Nd binary phase re-precipitated along the grain boundaries and within the grains, respectively, which slows down the corrosion rate of the alloy.

Fig. 6
figure 6

Macro-pictures of sample after immersion in 3.5 wt.% NaCl solution: a,b,c F, T4, and T6 of AZ80, d,e,f F, T4, and T6 of AZ80-0.5%Nd, g,h,i F, T4 and T6 of AZ80-1.0%Nd

With the addition of 0.5% Nd, the surface corrosion degree of the as-cast and heat-treated alloys is decreased. Although the pitting also occurs in the localized areas, the corrosion products on the alloy surface are decreased, and the corrosion is lighter. However, when the content of Nd rises to 1.0 wt.%, the corrosion resistance of the alloy is decreased. This is due to the gradual coarsening of the microstructure of the alloy with the continuous increase of Nd content. The results show that under different conditions, the corrosion resistance of the same alloy is AZ80-xNdT6 > AZ80-xNdF > AZ80-xNdT4; under the same conditions, the corrosion resistance of different alloys is AZ80-0.5%Nd > AZ80-1.0%Nd > AZ80.

3.2.2 SEM analysis

Figure 7 shows the SEM images of the as-cast and heat-treated AZ80 magnesium alloys after immersion in 3.5 wt.% NaCl solution for 3 days. Figure 8 shows the SEM image of the as-cast and heat-treated AZ80 alloys after cleaning corrosion products. As shown in Fig. 7a and Fig. 8a, there are corrosion pits on the surface of as-cast AZ80 magnesium alloy, and a large number of corrosion products cover the surface of the alloy. It can be seen from Fig. 7b1 that the corrosion product films formed on the surface of the as-solution treatment alloy is sparse, making it difficult to prevent Cl from entering the matrix. Therefore, there are many large and deep corrosion pits on the surface of as-solution treatment AZ80 alloy (Fig. 8b), and finally severe localized corrosion is formed on the surface of the alloy. As can be seen from Fig. 7c1, the corrosion product adheres to the surface of the aged alloy layer by layer, forming a compact corrosion product film, which can effectively restrain the occurrence of corrosion, so the corrosion rate of the aged alloy is decreased. Compared with the as-solution treatment and the as-cast AZ80 alloy, the corrosion of aged AZ80 alloy is the lightest, and the corrosion pits on the surface are the smallest and the least (Fig. 8c).

Fig. 7
figure 7

SEM images of sample after immersion in 3.5 wt.% NaCl solution for 3 days AZ80 (a) F, (b) T4, (c) T6; (right is a local magnification)

Fig. 8
figure 8

SEM images of sample after immersion in 3.5 wt.% NaCl solution for 3 days (after cleaning the corrosion products) AZ80 a F, b T4, c T6

Figure 9 shows the SEM images of the aged AZ80-0.5%Nd magnesium alloys after immersion in 3.5 wt.% NaCl solution for 3 days. With the addition of 0.5%Nd, there is an obvious corrosion-free area on the aged AZ80-0.5%Nd alloy surface, and the corrosion product is the densest. The addition of Nd leads to the appearance of Nd2O3 on the corrosion products of the alloy and forms a dense corrosion product layer on the alloy surface together with magnesium hydroxide. It can effectively restrain the penetration of Cl and the occurrence of micro-corrosion on the alloy surface and thereby reduces the corrosion rate of the alloy. This result was also confirmed by Yin, Gu, and Song et al. [32,33,34].

Fig. 9
figure 9

SEM images of sample after immersion in 3.5 wt.% NaCl solution for 3 days aged AZ80: a T6; b local magnification

In summary, AZ80 magnesium alloys with different neodymium contents show pitting after immersion in 3.5 wt.% NaCl solution for 3 days. Moreover, the as-solution treatment AZ80 alloy is corroded most seriously, and the aged AZ80-0.5%Nd alloy is corroded least severely.

3.2.3 XRD analysis

Figure 10 shows the XRD spectra of corrosion products of the aged AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys immersed in 3.5 wt.% NaCl solution for 3 days. From the intensity of the diffraction peaks of the materials, it can be seen that the corrosion products of three alloys mainly consist of α-Mg and Mg(OH)2. In addition, a small amount of Mg2(OH)3Cl·H2O, MgO and MgAl2O4 was detected. With the addition of Nd, the MgH2 and Nd2O3 were found in the corrosion products. The formation of MgH2 reduces the hydrogen evolution, which slows down the cathodic reaction. Thus, the corrosion resistance of the AZ80-Nd alloy is improved.

Fig. 10
figure 10

XRD patterns of corrosion products of the aged AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys

3.3 Mass loss measurement

Figure 11 shows the average corrosion rate estimated by weight loss tests for the as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys after immersion in a 3.5 wt.% NaCl solution for 3 days. It can be found that under the same conditions, the corrosion rate of AZ80-Nd alloy is markedly lower than that of AZ80 alloy. However, when the rare earth Nd content is increased to 1.0 wt.%, the corrosion rate of the alloy is slightly higher than that of AZ80-0.5%Nd alloy. The results show that the addition of proper amount of rare earth Nd can improve the corrosion resistance of AZ80-xNd alloy, but too much rare earth Nd will adversely affect the corrosion resistance of the alloy. This remarkable improvement can be attributed to the Al2Nd and Al3Nd phases formed within the grain. Because the potential difference between Al-Nd phase and matrix is smaller than that of β-Mg17Al12 phase, so the galvanic corrosion in AZ80-Nd alloys is reduced. Especially with the addition of 0.5% Nd, the formation of the Al2Nd and Al3Nd phases improves the stability of the passive film on the alloy surface, thus slowing down the corrosion and reducing the corrosion rate of the alloy. The experimental results show that the three alloys have similar corrosion regularities under different heat treatment processes, that is, VT6 < VF < VT4. As can be seen from Fig. 11, the as-solution treatment AZ80 alloy has a maximum corrosion rate of 14.12 mg/cm2/day, and the aged AZ80-0.5%Nd alloy has a minimum corrosion rate of 3.2 mg/cm2/day.

Fig. 11
figure 11

Average corrosion rates of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys estimated by weight loss tests

3.4 Electrochemical measurement

3.4.1 Polarization measurement

Figure 12 shows the polarization curves of as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) magnesium alloys measured in 3.5 wt.% NaCl, and the fitting results are shown in Table 2. It can be seen that with the addition of Nd, the corrosion potential of AZ80-Nd alloy first increased and then decreased, and the corrosion current density first decreased and then increased. AZ80-0.5%Nd alloy has the maximum corrosion resistance and the minimum corrosion current density under the same conditions, which indicates that its corrosion tendency is low and the corrosion rate is small. This is because the addition of Nd reduces the content of β-Mg17Al12 phase and weakens the potential difference between the second phase and matrix. Therefore, the micro-galvanic corrosion of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys is weakened, so that the corrosion rate of the alloy is decreased. Meanwhile, it can be seen from Table 2 that the aged AZ80-0.5%Nd alloy exhibited a minimum corrosion current density of 5.095 × 10−5 A/cm2, so the corrosion resistance is the best. This is consistent with the results of weight loss measurement.

Fig. 12
figure 12

Polarization curves of as-cast and heat-treated samples in 3.5 wt.% NaCl a AZ80; b AZ80-0.5% Nd; c AZ80-1.0% Nd

Table 2 Fitting results of polarization curves of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys

3.4.2 EIS measurement

The EIS Nyquist plots of as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys are depicted in Fig. 13. Two constants can be observed from Fig. 13: a high-frequency capacitive loop and a low-frequency inductance loop, which indicates that pitting may occur. It can be seen that for the same alloy, the capacitor diameter of the as-solution treatment alloy is the smallest and that of the aged alloy is the largest. Moreover, the high-frequency capacitor arc diameter is first increased and then decreased with the addition of Nd element, and the high-frequency capacitor arc diameters of AZ80-0.5%Nd alloy is the largest. Generally speaking, the arc size observed in the impedance spectrum shows the corrosion resistance of the material, and a large arc diameter indicates a high corrosion resistance. Therefore, the corrosion resistance of aging AZ80-0.5%Nd alloy is the highest.

Fig. 13
figure 13

EIS patterns of as-cast and heat-treated samples in 3.5 wt.% NaCl a AZ80; b AZ80-0.5%Nd; c AZ80-1.0%Nd

The equivalent circuit and fitting parameters of the studied alloys are shown in Fig. 14 and Table 3, respectively. In this equivalent circuit, Rs is the solution resistance, CPEdl is the double layer capacitance, Rt is the charge transfer resistance, L is inductance, and RL is the resistance of inductance. It can be seen from Table 3 that for the same condition, the Rt value is first increased and then decreased with the addition of Nd; for the same alloy, the Rt value of the alloy is decreased after solution treatment and increased after aging treatment. Thus, the aged AZ80-0.5% Nd alloy has the best corrosion resistance. This is consistent with the results discussed above in mass loss measurement (Fig. 11) and polarization curves measurement (Fig. 12 and Table 2).

Fig. 14
figure 14

Equivalent circuit used for fitting the EIS of as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys

Table 3 Fitting parameters obtained from EIS date of as-cast and heat-treated AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys

4 Corrosion mechanism of alloys

4.1 The effect of second phase on corrosion rates

The corrosion rate of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys is affected by the type, shape, and distribution of the second phase and the potential difference between the second phase and the matrix. From the above analysis, it can be seen that the reticular β-Mg17Al12 phase in the as-cast AZ80 magnesium alloy is distributed along the grain boundaries. The results show that it acts as a cathode to form galvanic corrosion with α-Mg matrix, thus accelerating the corrosion rate of the matrix. For the as-cast alloy, after adding 0.5% Nd to the alloy, rare earth Nd is combined with Al to form new rare earth binary phase (rod-shaped Al3Nd phase and block-shaped Al2Nd phase), which not only reduces the volume fraction of the β-Mg17Al12 phase, but also refines the β-Mg17Al12 phase. This is because the difference of electronegativity between Nd and Al is larger than that of between Al and Mg [18, 24], Nd will preferentially combine with Al to form Al3Nd and Al2Nd phases. Moreover, the potential of Al-RE binary phase is more negative than that of β-Mg17Al12 phase, so the potential difference between the Al-Nd phase and matrix is less than that between β-Mg17Al12 phase and matrix [35]. This reduces the driving force of galvanic corrosion in the alloy, so the corrosion resistance of AZ80-0.5%Nd alloy is improved. However, with the continuous addition of Nd, the content of Al is decreased significantly, and Al depletion or enrichment occurs in the local areas, which greatly reduces the corrosion resistance of AZ80 magnesium alloy [36, 37]. Therefore, the corrosion rates of as-cast AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloys are V0.5Nd < V0Nd < V1Nd.

The effect of heat treatment on the corrosion resistance of the alloy is largely determined by its effect on the distribution of the second phase in the alloy. For AZ80 alloy, almost all of the β-Mg17Al12 phase is dissolved in the α-Mg matrix after solution treatment, as shown in Fig. 2b. Although the reduction of β-Mg17Al12 phase is beneficial to avoid the formation of microbattery [38], the corrosion of magnesium alloy preferentially occurs in the poor aluminum area of α-Mg matrix. At the same time, due to the decrease of β-Mg17Al12 phase, the protective effect of the second phase on the matrix is weakened, so that the corrosion rate of AZ80 alloy is increased. It is generally believed that aging treatment leads to the precipitation of β-Mg17Al12 phase along the grain boundaries, which is beneficial to improve the corrosion behavior of magnesium alloy. This is because aging treatment cause the precipitation of many fine precipitates and some continuous β-Mg17Al12 phases in the supersaturated solid solution of magnesium alloy, which increases the content of Al in α-Mg matrix. Meanwhile, the precipitation of β-Mg17Al12 phase forms an effective physical barrier of corrosion, so the corrosion resistance of AZ80 magnesium alloy is improved. For AZ80-Nd alloy, except for β-Mg17Al12 phase, the Al-Nd binary phase is also dissolved in the matrix after solution treatment. However, due to the lower solid solubility of Nd in magnesium alloy, Al3Nd phase still exists in AZ80-Nd alloy after solution treatment, as shown in Figs. 2d–f, and 3b. Therefore, after solution treatment, the corrosion resistance of Nd-containing alloy is better than that of AZ80 alloy. Aging treatment leads to the re-precipitation of β-Mg17Al12 phase and Al-Nd binary phase in AZ80-Nd alloy, as shown in Fig. 5. Therefore, it can not only effectively restrain the corrosion of the alloy, but also promote the formation of Al, RE oxide and hydroxide, so the corrosion resistance of the alloy is improved [39, 40].

Given all that, the corrosion rate of the same alloy after different heat treatment is VT6 < VF < VT4, and the corrosion rate of the three alloys under the same condition is V0.5Nd < V0Nd < V1Nd.

4.2 Corrosion Behavior of AZ80 and AZ80-Nd alloy

Combined with the microstructure, corrosion morphology, and corrosion rate of the as-cast and heat-treated alloys under different conditions, the schematic diagrams of corrosion mechanism are shown in Figs. 1518 for the AZ80 and AZ80-Nd alloy. According to the change of corrosion rate and corrosion morphology under different immersion time, the corrosion process can be mainly divided into four stages, i.e., stage I (Figs. 15a–18a), initial corrosion; stage II (Figs. 15b–18b), film falling off and corrosion products generates; stage III (Figs. 15c–18c), corrosion extension; and stage IV(Figs. 15d–18d), late stage of corrosion.

Fig. 15
figure 15

Schematic of the corrosion mechanism for the as-cast AZ80 alloy in 3.5 wt.% NaCl solution a stage I; b stage II; c stage III; d stage IV

The schematic of the corrosion mechanism for the as-cast AZ80 alloy in 3.5 wt.% NaCl solutions is shown in Fig. 15. At the stage I (Fig. 15a), the presence of corrosive Cl ions will cause rapid corrosion of matrix and formation of a corrosion product layer of Mg (OH) 2 on the surface. With the corrosion going on, the corrosion of alloy enters the stage II (Fig. 15b). Because the Mg(OH)2 corrosion layer is sparse and porous, the matrix will be continuously eroded by Cl, which causes the Mg(OH) 2 corrosion layer fall off from the matrix surface and corrosion pits appear. Therefore, the corrosion rate of the alloy is gradually increased, and new Mg(OH)2 corrosion products are formed continuously. In addition, there is a micro-galvanic couple (β-Mg17Al12 /α-Mg) at the interface between AZ80 alloy and electrolyte, which leads to a high corrosion rate near the second phase. Thus, the local corrosion mainly occurs near the crude β-Mg17Al12 phase, as shown in Fig. 15c (the stage III). As can be seen from Fig. 15d (the stage IV), with the immersion time continuously increasing, the corrosion product layer on the surface of AZ80 alloy gradually is thickened, so that the average corrosion rate of AZ80 alloy gradually is decreased and tends to be stable. Compared with the as-cast AZ80 alloy, the corrosion mechanism of aged AZ80 alloy in 3.5 wt.% NaCl solution is similar to the as-cast AZ80 alloy. However, the main difference between them is that the distribution of the β-Mg17Al12 phase is more uniform for the aged AZ80 alloy, forming a continuous corrosion barrier layer. Therefore, the corrosion resistance of aged AZ80 alloy is increased compared with that of as-cast AZ80 alloy.

The schematic of the corrosion mechanism for the as-cast AZ80-Nd alloy in 3.5 wt.% NaCl solution is shown in Fig. 16. It can be seen that with the addition of Nd, the β-Mg17Al12 phase becomes finer and more uniform, and the Al3Nd and Al2Nd phases are formed. Besides sparse porous Mg (OH)2 film, dense Nd2O3 oxide film appears on the surface of AZ80-Nd alloy at the stage I (Fig. 16a). The formation of Nd2O3 increases the local positive charge by substituting the magnesium cation. The increased positive charge is assumed to be balanced by trapped anions in the porous magnesium hydroxide layer [41]. Therefore, Mg(OH)2 and Nd2O3 corrosion product layers on the surface of AZ80-Nd alloy have dual protection for the matrix and can effectively inhibit the penetration of harmful chloride ions, so as to suppress the further corrosion of the alloy. Moreover, the formation of MgH2 hinders the occurrence of hydrogen evolution and slows down the process of cathodic reaction; thus the corrosion resistance of the alloy is improved. In the stage II, the film falling off become less with the addition of Nd, and only a small amount of corrosion products appears on the alloy surface. In general, the rare earth binary phase shows active potential. In this experiment, the addition of Nd significantly reduced the proportion of β-Mg17Al12 phase and promoted the formation of Al-Nd binary phase with more active potential, which reduces the micro-corrosion caused by its coupling with anode Mg substrate; thus the corrosion rate of AZ80-Nd alloy is reduced. Compared with as-cast AZ80 alloy, AZ80-Nd alloy shows the phenomenon of lighter corrosion and less corrosion pits, as Fig. 16b and c. Finally, as-cast AZ80-Nd alloy presents localized corrosion character (Fig. 16d). Moreover, the corrosion mechanism of the aged AZ80-Nd alloy in 3.5 wt.% NaCl solution is similar to as-cast alloy.

Fig. 16
figure 16

Schematic of the corrosion mechanism for the as-cast AZ80-Nd alloy in 3.5 wt.% NaCl solution a stage I; b stage II; c stage III; d stage IV

Figure 17 shows the corrosion mechanism of as-solution treatment AZ80 alloy in 3.5 wt.% NaCl solution. As shown in Fig. 17a, almost all of β-Mg17Al12 phases in AZ80 alloy dissolved in the matrix. The dissolution of β-Mg17Al12 phase reduced the resistance of the second phase to matrix corrosion. Therefore, there are not only a large number of corrosion products accumulated on the surface of the alloy (Fig. 17b), but also corrosion will go deep into the matrix, so many deep corrosion pits are formed (Fig. 17c). In addition, Cl in the solution will convert Mg (OH)2 into soluble MgCl2, which makes the magnesium matrix become more active and the effective area of the matrix decreases. As a result, the magnesium matrix is further dissolved, and the surface of the magnesium alloy appears the severe local corrosion (Fig. 17d). Compared with the as-cast AZ80 alloy, the corrosion resistance of the as-solution treatment AZ80 alloy is reduced.

Fig. 17
figure 17

Schematic of the corrosion mechanism for the as-solution treatment AZ80 alloy in 3.5 wt.% NaCl solution a stage I; b stage II; c stage III; d stage IV

Figure 18a–d shows the corrosion mechanism of as-solution treatment AZ80-Nd alloy in 3.5 wt.% NaCl solution. The difference between the as-solution treatment AZ80-Nd alloy and AZ80 alloy is that the Al3Nd phase is not completely dissolved in the matrix after solution treatment. Therefore, the formed corrosion layers of Mg (OH)2 and Nd2O3 on the surface of the alloy can protect the matrix, so the as-solution treatment AZ80-Nd alloy exhibits a slight localized corrosion.

Fig. 18
figure 18

Schematic of the corrosion mechanism for the as-solution treatment AZ80-Nd alloy in 3.5 wt.% NaCl solution a stage I; b stage II; c stage III; d stage IV

5 Conclusions

  1. 1.

    With the addition of rare earth Nd, new rod-shaped Al3Nd and block-shaped Al2Nd phases are formed in the as-cast alloy. This not only restrains the formation of β-Mg17Al12 phase, but also transforms β-Mg17Al12 phase from coarse reticular structure to fine and discontinuous distribution. Therefore, the corrosion resistance of AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloy is improved.

  2. 2.

    With 0.5%Nd addition, the grains of the as-cast AZ80 alloy are effectively refined. However, when the content of Nd is 1.0 wt.%, the grain size coarsens remarkably. In addition, with the increase of Nd content, the content of Al-Nd binary phase in the alloy is increased gradually, which increases the galvanic corrosion between the matrix and the second phase, so the corrosion rate of the alloy is increased. As a result, the proper amount of Nd can not only refine the grain structure of the alloy, but also effectively restrain the occurrence of micro-galvanic corrosion, so the corrosion resistance of the alloy is improved.

  3. 3.

    Compared with the aged AZ80 alloy, except for Mg (OH)2, Nd2O3 is the new corrosion products existing in the AZ80-Nd alloy. The dense Nd2O3 oxide film can more effectively restrain the penetration of Cl, so the corrosion rate of the alloy is reduced.

  4. 4.

    After solution treatment, due to the limited content of Nd and the low solubility of Al-Nd binary phase in AZ80-xNd (x = 0, 0.5, and 1.0 wt.%) alloy, the Al3Nd phase is partially dissolved. The results show that solid solution treatment reduces the hindrance of β-Mg17Al12 phase and Al-Nd binary phase to matrix corrosion, so that the corrosion rate of as-solution treatment alloy is higher than that of as-cast alloy.

  5. 5.

    After aging treatment, the β-Mg17Al12 and Al-Nd binary phase are dissolved in the matrix re-precipitated, and the β-Mg17Al12 phase is uniformly and finely distributed in the matrix, so the corrosion resistance of aged alloy is obviously higher than that of the as-cast and as-solution treatment alloys. Finally, AZ80-0.5%Nd alloy shows the best corrosion resistance.