1 Introduction

The electrical components are joined with solder alloys to achieve mechanical integration and electric connection in industry [1,2,3,4]. As we know, the Sn–Pb solder alloys are used widely in electronic field due to the optimal combination of satisfactory corrosion resistance, low cost and good wettability and mechanical properties etc. [5,6,7]. However, the Pb belongs to heavy metal toxin, which is harmful to the health and environment [8,9,10,11]. The worldwide researchers have paid much attention to the investigations of lead-free solder alloys. And then Sn-based lead-free solder alloys are considered as the most promising candidates of replacing the traditional Sn-Pb solder alloy in recent years. Several major Sn-based binary solders alloys were reported in the relevant investigations, such as Sn–Zn [12, 13], Sn–Cu [14,15,16], Sn–Ag [17] and Sn–Bi [3, 18,19,20] etc. To enhance the combination properties of lead-free solder alloys further, the ternary or multi-elements solder alloys are designed by alloy element additions and the Sn–Ag–Cu ternary lead-free solder alloys have been considered as the best choice of substituting the conventional Sn–Pb solder alloys [21,22,23]. The main difficulty in the development of lead-free solder alloys is to obtain the optimal combination of wettability, mechanical performance, electrical characteristic, corrosion resistance, cost etc [9].

Since the growing miniaturization of electric products and the deterioration of service environment, the corrosion problem of solder alloys becomes a critical factor in long-term service, especially in high-temperature and high-humidity conditions [24,25,26,27,28]. Although the corrosion occurred in electronic devices are the same as those observed in steel structure bridges, automobiles, pipelines and other familiar objects in daily life, however, the structural members electronic devices are very small with the evolution of integrated packaging technology. Therefore, the corrosion products with the nanogram or less can result in complete device failure [29]. The corrosion resistance should be emphasized in the progress of new type solder alloys. As we know, the corrosion of solder joints involves interaction with the service environment. Consequently, the investigations on the corrosion resistance of lead-free solder alloys mainly focuses on the evolution of microstructure and the simulation of service environment at present. The research on microstructure of solder alloys focuses on the addition of metals or particles (alloy elements, rare earth and nanoparticles etc.) and the change in external factors (change of cooling rate and application of permanent magnet stirring). To simulate the service environment, the evolution of corrosion properties of solder alloys in the neutral, alkaline and acidic solutions were analyzed [8].

At present, the researches on the corrosion performance of Sn-based lead-free solder alloys are isolated and the relevant results are scattered, even some conclusions are contradictory. Consequently, a critical review on the corrosion properties of Sn-based lead-free solder alloys is necessary. In the present paper, the authors try to collect all the relevant data and information on the corrosion performance of Sn-based lead-free solder alloys from recent investigations and then provide some guidance in the future work. At present, the investigations mainly focused on the Sn–Zn, Sn–Cu, Sn–Ag, Sn–Bi, Sn–Ag–Cu and other multi-elements Sn-based lead-free solder alloys.

2 The fundamentals on the corrosion of lead-free solder alloys

The evolution of corrosion properties of Sn-based solder alloys is mainly associated with the transformation of microstructure. For Sn–Zn lead-free solder alloys, the galvanic corrosion formed between the Zn-rich phase and Sn-rich phase [30, 31]. And the corrosion of Sn–Bi solder alloys is attributed to the potential difference between the Zn-rich phase and Bi-rich phase. While for the Sn–Cu, Sn–Ag and Sn–Ag–Cu solder alloys, the galvanic corrosion formed between the Zn-rich phase and intermetallic compounds, and the intermetallic compounds mainly consist of Ag3Sn and Cu6Sn5, which are nearly insoluble in corrosion medium due to the chemical stability [26, 32]. The corrosion performance of Sn-based leas-free solder alloys is analyzed by means of different experimental methods [33,34,35,36].

2.1 Formation of corrosion products

The formation of corrosion products of Sn-based lead-free solder alloys mainly involves in the dissolution of Sn-rich phase and Zn-rich phase. The corrosion products of ZnO, Zn(OH)2 and Zn5(OH)8Cl2·H2O formed in Sn–Zn solder alloys. The corrosion produce starts with the dissolution of Zn at anodic sites in the NaCl solution [37,38,39,40]:

$$ {\text{Zn}} \to {\text{Zn}}^{2 + } + 2e^{ - } $$
(1)

Then the cathodic reaction:

