1 Introduction

Melamine-impregnated paper is a solution broadly used in the production of high pressure laminates (HPLs) and wood-based panels (Chen et al. 2018; Walia 2019). HPLs are produced by applying high pressure (above 5 MPa) and temperature (above 120 °C) to a set of paper sheets impregnated with thermosetting resins. Usually three layers of paper sheets are applied: a core layer composed of kraft paper sheets impregnated with a phenolic resin, a decorative layer composed of a patterned paper impregnated with melamine–formaldehyde resin, and a protective layer constituted of an overlay paper impregnated with melamine–formaldehyde resin (Hunter 1971; European Standard 2005). The application of melamine-impregnated paper to surfacing wood-based panels, namely in melamine faced boards (MFBs), is also done using temperature and pressure, and this process not only provides a decorative finishing to the surface of the panel but also ensures some surface protection (Ayrilmis 2012; European Standard 2017). The decorative paper can have many sorts of finishing patterns or decorations so that the final product can resemble a variety of surfaces (Roberts and Evans 2005).

Usually, manufacturers of impregnated paper determine two quality control parameters: resin content (RC) and volatile content (VC) (Premark and Holdings 1996; Henriques et al. 2017a). These two values are kept under control so that sheets of paper can be stored in a stacked block without sticking and maintain the resin flow and the necessary cross-linking degree (Roberts 2004; Kandelbauer et al. 2010a; Henriques et al. 2017a).

The process of decorative paper impregnation consists of a series of impregnation and drying steps. The impregnation can be done in three distinct ways: using rollers with an adjustable gap between them, a system of various pairs of rollers with controllable gap and speed, or by dipping the paper in the resin and then scrapping off the excess. The drying process is based on blowing hot air over the impregnated paper (Allen and Kemp 1995; Kohlmayr et al. 2014). The sequential steps of paper impregnation are: (1) application of the resin to the decorative paper with the first bath resin formulation, (2) drying in the first air dryer, (3) assess the RC after first impregnation (RC1), (4) coat the face of the impregnated paper with the second bath resin formulation, (5) second air drying, (6) assess RC after second impregnation (RC2 or simply RC) and assess VC (Figueiredo et al. 2011).

Normally, the RC and VC are determined off-line using a standard precision balance. The determination of VCs also needs a ventilated oven (Laurence et al. 2006). During production, significant portions of impregnated paper go to waste due to the values, or RC and VC values falling out of specification. In fact, estimates show that the waste of this industry is increasing, mainly because the industry is also growing (Ayrilmis 2012).

A viable on-line solution for the analysis of moisture content is the use of near infrared (NIR) spectroscopy. This technology has been successfully applied to many types of solid and liquid materials, specially due to the dominant water band that can be used for quantitative purposes (Clavaud et al. 2017). A common practice in NIR spectroscopy is to use chemometric techniques (Reich 2005). Among these, principal components analysis (PCA) and partial least squares (PLS) are two of the most used methods for data reduction and model creation (Balabin et al. 2007; Fülöp and Hancsók 2009). Previous scientific publications have already applied NIR spectroscopy to assess properties of impregnated paper. Neimanis et al. (1999) used PCA, PLS, and orthogonal signal correction (OSC) to evaluate the moisture content of an oil impregnated paper. That work showed results for a model that predicts low moisture content of impregnated paper. The model had a relatively high range of analysis (between 1 and 8%) and the authors argued that in such a range the paper is affected by bound water present in cellulosic fibers of paper or free water in the cavities of cells or voids between fibers. Dessipri et al. (2003) have also successfully applied NIR spectroscopy to analyze the remaining useful life of impregnated paper with a melamine–formaldehyde (MF) resin using a diffuse reflectance probe. This ageing phenomenon was associated with the RC and VC of the samples. That technique was also patented (Dessipri et al. 2004) and proven to work in an industrial plant.

A complication that arises when creating NIR models for the prediction of decorative paper properties is that there are a wide range of paper colors and grammages. Each type of paper has specific particularities that make them significantly different from each other, so that their NIR spectra differ (Kandelbauer et al. 2010b). This was also demonstrated by Yang et al. (2014), who showed that a PCA methodology could be used to separate different types of papers into clusters within the PCA scores space.

Nakos and Minopoulou (2008) have also applied NIR spectroscopy to assess the VC of impregnated decorative paper at an industrial level. The results obtained showed that NIR models for the determination of VC can be calibrated and achieved an R2 of calibration of 93.3%. Henriques et al. (2017b) used interval PLS techniques to create models for the assessment of RC and VC off-line and at a laboratory scale. This approach showed that the technique can be used to select the most relevant wavenumbers for the calibration of the models. The same work also showed that different types of paper in terms of color and grammage also produce distinct NIR spectra.

