Introduction

Phosphate mineral slurry is a mixture of dry phosphate and water. It is the raw material to be exploited to produce fertilizers and phosphoric acid. The phosphate slurry is processed to produce phosphorus (P), which is one of the three main nutrients most used in fertilizers (the other two are nitrogen and potassium), and the most important macronutrients essential for the growth and development of a plant. It is a building block of deoxyribonucleic acid (DNA) and ribonucleic acid (RNA) in plant cells and is responsible for energy storage and transfer. Plants acquire all their P from fertilizers in the soil1.

The quality of the phosphate slurry is checked regularly throughout the production chain. Samples are taken at variable time intervals between 20 and 60 min depending on the slurry processing steps. Then, the samples are sent to the laboratory to evaluate the parameters such the solid content, the distribution of the particle size and the concentration of the chemical elements P2O5, CaO, SiO2, CO2, MgO, Cd, organic C, F, Cl, Al2O3, Fe2O3, K2O, Na2O, SO3, U, Zn, As, Cu and Mn. These chemical analyses are carried out in the laboratory using conventional analytical methods. These methods are expensive, time-consuming and generate hazardous waste. An online X-ray fluorescence technique (XRF) analysis system could overcome these drawbacks and allow a rapid chemical analysis of the phosphate slurry. A few studies have demonstrated the potential of the XRF technique to analyze dry phosphate rock2,3,4,5. However, there is a lack of information on the analysis of phosphate slurry using the XRF technique.

This article will explore some challenges of analyzing phosphate slurry using the XRF technique. These challenges are related to the physical parameters of the slurry, namely, the particle size and water content. These parameters affect the accuracy of XRF measurements and more specifically in the case of slurry. Indeed, analyzing the slurry is a challenging process compared to solid analysis, one of these challenges is the absorption of X-rays by the water.

