Introduction

The production of EEE (Electrical and Electronic Equipment) has grown rapidly in recent years, resulting in increased generation of waste as the equipment reaches end-of-life. The quantity of this waste, referred to as WEEE (Waste Electrical and Electronic Equipment), is estimated to reach approximately 52 million tonnes by 2021 [1]. WEEE consists of a varied range of materials; iron and steel account for almost half and plastics represent about 21% of the overall weight of WEEE. The third largest component by weight, about 13% of WEEE, is non-ferrous metals [2]. WEEE is a rich source of critical raw materials (CRMs), which are widely used in emerging technologies [3]. Securing access to CRMs is one of the biggest challenges for the modern metallurgical industry and therefore, the CRM recovery technologies from WEEE are of very high interest.

An effective route to recover some non-ferrous metals, such as copper, as well as precious metals from WEEE is pyrometallurgy [4]. Pyrometallurgical methods for industrial WEEE recycling have been described in many review articles and books [5, 6]. One of the possible routes is a smelting process where WEEE is injected into a high temperature furnace and the recycling process is integrated into the base metal production chain. The base metal (copper, lead, or nickel) acts as a collector for valuable metals such as gold, silver, platinum group metals (PGMs) [4], and some other metals classified as CRMs [3].

Ghodrat et al. [7] conducted an analysis of electronic waste recycling through black copper smelting and confirmed that this route has considerable potential both in its technical and economic efficiency. It consists of subsequent reducing and oxidizing steps where typically slag in the oxidizing step is recirculated back to the reductive step. However, the elements as well as their concentrations vary significantly between WEEE and primary ores and conventional scrap [8]. The presence of many different trace and major elements can influence each other’s behavior and consequently their recoveries in ways not thoroughly understood yet. Therefore, developing and designing optimal processes and operating parameters for different smelters using secondary raw materials in their feed is one of the today’s greatest challenges for the metal industries [9].

WEEE contains from 1 to 11 wt% of aluminum [10, 11], making it a common impurity in black copper smelting. Additionally, copper slags usually contain about 1 to 10 wt% of CaO and MgO, designedly or otherwise [10]. The presence of these oxides in the molten slag changes slag basicity and affects the physical properties, viscosity, and melting temperature of the slags [12]. Therefore, it enhances the stabilities of solid primary phases. This affects the slag saturation boundaries and elemental solubilities [10]. There are still gaps in knowledge on the effects of different additives on the slag properties and on the deportment of different trace elements in the secondary copper processing. Fundamental experimental data are required for improved process development, evaluation, and optimization.

The impact of CaO and MgO additions on the viscosity of iron silicate slag was measured by Kowalczyk et al. [13]. The results showed that as long as the slag remains fully liquid, the additions of MgO and CaO slightly decrease the slag viscosity. However, when the slags reached MgO and/or CaO saturation, their viscosity increased sharply.

Elliot et al. [14] investigated the effects of CaO, Al2O3, and MgO additions on copper solubility in silica-saturated fayalite slag. The results confirmed that copper dissolves as CuO0.5 in the slag and indicated that the copper solubility decreased significantly with an increasing amount of CaO in the slag mixture and decreased slightly with the presence of Al2O3 and MgO. The significant impact of CaO concentration on copper solubility in FeOx–SiO2 slags has been confirmed by further studies and presented also in thermodynamic databases [15].

Kim and Sohn [10] investigated the impacts of CaO, Al2O3, and MgO additions in silica-saturated FeOx–SiO2 slags on the behavior of trace elements Bi, Sb, and As. They indicated that small concentrations (about 4.4 wt%) of CaO, Al2O3, and MgO in the slag increased the distribution coefficients of Bi and Sb between metallic copper and slag, whereas higher additive concentrations (about 8 to 11 wt%) had a smaller effect on the Bi and Sb distributions. The study did not indicate a significant effect of CaO, Al2O3, and MgO on the partition of As [10].

Phase equilibria between copper alloy and iron silicate slags with small additions of CaO, Al2O3, and MgO was investigated by Henao et al. [16, 17]. The primary phase fields of tridymite, spinel, olivine, and clinopyroxene were identified and spinel and tridymite liquidus contours were constructed.

