Introduction

Dissociation constants (i.e., pKa values) can be considered as a key factor for realization and quantification of such chemical phenomena as biological activity, biological transport, reaction rates, biological uptake and environmental fate (Čadková et al. 2013; Demiralay et al. 2012; Gluck et al. 1996). Various spectroscopic (Nan et al. 2014), chromatographic (Demiralay et al. 2012), electrophoresis (Gluck, Steele, and Benkö 1996) and potentiometric (Čadková et al. 2013) techniques are available for the determination of acidity constants. However, such traditional methods for determination of pKa are usually expensive and time-consuming, requiring special instruments and needing lots of reagents.

In recent years, the microfluidic technology has been conducted for various purposes, including chemical synthesis, analysis, separation, and diagnosis (Oosterbroek and Van den Berg 2003; Xu et al. 2009). In contrast to the first-generation of microfluidic devices, paper-based microfluidic analytical devices (µPADs), have drawn much attention in recent years were first introduced by Whitesides and co-workers (Martinez et al. 2007). To date, µPADs have been used for different applications including but not limited to food safety assessment (Jokerst et al. 2012), biomarkers of pathogens test (Dungchai et al. 2010; Schilling et al. 2012) and environmental monitoring (Jayawardane et al. 2014; Rattanarat et al. 2014). In µPAD technology, filter paper is utilized as a framework substrate for construction of microstructures and developing unique microfluidic functions. The paper can be simply assembled with different detection methods like colorimetric (Mentele et al. 2012; Gao et al. 2014), chemiluminescence (Yu et al. 2011a; Yu et al. 2011b; Wang et al. 2012) and electrochemical methods (Rattanarat et al. 2014; Nie et al. 2010).

In this work, we have tried to improve the classical approach of colorimetric determination of pKa using a portable and low-cost µPAD. In this regard, a µPAD based on wax dipping fabrication method (Songjaroen et al. 2011, 2012) was developed for simple and fast determination of the acidity constant of pH indicators. Currently there are different methods for fabrication of µPADs (Li et al. 2010; Xia et al. 2016; Songjaroen et al. 2011) For acidity-base titration, Karita and Takashi (Karita and Kaneta 2014) used a wax printing method since wax is more resistant to acid and base solutions. Wax dipping can be used as an alternative to wax printing when the wax printer machine is not available. The fabricated µPAD needs very low amounts of reagent solutions (indicator and buffer) and the method is quite fast to ensure that each assay needs only about 1 min. Integration of the µPAD with a mobile phone or a webcam can be easily used for quantitative determination of acidity constant with an acceptable accuracy. The designed microfluidic paper-based analytical device (µPAD) operates based on pH-metric titration of colorful indicators that required neither time nor instrumentation. The titration was accomplished within just 1 min. The μPAD has benefits in disposability and portability because it is light, small and inexpensive.

Experimental

Chemicals

All reagents were of analytical grade. Sodium hydroxide, acetic acid, phosphoric acid and sodium hydroxide solution were obtained from Merck. Bromothymol blue was purchased from Panreac Química S.A. Merck supplied phenolphthalein. Bromocresol green and boric acid were purchased from Fluka. Bromocresol purple was obtained from Hopkin & Williams Ltd. Filter paper (460 × 570 mm, Chromatography Paper 1CHR, Whatman TM, GE Healthcare Lifesciences, United Kingdom) was used. Deionized water was used for preparation of solutions. Paraffin was purchased from B.D.H. laboratory chemicals division.

Iron mold was fabricated by Alghadir wire cut company (Tehran, Iran). Solutions of 5.0 × 10−4 M of bromothymol blue, bromocresol green and bromocresol purple were prepared by dissolving appropriate weighted mass of the indicators in 1.0 mL of ethanol and then diluting to 10.0 mL with deionized water. 0.01 M solution of phenolphthalein in ethanol was prepared by transferring the appropriate weighted mass of the indicator to a 10-mL volumetric flask and diluting to the mark with ethanol. In order to prepare a universal buffer, a solution of 0.04 M H3BO3, 0.04 M H3PO4 and 0.04 M CH3COOH was titrated with 0.20 M NaOH to reach to the desired pH.

Washing the papers

