1 Introduction

Microfluidics is an on-demand technology that uses microchannels for handling fluids in various microfluidic devices (Helmy et al. 2018; Aravind et al. 2021; Konari et al. 2021). Microchannels are being heavily employed in various applications like micro-total analysis systems, chromatography, implantable devices, inkjet printers, blood analysis, environmental assessment, binary storage devices, and telecommunication (Prakash et al. 2013; Dudala et al. 2019). There has been significant growth in the use of microfluidic devices in several applications in life science, engineering, medical, biochemical analyses, and other areas (Aravind et al. 2021; Helmy et al. 2015; Prakash and Kumar 2015).

CO2 lasers are being heavily used to fabricate many types of microchannels on various polymers for different kinds of microfluidic applications (Prakash and Kumar 2018). CO2 laser fabrication is a flexible, efficient, versatile, fast, and cheap technique for creating microstructures in many materials. Also, no tool change is required. Hence, tool wear is not an issue (Dudala et al. 2019; Helmy et al. 2015). The availability and low cost of PMMA and CO2 laser fabrication make single-use microfluidic devices fabricated using PMMA disposable as required in various applications (Nasser et al. 2018).

During direct CO2 laser ablation, the PMMA material evaporates and melts due to the high temperature of the laser projected area. This leads to distortion and thermal defects in the form of bulges, heat-affected zone (HAZ), clogging, and high surface roughness (Helmy et al. 2015, 2018). Also, when heated, PMMA changes its phase after which it melts and consequently vaporizes at different temperatures (Khamar and Prakash 2020). It is also very hard to achieve accurate dimensional control because of the variations in the values of the thermal and physical properties of PMMA during CO2 laser micromachining (Ali et al. 2015). The defects must be overcome to get high-quality microchannels and improve the bonding capacity and the fluid-mixing efficiency of the microfluidic devices fabricated using PMMA substrates (Helmy et al. 2018; Prakash and Kumar 2017). The defects can be overcome by controlling the inputs and coating the PMMA substrates before fabricating the microchannels (Helmy et al. 2015, 2018; Okello et al. 2022).

In a multivariate scheme such as laser micromachining, defining the relationships among the various parameters is often tedious. Accordingly, controlling the inputs is a serious hurdle (Helmy et al. 2018). Conducting experiments using trial-and-error is time-consuming and does not take care of the interactions among the parameters leading to many errors (Moradi et al. 2017). Techniques of design of experiments (DoE) like the Taguchi method, response surface methodology (RSM), and full factorial design are used to design and conduct experiments. With the techniques, many parameters can be varied simultaneously, modelled, and optimized. Consequently, the inputs can be controlled to get the desired values of the outputs (Hao et al. 2013; Benton et al. 2019).

Several studies have been conducted on CO2 laser micromachining of PMMA using DoE techniques to examine how the inputs affect the responses and develop relationships between the inputs and outputs to get the optimum results (Moradi et al. 2017; Oladoye et al. 2016; Eltawahni et al. 2010). Helmy et al. (2018) carried out the fabrication and characterization of PMMA microchannel using CO2 laser in both air and underwater. They carried out multi-objective optimization of surface roughness, microchannel width, depth, aspect ratio, and heat-affected zone using Taguchi’s experimental design with grey relational analysis. They conducted 9 experiments in air and 9 underwater by leaving a 300 µm water layer on the top surface of the PMMA substrate. They studied the effect of scanning speed and laser power on surface roughness, HAZ, and aspect ratio. They found that the cooling effect of ablation underwater significantly decreases the extent of thermal damage but increases the aspect ratio. Using ANOVA, they found laser power to be the most significant factor followed by the scanning speed and pulse rate. For both the fabrication in air and underwater, they found that the scanning speed of 20 mm/s, laser power of 3 W, and 900 PPI is the optimum combination of the process parameters. They confirmed the optimization results by conducting a validation experiment at the optimum condition.

Using response surface methodology (RSM), Umbrecht et al. (2009) fabricated and characterized microchannels of 130 µm width and 4 µm depth on PMMA by applying a novel solvent-assisted bonding. They examined the bonding pressure, bonding temperature, the time for which the solvent was applied to the PMMA substrates, and the time for the application of the pressure and temperature. They reported high strengths of bonds (3.5 ± 0.8 MPa) at low deformations (1.6 ± 0.3%) at the center point of the DoE. They integrated the bonding process in the fabrication of a wireless implantable strain sensor and reported that the bonding was validated by ultrasound measurements. They found the predicted values of the bond deformation and strength to agree with the experimental values.