$$ 2{\text{H}}_{2} {\text{O}} + {\text{O}}_{2} + 4e^{ - } \to \, 4{\text{OH}}^{ - } $$
(2)

The formation of ZnO and Zn(OH)2 [37,38,39,40]:

$$ {\text{Zn}} + \, 2{\text{OH}}^{ - } \to {\text{Zn}}\left( {\text{OH}} \right)_{2} + 2e^{ - } $$
(3)
$$ {\text{Zn}}\left( {\text{OH}} \right)_{2} \to {\text{ZnO}} + {\text{ H}}_{2} {\text{O}} $$
(4)

With the concentration of Cl, the corrosion product of Zn5(OH)8Cl2·H2O formed, the formation process as follows [37,38,39,40]:

$$ {\text{ZnO}} + {\text{Zn}}^{2 + } + 5{\text{H}}_{2} {\text{O}} + 2{\text{Cl}}^{ - } \to {\text{Zn}}_{5} \left( {\text{OH}} \right)_{8} {\text{Cl}}_{2} \times {\text{H}}_{2} {\text{O}} $$
(5)

For Sn–Cu, Sn–Ag, Sn–Bi and Sn–Ag–Cu solder alloys, the relevant investigations have proven that the corrosion products mainly consist of SnO, SnO2, Sn(OH)4 and Sn3O(OH)2Cl2. The corrosion process starts with the dissolution of Sn at anodic sites [32, 35, 41,42,43,44,45,46]:

$$ {\text{Sn}} \to {\text{Sn}}^{2 + } + \, 2e^{ - } $$
(6)
$$ {\text{Sn}}^{2 + } \to {\text{Sn}}^{4 + } + \, 2e^{ - } $$
(7)

And the cathodic reaction occurs according to the reaction (2). Then the SnO, SnO2, Sn(OH)4 formed, the details as follow [11, 32, 41,42,43, 45]:

$$ {\text{Sn }} + 2{\text{OH}}^{ - } \to {\text{Sn}}\left( {\text{OH}} \right)_{2} + 2e^{ - } $$
(8)
$$ {\text{Sn}}\left( {\text{OH}} \right)_{2} \to {\text{SnO}} + {\text{H}}_{2} {\text{O}} $$
(9)
$$ {\text{SnO}} + {\text{H}}_{2} {\text{O}} + 2{\text{OH}}^{ - } \to {\text{Sn}}\left( {\text{OH}} \right)_{4} + 2e^{ - } $$
(10)
$$ {\text{Sn}}\left( {\text{OH}} \right)_{2} + {\text{H}}_{2} {\text{O}} \to {\text{Sn}}\left( {\text{OH}} \right)_{4} + 2e^{ - } $$
(11)
$$ {\text{Sn}}\left( {\text{OH}} \right)_{4} \to {\text{SnO}}_{2} + {\text{H}}_{2} {\text{O}} $$
(12)

Then the corrosion product of Sn3O(OH)2Cl2 formed because of the presence of Cl, as follows [32, 41,42,43, 47]:

$$ 3{\text{Sn}} + 4{\text{OH}}^{ - } + {\text{Cl}}^{ - } \to {\text{Sn}}_{3} {\text{O}}\left( {\text{OH}} \right)_{2} {\text{Cl}}_{2} + {\text{H}}_{2} {\text{O}} + 6e^{ - } $$
(13)

2.2 Research methods for corrosion resistance

The contaminants play a key factor in corrosion process of solder alloys, especially the Cl. As the result, significant investigation efforts have been paid to study the evolution of corrosion susceptibility of lead-free solder alloys in NaCl solution. The immersion corrosion tests are performed to evaluate the corrosion susceptibility of solder alloys in NaCl solution. This method can be applied to assess the corrosion performance of solder alloy initially, while it is different with the actual service conditions. Then, the salt spray service environment and the high-humidity and high-temperature service condition are created to simulate the service environment further [26, 32, 48, 49]. However, the researchers pointed out that the corrosion occurred in service of electronic devices belongs to atmospheric corrosion, which the electrochemical reactions occur under the thin electrolyte layer [50, 51]. Consequently, the corrosion resistance of solder alloys is investigated under a thin electrolyte layer [35, 36]. The above-mentioned experimental methods can only observe the evolution of corrosion morphology of solder alloys, while the corrosion mechanism should be analyzed by electrochemical experiments. The open circuit potential, potentiodynamic polarization and electrochemical impedance spectroscopy (EIS) tests are always conducted in electrochemical experiments. Then, the corrosion mechanism is discussed according to the obtained electrochemical parameters in electrochemical experiments.