In order to remove contaminations on surface or inside the paper (primarily provided in A4 size), it is washed before fabrication of µPADs. The washing is similar to thin-layer chromatography development; paper is hung in a thin-layer chromatography tank containing distilled water. By moving up the water along the paper, the contaminations are washed and are accumulated at the top edge of the paper. It should be noted that to prevent dust entering and water evaporating, the tank is covered with a plastic bag. After about 12 h development, the top edge containing contaminations are cut and the paper is allowed to dry. After 24 h, the paper is ready to be fabricated.

Design and fabrication of the µPAD

The µPAD pattern was designed via AutoCAD 2015 in a star-like pattern of 9 zones (Fig. S1, ESI†). Then, the wax dipping method was applied for creation of hydrophobic barriers in the µPAD (P. Wang et al. 2013). In order to construct a mold for wax dipping, an iron plate was cut into the required pattern and size. In wax dipping procedure, briefly, filter paper was cut into a 2.5 cm × 2.5 cm square piece and placed onto a glass slide. The corresponding iron mold was then put onto the paper and attached using a magnet on the backside of the glass slide. Finally, the assembly was dipped into the melted paraffin. When the paraffin was cooled, the glass slide and iron mold were separated from paper (Fig. S2, ESI†) (Songjaroen et al. 2011, 2012). Nine reaction zones and nine corresponding distribution channels with the same diameter and length were constructed (Fig. S2, ESI†).

Acidity constant determination

Each reservoir of the μPAD was first filled with a 0.3 µl portion of buffer solution of desired pH. After drying, a 30 μl portion of the indicator solution was spotted onto the center of μPAD zone and was allowed to reach to the reaction zone by capillary forces at room temperature (20–25 °C). After about 1.0 min, the color changes at reaction zones were captured using a digital camera. In practical experience, the color of phenolphthalein disappears gradually in an alkaline solution (Fig. 1, ESI†). So, the pKa value may be varied, depending on the time of measuring the color intensity. Since the appeared color intensity fades over the time, and to have higher sensitivity and reproducibility, the image of µPAD was captured as soon as dye solution reached the reaction zone and filled it (30 s after sample loading).

Fig. 1
figure 1

The relationship between color intensity and time: a BG, b BP, c BB and d PP

Capturing the high-quality reproducible images is a critical step that could affect the precision and the accuracy of acidity constant determination. A home-made imaging cabinet that was previously produced and optimized in our laboratory was used (Hemmateenejad, Farzam, and Mobaraki 2014; Hemmateenejad et al. 2012, 2010). The imaging system is composed of a wooden dark cabinet equipped with a Canon IXUS 145 digital camera (capturing 16-megapixel images) and two white fluorescent tubes. The camera is fixed on the upper and middle of the box, between two fluorescent tubes holders. The distance between camera and μPADs can be adjusted. To lower the refraction of the lamp radiations from the inside body of the cabinet, the entire inside of the box is covered with black paint. For capturing images, the μPADs are fixed on a black plastic plate placed in a specified distance to camera. The camera image acquisition parameters are set to auto adjust: ECO mode is on, white balance (keeps colors accurate in deferent lighting) is set on auto, focus range is normal and ISO speed for scene is auto. This designed imaging system can produce highly reproducible images (Hemmateenejad et al. 2010) such that simple subtraction of sample images from blank (or background) image can efficiently correct the light interferences.

Results and discussion

Design and fabrication of the µPAD

There are different methods for fabrication of µPADs (Li et al. 2010; Xia et al. 2016; Songjaroen et al. 2011). For acidity-base titration, because of higher resistance of wax to acid and base solutions, Karita and Takashi (Karita and Kaneta 2014) used a wax printing method. Since we do not have a wax printing machine, wax dipping as a simple and low-cost fabrication method, which does not require any special tools, was used.

In the designed star-like μPAD devices, the reaction zones are in analogy to the different titration steps and the pH of the buffer in the zones reads the pH of different titration steps. Thus, the pH of each reaction zone plays an important role in the determination of acidity constant. In this regard, keeping a constant pH condition in reaction zones is a challenge. Here, Britton–Robinson buffer as a universal pH buffer was used in the pH range from 2.0 to 12.0. Another important issue is the effect of paper on the pH of buffer solution. Some papers with acidic character in their pH might be between 6 and 7. For balancing the pH of paper and removing other contaminations from the surface of paper, the papers were firstly (before patterning) washed with doubly distilled water by putting one end in water and allowing the water to diffuse in it by capillary action. Nevertheless, the low acidity of paper has a diminished effect on the pH of buffer solutions. To ensure that the paper does not change the pH of buffer, a piece of the washed paper was formed in a backer-like shape and it was filled with the buffer solution and let to stand for 10 min. Then, the pH of buffer was measured by a pH meter. For all used buffer solutions, no significant differences were found between the measured pH of buffers in glass backers and in paper backers (i.e., the difference were within the range of experimental error).