Recently, Hasan et al. [18] studied the structure of ferrous calcium-silicate slags with MgO addition using Fourier-transform infrared (FTIR) spectrometry. They showed that the overall degree of polymerization (DOP) of the silicate network and the average number of bridging oxygen (BO) decreased with increasing both the Fe/SiO2 ratio and basicity (defined as CaO/SiO2 ratio).

Avarmaa et al. [19] studied the partition behavior of tin as a trace element between metallic copper alloys and different iron silicate-based slags. They also conducted a thorough review on the earlier studies related to the behavior of tin in copper smelting conditions. In general, tin can be recovered in the copper alloy in reducing conditions, but in an oxidizing atmosphere it is volatilized or deported into the slag. In this study, tin is not present as a trace element, as its initial concentration in the alloy was 5%. The distribution behavior of nickel in secondary copper smelting conditions with alumina-containing slags has been studied by Klemettinen et al. [20], who also reviewed the earlier-related literature.

In our previous study [21], the suitability of black copper smelting process for recycling of battery metals lithium, cobalt, manganese, and lanthanum was investigated. The oxygen partial pressure range between 10–11 and 10–8 atm was used in the experiments to simulate different unit processes in copper smelting, especially the ones operating in reducing conditions (e.g., slag cleaning process and reduction step in Ausmelt type of furnace). The behavior of these battery metals in the same experimental conditions as in this study is described in detail. In comparison to our previous work, the current study focuses on investigating the effect of MgO on the slag chemistry of high-alumina iron silicate slags. Additionally, the behavior of tin and nickel as minor elements, originating from WEEE, in black copper smelting conditions was investigated.

Experimental

Slag (oxide) and copper (metal alloy) mixtures were prepared from pure, commercially available powders. The slags represent mixtures of Al2O3 (99.99%, Sigma-Aldrich), Fe2O3 (99.999%, Alfa Aesar), SiO2 (99.995%, Alfa Aesar), and MgO (99.95%, Alfa Aesar). The slag mixtures had an initial Fe/SiO2 ratio of 1.3 and an Al2O3 concentration of 15 wt%. Three slag mixtures, with 0, 3, and 6 wt% MgO, were prepared in order to investigate the effects of MgO on the equilibrium system. Additionally, trace elements La, Mn, and Li were added to the slag mixtures in the form of La2O3 (99.9%, Alfa Aesar), MnO (99.99%, Alfa Aesar), and Li2CO3 (99.998%, Alfa Aesar), respectively. The three starting slag mixtures contained 1 wt% of La, Mn, and Li each. The copper alloy was mixed from Cu (Alfa Aesar, 99.9%) with 5 wt% Sn (99.85%, Alfa Aesar), 2 wt% Ni (99.996%, Alfa Aesar), and 1 wt% Co (99.99%, Koch-Light Laboratories Ltd). This article focuses on the slag chemistry and behavior of nickel and tin. The behaviors of Li, Co, Mn, and La were described in our previous study [21].

Equilibration of the samples took place at 1300 °C in a vertical laboratory furnace in the oxygen partial pressure (pO2) range from 10–11 to 10–8 atm. The furnace arrangement and details were presented in a previous study of Klemettinen et al. [22]. The experimental temperature was controlled with a calibrated S-type Pt/Pt10Rh thermocouple (Johnson-Matthey, UK). The temperature uncertainty was ± 3 °C. 200 mg of both slag mixture and copper alloy were weighed in an alumina crucible (Frialit AL 23, 8/15 mm ID/H, Friatec AG, Germany). The crucible was held in a Pt-wire basket, hooked with a platinum–rhodium wire, and pulled up to the hot zone of the furnace. The gas atmosphere in the experimental furnace was a mixture of CO2 (99.9993%, Linde-AGA, Finland) and CO (99.97%, Linde-AGA, Finland). These gases were introduced to the furnace through mass flow controllers (Aalborg, DFC26, USA) held at room temperature (~ 20 °C). The gas flow was introduced to the work tube, sealed from the outside atmosphere, 30 min before pulling the sample into the hot zone to ensure complete flushing and removal of laboratory air. The desired oxygen partial pressures were created using different CO2/CO ratios calculated at the experimental temperature (1300 °C) with MTDATA software and the SGTE pure substances database [23]. The total gas flow rate was 300 ml/min. The flow rates of CO2 and CO for obtaining the desired oxygen partial pressures have been presented earlier [21]. The furnace work tube was flushed with Ar (99.999%, Linde-AGA, Finland) after every experiment in order to remove the CO2–CO mixture.