To further study NIR technology applied to impregnated paper, this work aims to (1) characterize the surface of decorative paper impregnated with an MF resin using NIR spectroscopy and (2) simulate the in-line use of this technology at industrial level using a laboratory scale computer-controlled high-precision table gantry (hereinafter referred to as gantry).

2 Materials and methods

2.1 Sample preparation

Industrial white paper sheets of 80 g/cm2 were provided by EuroResinas–Indústrias Químicas S.A.. The color chosen for the experiment was based on the volume of production; white paper tends to be produced in larger quantities due to demand. The sheets were then cut in circles with a diameter of 11.3 cm. A total of 100 samples were obtained this way. The samples were later separated in blocks of 10 and put in an oven at 160 °C for different times varying from 0 to 45 s. This procedure was done to artificially create samples with different values of RC and VC.

2.1.1 Sample characterization

The RC is determined by weighing the paper sample prior to and after resin impregnation. Expression 1 shows the equation used to calculate the RC.

$$RC = \frac{{m_{2} - m_{1} }}{{m_{1} }}$$
(1)

where \({m}_{2}\) is the mass of paper after impregnation and \({m}_{1}\) is the mass of paper before resin impregnation.

The VCs of impregnated paper are determined by placing the paper sample in a ventilated oven for 5 min. The expression used to calculate the VC of impregnated paper is presented below:

$$VC = \frac{{m_{3} - m_{4} }}{{m_{3} }}$$
(2)

where \({m}_{3}\) is the mass of paper circle before going to a ventilated oven for 5 min at 160 °C, and \({m}_{4}\) is the mass of paper sample after the oven drying step.

2.2 Spectra acquisition

NIR spectra of each paper sample were recorded using a Fourier Transform NIR spectrometer Matrix-F from Bruker with a probe QR400-7-VIS-BX from Ocean Optics. The software used for data acquisition was OPUS 6.5, also from Bruker. The spectra were acquired in reflectance mode but later converted to absorbance. The distance between the end of the reflectance probe and the paper surface (dp) was optimized using a single impregnated paper sheet and lowering the probe until the peak of the interferogram was maximum, approximately at a distance of 4 mm. This distance was kept throughout all spectral acquisitions.

2.3 Experiment 1: NIR spectra variation along sample surface

The gantry was used for two experiments. Experiment 1 consisted of moving the NIR probe by discrete increments of 200 μm along a line of 8 cm. In each new position of the probe, an NIR spectrum was taken. In total, 40 spectra were acquired. This way, each spectrum was acquired using 8 scans with a resolution of 16 cm−1. The gantry used was a Festo equipment EXCM-30–600-110-KF-ST-B2-E3-EN.

Figure 1 shows the laboratory setup used for the acquisition of data using a gantry.

Fig. 1
figure 1

NIR probe attached to a computer-controlled high-precision table gantry

To help interpret the configuration used, three distances need to be clearly defined: dg is the distance travelled by the gantry in a straight line (parallel to the table); dp is the distance between paper surface and the spot where the signal is being captured on the NIR probe (perpendicular to the table); and dt is the distance between probe and table. The distance between the NIR probe and the table (dt) was maintained constant. Figure 2 illustrates the explained distances.

Fig. 2
figure 2

Scheme of the NIR analysis

2.4 Experiment 2: calibration and validation of RC and VC models

The second experiment consisted of acquiring data for the construction of the RC and VC models. This time the number of scans was 256 and the selected resolution was 16 cm−1, corresponding to 1 min and 40 s of acquisition time.

The spectra were collected either at discrete spots (method a), or along a continuous path (method b). Method (a) of data acquisition consisted of using the gantry to place the probe on three different spots of the sample and acquiring one spectrum at each location. Method (b) consisted of programing the gantry to move the probe along a specified path over the sample, while continuously obtaining a spectrum. In method (b) only a single spectrum was acquired per sample. The velocity of the probe was optimized so that the probe could cover the maximum surface of the sample during the 256 scans. An illustration of the two acquisition methods is shown in Fig. 3.

Fig. 3
figure 3

Illustration of the two types of spectral acquisition. The three crosses represent the locations, where the 3 spectra were taken in method a, the square waved arrow represents the continuous path taken by the gantry in method b

Spectra used for the construction of NIR models for the determination of VC and RC were randomly split (70/30) into calibration and validation sets. The NIR models were created using Matlab and applying the PLS algorithm distributed in iToolbox (Norgaard et al. 2000).

The models were evaluated using the coefficient of determination (R2) and the root mean square error (RMSE), calculated using Eq. 3:

