Effect of Er on Microstructure and Corrosion Behavior of Al–Zn–Mg–Cu–Sc–Zr Aluminum Alloys

In this study, the influence of Er addition on the microstructure, type transformation of second phases, and corrosion resistance of an Al–Zn–Mg–Cu alloy were explored. The results revealed that the added Er element could significantly refine the alloy grains and change the second-phase composition at the grain boundary of the alloy. In the as-cast state, the Er element significantly enhanced the corrosion resistance of the alloy due to its refining effect on the grains and second phases at the grain boundary. The addition of the alloying element Er to the investigated alloy changed the type of corrosion attack on the alloy’s surface. In the presence of Er, the dominant type of corrosion attack is pitting corrosion, while the alloy without Er is prone to intergranular corrosion attack. After a solution treatment, the Al8Cu4Er phase was formed, in which the interaction with the Cu element and the competitive growth relation to the Al3Er phase were the key factors influencing the corrosion resistance of the alloy. The anodic corrosion mechanism of the Al8Cu4Er and Al3Er phases evidently lowered the alloy corrosion rate, and the depth of the corrosion pit declined from 197 μm to 155 μm; however, further improvement of corrosion resistance was restricted by the morphology and size of the Al8Cu4Er phase after its formation and growth; therefore, adjusting the matching design of the Cu and Er elements can allow Er to improve the corrosion resistance of the Al–Zn–Mg–Cu aluminum alloy to the greatest extent.


Introduction
In the aerospace field, the 7xxx series aluminum alloy has been widely applied due to its high strength, high modulus, and low density; however, its corrosion resistance is not ideal, which seriously restricts the safe use of this alloy series [1][2][3]. Adding a trace amount of rare earth and transition elements can markedly refine the grains, improve the dendritic segregation, and enhance the corrosion resistance of the alloy [4][5][6][7]. Sc can achieve a more obvious effect because, once added, it contributes to the formation of primary and secondary Al 3 Sc phases. These phases not only serve as the core of heterogeneous nucleation to refine the grains and improve the segregation, but also effectively impede the migration of dislocations and sub-boundaries and strengthen the comprehensive mechanical properties of the alloy [8][9][10]; however, Sc cannot be extensively applied to industrial production because of its very high cost. Al 3 Er is generated by Erbium, which is cheaper than Sc. In an aluminum alloy, it is an LI 2 -type compound similar to Al 3 Sc, belongs to the Pm3m space group (AuCu 3 crystal structure), has a good coherent relationship with the matrix, and can be used as an effective strengthening phase for the alloy. Moreover, it can effectively stabilize the substructures and repress the recrystallization and is therefore regarded as an ideal substitute for Sc [11][12][13][14][15]. Many scientific researchers have found that the grains can be refined and the corrosion resistance of the 7xxx aluminum alloy can be enhanced by adding a trace amount of Er into it [16,17]. The refining effect of Er on the alloy is mainly derived from the primary and secondary phases of Al 3 Er; however, Er also generates large insoluble Al 8 Cu 4 Er phases when combined with Cu in the alloy. Such phases serve as initial corrosion points, which degrade the corrosion resistance of the alloy [18][19][20][21][22]; however, the formation and the interaction of the Al 3 Er and Al 8 Cu 4 Er phases in the Er addition process has been rarely investigated.
Investigations in this study were performed with a self-made high-strength Al-Zn-Mg-Cu alloy with and without the addition of different amounts of Er. By adding variable amounts of the Er element we emphasize the study of the existing form of Er, the formation of Er-containing phases, and the internal relations between the alloy's elements. Finally, the influence of phase evolution on the corrosion resistance of the alloy is described.