3 Corrosion behavior of Sn-based lead-free solder alloys

3.1 Sn–Zn

Sn–Zn solder alloy is considered as an attractive candidate to substitute the Sn–Pb solder alloy owing to good comprehensive properties. The eutectic composition is Sn–9Zn with the welting temperature of 198 °C, which is relatively close to the conventional eutectic Sn–Pb solder alloy [52,53,54]. However, Sn–Zn solder alloy has higher corrosion susceptibility in corrosive medium environment owing to the presence of Zn. Consequently, the researchers have paid much attention on the corrosion resistance of Sn–Zn solder alloy.

The corrosion resistance of five Sn-based solder alloys were evaluated in the 0.1M NaCl solution [55]. It was found that the Sn–9Zn solder alloy existed the highest corrosion susceptibility due to the presence of negative Zn in NaCl solution. Furthermore, the corrosion mechanism of Sn–Zn solder alloy was investigated systematically by Liu et al. [30, 56, 57]. They reported the evolution of corrosion morphology of Sn–Zn solder alloy with different Zn addition in 0.5 M NaCl solution, the images are displayed in Fig. 1 [30]. It was found that the corrosion susceptibility of solder alloy increased with the increase of Zn content, which is associated with the formation of coarsening Zn-rich precipitates[30]. The susceptibility to metastable pitting of Sn–Zn solder alloy is mainly associated with the passive film properties and evolution of microstructure, and the susceptibility to pitting increases with the increase of Zn content [56, 57]. Furthermore, the pitting formation of Sn–Zn solder alloy can be divided into three stages (in Fig. 2): In first stage, the Cl permeated the oxide film through the intergranular boundaries gradually after the Cl adsorbed onto the passive film for a period of time; in the second stage, some tiny crack extended from the surface of passive film towards the interface between the film and Sn–Zn lead-free solder alloy. Finally, localized breakdown occurred due to the increase of internal stress [56]. The similar phenomenon was observed in the corrosion process of Zn–30Sn solder alloy in neutral NaCl solution [37].

Fig. 1
figure 1

The corrosion morphology of Sn–Zn alloys after immersion in 0.5 M NaCl solution for 7 days: a and b Sn–6.5Zn, c and d Sn–9Zn, e and f Sn–12Zn [30]

Fig. 2
figure 2

Schematic diagram of pitting corrosion mechanism in NaCl solution [56]

According to the understanding of corrosion mechanism of Sn–Zn solder alloy, it is speculated that the corrosion susceptibility can be obviously suppressed by the modification of microstructure with doping of alloy elements or particles, the effect of alloy elements metals or particles on the corrosion susceptibility of Sn-based lead-free solder alloy is summarized in Table 1. It was found that all the Sn–9Zn–0.1x (x = Ni, Cr, Cu and Ag) solder alloys with doping of these elements improved the corrosion resistance obviously [31]. The tendency to suppress corrosion increased in the order of Ag < Cu < Cr < Ni [31]. Furthermore, it was found that the incorporation of Ti [58] and Mn [38] had obvious influence on the improvement of corrosion resistance of Sn–Zn solder alloy and the corresponding corrosion mechanism of solder alloys with the addition of different alloying elements were analyzed from the evolution of microstructure and formation of passive film [31, 38, 58]. Wang et al. [39] also confirmed that the doping Ti could decrease the corrosion susceptibility of Sn–9Zn when the addition was lower than 0.1%, and the optimized Ti content was 0.05%. Furthermore, the effect of addition of Cr content (x = 0, 0.1, 0.3 and 0.5 wt%) on the corrosion susceptibility of Sn–8.5Zn solder alloy in 3.5 wt% NaCl solution was analyzed according to potentiodynamic polarization results [47]. They pointed out that the doping of Cr could result in the change of anodic polarization characterics. The best corrosion resistance of the Sn–8.5Zn solder alloy in the NaCl solution were obtained when the addition of Cr is 0.3 wt% [47].

Table 1 Summary of the effect of alloy elements or particles incorporation on the corrosion susceptibility of Sn-based lead-free solder alloys

Furthermore, the addition of Ag [52], In [59] and Ga [60] could decrease the corrosion susceptibility of Sn–9Zn solder alloy, while the Al doping had opposite effect.