Choudhury and Shirley (2010) used RSM and studied CO2 laser micromachining of PMMA, polycarbonate (PC), and polypropylene (PP). The inputs were the air pressure, cutting speed, and laser power while the responses were surface roughness, dimensional accuracy, and heat-affected zone (HAZ). Using the central composite design, they carried out 12 tests for individual polymers and developed first-order linear models for surface roughness and HAZ. They tested the adequacy of the models using analysis of variance (ANOVA). The models were found to adequately predict the values of surface roughness and HAZ. They found less HAZ in PMMA proceeded by PC and PP. PMMA also had better surface quality than both PC and PP. Dimensional accuracy was determined by the deviation of the real value from the supposed value. The dimensional deviation was maximum in PMMA followed by PP and least in PC. HAZ was found to be inversely proportional to both compressed air pressure and speed but directly proportional to power. Compressed air and speed were found to be more significant than power.

Prakash and Kumar (2015) investigated the effects of laser power, number of pulses, and scanning speed on the softened zone, microchannel width, and microchannel depth in CO2 laser ablation of PMMA. They performed 27 experiments using a 3-level full factorial experimental design and carried out mathematical modelling of each parameter using nonlinear regression analysis. They also performed multi-objective optimization and conducted a confirmation experiment to verify the optimization results. They found that the presence of a softened zone plays a significant role in fabricating microfluidic devices on PMMA because it leads to bulges. They further found that even a slight change in laser power predominantly affects all three microchannel characteristics. The predicted models can readily be used to predict the microchannel dimensions for the inputs.

In this work, RSM was used to study surface roughness in CO2 laser ablation of microchannels on PMMA coated with a 500 nm layer of 99.95% pure aluminium. The inputs were pulse rate, power, and speed. The experiments were designed using Minitab® 19.1 software and the results were also analyzed using the software. A mathematical model was developed and tested. ANOVA was performed to determine the significance of the inputs. Optimization of surface roughness was done, and the results were validated.

2 Materials and methods

2.1 Materials

A 6-mm thick transparent PMMA sheet was used in this work. A 1-mm diameter aluminium wire of purity 99.95% was used for coating the PMMA samples. After the fabrication of the microchannels, the aluminium coating was etched using an aluminium etchant and the samples were cleaned using Acetone and then washed using ethanol.

2.2 Methods

Fabrication of the microchannels was done using the 30-W Universal CO2 Laser machine, VLS 3.5, USA. The maximum resolution of the machine is 1000 pulses per inch (PPI) while the maximum speed is 250 mm/s. A total of 18, 30 mm × 25 mm × 6 mm PMMA work samples were cut from a PMMA sheet using the laser machine. The samples were then cleaned using water to remove the impurities and dirt that could negatively affect the results of the fabrication (Konari et al. 2021). Through sputtering, the samples were coated with a 500 nm layer of 99.95% pure aluminium using NANOVAK® Thermal and Sputtering Combined Systems, (NVTS-400-2TH2SP). The deposition was done in a cleanroom of class 10,000. The desired microchannels were first drawn using CorelDRAW® Graphics Suite X5 and then fabricated in a single laser pass following the deposition of aluminium on the work samples.

The room’s temperature was set to and maintained at 25 °C using an air conditioning system. The laser power was kept low since previous studies have proved that for the fabrication of microchannels on PMMA using CO2 laser, low power gives the best microchannel quality (Helmy et al. 2015, 2018). After the fabrication, the samples were immersed in Ethanol and washed for 20 min in an ultrasonic cleaner to get rid of the particles that were stuck on the samples during the fabrication (Helmy et al. 2015, 2018). The aluminium coating was then etched using an aluminium etchant.

Before analyzing the microchannels, the samples were properly washed using deionized water and then left to dry. The microchannels were carefully measured with the 3D laser microscope, KEYENCE VK- × 100. With the microscope, measurements are conducted without contact with the sample. The resolution of the microscope is at the nanometer level. The microscope takes measurements by scanning the surfaces of materials. It then produces optical and 3D images with high resolutions. To determine the nanometer level heights, the intensity of the laser light is examined with the datum being the laser’s z-position. The sample to be measured is carefully put on the stage of the microscope and properly altered together with the microscope until a sharp focus is obtained. Measurements are then done. The software of the microscope then produces measurement data that can be evaluated as necessary (Okello et al. 2022).

Surface roughness (Ra) was measured using the microscope at the base of each microchannel. For precise results, measurements were conducted thrice at different points and the mean values were used (Helmy et al. 2015, 2018). Response surface methodology was used to design the experiments in Minitab® 19.1. The high, middle, and low levels were selected for speed (mm/s), power (W), and pulse rate (PPI). Table 1 shows the inputs and their coded and actual design levels.

Table 1 The inputs and their levels

