1 Introduction

The mechanical properties of advanced high-strength steels (AHSS) for automotive applications are sensitive to their multi-phase microstructures, which are carefully designed and realised by selection of the composition and production route [1]. A combination of alloying elements and complex heat treatment generates microstructures with required amounts, size and distribution of phases. Unfortunately, the thermal cycles of welding processes destroy the original microstructure. In addition, alloying elements present in the steel can significantly affect the weldability, for example, by forming complex inclusions in the fusion zone and stabilising unsolicited phases in the heat-affected zone [2]. About 0.01 to 0.1 wt% of phosphorous is added in low-alloyed steels mainly as a solid solution strengthener to achieve the required mechanical properties. In some AHSS such as transformation-induced plasticity (TRIP) and quench and partitioning (Q&P) steels, phosphorous is added to (i) improve the strength by solid solution strengthening and (ii) reduce the amount of silicon in TRIP and Q&P steels in order to improve the galvanisability [36]. Phosphorous is also known to suppress the formation of cementite and thereby increase the amount of austenite retained at room temperature [3]. However, the segregation of phosphorous to the grain boundaries during welding leads to embrittlement [7, 8]. The formation of complex phosphides affects the amount of substitutional elements in solid solution in the matrix and thereby the hardenability of the steels [911]. The addition of boron to phosphorous containing steels is known to improve grain boundary cohesion by reducing phosphorous segregation, thereby reducing embrittlement [12, 13]. Boron also improves the hardenability of steels, mainly by retarding the nucleation of polygonal ferrite at austenite grain boundaries [1416]. Babu et al. [14] report different weld sizes for two steels with nominally identical compositions, one containing 5 ppm boron by weight and the other 20–40 ppm boron by weight. It was suggested that the higher boron content steel resulted in a larger weld because it exhibited a higher contact resistance during resistance seam welding. A new generation of boron-treated automotive steels are currently of interest because they can be hot stamped and subsequently quenched to produce a martensitic structure with high strength, typically in the range of 900 to 1200 MPa [17]. Studies on the effect of boron content on the weldability of high-strength steels indicate that increasing boron concentration above 100 ppm in the weld metal results in cracking [18]. Therefore, understanding the effect of boron on inter-dendritic and grain boundary segregation of carbon and phosphorous during welding is necessary for the development of phosphorous and boron-containing AHSS.

Phase field modelling has been used to simulate microstructures during various metallurgical processes such as solid-state transformations [1924] and solidification [2527]. Steinbach et al. proposed a multi-phase field model to simulate multi-phase microstructures [28, 29] and was used to simulate solidification during continuous casting of steel grades [30].

In this work, steels with varying carbon, phosphorous and boron contents were designed and subjected to resistance spot welding thermal-mechanical cycles. Solidification of the weld pool under continuous cooling from 1800 K is simulated using a phase field code Micress\(^{{\circledR }}\) [28, 29] directly coupled to thermodynamic (TCFE6) and mobility databases (MOB2). The partitioning behaviour of carbon, phosphorous and boron during the solidification of weld pools subjected to various weld thermal cycles has been studied using electron probe microanalysis (EPMA) and compared with the results of developed phase field model. Mechanical properties of the welds were evaluated by hardness and cross tension tests and correlated with weld microstructure.

2 Experimental procedure

Boron- and phosphorous-containing steels (Table 1) were designed, cast and rolled on a laboratory scale to a thickness of 1.5 mm. Apart from carbon, phosphorous and boron, these steel samples also contain 0.3 Si, 2.2 Mn, 0.65 Cr (wt%). The composition of the steels (Table 1) used in this investigation was designed based on a typical dual phase (DP1000) chemistry [31]. The phosphorous concentration of the steels (0.08 wt%) was however higher than commercially produced DP1000 chemistries, where it is generally within 0.005 to 0.02 wt%. The steels with higher amount of phosphorous were designed to investigate the possibilities of increasing the concentration without affecting weldability and also to study the effect of boron addition on the segregation behaviour of phosphorous. Steel-CP and Steel-CPB contained 0.07 wt% and Steel-2CP contained 0.14 wt% of carbon, respectively.

Table 1 Composition of the steels under investigation. Steels also contain 0.3 Si, 2.2 Mn, 0.65 Cr (wt%) apart from C, P and B