The equilibrated samples were quenched to solid state very rapidly, in 2–3s. Before quenching, a plastic quenching vessel filled with ice–water mixture was placed under the furnace work tube so that approximately 5 cm of the bottom part of the tube was immersed in the ice–water mixture. The bottom of the furnace work tube was unplugged while being covered with the ice–water mixture, thus preventing air from entering the tube. The time between unplugging the work tube and dropping the sample to the quenching vessel was only a few seconds. The quenched samples were cut in half, mounted in epoxy (Struers, Denmark), and polished using traditional dry metallographic methods. After polishing, the samples were carbon-coated to ensure sufficient electrical conductivity for compositional analyses from the cross sections.

The equilibration time necessary for reaching uniform chemical compositions of all phases in the copper alloy—FeOx–SiO2–Al2O3–MgO slag—iron-alumina spinel system was investigated in pre-experiments conducted at 1300 °C and oxygen partial pressure p(O2) = 10–10 atm. Annealing times of 4, 8, 16, 24, and 48 h were used. The microstructures of all samples were analyzed using a Mira3 SEM (Scanning Electron Microscope, Tescan, Czech Republic) and the elemental compositions of the samples from the time series experiments were determined with an UltraDry Silicon Drift EDS (Energy Dispersive Spectrometer, Thermo Fisher Scientific, USA). Thermo-Scientific NSS Spectral Imaging software with Proza ZAF matrix correction [24] was used for the quantitative investigations. An acceleration voltage of 15 kV and a beam current of 11 nA were applied during the analyses. The concentrations of Si, Al, and Mg in the slag phase as a function of time, with standard deviations, are presented in Fig. 1. Based on the results, 24 h was selected to ensure equilibrium for every experiment. Duplicate experiments were conducted for reliability, and every experiment is presented with its own symbol in the graphs.

Fig. 1
figure 1

Concentrations of silicon, aluminum, and magnesium in the slag as a function of time in p(O2) = 10–10 atm. One-standard-deviation error bars for the data plots are visible within the symbols

The chemical compositions of the 24-h equilibrium experiments were analyzed with EPMA (Electron Probe MicroAnalysis) and LA-ICP-MS (Laser Ablation–Inductively Coupled Plasma–Mass Spectrometry). An SX-100 Microprobe (Cameca SAS, France) with 20 kV accelerating voltage and 60 nA beam current was used. A minimum of 8 (slag and alloy) or 6 (spinel) points were analyzed from each sample. The analyzed X-ray lines, standards, and obtained detection limits are presented in Table 1. The elemental compositions of metal, slag, and spinel phases have been collected in Supplementary Tables S-1–S-3 (refer to Supplementary Information).

Table 1 Standards used and detection limits obtained in EPMA and LA-ICP-MS analyses

Both slag and copper alloy (from one experimental series) were also analyzed with LA-ICP-MS for accurate measurement of trace element concentrations. The slag phase was analyzed with 65 µm laser spot size, firing frequency of 10 Hz, 4 ns laser pulses, and a fluence of 2.5 J/cm2 on the sample surface. This article utilizes the LA-ICP-MS results only for the slag phase at low oxygen partial pressures; the analysis settings for the metal phase, as well as the details of the equipment, have been presented previously [21]. The time-resolved analysis signals were collected over 400 laser pulses and data reduction was conducted using Glitter software [25]. The standards used and detection limits obtained are summarized in Table 1.

Results and Discussion

Microstructure

Sample microstructure was relatively similar for all samples regardless of the slag composition. A typical microstructure, presented in Fig. 2a, consisted of metal alloy, glassy slag, spinel (rim on the interface of slag and crucible, as well as individual spinel grains), and the alumina crucible. Figure 2b–d presents details of the slag and spinel phases at different oxygen partial pressures and different MgO concentrations. No evidence of insufficient quenching rate was observed in the slag and spinel phases, as they appeared homogeneous throughout the samples. Tin-rich segregations, possibly formed during quenching, were observed in the larger copper alloy droplets.

Fig. 2
figure 2

a Typical sample microstructure (T = 1300 °C, p(O2) = 10–10 atm, 3 wt% MgO in the slag mixture). bd Discrete spinels within the slag phase in selected samples [b p(O2) = 10–8 atm, 0 wt% MgO; c p(O2) = 10–9 atm, 3 wt% MgO; d p(O2) = 10–11 atm, 6 wt% MgO]