Central composite design (CCD) with α = 1.682 was used with three parameters: power, speed and pulse rate. The design includes 18 experiments with 8 experiments as factorial points in the cubic vertex, 6 experiments as axial points, and 4 experiments as the center point experiments. The 18 experiments were replicated thrice hence a total of 54 experiments were conducted. The 54 experiments allowed the estimation of the quadratic, linear as well as interactive effects of the inputs on the responses. The variables were coded using Minitab® 19.1 software. The software was also used to analyse the results and produce the response surface graphs and then optimize the parameters. Using the full quadratic polynomial function, analysis of variance (ANOVA) was utilized to assess the adequacy of the developed models and get the significant parameters, and further interpret the results (Moradi et al. 2017; Oladoye et al. 2016).

3 Results and discussion

3.1 Effects of the inputs on surface roughness

Figures 1 and 2 respectively show the profile and the optical image of the microchannel obtained at 3.0 W, 15 mm/s, and 900 PPI. Values of surface roughness (Ra) ranged from 7.134 µm, got at 1.5 W, 20 mm/s, and 1000 PPI, to 44.267 µm, obtained at 4.5 W, 10 mm/s, and 800 PPI. The experimental results are shown in Table 2.

Fig. 1
figure 1

Profile of the microchannel obtained at 3.0 W, 15 mm/s, and 900 PPI

Fig. 2
figure 2

Optical image of the microchannel obtained at 3.0 W, 15 mm/s, and 900 PPI

Table 2 Experimental results

As shown in the main effects plot (Fig. 3), interaction plots (Fig. 4), and surface plots (Fig. 5), both the individual inputs and their interactions affect surface roughness. Figures 3, 4, and 5 all indicate that when power increases and both speed and pulse rate decrease, surface roughness increases. However, when power decreases and both speed and pulse rate increase, surface roughness decreases. Thus, low values of surface roughness are attained at low power and high speed, and pulse rate. Figure 4 shows that the interaction between power and speed produces the strongest effects on surface roughness in comparison with the interaction between pulse rate and speed, and pulse rate and power.

Fig. 3
figure 3

Main effects plot for surface roughness

Fig. 4
figure 4

Interaction plot for surface roughness

Fig. 5
figure 5

Surface plots for surface roughness

When power is high and both speed and pulse rate are low, the amount of heat input is high. Thus, the PMMA substrates absorb a large amount of heat. Due to the low values of speed, the laser beam interacts with the PMMA substrates for a long time. The substrates get heated up, melt, decompose, cool, and then resolidify at high rates. High surface roughness results. The resulting surface finish is poor and the microchannels have poor quality (Helmy et al. 2018; Okello et al. 2022; Imran et al. 2021).

Conversely, when power is low and both speed and pulse rate are high, the amount of heat input is low. Therefore, the PMMA substrates absorb a small amount of heat. Owing to the high values of speed, the laser beam interacts with the substrates for a short time. The substrates get heated up, melt, decompose, cool, and resolidify at low rates. Low surface roughness results. Also, the surface finish is good and the microchannels have good quality (Helmy et al. 2015, 2018; Okello et al. 2022).

Fluids flowing through microchannels that have high surface roughness experience a lot of resistance. They are, therefore, restricted leading to poor results in analyses. Conversely, fluids flowing through microchannels that have low surface roughness experience little resistance. They are, therefore, less restricted leading to better results of analyses. The values of power should be low, and the values of both pulse rate and speed should be high to have low heat input and, therefore, attain microchannels with low surface roughness and, therefore, good quality (Helmy et al. 2015, 2018; Madić et al. 2020). In microfluidics, surface roughness should be low for highly efficient results of analyses (Helmy et al. 2018; Okello et al. 2022).

3.2 Modelling of surface roughness

Four models were obtained using Minitab® 19.1: linear, linear + squares, linear + interactions, and full quadratic. The highest value of the predicted determination coefficient R2 was used to select the most accurate model because the higher the value of the predicted R2 of a model, the higher the accuracy of the model to predict the value of a response. The quadratic model best predicts the values of surface roughness because it has the highest values of R2, adjusted R2, and predicted R2 compared to all the other models as shown in Table 3.

Table 3 Model summary statistics

The values of R2, adjusted R2, and predicted R2 are all close to 1 indicating that the model is highly adequate for predicting the values of surface roughness. The regression model (Eq. 1) was generated in Minitab® 19.1 using the selected full quadratic model. The insignificant terms were excluded to improve the accuracy of the model (Acherjee et al. 2012). In the regression model, Ra represents average surface roughness while \({X}_{1}\), \({X}_{2}\), and \({X}_{3}\) denote power, speed, and pulse rate respectively.