Resistant spot welding was carried out on a Schlattes™ 50-Hz A/C spot welding machine using F16 ×5.5 electrodes with a holding force of 4.5 kN. Welding parameters are summarised in Table 2. I(min) is the weld current needed to produce a 4\(\sqrt {t}\) weld nugget diameter, where t is the plate thickness (1.5 mm) and I(max) is the highest current before expulsion (splashing) occurred for each sample. Welding parameters shown in Table 2 were used to generate weld nuggets for microstructural, elemental analyses and hardness measurements.

Table 2 Resistance welding parameters. I(min) is the weld current needed to produce a 4\(\sqrt {t}\) weld diameter, where t is the plate thickness (1.5 mm) and I(max) is the highest current before expulsion (splashing). One cycle is 20 ms

The weld growth curve was constructed using tensile peel specimens (LTS) with an L-shaped configuration as shown in Fig. 1a. After the tensile peel testing (LTS), failure modes of the welds were examined visually and by optical microscopy. The mechanical strength was evaluated using cross tension specimens (CTS), with dimensions shown in Fig. 1b. The testing procedure and documentation guidelines can be found elsewhere [32]. During the weld growth analysis, both the weld nugget diameter and the plug diameter after the LTS and CTS testing were measured. From these, the plug ratio, the ratio between plug diameter and the weld nugget diameter was calculated. A plug ratio of 0 % indicated a full interface failure, and at 100 %, the weld was intact after the testing.

Fig. 1
figure 1

a Shows the samples used to generate weld growth curves and b shows the cross tension test samples

Vickers hardness measurements with a load of 200 g were made to examine the hardness variations across the width of the spot-welded samples.

Samples for microscopy analyses were prepared after etching the polished samples with a 4 % Nital solution for 5 s. Optical microscopy analysis was carried out using an Olympus BX60M™ optical microscope equipped with image capturing and analysis software analySIS™. Scanning electron microscopy (SEM) was performed using a JEOL JSM 6500F™—field emission gun (FEG). EPMA was carried out to analyse elemental distributions in the fusion zones of resistance spot-welded samples. The measurements were performed in a JEOL JXA 8900R microprobe using an electron beam with an energy of 10 keV and a beam current of 200 nA employing wavelength dispersive spectrometry (WDS). The composition at each analysis location was determined using the X-ray intensities of the constituent elements after background correction relative to the corresponding intensities of reference materials. The intensity ratios were processed with a matrix correction program CITZAF [33]. The backgrounds of the light elements B and C were measured on the spectral line wavelength position using a pure Fe standard. Each analysis location was decontaminated using an air jet during the measurement. The points of analysis were located along a line with increments of 5 μm and involved the elements B, C and P. The energy of the spectral lines, detection limits and counting errors are given in Table 3.

Table 3 Energy of the spectral lines, detection limit and counting error of electron probe microanalysis (EPMA) measurement

3 Phase field simulation conditions

Elemental partitioning behaviour during solidification was studied using the multi-phase phase field code MICRESS\(^{{\circledR }}\), which is based on the work of Steinbach et al. [28, 29]. The solidification microstructures were simulated using this code while continuously cooling the liquid of the compositions mentioned in Table 1. Simulations were carried out on a two-dimensional 400 ×400 grid with a grid spacing of 2 μm. The phase field code was coupled with the thermodynamic software Thermo-Calc to obtain the equilibrium phase boundaries. The mobility data was directly obtained from the MOB2 database of Thermo-Calc. The energy parameters used in this simulation are shown in Table 4. The system was allowed to cool from 1800 K at the rate 1 K s −1 until the solidification was completed. At 1800 K, the composition of the liquid was assumed to be homogeneous and a nuclei of δ-ferrite was placed at the bottom left corner of the system. During the course of solidification, the system was set to undergo a peritectic reaction based on the local thermodynamic and chemical conditions by nucleating austenite at random positions on the interface. In order to simplify the calculations, only carbon, phosphorous and boron were allowed to diffuse and vary during solidification. However, while calculating equilibrium phase boundaries, ortho-equilibrium was assumed. Temperature-dependent thermodynamic and mobility data were updated at every second (therefore at every K of undercooling) while cooling from 1800 K.