The investigations mentioned above mainly focused on the corrosion susceptibility of Sn-based solder alloy in NaCl solution. The alkaline environment may exist in the service of electronic devices. The corrosion susceptibility of Sn–Zn solder alloy in 6 M KOH solution was investigated based on potentiodynamic polarization experiment results by Nazeri et al. [61]. It was found that the corrosion potential (Ecorr) of Sn–Zn solder alloys had no obvious change when the Zn content changed from 0 to 12 wt%, while the corrosion current density(icorr) increased significantly. The co-existed corrosion products of ZnO, SnO2 and SnO formed on the surface of Sn–Zn solder alloy after polarization experiment, which indicated the formation of passive film [61]. Additionally, it was found that the ultimate tensile stress of Cu/Sn–9Zn/Cu solder joint reduced by 26% after polarization in 6 M KOH solution due to the grooves caused by the dissolution of negative Zn [62]. The ultimate tensile stress of Cu/Sn–9Zn/Cu solder joint also decreased after open circuit potential (OCP) experiment [53].

3.2 Sn–Cu

Sn–Cu solder alloy is also one of the potential successor of replacing the Sn–Pb solder alloy due to the advantage of low cost and good comprehensive performance. The eutectic alloy with melting point of 227 °C formed when the addition of Cu is 0.7% [63]. The corrosion reason of Sn–Cu solder alloys is the formation of galvanic couples between the Sn-rich matrix and Cu–Sn intermetallic compounds, and the evolution of microstructure results in the change of corrosion susceptibility of solder alloys.

The comparative analyses of the corrosion susceptibility of Sn–Pb solder alloy and other lead-free solder alloys (Sn–Cu, Sn–Ag and Sn–Ag–Cu) were performed [41]. They pointed out that the lead-free solder alloys existed lower corrosion susceptibility than that of Sn–Pb solder alloy in 3.5 wt% NaCl solution [41]. However, Sn–37Pb solder alloy exists the lowest corrosion susceptibility and Sn–3.0Ag–0.5Cu solder alloy has the lowest corrosion resistance among four solder alloys (Sn–37Pb, Sn–0.7Cu, Sn–3.0Ag and Sn–3.0Ag–0.5Cu solder alloys) under the condition of fire smoke produced from the burning of polyvinyl chloride [64]. Additionally, it was found that the corrosion susceptibility of four studied solder alloys increased with the increase of smoke concentrations.

The cooling rate of solidification play a key role on the evolution of corrosion properties of lead-free solder alloys [9, 65, 66]. Osório et al. [65, 66] studied the corrosion susceptibility of Sn–2.8Cu solder alloy in 0.5 M NaCl solution obtained with different solidification cooling rate. They found that fine and homogeneously distributed Cu–Sn intermetallic compounds formed in the Sn-rich matrix when the cooling rate is around 15 °C/s, and the coarsening microstructure appeared with the cooling rate of around 1.2 °C/s. Then the corresponding corrosion current density of the former is about two times higher than that of the latter [65]. The variation of corrosion resistance of Sn–2.8Cu solder alloys with different cooling rate is related to both localized strains between the Sn-rich phase and Cu–Sn intermetallic compounds and the cathode/anode area ratios [66]. The schematic diagram of correlation between the typical microstructure and the evolution of corrosion is shown in Fig. 3 [66]. Freitas et al. [67] also demonstrated that the cooling rate had apparent influence on the corrosion susceptibility and mechanical strength of Sn–0.7Cu solder alloy. It was found that the fine dendritic branches and fibrous Cu6Sn5 intermetallic compound are harmful to the corrosion properties of Sn–0.7Cu solder alloy, while it is beneficial for the mechanical strength.

Fig. 3
figure 3

Images of representative microstructures of Sn–Cu alloys: a Sn–2.8 Cu; b Sn–0.7 Cu alloys; c H-shaped Cu6Sn5 and Sn-rich phase and d eutectic mixture [66]