In all samples, iron-alumina spinel formed as a dense layer on the interface between the alumina crucible and the slag, resulting in direct iron-alumina spinel saturation and in indirect alumina saturation of the copper-slag system [27]. Small individual spinel grains were also crystallized in all samples, as shown in Fig. 2a–d. The number of spinel grains observed in the slag seemed to increase with the increasing concentration of MgO in the starting slag composition. Similar results have been obtained for CaO-containing slags, as described by Avarmaa et al. [27].

Adhesion of some small and medium-sized copper alloy droplets to individual spinel grains restricted droplet movement, resulting in incomplete phase separation by preventing the droplets from settling fully into the underlying liquid alloy. This phenomenon was indicated in previous studies [28,29,30]. De Wilde and Bellemans et al. [28, 31,32,33] have published numerous articles investigating this phenomenon; the origin of the droplets and the effect of slag-spinel composition on the droplet attachment. In those studies, the authors concluded that this phenomenon is determined by the thermodynamic parameters of the systems, i.e., the oxygen partial pressure, the slag composition, and the amount of other metals in the alloy. In our study, the number of entrained copper droplets seemed to increase at higher oxygen partial pressures. According to De Wilde et al. [32], copper droplets only attached to Fe-rich spinels, and not to Al-rich ones. In this work, the droplets were attached to both Fe-rich (higher pO2) spinel grains (Fig. 2b) and Al-rich (lower pO2) spinel grains (Fig. 2d). The compositional changes in the spinel as a function of oxygen partial pressure and MgO concentration are discussed in ‘Spinel’ section.

Phase Compositions

Copper Alloy

Figure 3 shows the changes in copper, iron, tin, and nickel concentrations in the copper alloy as the p(O2) increases. The copper concentration in the alloy increased with increasing oxygen partial pressure, from approximately 92 to 95 wt%, mostly due to the decreasing iron concentration. The concentrations of nickel and tin in copper alloy varied quite significantly, from 0.35 to 1.1 wt% and from 1.7 to 4.2 wt% for nickel and tin, respectively. This deviation can be attributed to the structure of the metal phase after quenching, as tin-rich segregations were formed in all experimental conditions, regardless of the rapid quenching rate. No clear trends were observed in the investigated p(O2) range, however, in more oxidizing conditions the concentrations of both nickel and tin in the alloy should decrease drastically [20, 27, 29]. The addition of MgO to the system did not have a clear effect on the equilibrium concentrations of other elements in the copper alloy. The concentration of magnesium in the alloy, in the MgO-containing systems, was between 4 and 7 ppmw with no clear dependency on the amount of MgO added.

Fig. 3
figure 3

Copper, iron, tin, and nickel concentrations in copper alloy as a function of oxygen partial pressure. All values are from EPMA. Duplicate experiments are shown with their own respective symbols. One-standard-deviation error bars are also shown, and they are mostly smaller than the symbols

Slag

Iron-to-silica ratio is a distinctive parameter of slags and it is typically used as a control variable in industrial processes. Figure 4a shows the Fe/SiO2 ratio (wt%/wt%) as a function of oxygen partial pressure. The maximum value was reached at p(O2) = 10–10 atm. The Fe/SiO2 ratio decreased as the oxygen partial pressure increased, which can be explained by the increasing concentration of iron deporting to the spinel. However, at oxygen partial pressure 10–11 atm, the ratio also reached a lower value in comparison to p(O2) = 10–10 atm. This can be explained by higher solubility of iron in the copper alloy in the most reducing conditions investigated, as shown in Fig. 3b.

Fig. 4
figure 4

Fe/SiO2 ratio and the concentrations of copper, tin, and nickel in the slags as a function of oxygen partial pressure

The concentration of chemically dissolved copper in slag at iron-alumina spinel and copper saturation increased with increasing oxygen partial pressure, as shown in Fig. 4b. The Cu concentration in slag increased strongly when p(O2) increased up to 10–8 atm, which is in fair agreement with the study of Nagamori et al. [34]. In their study, the copper solubility in slag was investigated in oxygen partial pressure range 10–8 to 10–9 atm, with higher Fe/SiO2 ratios and alumina concentrations in slag. Our results are also in excellent agreement with the results of Klemettinen et al. [22] for copper solubility in alumina-iron spinel-saturated CaO-free and CaO-containing slags. The equilibrium concentration of copper at 1300 °C in p(O2) = 10–8 atm was approximately 2.4 wt% and under the most reducing conditions at p(O2) = 10–11 atm, it was approximately 0.25 wt%. Experiments with 3–6 wt% MgO addition studied in this work slightly reduced the copper solubility in the slags.