Materials and Methods
The alloy ingot used in this experiment was prepared by a traditional metal mold casting process. High purity Al (99.9 wt.%), Zn (99.9 wt.%), Mg (99.9 wt.%), and Al-50Cu (wt.%), Al-20Er (wt.%), Al-2Sc (wt.%), and Al-5Zr (wt.%) master alloys were added to prepare the alloys. The actual chemical compositions were detected by an XRF-1800 X-ray fluorescence spectrometer (Shimadzu, Kyoto, Japan), and are shown in Table 1 and denoted by #1, #2, #3, and #4, with Er content of 0, 0.10, 0.18, and 0.41 wt.%, respectively. A well resistance furnace (SG-5-10) was used for smelting, and an iron mold and graphite crucible were also used in the process. During the smelting process, the stirring, refining, and pouring temperatures were kept in the range of 720 • C to 740 • C. In order to ensure the accuracy of the experiment, samples from the same position were selected for the next step. Afterwards, the as-cast ingots were treated with a two-stage solution (400 • C/4 h + 470 • C/48 h) and the water was left to cool.
Subsequently, the samples were tested for intergranular corrosion (IGC) according to the GB/T 7998-2005 standard. During tests, the samples were immersed in the corrosive medium of a 10 mL/L H 2 O 2 and NaCl (57 g/L) solution for 6 h at 35 ± 2 • C. The sizes of the tested samples were 10 × 10 × 20 mm. After the IGC tests, the tested samples were mounted for protection and 5 mm was ground off along the length of each sample. The maximum depths of the IGC tests were analyzed by optical metallography (OM, LEICA DMi8).
Open-circuit potential (OCP) tests were performed on a Gamry reference 600 electrochemical workstation for 540 s to establish an approximate steady state. Following this, potentiodynamic polarization tests were performed from a starting potential of −1.1 V SCE to an end potential of −0.7 V SCE , with a scan rate of 1 mVs −1 . The electrochemical tests were performed in a 3.5%NaCl solution at room temperature. The samples used in the test were at a solid solution state and were ground with SiC sandpaper and flannel polished before testing. The exposed area for the working electrode was 1 cm 2 , and the electrolyte was 300 mL. Three tests were performed for each sample condition to investigate the accuracy of the results.
An X-ray diffractometer (XRD, D8 Advance, Billerica, MA, USA) with Cu-Kα radiation was used for phase analysis of the as-cast and solid solution alloys. The microstructures were analyzed using electron probe microscopy (EPMA, JXA-8530F PLUS, Tokyo, Japan), operating at 15 kV. The second-phase compositions and micro-element distributions were analyzed by wavelength dispersive spectrum (WDS). Image-Pro Plus software was used to analyze the volume fraction of the second phase.

As-Cast and Solid Solution-State Microstructural Characteristics of Alloy
The backscattered electron images (BSE) of as-cast alloys with differing Er contents are shown in Figure 1. The figure indicates that the dendritic structure played a dominant role among the alloys, with four types of composition. As the Er content was increased, the refiningcoarsening-refining evolutionary features were presented (as highlighted in red). In the #2 and #4 alloys containing 0.1% and 0.4% of added Er element, the overall structure was refined, the dendrite spacing was reduced, and the dendritic segregation was relieved, which is consistent with reports by other scholars [19]. Furthermore, the continuous grain boundary phases in the original #1 alloy gradually disappeared. In the #3 alloy containing 0.2% of added Er, the overall structural characteristics were basically consistent with those in the #1 alloy; however, the continuity of second phases was weakened to a certain extent. Japan), operating at 15 kV. The second-phase compositions and micro-element distribu tions were analyzed by wavelength dispersive spectrum (WDS). Image-Pro Plus software was used to analyze the volume fraction of the second phase.