In our approach, 30.0 µl portion of indicator solution was utilized for the whole hydrophilic zone in the µPAD. According to the method described by Dungchai and co-workers (2010) and Karita and Kaneta (2014), the volume of the indicator required to fill each reaction zone was calculated. To do so, various volumes of a colored solution were exerted to the µPADs to fill the entire hydrophilic zone. The areas were measured using AutoCAD software. Volume of the reaction zone was obtained by multiplying required volume to stow the entire channel by the area ratio of each zone in the whole channel (see Table S1, ESI†). The volume required to occupy each reaction zone was computed as 1.2 µl. Considering 0.3 µl volume of the buffer spotted in the reaction zone, moving indicators to the reaction zones causes 4 times dilution of the buffer, which originally was about 0.04 M. In a separate experiment in glassware, it was found that 4-times dilution of buffer did not affect the pH significantly. Thus, it can be assumed that the pH in reaction zones does not change by indicator solution.

To gain higher accuracy, the assay of pKa was achieved by using two μPADs for each indicator. In the first μPAD, the pH range of color change was determined for each indicator. In this regard, the pH of the zones is changed from acidic to basic in unit pH interval such that the 9 zones of the μPAD span about 8 pH units. Once the range of pH with suitable color change is obtained, a second μPAD with narrow pH range of its zones is used. In the right side of Figs. 2 and 3 are shown the response of the designed μPADs for the 4 studied indicators including bromocresol green (BG), bromocresol purple (BP), bromothymol blue (BB) and phenolphthalein (PP).

Fig. 2
figure 2

Response of the fabricated µPAD to four studied indicators in a wide pH range of 2–10 in pH intervals of 1.0: a BG, b BP, c BB and d PP. Inside: images of µPADs after loading various indicator solutions

Fig. 3
figure 3

Response of the fabricated µPAD to four studied indicators in a narrow pH range and pH intervals of 0.3: a BG, b BP, c BB and d PP. The error bars are the standard deviation of three replicate measurements. Inside: images of µPADs after loading various indicator solutions

An important issue that should be considered in the imaging-based methods is the type of devices used to record the images. Digital scanners and digital cameras have been widely used and compared (e.g., see Martinez et al. 2008). Scanners work under light control conditions, but the images of two opposite edges of the sample are recorded at different times. On the other hand, digital cameras can record the whole image in very short time, but environmental lights can affect the recorded images. Martinez et al. stated that digital cameras can produce images as high quality as scanners in the controlled lighting conditions. As it was explained in the “Experimental” section, we previously developed a home-made light-controlled digital camera-based imaging system (Hemmateenejad et al. 2014, 2012, 2010) that provides high-quality images with high signal-to-noise ratio and we used it in this study.

Effect of time on the response of the μPAD

Another important parameter that should be considered is the time of reading images after sample injection. The capillary flow of indicator solutions in the paper can be described by Washburn equation; L 2 = γDt/4η, where L is the travel distance, γ is the surface tension, D is the effective pore diameter, t is the travel time and η is the viscosity (Li et al. 2014). Assuming similar surface tension and effective pore diameter and travel distance for all indicators, the travel time can only depend on the viscosity. The viscosity of the indicators’ solutions was measured using an Ostwald viscometer and was calculated relative to the viscosity of the water as 1.14, 1.09, 1.12, 1.26 for BG, BP, BB and PP, respectively. Since the solutions have very similar viscosity, a similar travel time is assumed for all studied indicators.

After loading of indicator solutions on the central zone, it took 30 s to reach to the reaction zone. This means that color changes were observed in reaction zone 30 s after sample loading. To investigate the effect of color change process, the change in the RGB color intensity of reaction zone was monitored over time. As it is observed in Fig. 1 for the indicators BG, BB and BP, the responses are almost stable for 100 s. However, for PP, as was expected, the color is not stable and fades immediately after reaching the reaction zone. To have higher sensitivity and to achieve as high as possible reproducibility for this indicator, the measured color intensity 30 s after sample loading was used as analytical signal. For other indicators, we could use times between 30 and 100 s; however, to have similar conditions for all indicators, the response time of 30 s was also considered for BG, BB and BP.