$$RMSE_{x,l} = \sqrt {\frac{{\mathop \sum \nolimits_{i = 1}^{n} \left( {\hat{y}_{i} - y_{i} } \right)^{2} }}{n} }$$
(3)

where n is the number of spectra used; i represents each spectrum; \(\widehat{y}\) is the predicted value using the calibration model; y is the value of the reference method; \(x\) can either be substituted by “C” to indicate calibration dataset or “P” to indicate test database; and l can be substituted by:

  • N is the data obtained by collecting spectra in discrete locations (method a), the predicted values for each spectrum and paper sample were treated as separated samples (n = 300);

  • M is essentially the same as N, but the predicted values for each paper sample were averaged (n = 100);

  • G is the data obtained by collecting a spectrum along a continuous path (method b). Only a single spectrum was acquired for each paper sample (n = 100). Please note that method N and M spectra acquisition is three times longer than method G, as there are three spectra being recorded instead of one.

The nomenclature of x and l also applies to the coefficient of determination.

The scheme presented in Fig. 4 easily illustrates the nomenclature used in this work.

Fig. 4
figure 4

Schematic of the nomenclature used in this work

The construction of NIR models also involves the study of the best pre-processing technique to use. The pre-processing techniques tested were: inverted signal correction (ISC), first derivative (1deriv), mean-centering (mean), auto-scale (auto), multiplicative signal correction (MSC), standard normal variate (SNV), first derivative + SNV (1deriv + SNV), and second derivative (2deriv).

The goal of using the gantry was to simulate an industrial application of an NIR method at a laboratory scale. In this simulation, the paper specimen stayed fixed and the probe moved in a desired trajectory. However, in an industrial set-up, the paper is usually rolling out of the air driers, this means that one can easily implement this method by fixing the probe above the moving paper.

3 Results and discussion

3.1 Experiment 1: NIR spectra variation along sample surface

The surface of decorative paper presents some roughness at nano, micro, and macro level (Pino et al. 2010), which is in part due to the nature of the paper and in part due to the uneven distribution of resin in the paper during impregnation. To test to which degree this would impact the NIR spectra on the paper surface, the gantry was used to collect the NIR spectra of the surface of the impregnated paper in a straight line with each spectrum separated by 200 μm.

Figure 5 shows the NIR profile obtained by distance travelled (a) and the spectra all layered in the same plot (b) for easier observation of the changes in baseline.

Fig. 5
figure 5

Straight line profile of NIR spectra of a decorative paper. a According to distance travelled by probe, and b same spectra without travel distance

As the gantry travels and distance dg increases, the baseline of each individual NIR spectrum changes. These changes are explained by differences in the chemical composition of the surface of the paper or the paper roughness. Since the probe remained at a fixed distance from table (dt), dp could only increase or decrease due to differences in paper surface height. In other words, if the baseline shifted due to the distance between probe and paper surface, it would be due to the roughness of the paper. Of course, this does not discard the possibility of the chemical properties of the paper also changing.

NIR spectra were collected in reflectance mode, meaning that if the signal arriving at the detector was weaker, the probe was further away from the paper surface and dp was higher, and vice versa. However, the signal was converted to absorbance, which means that if the baseline of the spectra presented in Fig. 5a, b is lower, more signal is arriving at the detector, meaning that dp is shorter (the probe is closer to the paper surface); the opposite is also true. The NIR spectra profile obtained presents significant irregularities, which can be due to paper roughness and chemical heterogeneity. This technique could possibly be used to assess the surface profile of the paper sheet using NIR imaging and thus, to evaluate the surface roughness. However, this is outside the scope of this work. The intent of this part of the work is to show that different spots, even relatively close to each other (distances of 200 μm), can have perceivably different NIR spectra.

3.2 Experiment 2: Creation of models to determine resin content and volatile content of impregnated paper

All the results obtained for the creation of NIR models are presented in Tables S1 to S6 (in Electronic Supplementary Material). The best results obtained in terms of RMSEP for each type of data validation for the RC models are presented in Table 1; the same is presented in Table 2 for the case of the VCs. Figure 1S in Supplementary Material shows the predicted values vs. the reference values.

Table 1 Best results obtained for the creation of RC models
Table 2 Best results obtained for the creation of VC models

The results show that RMSE values are consistent for both the RC and VC models: method N (without using the means) performed worse than method M (using means), and method G (using the continuous spectra acquisition along a path) performed the best. There is only one exception, the calibration results for methods M and G for the VC models, which were equal (0.30% m/m). None of the results obtained for the determination of RC can be considered satisfactory due to the low R2 (all below 0.6). However, in this case, method G shows some promising results due to performing better than the other methods.