The addition of alloy elements or particles into solder alloys is a valid way to modify the corrosion susceptibility of Sn–Cu solder alloy, the details is summarized in Table 1. Jaffery et al. [10] reported the influence of the addition of Fe and Bi on the corrosion susceptibility of Sn–0.7Cu solder alloy in 3.5 wt% NaCl solution. It was found that the corrosion resistance deteriorated after doping of Fe and Bi owing to the formation of FeSn2 and Bi-rich phase [10]. While the incorporation of S could improve the corrosion properties of Sn–Sn–0.7Cu solder alloy due to the formation of passivating corrosion product of Sn3O(OH)2Cl2 [42]. The evolution of the corrosion resistance of Sn–0.7Cu–0.075Al solder alloy by the addition of Ce and La on was studied by Yang et al. [68]. It was found that the addition of Ce and La enhanced the corrosion resistance of solder alloy [68]. Additionally, Huang et al. [69] investigated the influence of P on the corrosion susceptibility of Sn–0.7Cu solder alloy in the aggressive conditions. It was found that the doping of P could decrease the corrosion susceptibility of Sn–0.7Cu solder alloy. Furthermore, the corrosion rate of the solder alloy is lower in alkaline solution compared to that in acidic solution, while Yan et al. [70] point out that the addition of P had no evident influence on the corrosion susceptibility of Sn–0.7Cu solder alloy in simulated marine atmosphere. Moreover, Yan et al. [33, 70] studied the doping of Ga on the influence of the corrosion susceptibility of Sn–0.7Cu solder alloy in simulated marine atmosphere and demonstrated that the addition of Ga significantly reduced the corrosion susceptibility of solder alloy.

3.3 Sn–Ag

Sn–Ag-based solder alloy have been considered to be a promising candidates to substitute the traditional Sn–Pb solder alloys owing to the better mechanical strength than that of the Sn–Pb solder alloys. The eutectic composition for the Sn–Ag binary system occurs at Sn–3.5Ag with the melting temperature of 221 °C [71,72,73]. The corrosion susceptibility of the Sn–Ag-based solder alloy is mainly associated with the galvanic corrosion between the Sn-rich phase and Ag3Sn intermetallic compound [8, 74,75,76]. It had been reported that the scale, size and distribution of Sn-rich precipitates in matrix and Ag3Sn particles of solder alloy played a key factor on the effect of corrosion resistance, mechanical and thermal properties [43, 77,78,79,80,81].

The corrosion susceptibility of Sn–0.3Ag–0.9Zn solder alloy with different cooling methods was evaluated in 3.5 wt% NaCl solution according to the electrochemical experimental results[43]. It was found that the corrosion susceptibility of water-cooled solder alloy was lower than those of furnace-cooled and air-cooled solder alloys, which was associated with the types, size and distribution of precipitates. It also demonstrated that the barrier property of passive film formed with different cooling methods was various. Moreover, Osório et al. [81] confirmed that the corrosion susceptibility of Sn–2Ag solder alloy with higher cooling rate is lower than that of solder alloy with lower cooling rate. They pointed out the evolution of corrosion resistance was associated with evolution of morphology of Ag3Sn.

The microstructure of solder alloy can be modified by the alloy addition of alloy elements or particles, then results in the change of corrosion resistance and mechanical properties. Vuong et al. [82] demonstrated that the incorporation of Ce in Sn–1.0Ag solder alloy improved the corrosion resistance in the naturally-aerated 100 mM Na2SO4 with 3 mM chloride ion addition solution, which is attribute to the Ce acceleration of the passive film formation. Moreover, it was found that the doping of CeO2 nanoparticles could affect the corrosion susceptibility of Sn–3.5Ag solder alloy in 3.5 wt% NaCl solution and the best doping of CeO2 nanoparticles was about 12% judging from the corrosion resistance [83].

The corrosion resistance of traditional Sn73.9Pb26.1 solder and the Sn–Ag–M (M = In, Bi, Cu) solder alloys in 0.1 M NaCl solution was investigated by Rosalbino et al. [84]. It was found that the Sn–2.3Ag–9.0In and Sn–3.0Ag–10.4Bi solder alloys had higher corrosion susceptibility compared to traditional Sn–26.1Pb. However, the corrosion resistance of Sn–Ag solder alloy improved obviously with the Cu addition, which is higher than that of Sn–26.1Pb solder alloy. Bui et al. [74] studied the evolution of corrosion resistance of Sn–Ag solder alloy with different Ag content in Na2SO4 solution and found that the corrosion susceptibility of solder alloy increased with the increase of Ag content. It was found that the volume fraction of Ag3Sn intermetallic compound rose with the increase of Ag content, then resulted in the increase of microgalvanic cell. However, Tunthawiroon et al. [11] demonstrated that the Ag content had little influence on the corrosion susceptibility of Sn–Ag solder alloy.