The schematic procedure for inexpensive determination dissociation constant in pH indicators using μPAD is shown in Fig. S3, ESI†.

Obviously, in the case of first three indicators, by changing pH from acid to basic values the yellow color changed to blue whereas for PP a change of colorless to pink is observed. The changes in the color values of the zones as function of pH are given in Figs. 2 and 3.

Color intensity calculation and acidity constant determination

The mean color intensities of each reaction zone (in red, green and blue color elements) were calculated with software designed in MATLAB (Mathworks Inc.). In the subroutine written for processing and analyzing of the images, the captured images of µPAD, saved in JPG format was imported in MATLAB, using the ‘‘imread’’ function. (Hemmateenejad et al. 2010). The software allows the user to perform the following operations:

  1. 1.

    To select all or a user-defined particular area of an image.

  2. 2.

    To select inside the selected area in previous step a reference pixel with obvious color change (by mouse clicking) and to calculated R, G and B values of this pixel.

  3. 3.

    To determine all pixels inside the selected area with R, G and B value similar to those of reference values with a tolerance level (degree of similarity) set by the user.

  4. 4.

    To calculate the average of R, G and B value of all assigned pixels in step 3.

  5. 5.

    To export data in a spreadsheet format such that can be loaded in Microsoft Excel.

Since the average color intensity in the reaction zone is calculated, the heterogeneity of the coloring does not affect repeatability. Elimination of background effect and ambient light interferences on RGB also the blank signal was necessary for calculating of analytical signal. For this purpose, first of all, average of intensity color for R, G and B was calculated for each reaction zone (A 1R) and sample zone (A 1S), separately, and then they were subtracted from each other (A 1) according to Eq. (1). This procedure was also done for the blank µPAD (A B) according to Eq. (2). The final signal was obtained by subtraction of A B from A 1 (A) according to Eq. (3):

$$A_{1} = A_{{1{\text{R}}}} - A_{{1{\text{S}}}} ,$$
(1)
$$A_{\text{B}} = A_{\text{BR}} - A_{\text{BS}} ,$$
(2)
$$A = A_{1} - A_{\text{B}} .$$
(3)

As seen, the resulting color intensity–pH curves show a more or less sigmoidal behavior, similar to the pH–titration curves. For indicators BG, BP and BB, there is an increase in the blue element by increasing pH, while a reverse relationship is observed for the red and green elements. However, in the case of PP, the red and blue elements remain almost constant over the studied pH, whereas by increasing pH a sharp decrease in green element is observed. From these curves, it is possible to have a raw estimate of acidity constant.

To have a more accurate estimation, further data analysis is required. The dissociation reaction of an indicator in aqueous solution can be schematically represented with the simple Eq. (4):

$${\text{HIn}} + {\text{H}}_{2} {\text{O}} \rightleftharpoons {\text{In}}^{ - } + {\text{H}}_{3} {\text{O}}^{ + } ,$$
(4)

where HIn and In represent the acidic and basic forms of pH indicator, respectively. Then, the known Henderson–Hasselbalch Eq. (5) can be found from the equilibrium constant of this reaction. For determination of pKa values, this helpful equation can be written in the following way (Klotz et al. 2011):

$${\text{pH}} = {\text{pKa}} + { \log }\frac{{{\text{In}}^{ - } }}{\text{HIn}},$$
(5)

where pKa is the apparent acidity constant (Dávila et al. 2013).

In this case, a plot of log (In/HIn) against pH would produce a straight line with an intercept of pKa. For each reservoir zone of µPAD, the data of the curves shown in Fig. 4 were used to calculate the ratio of In/HIn as:

$$\frac{{{\text{In}}^{ - } }}{\text{HIn}} = \frac{{\left( {A - A_{{{\text{In}}^{ - } }} } \right)}}{{\left( {A_{\text{HIn}} - A} \right)}},$$
(6)