There are two possible reasons for why the RC models performed worse than the VC models. The first is that the NIR has problems in distinguishing the chemical bonds related to resin and to paper. The second is that the distribution of resin could be much more irregular than the distribution of water in the sample. These problems are not so evident in the determination of the VC because this value is mainly attributed to the evaporation of water and formaldehyde from the sample. The use of the gantry partly eliminated the irregularity presented by the sample but was not enough to completely remove this effect. Possibly, the use of NIR imaging could improve these results due to being capable of analyzing a wider surface area and getting a more significant representation of the sample. Unfortunately, this hypothesis could not be tested.

On the other hand, the results obtained for the VC model show some reasonable prediction capability for the M and G method: similar RMSEP (0.27% m/m vs 0.26% m/m) and \({R}_{P}^{2}\) (0.86 vs 0.87). The better results obtained for methods M and G prove that the samples are irregular, and methods that tend to evaluate the mean over the sample are better suited for these types of material. Even though the M and G methods provided similar results, the time taken for each analysis is different. Since method M needs to take three spectra and method G needs only one spectrum, it can be concluded that method G gets similar or better results with three times less time.

As shown in Tables 1 and 2, the best pre-processing technique to use depends on the method used. Method M got better results when the pre-processing technique of auto-scale was used for the RC model and mean-centering alone for the VC model. Method N used second derivative and standard normal variate for the RC and VC. Method G also obtained different results for both RC and VC, MSC and 1deriv + SNV. The differences obtained for the pre-processing of RC and VC can be indicative that the information of RC and VC is different in NIR since the spectra used for RC and VC are the same. This helps in explaining why the VC methods worked best when compared to the RC methods. NIR is a technique that shows reliable results in the analysis of water content of samples when compared to other chemical compounds. Since the determination of VC is influenced by the water present in the papers, one can expect that this method would work better than the RC method.

The creation of NIR methods using at-line approaches results in increased difficulty and time because a continuous process is not easily adjusted to have the necessary range of values. The gantry is a solution that simulates the industrial application of the reflectance probe in an off-line way and at the same time enables the production of samples at a laboratory scale with different reference values. This way the NIR models can be created faster, more reliably, and without needing to stop or alter the production process.

In a practical perspective, the implementation of the methods developed here in a production line would mean a quicker expedition time of the product. However, there are a few considerations that need to be taken into account prior to that. Both VC and RC are determined in the same spot of the production line, so the implementation of one method means the implementation of another, provided that the necessary calibration is done. To be able to fully substitute the traditional methods, NIR methods still need to provide a higher correlation with the more generally accepted methods. This does not necessarily invalidate the implementation of the NIR method for quality control of impregnated paper alongside the weighing methods. The NIR methods can be used to check whether significant changes have occurred in the production of impregnated paper in real-time between two scheduled standard measurements. This would be useful to increase the number of quality-conformant products.

This work also showed that paper roughness has a great impact on NIR methods efficacy. Such roughness can be caused by several process parameters such as resin distribution or temperature profile on the drying step. For an even more refined quality control of the paper, multiple NIR probes could be placed in cross direction on the paper impregnation line so that both directions, cross-section and machine direction, can be covered. The resins used here were of the MF type. Different amino resins such as UF resin could also be used in the production of impregnated paper (Antunes et al. 2018). For such cases, an NIR methodology may be calibrated and adapted. The paper studied here is of white color. Different paper colors and grammages might need additional NIR methods to be created (Henriques et al. 2017b), as well as papers with different porosities that reflect the amount of resin being incorporated in the paper (Roberts 2004).

4 Conclusion

A melamine impregnated paper sample has a heterogeneous and rough surface, so that spectroscopic methods based on a single localized measurement cannot represent the entirety of the sample. By collecting multiple NIR spectra along the surface of the paper in intervals of 200 μm using a gantry, it was possible to observe the occurrence of spectral baseline shifts. These shifts are due to the heterogeneity and roughness of the paper’s surface.

The gantry was also tested to make the NIR probe move while taking a spectrum. This method obtained similar or better results than taking three spectra at different discrete spots of the sample, either by calculating the mean of the prediction values (method M) or without calculating it (method N). The gantry not only improved the results, but also took a third of the analysis time over method M and N and allowed simulating the industrial in-line implementation of the NIR technology to assess the RC and VC. No reliable RC model could be constructed (R2 < 0.6), but the VC model using the gantry showed better results even when only one spectrum was taken per sample (\({R}_{P}^{2}=\) 0.86 and RMSEP = 0.26% m/m). The results obtained here do not seem to indicate that NIR methods should completely substitute more traditional methods, especially if different types of paper are involved. However, the way is paved to use this technology in conjunction with the traditional methods to get a better real-time control of resin impregnation.