3.4 Sn–Bi

The Sn–Bi solder alloy is also regarded as a potential successor for traditional Sn–Pb solder alloys. Sn–58Bi is the eutectic composition for the Sn–Bi system, and the melting point is 138 °C [8, 85,86,87]. A few researches have been performed on corrosion of Sn–Bi solder alloys.

Satizabal et al. [8, 87] compared the corrosion resistance of Sn–10Bi solder alloy with Sn–2Ag and Sn–22Pb solder alloys in 0.15 M NaCl solution. They pointed out that the change of corrosion susceptibility is related to the solute contents, which determined the microstructural change, eutectic fraction and cathode to anode area ratios. The corrosion susceptibility ranks of three solder alloys in the following order: Sn–22Pb > Sn–2Ag > Sn–10Bi. Mostofizadeh et al. [88] revealed that the corrosion deteriorated the mechanical properties of Sn–Bi solder alloy. Additionally, Li et al. [81] investigated the doping of the nanoscale Cu6Sn5 particles on the influence of corrosion susceptibility of Sn–Bi solder alloys, and demonstrated that the corrosion rate of Sn58Bi solder alloy with nanoparticles is suppressed obviously.

3.5 Sn–Ag–Cu

The ternary Sn–Ag–Cu solder alloys has been applied in electronic packaging. At present, the worldwide recommended chemical composition of Sn–Ag–Cu solder alloys are different. The Sn–3.9Ag–0.6Cu solder alloy is recommended in reflow soldering by the USA National Electronic Manufacturing Association [89] and the Sn–3.8Ag–0.7Cu solder alloy is suggested by Europe [90, 91]. While the Japan tends to recommend Sn–3.0Ag–0.5Cu (SAC305) solder alloy as the candidate of Sn–Pb solder alloy [1, 92, 93].

The Sn–Ag–Cu solder alloy has lower corrosion susceptibility compared to traditional Sn–Pb solder in 0.1 M NaCl solution, which is associated with the formation of a more compact passive film on the surface of Sn–Ag–Cu solder alloy [94]. Furthermore, they also indicated that the SAC305 solder existed lower corrosion susceptibility compared to SAC305 solder [95].The investigations of incorporation of alloy elements or particles into solder alloys were also performed to improve the corrosion resistance. Subri et al. [44] evaluated the influence of additions of Fe and Bi on the corrosion resistance of SAC105 solder alloy by means of potentiodynamic polarization experiment, and pointed out that the incorporation of 1 wt% Bi and 0.05 wt% Fe deteriorated the corrosion resistance of SAC105 in neutral solution and the immersion corrosion experiments indicated that the corrosion mass loss decreased in the order: Sn–1Ag–0.5Cu–Fe–1Bi < Sn–1Ag–0.5Cu < Sn–1Ag–0.5Cu–Fe–2Bi. The evolution of corrosion resistance was related to the change of microstructure, which induced the transformation of galvanic corrosion between the Ag3Sn intermetallic compound and the Sn-rich phase. Furthermore, Liyana et al. [45] demonstrated that corrosion susceptibility increased with the increase of Zn addition content in 3.5 wt% NaCl solution. Hua et al. [96] also confirmed that the addition of Zn deteriorated corrosion resistance of SAC305 solder in 3.5 wt% NaCl salt solution. Additionally, it was found that the In addition was harmful to the corrosion properties of solder alloy [96]. At present, there is no agreement about the effect of the addition Al on the corrosion properties of Sn–Ag–Cu solder alloy. Fayeka et al. [46] pointed out that the corrosion susceptibility of SAC305–xAl(x =0, 0.1, 0.5) solder alloy increased with the doping of Al in 3.5 wt% NaCl solution according to electrochemical experiment results. However, Nordin et al. [97] revealed that the addition of Al decreased the corrosion susceptibility of SAC105–xAl solder (x = 0.2 wt%, 0.5 wt% and 1.0 wt%) in 5% NaCl solution judging from the potentiodynamic polarization and salt spray exposure experiments. Moreover, the doping of Ni on the effect of corrosion susceptibility of SAC105 in 3.5% NaCl solution was studied [98]. They pointed out that the Sn–1Ag–0.5Cu–0.05Ni and Sn–1Ag–0.5Cu–1Ni solder alloys showed better corrosion resistance compared to Sn–1Ag–0.5Cu–0.5Ni solder alloy [98].