As-Cast and Solid Solution-State Microstructural Characteristics of Alloy
The backscattered electron images (BSE) of as-cast alloys with differing Er contents are shown in Figure 1. The figure indicates that the dendritic structure played a dominan role among the alloys, with four types of composition. As the Er content was increased the refining-coarsening-refining evolutionary features were presented (as highlighted in red). In the #2 and #4 alloys containing 0.1% and 0.4% of added Er element, the overal structure was refined, the dendrite spacing was reduced, and the dendritic segregation was relieved, which is consistent with reports by other scholars [19]. Furthermore, the continuous grain boundary phases in the original #1 alloy gradually disappeared. In the #3 alloy containing 0.2% of added Er, the overall structural characteristics were basically consistent with those in the #1 alloy; however, the continuity of second phases was weakened to a certain extent. The BSE images of solid-solution-state alloys containing differing Er contents are presented in Figure 2. After the solid-solution treatment of the alloy, a large number o second phases at the original grain boundary disappeared in the solid solution, and un dissolved second phases were left at the grain boundary to different degrees. The sec ond-phase distribution shows that the alloy grains could be effectively refined by adding the Er element; this was most evident in the #4 alloy, which contained 0.4% Er. We cal culated the proportions of the second phase using the Image-Pro analysis software; these were 0.56%, 0.91%, 0.97%, and 1.39%, respectively. By combining Figures 1 and 2, we find that although the quantity of second phases at the grain boundary was reduced greatly after the Er addition, some insoluble phases were also generated. The quantity of residua second phases in the #2 alloy containing 0.1% Er was obviously increased. Moreover, the quantity of residual second phases changed minimally under different Er contents, and The BSE images of solid-solution-state alloys containing differing Er contents are presented in Figure 2. After the solid-solution treatment of the alloy, a large number of second phases at the original grain boundary disappeared in the solid solution, and undissolved second phases were left at the grain boundary to different degrees. The second-phase distribution shows that the alloy grains could be effectively refined by adding the Er element; this was most evident in the #4 alloy, which contained 0.4% Er. We calculated the proportions of the second phase using the Image-Pro analysis software; these were 0.56%, 0.91%, 0.97%, and 1.39%, respectively. By combining Figures 1 and 2, we find that although the quantity of second phases at the grain boundary was reduced greatly after the Er addition, some insoluble phases were also generated. The quantity of residual second phases in the #2 alloy containing 0.1% Er was obviously increased. Moreover, the quantity of residual second phases changed minimally under different Er contents, and only in the #4 alloy containing 0.4% Er were the second phases obviously coarsened, as shown in Figure 2d. only in the #4 alloy containing 0.4% Er were the second phases obviously coarsened, as shown in Figure 2d.

Types of Evolution Characteristics of Second Phases at the Grain Boundary
According to the as-cast and solid solution-state XRD diffraction results in Figure 3, the as-cast alloy with each composition mainly consisted of an α-Al phase and an η (MgZn2) phase, and the Al3Er phase appeared only when the Er content reached 0.4%. After the solid-solution treatment, the diffraction peak of the η (MgZn2) phase in the #1 alloy disappeared, indicating that the grain boundary phases were basically dissolved in α-Al. With the addition of Er and the increase in its content, the η (MgZn2) phase appeared simultaneously with the Al8Cu4Er phase and presented a gradually increasing tendency. In the meantime, the Al3Er phase discovered in the #4 as-cast alloy could hardly be detected by the XRD. Being an insoluble phase, the Al3Er phase formed a dependence relation with the Al8Cu4Er phase in the solid-solution treatment.

Types of Evolution Characteristics of Second Phases at the Grain Boundary
According to the as-cast and solid solution-state XRD diffraction results in Figure 3, the as-cast alloy with each composition mainly consisted of an α-Al phase and an η (MgZn 2 ) phase, and the Al 3 Er phase appeared only when the Er content reached 0.4%. After the solid-solution treatment, the diffraction peak of the η (MgZn 2 ) phase in the #1 alloy disappeared, indicating that the grain boundary phases were basically dissolved in α-Al. With the addition of Er and the increase in its content, the η (MgZn 2 ) phase appeared simultaneously with the Al 8 Cu 4 Er phase and presented a gradually increasing tendency. In the meantime, the Al 3 Er phase discovered in the #4 as-cast alloy could hardly be detected by the XRD. Being an insoluble phase, the Al 3 Er phase formed a dependence relation with the Al 8 Cu 4 Er phase in the solid-solution treatment. only in the #4 alloy containing 0.4% Er were the second phases obviously coarsened, as shown in Figure 2d.