Table 4 Energy parameters used in the phase field simulation

4 Results

The quasi-binary phase diagram of the steels used in this work is shown in Fig. 2. The arrows indicate the phase regions involved in the solidification of liquid during cooling from 1850 K. In Steel-CP and Steel-CPB, the liquid starts to solidify into δ-ferrite initially and then the system enters into a complete ferritic region. The solidified δ-ferrite subsequently transforms into austenite and the system becomes completely austenitic when the temperature reaches 1693 K under equilibrium conditions. In Steel-2CP, austenite starts to form from the liquid and the δ-ferrite by a peritectic reaction starting from 1765 K. Steel-2CP becomes completely austenitic at 1738 K under equilibrium conditions.

Fig. 2
figure 2

Quasi-binary phase diagram of the steels under investigation, showing the solidification phase boundaries

4.1 Elemental segregation during solidification

The carbon and phosphorous partitioning behaviour during the solidification of the steels (Table 1) was simulated using phase field modelling. In this simulation, liquid steels were cooled from 1800 K at a cooling rate of 1 K s −1, until the end of solidification. Figure 3 shows the solid fraction evolutions of steels while cooling from 1800 K. Steel-CP and Steel-CPB showed a similar solidification behaviour during the initial stages of solidification. Upon further cooling below 1790 K, Steel-CPB showed a slight sluggishness in solidification. The onset of solidification (1 vol.% of solid formation) in Steel-2CP was observed at lower temperature (1787 K) than that of Steel-CP and Steel-CPB (1796 K). In Steel-2CP, while cooling at 1 K s −1, a peritectic reaction was found to occur at 1738 K (Fig. 4), whereas liquids of Steel-CP and Steel-CPB solidified completely to δ-ferrite before the completion of solidification.

Fig. 3
figure 3

Solid fraction during the solidification of the steels. Steel-2CP shows a peritectic reaction, whereas the liquids of Steel-CP and Steel-CPB completely solidify to δ-ferrite (δ denotes δ-ferrite and γ is austenite)

Fig. 4
figure 4

Microstructure showing peritectic reaction in Steel-2CP at 1738K, showing δ-ferrite (orange), austenite (white), liquid (red) and interface boundaries (blue)

The phase field simulations of microstructural evolution and corresponding elemental distributions during solidification of the steels are shown in Figs. 5, 6 and 7. A clear evidence of carbon and phosphorous partitioning is shown during the solidification. While cooling at 1 K s −1, the liquid of Steel-CP completely solidifies at 1764 K and Steel-CPB at 1758 K. Just before the completion of the solidification, the carbon in liquid of both CP and CPB steels increases to as high as 0.45 wt%, whereas the bulk carbon content of these steels is only 0.07 wt%. Similar enrichment of phosphorous is also found during the final stages of solidification. However, due to the addition of boron (27 ppm), the phosphorous content in the liquid decreases in Steel-CPB in comparison with Steel-CP. This effect is demonstrated with the virtual EDS line scans shown in Fig. 8. In the final stages of solidification (at 1771 K), phosphorous reaches as high as 0.4 wt% in Steel-CP, whereas in Steel-CPB, it remains slightly lower (≤0.32 wt%).

Fig. 5
figure 5

ad First row shows the evolution of the solidification microstructure of Steel-CP, during cooling from 1800 K at a rate of 1 K s −1 where the red colour indicates liquid, yellow denotes δ-ferrite and the dendritic boundaries are shown in blue. el The second and third row denote the corresponding carbon and phosphorous distribution. The scale bars show concentration of the elements in weight percentage

Fig. 6
figure 6

ad First row shows the evolution of the solidification microstructure of Steel-2CP, during cooling from 1800 K at a rate of 1 K s −1 where the red colour indicates liquid, orange denotes δ-ferrite, white is austenite and the dendritic boundaries are shown in blue. el The second and third row denotes the corresponding carbon and phosphorous distribution. The scale bars show concentration of the elements in weight percentage

Fig. 7
figure 7

ad First row shows the evolution of the solidification microstructure of Steel-CPB, during cooling from 1800 K at a rate of 1 K s −1 where the red colour indicates liquid, yellow denotes δ-ferrite and the dendritic boundaries are shown in blue. el The second and third row denotes the corresponding carbon and phosphorous distribution. The scale bars show concentration of the elements in weight percentage