The nanoparticles are also added to modify the corrosion susceptibility of the Sn–Ag–Cu solder alloys. It had demonstrated that the corrosion resistance of SAC305 solder alloy increased with incorporation of graphene nanosheets (GNSs) and the optimal addition is 0.03 wt% by Xu et al. [99]. Han et al. [100] conformed that the doping of Ni-coated carbon nanotubes (Ni-CNTs) suppressed the initiation and propagation of corrosion of SAC307 solder alloy in 3.5 wt% NaCl solution. Additionally, the addition of Al2O3 nanoparticles could enhance the corrosion resistance of SAC307 solder alloy in 0.5 M NaCl solution [101].

In order to obtain accurate assessment of corrosion behavior in actual conditions. The evolution of corrosion resistance of Sn–Ag–Cu solder alloy was investigated under high-temperature and high-humidity condition. Wang et al. [26, 32, 49] investigated the corrosion properties of SAC305 solder alloy systematically under high-temperature and high-humidity condition. It was found that the corrosion behavior of air-cooled and furnace-cooled SAC305 solder alloy was similar under the condition of 75 °C and relative humidity of 100%, which was worse than that of commercial SAC305 solder alloy. The deterioration of corrosion resistance of air-cooled and furnace-cooled solder alloy was associated with the coarsening of Ag3Sn intermetallic compound, which caused by the change of cooling rate [26, 32, 49]. The thickness of the passive film increased with the increase of testing temperature (45, 65 and 75 °C) [26, 48, 49]. Moreover, the passive behavior of solder alloy was different in 3.5% NaCl solution at different temperatures (25, 45 and 65 °C) [32]. They also revealed that the corrosion susceptibility of solder joint increased because of the galvanic corrosion between the Sn-rich phase and Cu pad, which worse the reliability of solder joint [92].

It was found that crystallographic texture and aging treatment had obvious influence on the corrosion properties of lead-free solder alloys [7, 102, 103]. Daly et al. [95] studied the corrosion susceptibility of SAC205 solder alloy solidified with magnet stirring. They found that the corrosion susceptibility of SAC205 solder alloy decreased with permanent magnet stirring and the change in corrosion susceptibility of solder was relate to the transformation of microstructure (in Fig. 4) and crystallographic texture. Moreover, they also demonstrated that the corrosion always propagated along prismatic [103] planes easily in such crystals. Liu et al. [7] and Lee et al. [104] studied the long-term reliability of wafer-level packages SAC305 solder interconnects after 5% NaCl salt spray pretreatment. The images of a single SAC305 solder ball is shown in Fig. 5 [7]. Local corrosion occurred near the corner of the solder joint. The thermal cycle aging were carried out after 5% NaCl pretreatment to evaluated the long-term reliability, and the images are displaed in Fig. 6 [7]. They pointed out that obvious corrosion phenomenon appeared at the package-side interface corners of SAC305 solder joint and the corrosion propagation path displayed a distinguishable direction, as shown in Fig. 6b–d [7]. The orientation image microscopy (OIM) results demonstrated that the direction of corrosion propagation path was attributed to the Sn grain orientation, the details as shown in Fig. 7 [103]. Wang et al. [104] also revealed that reliability of SAC305 solder alloy were affected obviously by corrosion by means of in-situ three-point bending experiment and the fracture always initiated in the corroded locations. Moreover, Kaushik et al. [105] demonstrated that the aging treatment had beneficial influence on the improvement of corrosion resistance of Sn–Ag–Cu solder alloy, and the evolution reason is mainly related to the change of distribution, size and morphology of Cu6Sn5 and Ag3Sn intermetallic compounds.

Fig. 4
figure 4

The microstructures of as-solidified SAC205 solder alloy specimens a and b without permanent magnet stirring (PMS) c with PMS and d the magnified images of inset in b showing the shear bands in SAC205 solder alloy specimen without applying PMS [102]

Fig. 5
figure 5

SEM picture of a single SAC305 solder joint: a without 5% NaCl salt spray treatment and b after salt spray treatment for 96 h, and c cross-section morphology of SAC305 solder joint after conducted in 5% NaCl solution for 96 h [7]

Fig. 6
figure 6

The corrosion morphology of 5% NaCl preconditioned specimen after thermal cycles: a the samples of A1 to A10. Higher-magnification morphology of b joint A2, c joint A5, and d joint A10 [7]

Fig. 7
figure 7