$$\begin{aligned} Ra &=-33.1-3.209{X}_{1}-1.610{X}_{2}+0.1323{X}_{3}+3.856{X}_{1}^{2}\\ &\quad +0.05919{X}_{2}^{2}-0.000077{X}_{3}^{2}-0.5025{X}_{1}{X}_{2}\\ &\quad -0.004303{X}_{1}{X}_{3}+0.00054{X}_{2}{X}_{3}\end{aligned}$$
(1)

3.3 Analysis of variance (ANOVA) of surface roughness

ANOVA was performed to find out the significance of the inputs and determine their influence on surface roughness. To determine the significance of the inputs, the p-value statistical factor is used. A factor is significant if its p-value is less than or equal to 0.05 otherwise, it is not significant (Abidi et al. 2021). ANOVA alongside the lack-of-fit and F-tests help to determine the accuracy of the models for predicting the values of the given output responses (Okello et al. 2022). According to the ANOVA results, the quadratic model best predicts the values of surface roughness for any set of values of the inputs. As shown in Table 4, all the factors are significant. The most significant one is the laser power with a 70.35% contribution followed by speed (7.88%), the square of power (8.79%), the interaction between power and speed (4.90%), pulse rate (0.45%), the square of speed (0.26%), the interaction between power and pulse rate (0.14%), the square of pulse rate (0.07%) and interaction between speed and pulse rate (0.03%).

Table 4 ANOVA of surface roughness

3.4 Optimization of surface roughness

Optimization was done to find out the optimum value of the inputs and surface roughness. Three possible solutions were generated in Minitab® 19.1 and the solution with the highest value of composite desirability was selected as the best. The higher the value of the desirability, the better the solution (Abidi et al. 2021). Good microchannels require good surface integrity and, hence, low surface roughness (Helmy et al. 2018). Therefore, surface roughness was minimized. Figure 6 shows that the minimum value of surface roughness (4.7759 µm) can be got at the optimum conditions: 2.1667 W, 18.2828 mm/s, and 1000 PPI.

Fig. 6
figure 6

Optimization of surface roughness

According to the normal probability plot for surface roughness (Fig. 7), the values of surface roughness are scattered but close to the fitted line with no sign of skewness and non-normality. Therefore, the developed model is highly accurate in predicting the values of surface roughness. The straight line followed by the residuals is the reference for determining the errors in the model at any given point (Abidi et al. 2021).

Fig. 7
figure 7

Normal probability plot for surface roughness

3.5 Validation of the optimization results

To prove the practicality and, therefore, the feasibility of the model, three validation experiments were conducted using the optimum values of the inputs: 2.1667 W, 18.2828 mm/s, and 1000 PPI. The average value of surface roughness obtained was 4.6541 µm. The value was compared with the predicted value which is the optimum value (4.7759 µm). The absolute percentage error (APE) was calculated using Eq. 2.

$$APE= \left|\frac{Experimental\,value-predicted\,value }{Experimental\,value }\right|\times 100\mathrm{\% }$$
(2)

APE was found to be 2.617%. As shown in Fig. 8, the values of surface roughness predicted by the model are very close to the experimental values. This indicates the high accuracy of the model.

Fig. 8
figure 8

Comparison of the experimental and predicted values of surface roughness

4 Conclusion

The study employed response surface methodology (RSM) to examine the effects of power, speed, and pulse rate on surface roughness in CO2 laser ablation of PMMA substrates coated with 99.95% pure aluminium for microfluidic applications. ANOVA was performed. Optimization of the parameters was done, and the results were validated. A model for predicting the values of surface roughness was developed and tested. Surface roughness is affected by the inputs and their interactions. Low values of power and high values of both pulse rate and speed give small values of surface roughness, and, therefore, high-quality microchannels.

The validation experiments show that the predicted values of surface roughness are very close to the experimental values. Hence, the developed model sufficiently predicts the values of surface roughness with a high degree of accuracy. The desired values of surface roughness can, therefore, be attained using the model. The results of the study show that RSM is an effective modelling and optimization technique for selecting the values of inputs and predicting the values of responses. The developed model can be benchmarked for validating other optimization models. The findings can further be used to develop technical guidelines for fabricating highly efficient and high-quality microchannels on PMMA.

For future work, comparative studies should be done with the Taguchi method and full factorial design. The study should be extended to also consider other shapes of microchannels, other substrate materials, and other inputs like the focal position of the lens, the number of laser passes, varying different thicknesses of the aluminium coating and workpiece, pulse width, pulse frequency, air pressure, and stand-off-distance. The other responses like kerf width, depth, dimensional deviation, aspect ratio, burr height, and burr width should also be studied. Analysis of surface roughness using a scanning electron microscope (SEM) should be done. Analytical modelling and finite element analysis should be employed to study the effects of the aluminium coating thickness on surface roughness.