Fig. 8
figure 8

ad Virtual EDS line scans show that concentration of phosphorous in liquid decreases with the addition of boron (Steel-CPB) at the final stages of solidification

During the solidification of Steel-2CP, the carbon partitioning to the liquid is strongly influenced by the onset of the peritectic reaction. The liquid initially solidifies with a strong partitioning of carbon and phosphorous from solidified δ-ferrite (Fig. 6). Austenite nucleates from the liquid/ δ-ferrite interface at around 1738 K while cooling from 1800 K at 1 K s −1. As a results, a local partitioning of carbon and phosphorous is observed between solidifying phases below 1783K, resulting in reduced segregation in the liquid phase at the final stages of solidification (Fig. 6h, l).

The experimental elemental analysis carried out using EPMA in the fusion zones of resistance spot welds show a clear partitioning of carbon and phosphorous at the grain boundaries of Steel-CP and Steel-CPB. The elemental distribution at the centre of the fusion zones of the spot welds is shown in Fig. 9. The EPMA results clearly indicate that the carbon concentration in the fusion zones of the welds can locally reach as high as 0.4 wt%, for steels with bulk carbon concentrations of 0.07 wt%. The results also show an interesting behaviour in phosphorous segregation while comparing Steel-CP and Steel-CPB. These two steels contain the same amount of carbon and phosphorous but Steel-CPB also contains about 27 ppm of boron. EPMA analysis indicates that the segregation of phosphorous in Steel-CP is higher (0.3 wt%) than that of Steel-CPB (Fig. 9a). The local variation of phosphorous in Steel-CPB is found to be less than 0.25 wt% (Fig. 9b). The phase field simulation also showed that addition of boron reduces the phosphorous segregation to the dendrite boundaries (Fig. 8) and EPMA analysis confirms this finding.

Fig. 9
figure 9

a, b EPMA analysis indicates that addition of boron (Steel-CPB) reduces phosphorous segregation in the grain boundaries of weld centre line

4.2 Influence of elemental segregation on the mechanical properties of the welds

The microstructures of the resistance spot-welded samples primarily contain martensite in the fusion zones, after welding using the parameters given in Table 2. Figure 10 shows an overview of the fusion zones of the welds (all at 4 \(\sqrt {t}\) weld nugget diameters). Mechanical properties of resistance spot-welded Steel-CP and Steel-2CP were evaluated using a tensile peel test (LTS), cross tension tests (CTS) and Vickers hardness measurements. The results were compared with Steel-CPB to study the influence of carbon and boron on the mechanical properties of the welds.

Fig. 10
figure 10

ac Overview of the resistance spot welds, where WM is weld metal and HAZ is heat-affected zone. The black box indicates the area where EPMA measurements were carried out. Welds were made at I(min) (see Table 2)

The hardness variation across the width of the welds is shown in Fig. 11. Steel-2CP showed a high hardness in the weld compared to Steel-CP and Steel-CPB due to the presence of a higher amounts of carbon. However, with the same carbon content, the Steel-CPB weld had a slightly higher hardness than Steel-CP weld.

Fig. 11
figure 11

Hardness variation across the width of the welds. Welds were made at I(min) (see Table 2)

The weld growth curves obtained from tensile peel specimens (Fig. 1a) are shown in Fig. 12. The evolution of the weld nugget diameter with respect to the weld current is shown in Fig. 12a. It can be seen that the growth curves overlap for all three steels under investigation. Figure 12b shows the plug ratio of the welds after the tensile peel test. Steel-2CP shows full interface failures (a plug ratio of 0 %) during the entire range of testing. Steel-CP shows partial plug failures, with a plug ratio between 30 and 50 %. However, with an addition of boron, Steel-CPB predominantly shows a higher plug ratio (70 to 100 %).

Fig. 12
figure 12

a, b Weld growth curves generated using the tensile peel samples shown in Fig. 1a