Higher-magnification pictures and OIM maps for 5% NaCl preconditioned joints A2 (a, b), A5 (c, d), and A10 (e, f), display the correlation between the corrosion attack and the Sn lattice basal planes [103]

The corrosion of solder alloy in electronic components always suffered to atmospheric corrosion, which caused by a thin liquid film attached to the surface of solder alloy under high-temperature and high-humidity conditions. The corrosion behavior of solder alloys in thin electrolyte layer were different obviously compared to solution environment [35, 36]. Liao et al. [35] constructed the electrolyte layer thickness measurement and electrochemical experiment devices, as illustrated in Fig. 8 . A thin electrolyte layer formed between the observation devices and experimental samples after the corresponding device parts were fixed. They studied the corrosion resistance of SAC305 solder alloy in thin electrolyte layer under the conditions of 25 °C temperature of and 65% relative humidity. They pointed out that the solder alloy mainly presented pitting corrosion in chlorine-containing thin electrolyte layers, and the evolution of pitting corrosion can be divided into three stages, namely formation stage, accelerated growth stage and stable growth stage of pitting corrosion, as shown in Fig. 9.

Fig. 8
figure 8

Schematic diagram of experimental device for measurement of electrolyte layer thickness and electrochemical experiment setup: (1) Longitudinal stage, (2) KCl agar, (3) Working electrode, (4) Auxiliary electrode, (5) Reference electrode, (6) Platinum wire, (7) Mobile setup, (8) Micrometer, (9) Teflon box [35]

Fig. 9
figure 9

Model of the evolution mechanism of pitting corrosion for SAC305 solder alloy under a thin electrolyte layer containing chlorine: a formation stage, b accelerated growth stage, c stable growth stage [35]

3.6 Other multi-elements solder alloys

The other multi-component solder alloys are prepared on the basis of Sn–Zn binary solder alloys. Mohanty et al. [106,107,108,109]designed the five-elements solders based on the Sn–8.5Zn binary solder alloy by the additions of Ag [106, 107], Al [108], Ga [109]. Then the influence of the doping content of Ag, Al and Ga on the corrosion resistance of solder alloy in 3.5% NaCl solution was studied based on electrochemical experiments, respectively. It was found that the corrosion current density decreased and the corrosion potential shifted to noble direction of solder alloys when the Ag content increased from 0.1 to 1.5 wt% [106]. The similar change tendency were also observed in the change of polarization resistance and corrosion rate of solder alloy [106]. The passivation of the Sn–Zn–xAg–Al–Ga solders occurred when the Ag content is more than 0.1 wt% [106, 107]. And the corrosion susceptibility of the Sn–8.5 Zn–0.5 Ag–xAl-0.5 Ga solder alloys progressively increased with the increase of Al addition from 0.1 to 1.5 wt% [108]. They also confirmed that the doping of Ga had significantly influence on the corrosion resistance of Sn–8.5Zn–0.5Ag–0.1Al–xGa [109]. Chang et al. [110] confirmed that the incorporation of In had no obvious effect on the corrosion performance of Sn–9Zn–0.5Ag solder alloy and it showed lower corrosion susceptibility than that of Sn–9Zn solder alloy. Additionally, Hu et al. [111] demonstrated that the doping of trace Cr could suppress the corrosion of Sn–9Zn–3Bi–xCr solder according to the potentiodynamic polarization experiments in 3.5 wt% NaCl solution and the best addition is 0.5% considering the corrosion resistance.

4 Summary and conclusions

In summary, we proposed a concise review of the correlation between the microstructure and corrosion behavior, the evolution mechanism of corrosion resistance of solder alloys after the addition of alloy elements or particles. The results of these researches confirmed that the evolution of corrosion behavior of Sn-based lead-free solder alloys are mainly related to the transformation of microstructure and it is feasible to improve the corrosion resistance of solder alloys by addition of alloy elements or particles. However, the qualitative evaluation of the correlation between microstructure and corrosion resistance is of little significance to actual production. It is necessary to reveal the relationship between microstructure and corrosion behavior quantitatively based on multi-scale characterization. It is well-known that the solder alloys exist in the form of solder joint in practical condition and the package substrate increase the risk of galvanic corrosion. Nevertheless, most of existed investigations focused on the solder alloys. Furthermore, the investigations of evolution of corrosion behavior of Sn-based lead-free solder alloys during thermal aging should be emphasized.