Types of Evolution Characteristics of Second Phases at the Grain Boundary
According to the as-cast and solid solution-state XRD diffraction results in Figure 3, the as-cast alloy with each composition mainly consisted of an α-Al phase and an η (MgZn2) phase, and the Al3Er phase appeared only when the Er content reached 0.4%. After the solid-solution treatment, the diffraction peak of the η (MgZn2) phase in the #1 alloy disappeared, indicating that the grain boundary phases were basically dissolved in α-Al. With the addition of Er and the increase in its content, the η (MgZn2) phase appeared simultaneously with the Al8Cu4Er phase and presented a gradually increasing tendency. In the meantime, the Al3Er phase discovered in the #4 as-cast alloy could hardly be detected by the XRD. Being an insoluble phase, the Al3Er phase formed a dependence relation with the Al8Cu4Er phase in the solid-solution treatment.  The typical grain boundary phase morphologies in as-cast alloys with differing Er contents and the corresponding alloy compositions are presented in Figure 4 and Table 2. Figure 4a shows that the bright white second phase continuously distributed at the grain boundary (position 2) in the #1 alloy was of a reticular structure. Compared with Al, Zn, Mg, and Cu, this phase should be a T (AlZnMgCu) nonequilibrium eutectic phase [23]. Meanwhile, we know from the XRD graphs that only the diffraction peak of MgZn 2 existed in the as-cast alloy instead of the diffraction peaks of α-Al and Al 3 Er, indicating that this quaternary phase had an MgZn 2 structure, and that the partial Zn atoms in the atomic lattice were substituted by Al and Cu atoms to form the Mg (Zn, Cu, Al) 2 solid solution. In addition, a small quantity of gray Al 3 Fe phase intermingled between T-phases also existed in the alloy. In this phase, a certain amount of Cu element was dissolved, as indicated at position 1 in Figure 4a. The typical grain boundary phase morphologies in as-cast alloys with differing Er contents and the corresponding alloy compositions are presented in Figure 4 and Table 2. Figure 4a shows that the bright white second phase continuously distributed at the grain boundary (position 2) in the #1 alloy was of a reticular structure. Compared with Al, Zn, Mg, and Cu, this phase should be a T (AlZnMgCu) nonequilibrium eutectic phase [23]. Meanwhile, we know from the XRD graphs that only the diffraction peak of MgZn2 existed in the as-cast alloy instead of the diffraction peaks of α-Al and Al3Er, indicating that this quaternary phase had an MgZn2 structure, and that the partial Zn atoms in the atomic lattice were substituted by Al and Cu atoms to form the Mg (Zn, Cu, Al)2 solid solution. In addition, a small quantity of gray Al3Fe phase intermingled between T-phases also existed in the alloy. In this phase, a certain amount of Cu element was dissolved, as indicated at position 1 in Figure 4a.    The addition of the Er element evidently changed the composition and morphology of the second phases at the grain boundary in the alloy. When 0.1% Er was added, the original reticular phase in the #2 alloy gradually transformed into skeleton and rodlike structures. In this condition, the Cu content was significantly increased, but the Zn and Mg contents were reduced. The type of eutectic phase was gradually transformed from a T-phase into an Al-Cu-Er phase, as denoted at position 3. Such a phase transition process was verified by the compositional variation at two groups of positions: 5 and 6 and 7 and 8, which were very approximate in morphology and position.
The quantity of T-phases (gray contrast, Position 9) was obviously increased in the #3 alloy, which was consistent with the structural evolution (increased in second phases), as described in Figure 1c. At the time, a small quantity of the Al 3 Er phase appeared simultaneously. Its morphological structure was basically identical to the Al-Cu-Er phase at position 10, such that it could hardly be differentiated from the microstructural graph. Moreover, this phase was not discovered in the XRD graph of the as-cast alloy in Figure 3a either, indicating that this phase was only formed in an insufficient quantity. The as-cast second phases were significantly reduced in the #4 alloy, and the residual second phases were still dominated by the Al-Cu-Er phase. Further, the square Al 3 Er phase differs obviously from the Al-Cu-Er phase that was discovered in the alloy, which was identical with the XRD result. Nevertheless, this phase still forms a dependence relation with the Al-Cu-Er phase.
The typical grain boundary phase morphologies of solid-solution-state alloys with differing Er contents and their corresponding alloy compositions are shown in Figure 5 and Table 3. After the solid-solution treatment, the original T-phases in the #1 alloy disappeared in the solid-solution treatment, the small quantity of residual phases were mainly Fecontaining second phases, and the skeletonlike phase was mainly an Al-Cu-Fe phase, which might be attributed to the gradual aggregation of Cu and Fe by partial Cu-containing phases adjacent to the Al-Fe phase in the solid-solution treatment. In the #2 and #3 alloys containing 0.1% and 0.2% Er, only one new phase was left at the grain boundary with the exception of Al-Fe phase, that is, an Al 8 Cu 4 Er phase, which was transited from an as-cast Al-Cu-Er phase; this result was identical to the XRD result in Figure 3b. In the #2 alloy containing a low Er content, this phase also presented reticular structural features; however, in the #3 alloy containing a higher Er content, this phase was closer to the massive phase. The Al 3 Er phase discovered under the as-cast state of the #3 alloy could hardly be found at the time. With a further increase in the Er content, the residual phases at the grain boundary of the #4 alloy were obviously coarsened; meanwhile, the Al 3 Er phase wrapped in the Al 8 Cu 4 Er phase was also found. was verified by the compositional variation at two groups of positions: 5 and 8, which were very approximate in morphology and position.
The quantity of T-phases (gray contrast, Position 9) was obviously incre #3 alloy, which was consistent with the structural evolution (increased in seco as described in Figure 1c. At the time, a small quantity of the Al3Er phase app ultaneously. Its morphological structure was basically identical to the Al-Cuposition 10, such that it could hardly be differentiated from the microstruct Moreover, this phase was not discovered in the XRD graph of the as-cast allo 3a either, indicating that this phase was only formed in an insufficient qu as-cast second phases were significantly reduced in the #4 alloy, and the resid phases were still dominated by the Al-Cu-Er phase. Further, the square A differs obviously from the Al-Cu-Er phase that was discovered in the alloy, identical with the XRD result. Nevertheless, this phase still forms a dependen with the Al-Cu-Er phase. The typical grain boundary phase morphologies of solid-solution-state differing Er contents and their corresponding alloy compositions are shown and Table 3. After the solid-solution treatment, the original T-phases in the # appeared in the solid-solution treatment, the small quantity of residual p mainly Fe-containing second phases, and the skeletonlike phase was mainly Fe phase, which might be attributed to the gradual aggregation of Cu and F Cu-containing phases adjacent to the Al-Fe phase in the solid-solution treatm #2 and #3 alloys containing 0.1% and 0.2% Er, only one new phase was left a boundary with the exception of Al-Fe phase, that is, an Al8Cu4Er phase, transited from an as-cast Al-Cu-Er phase; this result was identical to the XR Figure 3b. In the #2 alloy containing a low Er content, this phase also present structural features; however, in the #3 alloy containing a higher Er content, was closer to the massive phase. The Al3Er phase discovered under the as-cast #3 alloy could hardly be found at the time. With a further increase in the Er c residual phases at the grain boundary of the #4 alloy were obviously coarse while, the Al3Er phase wrapped in the Al8Cu4Er phase was also found.   The formation and growth of the Al 3 Er phase were closely related to the Al 8 Cu 4 Er phase, which presented an obvious growth-dependent relation. To study the in-depth interaction between the two phases, a micro-area chemical analysis was performed for typical positions in the #4 solid solution-state alloy. The results are shown in Figure 6. Er was mainly distributed in the central phase-area with bright contrast, and the contents of the other alloy elements in this area were very low, indicating that this phase was an Al 3 Er phase. The surrounding area with relatively dark contrast was a mixed area of Zn, Mg, Cu, and Er, with the component being a typical Al 8 Cu 4 Er phase.  The formation and growth of the Al3Er phase were closely related to the Al8Cu4Er phase, which presented an obvious growth-dependent relation. To study the in-depth interaction between the two phases, a micro-area chemical analysis was performed for typical positions in the #4 solid solution-state alloy. The results are shown in Figure 6. Er was mainly distributed in the central phase-area with bright contrast, and the contents of the other alloy elements in this area were very low, indicating that this phase was an Al3Er phase. The surrounding area with relatively dark contrast was a mixed area of Zn, Mg, Cu, and Er, with the component being a typical Al8Cu4Er phase. These results indicate that the Al8Cu4Er and Al3Er phases have a symbiotic competitive growth relation. With a high amount of the Er element (0.2%), the conditions for the initial formation of Al3Er were met; a large amount of Er was then consumed and it did not interact with Zn, Mg, or Cu, thereby inhibiting the formation of the Al-Cu-Er phase. As a result, the T-phases in the #3 as-cast alloy were obviously increased compared with those in the #2 alloy. Meanwhile, the refining effect of the Al-Cu-Er phase on the grains was weakened so that the dendrites in the as-cast #3 alloy were coarsened in comparison These results indicate that the Al 8 Cu 4 Er and Al 3 Er phases have a symbiotic competitive growth relation. With a high amount of the Er element (0.2%), the conditions for the initial formation of Al 3 Er were met; a large amount of Er was then consumed and it did not interact with Zn, Mg, or Cu, thereby inhibiting the formation of the Al-Cu-Er phase. As a result, the T-phases in the #3 as-cast alloy were obviously increased compared with those in the #2 alloy. Meanwhile, the refining effect of the Al-Cu-Er phase on the grains was weakened so that the dendrites in the as-cast #3 alloy were coarsened in comparison with those in the #2 alloy. As the Er content was further increased, a large quantity of the Al 3 Er phase was generated, thereby exerting a significant refining effect on the grains. As the formation and growth of the Al 3 Er phase under the as-cast state depended on the Al-Cu-Er phase, the formation of this phase significantly repressed the formation and growth of the Al 3 Er phase during the solid-solution treatment that transformed Al-Cu-Er into a steady Al 8 Cu 4 Er phase, and even decomposed and absorbed the original as-cast Al 3 Er phase in the #3 alloy. Only in the core of the coarsened Al 8 Cu 4 Er phase in the #4 alloy was a small quantity of incompletely decomposed Al 3 Er phase found; thus, the two presented obvious competitive growth characteristics.