The concentrations of nickel and tin in the slags are presented in Fig. 4c and d. LA-ICP-MS results were utilized for nickel concentrations in the slags in all experimental conditions, and for tin concentrations in slags at oxygen partial pressures below 10−9 atm. As the oxygen partial pressure increased, the concentrations of both nickel and tin increased drastically, corresponding to the observations of Klemettinen et al. [29]. Magnesium oxide addition seemed to have only a slight effect on tin concentrations in the most oxidizing conditions of this study, where it decreased the deportment of tin in the slag.

The starting slag mixtures contained 0, 3, or 6 wt% MgO. At equilibrium, approximately 2/3 of MgO deported in the liquid slag and the remaining MgO in the solid spinel. The effect of MgO on the Al2O3 concentration in the slags is presented in Fig. 5. The Al2O3 concentration in the MgO-free slag varied between 18 and 20 wt%, depending on the oxygen partial pressure. Alumina concentration in the slag decreased significantly when the MgO concentration increased. When MgO concentration in slag reached approximately 4 wt%, the corresponding alumina concentration was between 14 and 16 wt%, increasing slightly towards the more reducing conditions. Therefore, the experimental results in this work are not only presented as a function of increasing magnesia, but also decreasing alumina concentration.

Fig. 5
figure 5

Effect of MgO addition on alumina concentration in slag in oxygen partial pressure range from 10–11 to 10–8 atm

Figure 6 shows a triangular section of the FeOx–SiO2–Al2O3 phase diagram (black lines), with the influence of 5 wt% MgO addition (red lines) superimposed on the diagram. MTDATA software and the MTOX database [35] were employed for the calculations. According to the database, the addition of MgO results in the formation of new phases with relatively narrow stability regions. It also moves the spinel–mullite double saturation point towards the silica-rich corner, but the equilibrium alumina concentration in the liquid slag remains relatively constant. This does not correspond to our experimental observations; the addition of magnesia clearly decreased the equilibrium concentration of alumina in the slag.

Fig. 6
figure 6

Triangular section of Al2O3–SiO2–FeOx ternary system at pO2 = 10–8 atm. The phase boundaries with 0 (black lines) and 5 wt% MgO (red lines) have been superimposed. OX_LIQ slag, SP spinel, TRI tridymite, MUL mullite, HAL halite, CRD cordierite (Color figure online)

Spinel

Figure 7 shows the aluminum and iron concentrations in discrete spinels as a function of oxygen partial pressure. The observed trends were similar for both MgO-free and MgO-bearing slags. Iron concentration in spinel increased as the p(O2) increased, whereas alumina concentration decreased. In the MgO-free system, the iron concentration in spinel was higher than aluminum concentration at p(O2) = 10–10–10–8 atm and reached approximately the same value at p(O2) = 10–11 atm, supporting the findings of Avarmaa et al. [27]. As magnesium deported into the spinel (Fig. 8a), it replaced a significant part of the divalent iron, therefore changing the composition of the spinel from iron-rich to alumina-rich below p(O2) = 10–9 atm.

Fig. 7
figure 7

The effect of magnesia on the equilibrium concentrations of iron and aluminum in the spinel phase

Fig. 8
figure 8

Concentrations of magnesium and nickel in spinel as a function of oxygen partial pressure at 1300 °C

The chemical composition of the spinels was not investigated with LA-ICP-MS technique because of the small size of the individual crystals. The concentration of nickel in the spinel, presented in Fig. 8b, was above the detection limits of EPMA. The concentration increased with increasing oxygen partial pressure, which is in good agreement with the earlier study of Klemettinen et al. [20]. The concentrations of tin in iron-alumina spinel were mostly below the detection limits of EPMA (supplementary Table S-3).

Distributions of Nickel and Tin

In equilibrium, the distribution of a metal [Me] between metal alloy and a molten oxide slag can be formulated as a chemical reaction (1):