Table 5 shows the weld nugget diameters for the welds made at I(max) and their tensile peel strengths obtained from the tensile peel tests. Welds of Steel-CPB exhibit a better tensile behaviour than Steel-CP and Steel-2CP welds. The weld nugget diameter of Steel-CPB is larger (8.1 mm) than for the welds of Steel-CP and Steel-2CP (6.8 and 6.6 mm, respectively). Moreover, the tensile peel tests resulted in weld metal failure for Steel-CP and Steel-2CP. The welds of Steel-CPB show a full plug failure, which is an acceptable failure mode for the spot welds, thereby exhibiting improved mechanical properties compared to welds of Steel-CP and Steel-2CP (Fig. 13).

Fig. 13
figure 13

af Failure surfaces of welds after tensile peel testing, showing that boron addition improves the mechanical properties. Welds were made at I(max) (see Table 2)

Table 5 Weld nugget diameters and tensile peel strengths of resistance spot welds at I(max). (See Table 2 for welding parameters)

The influence of the composition and the weld nugget diameters on the cross tension strength is shown in Fig. 14. The plug ratio after the cross tension testing is also indicated for each welds in Fig. 14. The failure modes and plug ratio of the cross tension samples are in line with those obtained with the tensile peel samples. Steel-2CP shows full interface failures (plug ratio of 0 %), resulting in a low CTS strength. Steel-CP and Steel-CPB both show partial plug failures. The cross tension strength of Steel-CPB welds is in general higher than that of Steel-CP welds. Moreover, the plug ratio for the Steel-CPB welds is also higher (81 %) than Steel-CP welds.

Fig. 14
figure 14

Cross tension strength (CTS) as a function of weld diameters for the steel welds under investigation. Plug ratio (%) after the cross tension test is also mentioned for each condition

Despite containing a similar carbon concentration, it can clearly be seen that the boron added Steel-CPB welds show a significant increase in strength and failure behaviour as compared with Steel-CP.

5 Discussions

The partitioning behaviour of alloying elements during resistance spot welding has been studied in steels. Quasi-binary phase diagrams of these steels (Fig. 2) show that Steel-CP and Steel-CPB completely solidifies to δ-ferrite from liquid, whereas in Steel-2CP, austenite forms from liquid/ δ-ferrite by a peritectic reaction starting from 1765 K under equilibrium conditions. In steels, segregation of alloying elements begins from the onset of solidification due to the difference in solubility of alloying elements between liquid, δ-ferrite and austenite. Thus, it is important to compare the solidification behaviour of Steel-CP and Steel-2CP to understand the influence of the peritectic reaction on the partitioning behaviour of phosphorous.

The solidification kinetics calculated from the phase field-based solidification model indicates that with increasing carbon content, time for complete solidification also increases when cooling from 1800 K (Fig. 3). In a typical resistance spot weld thermal cycle, the rate at which the weld pool is cooled can be as high as 2000 K s −1 [34]. With sufficient undercooling and fast cooling rates in practical welding conditions, it is even possible for the liquid to directly solidify to austenite as a primary solidification phase [35]. The phase field simulation also showed that with a cooling rate 1 K s −1, the onset of peritectic reaction is found at 1738 K for Steel-2CP while Steel-CP and Steel-CPB did not show any peritectic reaction before the completion of solidification. Even after an enrichment of carbon of about 0.4 wt% at the final stages of solidification in Steel-CP and Steel-CPB, formation of non-equilibrium austenite is not found at the liquid/ δ-ferrite interfaces (Figs. 5 and 7).

The phase field modelling of solidification showed the effect of the bulk concentration and the onset of the peritectic reaction on the elemental partitioning between the liquid and the solidifying phases. In both Steel-CP and Steel-CPB, just before the completion of solidification, the liquid contained about 0.4 wt% of carbon. For the steels with bulk carbon content of 0.07 wt%, this segregation of carbon is crucial in determining the mechanical properties of the weld, as it may lead to the formation of brittle carbides at the inter-dendritic boundaries. The EPMA measurement carried out in the centre of the fusion zones of resistant spot-welded samples also confirms partitioning behaviour of carbon (Fig. 9). Carbon concentration at the grain boundaries was found to vary from 0.3 to 0.4 wt%. The carbon peak, showing more than 1 wt%, is due to the presence of iron carbide at a grain boundary. Simulation results indicate that the onset of the peritectic reaction trigger local partitioning of carbon to the newly formed austenite from the δ-ferrite (Fig. 6). As the solubility of carbon in austenite is higher than in δ-ferrite, carbon partitions to austenite and thereby reduces the amount of carbon that diffuses to the unsolidified liquid (Fig. 6).