XRF is a rapid technique for quality control of mineral samples6. The time required to analyze a sample can be reduced from hours (in the case of conventional analysis methods) to minutes (in the case of XRF)7. Like many other techniques, XRF has some limitations regarding the analysis of light elements8. In the case of phosphate slurry, the particle size of the sample and the water content may affect the accuracy of the XRF measurements9,10,11,12,13,14,15,16,17. When analyzing samples with different particle size distributions and light elements or having analytes with long-wave characteristic lines (e.g., Si, Al), peak intensities can be attenuated by 30%18. Demir et al. (studied the effect of particle size distribution on XRF measurements of cement samples with different grain sizes. The results show a difference between the maximum intensities of the peaks that can reach 17%, when analyzing samples with different particle sizes19. In another study, samples of different grain sizes extracted from the Nile River in Egypt were analyzed with the XRF technique. The results show that the XRF intensities of radiation can increase or decrease when decreasing grain size and depending on the atomic number of the analyte. For small particle size samples, the characteristic radiation penetration depth increases. Thus, the probability of the particle size effect on the characteristic radiation decreases20. The presence of water in a slurry and its capability to absorb X-ray could affect the accuracy of the XRF measurements as well and can also cause the diffusion of primary radiation from excitation sources, decreasing of the intensity of the characteristic X-rays and an increase in the intensity of the X-rays scattered in the fluorescence spectrum13. Three certified reference materials with different water contents were analyzed with the XRF technique. The measurements show that the elements identified by the spectral line with the highest Z atomic number were more affected by the water content than the elements identified by the line with the lowest Z. Ti, Cr and Fe were not significantly influenced by water content, while the Sr was the most affected21. In some cases, the influence of water can be corrected by calculating the attenuation coefficients for each measured element22.

The work presented in this article is part of a project to develop an online XRF analyzer to control the quality of phosphate slurry directly on the production line. Particle size and water content are parameters that can adversely affect XRF measurements. Several studies have addressed the effect of these two parameters in the case of XRF analysis of other materials. However, the case of XRF analysis of phosphate slurry has not been reported in the literature, mainly because of the following parameters such as the specific chemical composition, mineralogical structure and other characteristics of the sample being analyzed. This study examines the effect of these two parameters on the XRF analysis of phosphate slurry. Seven samples of phosphate slurry with different particle sizes (106–425 µm) and sixteen samples with different water contents (from 30 to 60%) were analyzed. As a result of the data collected, new formulas will be proposed to correct the concentration based on particle size distribution and water content. Also, solutions are expected in the future to acquire these data in real-time to implement an XRF online analyzer system for phosphate slurry.

Materials and methods

Preparation of samples to investigate the effect of particle size distribution

The phosphate slurry samples were prepared in a laboratory based on dry phosphate ore provided by an international fertilizer producer. Six samples were prepared from the same batch of the ore weighing 2 kg. The sieving operation yielded to six samples of different particle sizes of 425 µm, 300 µm, 250 µm, 200 µm, 160 µm and 106 µm. These samples were dried in an oven for 12 h at 60 °C. The preparation of the slurry samples was done by adding 50% of water content to each sample for all the samples. Table 1 summarizes the characteristics of the six samples.

Table 1 The six samples prepared for studying the effect of particle size.

Preparation of samples to investigate the effect of water content

Sixteen samples were used to study the effect of water content. They were prepared from four reference samples S1, S2, S3 and S4 provided by an international fertilizer producer. The four samples were ground to a fineness of 160 µm and dried for 12 h at a temperature of 60 °C. Based on each sample, four new slurry samples of different water content (30%, 40%, 50%, 60%) were prepared. In the industrial case, the phosphate slurry is often prepared with water content between 40 and 50% and transported between plant units through pipelines. In this study, the 30–60% water content range has been chosen to cover the real values used in industry. The preparation of the slurry samples was done by adding a well calculated amounts of water to the reference samples. Following this, the solutions were stirred for 5 min. Table 2 summarizes the 16 samples with water content.

Table 2 The 16 samples prepared for studying the effect of water content.

XRF setup

Each sample was divided into two sets for analysis by two different methods. The first set of samples was sent to external laboratories for analysis with conventional methods to determine the exact chemical composition of the samples and the concentrations of elements and chemical compounds. The second set of samples was analyzed using an XRF Epsilon 1 spectrometer (Malvern Panalytical, United Kingdom). The equipment measures the elemental concentrations, which are then converted to oxide concentrations. The results of XRF measurements will be compared with those of external laboratories and the relative error will be evaluated. The relative error \(\Delta {w}_{i}(\%)\) expresses the ratio in percentage of the difference between the XRF measurement and the reference value measured by external laboratories. It can be expressed by the following equation.

$$\Delta w_{i} = \frac{{C_{ref} - C_{m} }}{{C_{ref} }}*100$$
(1)

where \(C_{ref}\) the is validated reference concentration, \(C_{m}\) the concentration measured by XRF, \(x\) is the water content in percentage and i is the element measured by XRF.

The XRF Epsilon 1 equipment can analyze both solid and liquid samples. To analyze the slurry samples, plastic cups were used and the bottoms were covered with 3.6 µm thick Mylar polymer. Then, the slurry sample was poured into the cup and placed inside the XRF analyzer. Figure 1 shows the main components that make up the Epsilon 1 XRF analyzer. The X-ray tube has a power of 15 W with a 50 kV generator. The spot size on the sample is typically 10 × 14 mm. The detector has a high resolution of 135 eV. The matrix of phosphate slurry contains heavy and light elements at low and high concentrations. Thus, each sample was analyzed using three measurement parameter configurations, as shown in Table 3. Controlling measurement parameters such as excitation energy, electric current, filters and measurement time improves measurement accuracy. 10 kV energy is not sufficient to eject electrons from the K shell of elements with atomic number greater than 33. Therefore, the characteristic lines \({k}_{\alpha }\) of those elements do not appear on the spectrum, which decreases the probability of having a spectral overlap. Low current is often used for measuring metals, and high current for non-metals. The use of filters eliminates some characteristic lines and optimizes the signal-to-background ratio. The combination of excitation energy and different filters can make the instrument more sensitive to certain elements. The measurement time plays a significant role in the case of measuring light elements or elements with low concentrations, it improves the SNR ratio. More details about the configurations used in this study and the elements analysed by each configuration can be found in Appendix 2 of the supplementary material.

Figure 1
figure 1

The main components of the XRF setup: (1) detector, (2) protection film, (3) 3.6 µm thick Mylar film, (4) X-ray tube, (5) cup sample holder.

Table 3 The measurement parameters of the three configurations.

The effect of segregation (precipitation of the solid phase on the sample cup bottom) is considered to be relatively small for two reasons: the samples of the phosphate slurry that we prepared for this study have a high viscosity. Indeed, the mixture of dry phosphate rock with water remains homogeneous during the first 10 min. This is related to the characteristics of the phosphate rock such as the mineralogy, the matrix and the chemical composition. The second reason is that the XRF measurement is performed in a short time before the segregation. As shown in Table 3, each sample was analyzed using three measurement parameter configurations and sample homogenization is performed before each measurement. Configuration 3 is the longest and it takes 300 s to perform XRF measurements, precipitation is not expected to begin for quite some time after this duration.

Generally, the choice of the film is based on factors such as X-ray transmission, impurities, chemical resistance, and cost23. The analysis of some certified reference materials using the XRF technique showed that the energy absorption varies according to the material constituting the thin films24. The study confirmed that the transmittance of some light elements (Al, Mg, Si, K, S and Ca) has a high sensitivity to the thin film material. Generally, greater transmittance (minimal absorption) is observed for polypropylene (PP) than for Mylar. This difference is mainly explained by differences in density between the materials, Mylar being denser than PP. However, the film used in our study allows the transmittance of 65% K-line intensity of element Al, a transmittance of 75% K-line intensity of Si, and a transmittance greater than 80% of K-line intensity of other elements analyzed in this study, as shown in Fig. 2. Also, all light elements analyzed in this study are major elements and not trace elements. Thus, Mylar 3.6 µm film is suitable for this study.

Figure 2
figure 2

The plot of % transmittance vs wavelength for various thin films (taken from the Chemplex Thin-film Selection Guide, US patent 10,761,012).

Results and discussion

Equipment accuracy verification

To verify the XRF measurements taken with the Epsilon 1 spectrometer, four certified phosphate samples Mine1, Mine2, Mine3 and Mine4 were prepared and analyzed. Water was added to the powder samples to prepare slurry samples with a water content of 30% and a particle size of 106 µm. As a result of the measurements, the mean relative errors are as follows 5% for U, 12% for SO3, 15% for CaO, 18% for P2O5, 41% for SiO2, 23% for Fe2O3, 28% for Al2O3, 26% for Sr, 25 for Cu, 38% for Zn, 13% for As and 25% for Cl. The results are comparable to the certified laboratory analysis. Based on this first stage of measurements, this equipment was used for all XRF analyses. XRF analysis with different configurations listed in Table 3 allows the collection of spectra whose peaks of all elements are appropriate for accurate quantification. This section has been detailed in Appendix 2 of supplementary material.

The effect of particle size distribution on XRF measurements

The six samples prepared for studying the effect of particle size were analyzed, a total of five spectra were collected for each sample. Table 4 shows the chemical analyzes performed by external laboratories and those using the XRF analyzer. It’s important to specify that compounds with lower concentrations (ppm) present large errors comparing the value measured using XRF and laboratory. Such behavior mainly occurs because of the special characteristics of these mineral slurry samples such as water that attenuate the X-ray intensities, the matrix, and the particle size. Analysis results of six samples show that the relative error varies depending on the particle size and the element being measured. For the P2O5 compound, the relative error increases when the particle size increases, as shown in Fig. 3a. With a particle size of 160 microns, the minimum error of XRF measurements is achieved, i.e. 3.45%. In the case of P2O5, the ratio between relative errors with 425 µm and 160 µm grain size was 1.53. The increase in P2O5 content as particle size increases could be interpreted as the larger particle size slurries segregating more rapidly. For the compounds Al2O3, K2O, Cr2O3, Fe2O3 and Sr, the results show that the relative error increases with the increase in particle size, as shown in Fig. 3a,b,d. The relative error increases by a factor of 1.11 for Sr, 1.36 for Cr2O3, 1.51 for Fe2O3, 4.01 for Al2O3 and 15.6 for K2O.While the measurements of CaO and SiO2 show a decrease in relative error with increasing particle size, as shown in Fig. 3c.

Table 4 Samples analysis of different grain sizes by external laboratories and by XRF.
Figure 3
figure 3

The relative error of XRF measurements as a function of particle size. (a) P2O5, Al2O3 and K2O, (b) Sr, (c) CaO and SiO2, (d) Fe2O3 and Cr2O3.

This study's results can be expressed by the mineralogy of the phosphate rock that contains minerals with different characteristics. One of these characteristics is the size of the particles. For example, the sample Brut_106 with a particle size of 106 µm contains a higher amount of the minerals SiO2, Al2O3, K2O, Cr2O3 and Fe2O3 than the sample Brut_425 with a particle size of 425 µm. Table 4 shows that the contents of these chemical compounds decrease with increasing particle size. Alternatively, the concentrations of the compounds P2O5, Sr and CaO increase. The sample brut_425 is rich in tricalcium phosphate Ca3(PO4)2 but contains low levels of SiO2, Al2O3, K2O, Cr2O3 and Fe2O3. Some minerals are mostly found in the form of large particles and others in the form of small particles. Thus, different minerals do not have the same probabilities of being bombarded by the X-ray source beam. The claim that the P2O5 and CaO contents increased with particle size could also be interpreted as the larger particle size slurries segregating more rapidly. Indeed, the slurry samples will segregate on standing, or even during an XRF measurement and particles separate to the bottom with denser minerals more rapidly.

For most minerals, the relative error increases as the grain size increases. Indeed, a sample with a high particle size (e.g. brut_425) contains large particles of tricalcium phosphate Ca3(PO4)2 which cover a large part of the surface affected by the X-ray beam. In this case, the measured surface does not represent the exact composition of the measured sample. Alternatively, a sample with a small particle size (e.g., brut_106) contains minerals of small particles and the smallest particles of tricalcium phosphate. Thus, the minerals will have close probability of being bombarded by the x-ray source beam. However, this assumption does not explain the variation in relative error for the SiO2 compound. In contrast to other compounds, the relative error of XRF measurements decreases as the particle size increases. This could be explained by the fact that the XRF technique does not perform well for the light elements and the measurements are not precise as in the case of SiO2. This also justifies the random variation of the XRF measurements of the SiO2 content as a function of the particle size distribution of the samples.

The other parameter that can express the increase in relative error as a function of grain size is the roughness of the measured surface. Indeed, the results are more precise when the measured surface is completely occupied by the particles or contains less empty area. The presence of an empty area on the measured surface makes it less representative of the measured sample. Usually, the empty area is filled by the water that absorbs the characteristic X-rays and affects the precision of the measurement. Visualization of the samples using a microscope shows that the empty area unoccupied by the particles increases as the particle size of the sample increases, as shown in Fig. 4.

Figure 4
figure 4

Microscopic images of the sample’s surface. (a) Particle size of 160 µm, (b) particle size of 200 µm, (c) particle size of 250 µm, (d) particle size of 300 µm, (e) particle size of 425 µm, (f) particle size of 500 µm. Scale bar in each figure represents 100 µm.

The unoccupied area was calculated using the microscope software. Figure 5 shows that this surface area increases as the particle size of the sample increases. This is a second parameter that may justify the increase in the relative error as the particle size of the sample increases.

Figure 5
figure 5

Evolution of the total empty area as a function of the particle size of the measured sample.

The effect of particle size can be corrected using the Berry-Furuta-Rhodes equation of the characteristic X-ray intensity from a given element (), for particles of average diameter (cm) in a sample of arbitrary thickness (n + 1) layers of particles25.

$$I_{f} = \frac{{I_{0} G\omega \tau \rho_{f} W_{f} C\eta \left[ {1 - exp - \left( {\mu_{f}^{*} + \mu_{f}^{*^{\prime}} } \right)\overline{a}} \right]}}{{\left( {\mu_{f}^{*} + \mu_{f}^{*^{\prime}} } \right)}}\mathop \sum \limits_{k = 0}^{n} \left( {J,J^{\prime}} \right)^{k}$$
(2)

where \(J = \left[ {1 - \eta + \eta C\left( {\exp - \left( {\mu_{f}^{*} \overline{a}} \right) + rexp - \left( {\mu_{n}^{*} \overline{a}} \right)} \right)} \right]\), \(J^{\prime} = \left[ {1 - \eta + \eta C\left( {\exp - \left( {\mu_{f}^{*^{\prime}} \overline{a}} \right) + rexp - \left( {\mu_{n}^{*^{\prime}} \overline{a}} \right)} \right)} \right]\), G = geometrical constant, \(I_{0}\) = flux of primary radiation at the sample surface (photons/s), \(\omega\) = fluorescent yield for the X-ray transition excited, \(\tau\) = photoelectric cross-section for that transition, at the source energy (cm2/g), \(\rho_{f}\) = specific gravity of the fluorescent particles (g/cm3), \(W_{f}\) = weight concentration of the fluorescent element in the fluorescent particles, C = volume concentration of fluorescent particles in the solid phase, \(\mu_{f}^{*} ,\mu_{f}^{*^{\prime}}\) = linear attenuation coefficients for the primary and fluorescent radiation, respectively, in fluorescent particles (cm−1), \(\mu_{n}^{*} ,\mu_{n}^{*^{\prime}}\) = the same, in non-fluorescent particles (cm−1), \(\tau\) = total volume ratio of non-fluorescent to fluorescent particles, \(\eta\) = ratio of total solid volume to the volume of the sample, i.e. the solids packing fraction (\(\eta \le 1\)).

The effect of water content on XRF measurements

Appendix 1 represents the chemical analysis performed by the external laboratories and those using an XRF analyzer. For the compounds CaO, Cl, Fe2O3, K2O, As, Zn, U, Cr, SO3 and Cu, the results show that the relative error increases as the water content increases, as shown in Fig. 6. The ratio between the relative errors related to maximum and minimum grain sizes was 1.71 for Fe2O3, 1.78 for Cr, 1.95 for Cu, 1.39 for K2O, 2.30 for CaO, 2.35 for SO3, 1.98 for Zn, 1.96 for As, 1.88 for U and 1.59 for Cl. water content of 30% resulted in the minimum relative errors. The results can be expressed by the effect of water on X-rays. It causes a diffusion of primary radiation from excitation sources, decreasing the intensity of the characteristic X-rays and an increase in the intensity of the X-rays scattered in the fluorescence spectrum13. Therefore, the XRF measurement error increases for samples with high water content. However, this assumption does not explain the results of the P2O5 measurements. Indeed, the results do not show a clear correlation between the measurement error and the water content. It was found that a water content of 50% led to a minimum relative error of 14% as shown in Table 5.

Figure 6
figure 6

The relative error of XRF measurements as a function of water content, for all compounds contained in the phosphate slurry.

Table 5 The relative error values for the XRF measurements of P2O5.

Figure 7 shows the linear and polynomial models that describe better the variation of the average relative error as a function of the water content for each element or compound. These models are important to correct the effect of water on the XRF measurements of phosphate slurry. It is important to specify that these models may vary depending on the equipment used and the measurement parameters. Considering that the water contents is between 30 and 60%. The equations of these models vary depending on the element or compound being measured.

$$\Delta w_{{Fe_{2} O_{3} }} \left( x \right) = 5x + 47,3$$
(3)
$$\Delta w_{Cr} \left( x \right) = 4,81x + 28,53$$
(4)
$$\Delta w_{Cu} \left( x \right) = 6,38x + 0,72$$
(5)
$$\Delta w_{{K_{2} O}} \left( x \right) = 0,12x^{2} - 9,79x + 299,12$$
(6)
$$\Delta w_{CaO} \left( x \right) = 0,12x^{2} - 7,83x + 198,58$$
(7)
$$\Delta w_{{SO_{3} }} \left( x \right) = 0,04x^{2} - 3,6x + 68,97$$
(8)
$$\Delta w_{Zn} \left( x \right) = 4,85x - 2,56$$
(9)
$$\Delta w_{As} \left( x \right) = 8,05x - 22,98$$
(10)
$$\Delta w_{U} \left( x \right) = 8,82x + 26,74$$
(11)
$$\Delta w_{Cl} \left( x \right) = 7,5x + 139,46$$
(12)

where \(x\) is the water content in %, that is between 30 and 60%.

Figure 7
figure 7figure 7

The relative error of XRF measurements as a function of water content. (a) Fe2O3, (b) CaO, (c) Cu, (d) Cr, (e) K2O, (f) U, (g) SO3, (h) As, (i) Zn, (j) Cl.

From to the definition of the relative error expressed by the formula (1), the measured concentration could be corrected by the following expression

$$C_{{cor_{\_i} }} \left( x \right) = \frac{Cm}{{1 - \frac{{\Delta w_{i} \left( x \right)}}{100}}}$$
(13)

where \(C_{{cor_{\_i} }} \left( x \right)\) is the corrected concentration, \(x\) is the water content in %, i is the element measured by XRF and \(\Delta w_{i} \left( x \right)\) is one of the Eqs. (2)(11) depending on the element being measured. It is important to specify that before correcting the effect of water content, the effect of grain size must first be corrected. The formula proposed in Eq. (2) can be used to calculate the corrected intensity taking into consideration the effect of particle size. Then, the elemental concentration will be calculated based on the corrected intensity. The new concentration will be corrected again using the formula proposed in Eq. (13) to consider the effect of water content.

Conclusion

The effects of particle size and water content on XRF measurements of phosphate slurry were investigated in this study. The results showed that the relative error of XRF measurements increases as the particle size of the sample increases. This is for most compounds except SiO2 and CaO. The evolution of the error as a function of the grain size was quantified for the elements of interest contained in the phosphate slurry. The variation in the relative error as a function of the particle size could be explained by the mineralogy of the samples measured and the roughness of the measured surface. Also, this experimental study showed that the relative error of XRF measurements increases as the water content of the measured sample increases. This variation was expected, as the X-rays are absorbed by the water contained in the slurry. However, this assumption does not justify the results of the P2O5 measurements. Indeed, it was determined that 50% water content resulted in the least relative error. These results can be expressed by the mineralogy of the phosphate slurry, the size of the tricalcium phosphate Ca3(PO4)2 particles and the diameter of X-ray beams derived from the X-ray tube. For water content between 30 and 60%, the evolution of the relative error was represented by mathematical equations. Thus, new formulas were proposed to correct the concentration considering the water content.