$$\left[\mathrm{Me}\right]+\frac{\nu}{2}{\mathrm{O}}_{2}=\left({\mathrm{MeO}}_{\upnu }\right),$$
(1)

where the symbols of [] and () brackets represent the alloy and slag phases, respectively; ν is a stoichiometric coefficient directly related with the oxidation degree of metal in the slag phase. The oxidation degree of metal in the liquid slag can be determined from the experimental distribution coefficient [36], which is a thermodynamic parameter that emphasizes how the element is partitioned between two phases in the investigated system. The distribution coefficient of a metal between metal alloy and liquid slag can be obtained from the following expression [37]:

$${\mathrm{log}}_{10}{{L}}_{\mathrm{Me}}^{\mathrm{Cu}/\mathrm{s}}={\mathrm{log}}_{10}\frac{\left[\mathrm{wt\%\; Me}\right]}{\left(\mathrm{wt\%\; Me}\right)}={\mathrm{log}}_{10}\frac{\left({f}_{{\mathrm{MeO}}_{v}}\right)\left[{n}_{\mathrm{T}}\right]}{K\left[{f}_{\mathrm{Me}}\right]\left({n}_{\mathrm{T}}\right)}-\frac{\nu }{2}\cdot {\mathrm{log}}_{10}p\left({\mathrm{O}}_{2}\right)=\mathrm{A}-\nu/2\cdot {\mathrm{log}}_{10}p({\mathrm{O}}_{2}),$$
(2)

where LMeCu/s is the distribution coefficient of metal between copper alloy (‘Cu’) and slag (‘s’), f denotes the Raoultian activity coefficients of Me and MeOv, and nT corresponds to the total number of moles of constituents in 100 g of alloy and slag. The symbol A, which includes the thermodynamic equilibrium constant (K), is a constant in isothermal conditions [37, 38].

The distribution coefficients of nickel and tin, calculated from the experimental data, are shown in Fig. 9 and 10, respectively. Nickel and tin behave very similarly in the investigated system. The distributions of both metals favor the copper alloy at oxygen partial pressures below p(O2) = 10–8 atm and the highest distribution coefficients were obtained in the most reductive conditions of oxygen partial pressure p(O2) = 10–11 atm.

Fig. 9
figure 9

The distribution coefficient of nickel between copper alloy and molten slag at 1300 °C for experimental data from this study (symbols and two trend lines) and from the literature, see the legend

Fig. 10
figure 10

The distribution coefficient of tin between copper alloy and molten slag at 1300 °C for experimental data from this study (symbols and two trend lines) and from the literature, see the legend

In Fig. 9, trend lines were fitted to the experimental points of the distribution coefficient of nickel. The average value of three slopes (for MgO-free and MgO-bearing slags) was around − 0.44. This indicates that nickel dissolves in the slag as NiO, which corresponds well with the study of Wang et al. [39] for iron silicate slag (FeOx–SiO2), even though in that study the concentration of nickel in metal alloy was much higher (approximately 9 wt%). Our results are also in very good agreement with the study of Klemettinen et al. [20] for FeOx–SiO2–Al2O3 and FeOx–SiO2–Al2O3–K2O slags and of Sukhomlinov et al. [38] for pure, silica-saturated iron silicate slag (FeOx–SiO2). However, Klemettinen et al. [20] observed that the addition of K2O in the slag increased the nickel distribution coefficient between metal alloy and slag. It was expected that the MgO addition in the slag would have a similar influence on the behavior of nickel, as it increases the slag basicity. However, based on our experimental data, MgO addition did not seem to have an obvious effect on the nickel distribution coefficient.

Figure 10 presents the distribution coefficient of tin between copper alloy and the slag. As discussed by Anindya et al. [40], some earlier studies presented that in reducing conditions of p(O2) below 10–8 atm, tin exists predominantly as SnO and as SnO2 in more oxidizing conditions. In Fig. 10, the slopes of the trend lines fitted to the experimental points varied between 0.52 and 0.54, which suggests the dissolution of tin in the slag as divalent SnO. These trend line slopes are in good agreement with those calculated from previous studies where the tin concentrations were lower [19, 29]. The behavior of tin seems to be similar regardless of its starting concentration in the copper alloy (5 wt% in this study, 1 wt% in the previous studies [19, 29]).