where \({\text{A}}_{\text{HIn}}\) and \(A_{{{\text{In}}^{ - } }}\) are the color intensity of the indicator in its acidic (HIn) and basic forms, respectively, and A is color intensity at each pH (or each zone). The values of \(A_{\text{HIn}}\) and \(A_{{{\text{In}}^{ - } }}\) can be taken from two extreme pH values in Fig. 3. Also, in the second µPAD (Fig. 3), two zones were filled with buffer solutions of the lowest and highest pH values (used for determination of \(A_{\text{HIn}}\) and \(A_{{{\text{In}}^{ - } }}\), respectively) and the remaining 7 zones were filled with buffers, at which color changes were observed. The RGB color values were used for determination of A, \(A_{\text{HIn}}\) and \(A_{{{\text{In}}^{ - } }}\). For each indicator, individual color elements of R, G and B and their binary (R + G, R + B and B + G) or ternary (R + B + G) combinations were used separately to plot Eq. (5) and the one resulted in the best regression line (based on lower fitting error) was selected for calculation of pKa. Based on this assumption, the individual color elements of R, G, B and G were used for the indicators BG, BP, BB and PP, respectively.

Fig. 4
figure 4

Henderson–Hasselbalch plots based on the curves obtained in Figs. 2 and 3. a BG, b BP, c BB and d PP

Figure 4 displays a graphical representation of Eq. (5) for the four studied indicators. The intercept and slope values of Eq. (5) were then computed through a linear regression analysis. Interestingly, for all indicators, the obtained plots showed a linear relationship with good correlation coefficients, except PP, for which the correlation coefficient is not so good. As it was explained previously (effect of time on the response of the μPAD), the color of PP fades fast and there is an uncertainty in the recording the color change of PP when it reaches to the detection zone. Nevertheless, as observed from Table 1, the estimated pKa of PP by this method is very close to the literature value.

Table 1 Characteristics of the Henderson–Hasselbalch regression equations obtained for different indicators and the corresponding calculated acidity constants

Thus, the intercept can be taken as an estimate of the pKa values of the indicators. As is obvious from Table 1, the estimated pKa values by µPAD devices are very close to the corresponding literature values (obtained by the spectrophotometric method). One example of the pKa calculation on µPAD is demonstrated in the ESI for make it more clarification (S5, ESI†).

In the Henderson–Hasselbalch equation, the concentrations should be represented by (In) and (HIn). The Henderson–Hasselbalch equation can be also used in the case of polyprotic acids, as long as the consecutive pKa values differ by at least 2 (better 3). It should be noted that the species of phenolphthalein, bromocresol purple, bromocresol green and bromothymol blue are considered to be divalent. It is difficult to discriminate pKa1 and pKa2 for them. Thus in the protocol presented here, only one pKa was determined, as reported previously.

In addition to high accuracy in pKa determination by µPAD devices, they also offered reproducible results. The relative standard deviations in reported pKa values for three reproduced experiments was found to be less than 5%.

Conclusions

We developed a simple and fast acidity constant determination method based on μPAD technology that needs no appliance and sophisticated instrumentation like spectrophotometer (Fig S4). This μPAD consists of reaction zones, which are detection zones too. They contain constant amounts of the buffer with different pH. The titration is completed within 1 min, including the time required for sample application. By recording the image of reaction zones of different pH and plotting color intensities over pH (according to Henderson–Hasselbalch equation), the acidity constant of indicators can be easily calculated. It was used to determine acidity constants of 4 indicators and close agreement with the literature values were obtained. This μPAD is more advantageous than classic titrimetry in terms of speed, portability, disposability, small volume of reagents and sample and does not necessitate sophisticated appliances and instrumentation like spectrophotometer, it is affordable and cost-effective at a much lower cost although the number of significant figures is less. Therefore, when compared to the conventional method that uses large amounts of reagent, takes more time, and is an expensive spectrophotometer and titrator, we can save much money, time, and the operator fee. A set of 50 μPADs could be made in under 2 h and at a materials cost of under $0.07 per PAD. The cost per PAD, with labor at $10 per hour, is about $0.47.

In summary, we introduced a simple and rapid method for colorimetric determination of the acid dissociation constant of indicators by employing μPAD analytical devices fabricated via the wax dipping method. Without a need for any glassware or professional equipment, the pKa can be determined directly by a very low volume of solutions. Compared to the spectrophotometric methods, the invented method in this work offers much lower cost and higher speed and is more environmentally friendly. We would like to emphasize that the μPAD can be used to determine the acid dissociation constant of only colorful reagents and it is limited to those that undergo color change by dissociation.