Corrosion Resistance
The metallographs of intergranular corrosion sections of as-cast and solid-solutionstate alloys with differing Er contents are shown in Figures 7 and 8, respectively. The as-cast alloys with differing Er contents experienced the intergranular corrosion to varying degrees, among which the #1 alloy containing no Er presented typical intergranular corrosion characteristics, with the corrosion depth reaching 400 µm. The intergranular corrosion resistance of the alloy was significantly enhanced by adding the Er element, and pitting corrosion played a dominant role. With the increase in Er content, the corrosion pit depth of the alloy showed a declining-increasing-declining tendency. The intergranular corrosion depth was approximately 200 µm in both the #2 and #4 alloys containing 0.1% and 0.4% Er, respectively, and 260 µm in the #3 alloy containing 0.2% Er.
The corrosion resistance of the alloys was strengthened to various degrees after the solid-solution treatment. The pitting corrosion was the main corrosion feature, and no obvious intergranular corrosion occurred, indicating that this type of alloy had high intergranular corrosion resistance; however, the pitting corrosion of the alloy was significantly influenced by the second phases at the grain boundary. The quantity of insoluble second phases in the alloy increased with the addition of Er content, but its pitting corrosion resistance was strengthened to various degrees. The degree of corrosion of the #1 alloy containing no Er content was the most serious, with the corrosion depth reaching 197 µm. The degree of corrosion of the #2 alloy containing 0.1% Er was slightly relieved, and the corrosion depth was reduced to 181 µm. The pitting corrosion resistance of the #3 alloy containing 0.2% Er was basically equivalent to that of the #4 alloy containing 0.4% Er content, and their corrosion depths were 158 µm and 155 µm, respectively.
The precipitated phases continuously distributed at the grain boundary easily formed corrosion channels in the corrosive medium, which facilitated the intergranular corrosion in the alloy and accelerated the alloy corrosion [24,25]. The microstructure of the as-cast alloy shows that continuous grain boundary phases existed in the alloy containing no Er. After the Er element was added, both the grains and second phases at the grain boundary in the as-cast alloy were refined, and no continuously distributed precipitated phases at the grain boundary were formed; thus, the intergranular corrosion resistance of the alloy was enhanced. After the solid-solution treatment, the corrosion resistance of the alloy was markedly affected by the type, morphology, size, and distribution of the residual second phase.
To further study the effect of various Er contents on the corrosion resistance of solidsolution-state alloys, OCP and potentiodynamic polarization tests were performed, and the results are shown in Figures 9 and 10. The corresponding corrosion potential (E corr ) and corrosion current density (i corr ) of the alloy could be obtained by fitting the polarization curves, as reported in Table 4. As shown in Figure 9, with the increase in Er content, the OCP decreased gradually. The table shows that with no Er content, the alloy reached the maximum corrosion potential and corrosion current density. When the Er content was increased to 0.1%, the corrosion potential declined, and the corrosion current was also reduced; therefore, the corrosion resistance of the alloy was enhanced. Compared with the alloy containing 0.1% Er, the alloy containing 0.2% Er showed no obvious changes in the corrosion potential or corrosion current density. In the alloy containing 0.4% Er, both the corrosion potential and corrosion current density were substantially reduced.
Corrosion potential is a thermodynamic parameter that describes the corrosion tendency of alloys; the more negative its value is, the higher the corrosion tendency [26,27]. Corrosion current density is a kinetic parameter that describes the corrosion of alloys; the greater its value is, the faster the alloys are corroded. In the #1 alloy containing no Er, the residual grain boundary phases were dominated by the Al-Cu-Fe and Al-Fe phases, both of which could serve as the cathode to constitute a corrosion cell with anodic α-Al [28]; consequently, the surrounding grains were the first to undergo corrosion, and the pitting corrosion resistance of the #1 alloy was the poorest.
Er into a steady Al8Cu4Er phase, and even decomposed and absorbed the original as-cast Al3Er phase in the #3 alloy. Only in the core of the coarsened Al8Cu4Er phase in the #4 alloy was a small quantity of incompletely decomposed Al3Er phase found; thus, the two presented obvious competitive growth characteristics.