Contrary to nickel distribution coefficient, the experimental results show that MgO addition has an increasing impact on the tin distribution coefficient between copper alloy and the slag. This observation is in agreement with the studies of Anindya et al. [40] and Klemettinen et al. [29], where higher concentrations of CaO and K2O in the slag increased the tin distribution coefficient between metal alloy and slag. However, while comparing the results of our study with the study of Klemettinen et al. [29], it can be observed that the effect of MgO on tin distribution coefficient is smaller than that of K2O. This can be explained by the higher basicity of K2O and the less prominent effect of K2O on the equilibrium solubility of Al2O3 in the slag.

The earlier experimental data from See and Rankin [41] are in good agreement with our results, but the values obtained by Anindya et al. [42] using olivine slags are somewhat higher. A comparison of our results with the results obtained by Klemettinen et al. [29], Avarmaa et al. [19], and Sukhomlinov et al. [38] using FeOx–SiO2–Al2O3, FeOx–SiO2–Al2O3(–K2O), and FeOx–SiO2 slags, respectively, suggests that saturating the slag with alumina does not have a significant impact on the distribution behavior of nickel and tin. Klemettinen et al. [20, 29] indicated that K2O addition has definitively an increasing effect on the nickel and tin distribution coefficients. In our study, the MgO addition only had a slight increasing effect for tin, and no clear effect was observed for nickel. However, as presented in Fig. 5, the effect of MgO alone could not be isolated in the results, due to the decreasing Al2O3 concentration in the slag with increasing MgO concentration. Therefore, some additional calculations were performed based on dilute solution theory.

In a system where one substance is solvent and there are several solutes, the activity coefficients of the various solutes affect the activity coefficient of the metal. Wagner proposed [43] an Eq. (3), which presents an expansion of the logarithm of the activity coefficient of a solute as a linear function of the concentrations of the other solutes:

$${\log}_{10}{f}_{i}\left({x}_{1},{x}_{2},{x}_{3}, \ldots \right)={\log}_{10}{f}_{i}^{0}+{x}_{1}{\varepsilon }_{1}^{i}+{x}_{2}{\varepsilon }_{2}^{i}+{x}_{3}{\varepsilon }_{3}^{i}+\cdots, $$
(3)

where fi is activity coefficient; fi0 activity coefficient of the metal in infinite dilution; x1, x2, xn are mole fractions of solutes; and ε1i, ε2i, ε3i are the first-order interaction coefficients.

In the case of our study, the effect of MgO and Al2O3 interactions with metal oxide MeOx was investigated. The expression was limited to first-order interaction parameters and for simplifying the approach, the SiO2 and FeOx interactions were excluded from the calculations. The following Equation was proposed:

$${\mathrm{log}}_{10}{f}_{\rm Me{O}_{x}}={\mathrm{log}}_{10}{f}_{{\rm MeO}_{x}}^{0}+{\varepsilon }_{\rm MgO}^{{\rm MeO}_{x}}\cdot {x}_{\rm MgO}+{\varepsilon }_{{\rm Al}_{2}{\rm O}_{3}}^{{\rm MeO}_{x}}\cdot {x}_{{\rm Al}_{2}{\rm O}_{3}}$$
(4)

After combining above Eq. (4) with the equation describing the distribution coefficient of the metal between metal alloy and liquid slag, the following Eqs. (5 and 6) were obtained:

$${\mathrm{log}}_{10}{{L}}_{\mathrm{Me}}^{\mathrm{Cu}/\mathrm{s}}={C}-\nu/2\cdot {\mathrm{log}}_{10}p({\mathrm{O}}_{2})+{\varepsilon }_{\rm MgO}^{{\rm MeO}_{x}}\cdot {x}_{\rm MgO}+{\varepsilon }_{{\rm Al}_{2}{\rm O}_{3}}^{{\rm MeO}_{x}}\cdot {x}_{{\rm Al}_{2}{\rm O}_{3}}$$
(5)
$${\mathrm{log}}_{10}{{L}}_{\mathrm{Me}}^{\mathrm{Cu}/\mathrm{s}}+\nu/2\cdot {\mathrm{log}}_{10}p({\mathrm{O}}_{2})={C}+{\varepsilon }_{\rm MgO}^{{\rm MeO}_{x}}\cdot {x}_{\rm MgO}+{\varepsilon }_{{\rm Al}_{2}{\rm O}_{3}}^{{\rm MeO}_{x}}\cdot {x}_{{\rm Al}_{2}{\rm O}_{3}}$$
(6)