The embrittlement of welds resulting from the segregation of phosphorous to grain boundaries is reported to be reduced due to the addition of boron [13, 15]. EPMA analysis indicated that with an addition of 27 ppm of boron, the phosphorous segregation at the grain boundaries in the fusion zone of Steel-CPB was reduced considerably. About 0.35 to 0.4 wt% phosphorous was found in some grain boundary areas in the fusion zone of Steel-CP (Fig. 9a), whereas in Steel-CPB, the phosphorous segregation at the grain boundaries was less than 0.25 wt% (Fig. 9b). This decrease due to the addition of boron is also observed in phase field simulations (Fig. 8). The addition of boron is known to suppress the segregation of phosphorous at the grain boundaries. It is reported that due to the faster diffusion of boron than phosphorous atoms in the iron matrix, boron segregates at the grain boundaries much earlier than phosphorous. The presence of boron atoms at the grain boundaries may lead to the subsequent retardation of phosphorous diffusion [8, 12], thereby reducing the grain boundary segregation.

The mechanical properties of the resistance spot welds reflected the effect of composition and the microstructure. The weld zones of Steel-2CP showed a higher hardness than Steel-CP and Steel-CPB due to the presence of more carbon (Fig. 11). With the same carbon content, the weld of Steel-CPB showed a slightly higher hardness than Steel-CP due to the presence of boron. An earlier study indicates that in presence of boron, an increased amount of martensite was found in Steel-CPB in comparison with Steel-CP. This leads to an increase in the hardness of the weld zone of Steel-CPB [36].

The addition of boron to steel also significantly increased the cross tension strength of the welds (Fig. 14). The CTS strength at 6 mm weld diameter increased from 3.5 kN for Steel-CP to aproximately 5.5 kN for Steel-CPB. Apart from an increase in strength, the failure mode of boron-added Steel-CPB was found to improve significantly as compared with Steel-CP and Steel-2CP (Figs. 12a and 13).

During tensile peel testing at I(max), the weld of Steel-CPB did not fail and a failure was observed in the HAZ. By contrast, in welds of Steel-CP and Steel-2CP, cracks were found to initiate at the fayed interfaces and propagated along the grain boundaries at the centre of the fusion zone. The results of the cross tension tests show that with an addition of 27 ppm of boron, the mechanical properties of the welds significantly improved compared with steels containing no boron. In Steel-CP and Steel-2CP, the presence of high amounts of phosphorous and carbon at the grain boundaries led to the deterioration of the mechanical properties of the weld. As the EPMA measurement and phase field simulation show, the addition of boron significantly reduces the segregation of phosphorous at the grain boundaries and the mechanical properties of the welds in the boron-added Steel-CPB is better than those of Steel-CP and Steel-2CP.

6 Conclusions

Elemental segregation studies during welding of phosphorous- and boron-containing steels were carried out in this work by experiment and phase field-based solidification models. The results reported lead to the following conclusions:

  1. 1.

    The onset of the solidification of the weld pool reduced from 1796 K (for Steel-CP and Steel-CPB) to 1787 K with an increase in carbon content (Steel-2CP). For a steel with higher carbon content, solidification completes at low temperature (1758 K) than for a steel with a low carbon content (at 1764 K).

  2. 2.

    The solidification of the weld pool progresses with a strong partitioning of carbon and phosphorous to the unsolidified liquid. For steels with 0.07 wt% of bulk carbon, at the end of solidification, the carbon concentration in the liquid can reach as high as 0.4 wt%. Similarly, phosphorous in the unsolidified liquid can be about 0.4 wt% for steels with bulk phosphorous of 0.08 wt%.

  3. 3.

    The onset of the peritectic reaction during solidification can significantly change the partitioning behaviour of the alloying elements due to the local partitioning between the solidifying austenite and δ-ferrite.

  4. 4.

    Addition of boron increases the hardness of the welds due to the possible increase of martensite volume fraction in the heat affected zones for the steels with a similar carbon concentration.

  5. 5.

    With an acceptable failure mode, tensile peel and cross tension strengths of steel welds are improved with the addition of boron. Boron was found to suppress the grain boundary segregation of phosphorous, thereby reducing the embrittlement of the welds.