Corrosion Resistance
The metallographs of intergranular corrosion sections of as-cast and solid-solution-state alloys with differing Er contents are shown in Figures 7 and 8, respectively. The as-cast alloys with differing Er contents experienced the intergranular corrosion to varying degrees, among which the #1 alloy containing no Er presented typical intergranular corrosion characteristics, with the corrosion depth reaching 400 μm. The intergranular corrosion resistance of the alloy was significantly enhanced by adding the Er element, and pitting corrosion played a dominant role. With the increase in Er content, the corrosion pit depth of the alloy showed a declining-increasing-declining tendency. The intergranular corrosion depth was approximately 200 μm in both the #2 and #4 alloys containing 0.1% and 0.4% Er, respectively, and 260 μm in the #3 alloy containing 0.2% Er.  The corrosion resistance of the alloys was strengthened to various degrees after the solid-solution treatment. The pitting corrosion was the main corrosion feature, and no obvious intergranular corrosion occurred, indicating that this type of alloy had high in- pared with the alloy containing 0.1% Er, the alloy containing 0.2% Er showed no obvious changes in the corrosion potential or corrosion current density. In the alloy containing 0.4% Er, both the corrosion potential and corrosion current density were substantially reduced.   Corrosion potential is a thermodynamic parameter that describes the corrosion tendency of alloys; the more negative its value is, the higher the corrosion tendency [26,27]. Corrosion current density is a kinetic parameter that describes the corrosion of alloys; the greater its value is, the faster the alloys are corroded. In the #1 alloy containing no Er, the residual grain boundary phases were dominated by the Al-Cu-Fe and Al-Fe phases, both of which could serve as the cathode to constitute a corrosion cell with anodic pared with the alloy containing 0.1% Er, the alloy containing 0.2% Er showed no obvious changes in the corrosion potential or corrosion current density. In the alloy containing 0.4% Er, both the corrosion potential and corrosion current density were substantially reduced.   Corrosion potential is a thermodynamic parameter that describes the corrosion tendency of alloys; the more negative its value is, the higher the corrosion tendency [26,27]. Corrosion current density is a kinetic parameter that describes the corrosion of alloys; the greater its value is, the faster the alloys are corroded. In the #1 alloy containing no Er, the residual grain boundary phases were dominated by the Al-Cu-Fe and Al-Fe phases, both of which could serve as the cathode to constitute a corrosion cell with anodic  The corrosion potential of the #2-#4 alloys was reduced because Al 8 Cu 4 Er and Al 3 Er phases were formed due to the addition of Er, whose electrode potentials were both lower than that of the matrix. The appearance of the two phases enhanced the potential difference between the grain boundary and the matrix, and they could be the anode in the corrosion process to change the grain boundary corrosion mode [29]. The actual corrosion rates of the alloys with three differing Er contents were significantly reduced; thus, the corrosion resistance of the alloy was obviously improved by the Al 8 Cu 4 Er and Al 3 Er phases; however, this improvement was restricted by the phase morphology and distribution in the alloy. In the #2 alloy, the skeleton or reticular Al 8 Cu 4 Er phase was formed, which led to the poor corrosion resistance of the alloy. The pitting corrosion resistance was basically equivalent to that of the matrix, and the short rodlike or irregular square Al 8 Cu 4 Er and Al 3 Er phases could effectively reduce the pitting corrosion tendency of the alloy. When the Er content was increased from 0.2% to 0.4%, the alloy grains were obviously refined; however, the residual insoluble phases were coarsened such that the intergranular corrosion resistance was no longer improved.
Both the Al 8 Cu 4 Er and Al 3 Er phases exerted a refining effect on the alloy, and the key to enhancing the corrosion resistance of the alloy was to obtain refined and dispersed Er-containing rare earth phases. The competitive growth mechanism of the two phases of the formation of the Al 8 Cu 4 Er phase was closely related to the enrichment and redistribution of the Cu element. As shown in Figure 4, the T-phases were transformed into Al 8 Cu 4 Er phases at positions 13 and 14. Obviously, compared with the Al 3 Er phase, the Al 8 Cu 4 Er phase could easily interact with the Cu element in the formation and growth process, and was then coarsened, thereby inhibiting the formation of the Al 3 Er phase; thus, to exert the improving effect of the Er element on the corrosion resistance of the Al-Zn-Mg-Cu aluminum alloy to the greatest extent, we have to further study the matching design of Cu and Er as well as the growth mechanism of the Al 8 Cu 4 Er phase.