The left side of the above Eq. (6) was plotted as a function of MgO and Al2O3 concentrations in the slag (experimental data), and a plane was fitted to the datapoints in Origin software (OriginPro 2020). For nickel, the results from the study of Sukhomlinov et al. [38] for the FeOx–SiO2 system were added, so that results without Al2O3 in the slag could also be included in the fitting. Naturally, as the experimental set-up was not identical to our study, the data were not a perfect match. The results for plotting the left side of Eq. (6) as a function of MgO and Al2O3 concentrations, as well as the fitted planes, are shown in Fig. 11 for nickel (a) and tin (b). The values obtained for Al2O3 and MgO interaction coefficients, presented in Table 2, are positive, which suggests that the increasing concentrations of these oxides enhance the deportments of nickel and tin into the metal alloy.

Fig. 11
figure 11

Plotting the left side of Eq. 6 (symbol Y) as a function of MgO and Al2O3 concentrations in slags for nickel (a) and tin (b). Gray points in Ni graph represent data from the study of Sukhomlinov et al. [38] for FeOx–SiO2 system without MgO and Al2O3 additions

Table 2 Calculated values for interaction coefficients and their standard errors

The interaction coefficient values are higher for tin than for nickel, indicating that MgO and Al2O3 have a more prominent effect on the distribution behavior of tin. The standard errors are similar or even higher than the actual values, and therefore these calculations should be regarded only as directional, not absolute. For nickel, the amount of datapoints included in the fitting from this study was lower than for tin, because the slag concentration results from LA-ICP-MS were used, and only one experimental series was analyzed with that method.

For testing the interaction coefficient values obtained, the distribution coefficients were recalculated with Eq. (4) so that the alumina concentration in the slag remained constant, and only the magnesia concentration increased. This means that the Al2O3 concentration values from the slag without MgO, analyzed with EPMA, were used for the other slags with the actual MgO concentration values (from EPMA). Figure 12 shows the experimentally obtained and recalculated trend lines for tin distribution coefficients between copper alloy and the slag as a function of oxygen partial pressure. It can be observed that according to the recalculated results, when the alumina concentration remains constant, the effect of MgO addition becomes clearer, as expected. Similar recalculations for nickel (not presented here) did not indicate a refined effect on the distribution coefficient, which is most likely due to the smaller amount of experimental data available for the fitting.

Fig. 12
figure 12

Distribution coefficient of tin between copper alloy and slags. The black trend lines were fitted based on experimental data, whereas the gray trend lines were refined based on the recalculations. The oxide form SnO (corresponding to a slope of − 0.5) was used for the calculations, whereas the slope from the experimental data was between − 0.52 and − 0.54

Conclusions

Although some experimental work has been done on the effects of CaO, Al2O3, and K2O on slag chemistry and trace element distribution experiments in secondary copper smelting have been performed, data on the effect of MgO addition to slag chemistry in secondary copper smelting are still limited in the literature. Therefore, one goal of this study was to analyze the impact of MgO addition on the phase equilibria of high-alumina iron silicate slags. In the investigated system, alumina concentration in slag at spinel saturation decreased with increasing magnesia concentration and therefore, the effect of MgO alone could not be isolated. This 4D effect was not evident in the phase diagram calculations performed with MTOX database of MTDATA software. The results indicated that the MgO addition increased the number of spinel grains (discrete spinels) observed in the slag and had a significant impact on spinel composition. As magnesium deported into the spinel, it replaced a significant part of the divalent iron, therefore changing the compositions of the spinel, which converted from iron-rich to alumina-rich below p(O2) = 10–9 atm.

The distribution coefficients obtained for nickel and tin between copper alloy and the slags are in good agreement with the data obtained in previous studies for high-alumina iron silicate slags and alumina-free slags. Our experimental results showed that MgO addition has an increasing effect on the distribution coefficient of tin, whereas no clear effect was observed for nickel. Theoretical calculations based on the equation proposed by Wagner dilute solution model [43] confirmed the effect for tin.

Based on the results of this work, low concentrations of MgO (up to 6 wt%) had a positive effect on the recoveries of copper and tin in the metal alloy, and no effect on the recovery of nickel. However, as the MgO addition may cause increasing formation of suspended solids in the slag, viscosity of the slag may increase, which has a negative impact on an industrial operation of a smelter.