Conclusions
(1) As the Er content (0-0.4%) increased in the Al-Zn-Mg-Cu-Sc-Zr alloy, the types of second phases formed by Er control the microstructure; the dendrite arms and grains size were first refined, then coarsened and refined again. (2) The interaction between Cu and Er can form the ternary Al 8 Cu 4 Er phase in the Al-Zn-Mg-Cu-Sc-Zr alloy; however, when the Er content increased, the primary Al 3 Er phase was formed in the center of the Al 8 Cu 4 Er phase, which showed an interactive and competitive growth relation with the Al 8 Cu 4 Er phase. (3) The Al 8 Cu 4 Er and Al 3 Er phases enhanced the corrosion resistance of the alloy by changing the potential difference between the grain boundary phases and the matrix; however, higher Er content lead to the coarsening of the Er-containing phase, which inhibited the further improvement of the corrosion performance of the alloy. (4) To enhance the corrosion resistance of the alloy, it is important to control the interaction between the Al 8 Cu 4 Er phase and Cu during its formation and growth process. In the future, by studying the effect of Cu enrichment and redistribution on the Al 8 Cu 4 Er phase, a finely dispersed Er-containing rare earth phase can be obtained, thereby improving the corrosion performance of the alloy.
Author Contributions: Conceptualization, Q.X. and L.M.; methodology, L.M. and X.Z.; validation, Q.X. and J.Z.; investigation, X.W.; data curation, X.W.; writing-original draft preparation, X.W.; writing-review and editing, L.M. and Q.X.; project administration, Q.X. All authors have read and agreed to the published version of the manuscript.