CCD camera full range pH sensor array

7 downloads 5357 Views 143KB Size Report
ficients are widely used in many areas for chemical analysis. ... component analysis. .... user friendly Excel's Solver for data analysis in here which in fact.
Talanta xxx (2006) xxx–xxx

Short communication

CCD camera full range pH sensor array A. Safavi ∗ , N. Maleki, A. Rostamzadeh, S. Maesum Department of Chemistry, Faculty of Sciences, Shiraz University, Shiraz 71454, Iran Received 28 November 2005; received in revised form 26 March 2006; accepted 6 April 2006

Abstract Changes in colors of an array of optical sensors that responds in full pH range were recorded using a CCD camera. The data of the camera were transferred to the computer through a capture card. Simple software was written to read the specific color of each sensor. In order to associate sensor array responses with pH values, a number of different mathematics and chemometrics methods were investigated and compared. The results show that the use of “Microsoft Excel’s Solver” provides results which are in very good agreement with those obtained with chemometric methods such as artificial neural network (ANN) and partial least square (PLS) methods. © 2006 Elsevier B.V. All rights reserved. Keywords: CCD camera; pH sensor array; Full range

1. Introduction Sensors have traditionally been considered to respond selectively to a component in a mixture. But only a few numbers of sensors are selective. Sensors with different selectivity coefficients are widely used in many areas for chemical analysis. Nonselectivity was once considered as their drawback. These sensors when used as arrays and when they have different responses toward different components can be used for multicomponent analysis. In the course of calibration, arrays produce large amounts of data and thus quantitative and qualitative information are mixed up. This type of data can only be manipulated with mathematical and chemometrics methods [1]. Solid-state sensors used to detect gases are usually quartz crystal microbalance or metal oxide semiconductors sensors [2]. In the liquid state mostly different electrochemical methods are used [3]. The arrays which either detect the gaseous components (electronic nose) or components in aqueous form (electronic tongue) measure the electrical properties of the system under study. Optodes, which fall in neither of the above categories, have been long used in practical cases such as clinical analysis, environmental analysis, and process control. They are suitable for sensing wide range of organic and inorganic materials. Several optodes have been designed to determine pH [4–8], but



Corresponding author. Fax: +98 711 2286008. E-mail address: [email protected] (A. Safavi).

all suffer from limited measuring range. Artificial neural networks (ANNs) have shown to be very successful in extending the response range of an optical pH sensor. The application of ANN enabled the extension of the useful pH response range of an optode from its narrow linear range (pH 5–7.25) to much wider range of pH (2.51–9.76) [9]. In another work multilayer feed-forward ANN was used to model the input–output data of an optical-fiber pH sensor at three different wavelengths. The resulting model was tested with 70 solutions of pH 1.60–10.17. The average prediction error was 0.2 pH units [10]. Recently we described the development of an optical pH sensor based on immobilization of a mixture of two dyes on a triacetylcellulose membrane [11]. The sensor has a useful pH range at low and high pH values, where glass electrodes show acidic and alkaline errors, respectively. Application of a back-propagation artificial neural network (ANN) model extended the measuring range of the proposed optode to the whole pH range. Another strategy in extending pH range using optodes is based on dynamic method of analysis [12]. Usually the quantitative and qualitative data of optodes are obtained photometrically [4]. CCD cameras can also obtain similar data. The color and intensity (power) data as obtained by the camera are usually 24 bit data. These are three colors red (R), green (G) and blue (B). The intensity of each color has 8 bits or 256 levels. In this color Scheme 256 × 256 × 256 = 16777216 colors are obtained and the value zero refers to black and 16777215 is pure white and other colors are in between, which has no resemblance to the white light spectrum. In harmony with

0039-9140/$ – see front matter © 2006 Elsevier B.V. All rights reserved. doi:10.1016/j.talanta.2006.04.030 TAL-8468;

No. of Pages 4

2

A. Safavi et al. / Talanta xxx (2006) xxx–xxx

the electronic tongue and nose, which relate to human sense of taste and olfaction, this system, which is related to human sense of sight, can be termed as an electronic eye. Although this term has previously been used to refer to a light intensity measurement device, it is also very suitable in this context. Also it should be noted that in contrast to conventional optodes, which are transmissive, this technique could also be reflective. CCD camera detection system is used in many areas of science and industry and has been employed in many areas of chemical experimentation [13]. Lavigne et al. [14] analyzed the transmitted light through a series of polymer beads that were derivatized with some complexing agents in micromachined wells by a CCD camera. They determined species such as Ca2+ , Ce3+ , and simple sugars at different pH values. Recently, we have reported the use of a CCD camera as a detection system for simultaneous determination of Al(III) and Fe(III) in alloys, using chromeazurol S (CAS) as the chromogenic reagent [15]. In an effort to extend the measuring range of pH optodes, in this communication we explain the design of an array of five partially selective reflective optodes for pH measurements. The responses of these optodes cover the whole pH range. Frames are taken by the CCD camera and are transferred to the computer. The frames were analyzed for red, green and blue components. The main superiority of this method compared to the previously reported methods for extending the pH range, such as chemometrics, is that by using CCD camera as the detection system, not only full range pH measurement is accessible but the use of digital images opens the possibility of increased usage of processing by computer software without the need for time-consuming analysis by conventional spectrophotometric techniques. Moreover, in this method the user friendly “Microsoft Excel’s Solver” can be simply applied for data processing and it could provide results as good as those obtained by more sophisticated chemometric methods such as ANN or PLS. 2. Experimental 2.1. Reagents Victoria blue (VB), solo chrome dark blue (SC) and congo red (CR) were supplied by BDH Laboratory Supplies (Poole, Dorset, UK), titan yellow GR (TY), and nile blue hydrogen sulfate (NB) were from Merck (Darmstadt, Germany). Ethylene diamine (97%) and all other reagents were analytical grade (Merck, Darmstadt, Germany). Universal aqueous pH buffer solutions (pH 1.81–11.98) were prepared from acetic/ phosphoric/boric acids (0.04 M, respectively). The final pH is adjusted by the addition of 0.2 M sodium hydroxide solutions. For lower and higher pH values, −log [H+ ] and −log [OH− ] were used to calculate the pH values of the solutions.

Fig. 1. Schematic representation of the sensing set-up system.

set-up diagram for the sensor system. Image analysis program was written in Visual Basic. For comparison purposes spectrophotometric measurements were performed using a Jasco V-530 UV–vis spectrophotometer attached to an IBM compatible personal computer. 2.3. Optode preparation The triacetylcellulose membranes were produced from waste photographic film tapes. These were previously treated with commercial sodium hypochlorite for several seconds in order to remove the colored gelatinous layers. The tapes simply were treated with a clear solution of indicators in ethylene diamine (about 5 × 10−3 g mL−1 ) for 5 min at room temperature. Then, they were washed with water to remove ethylene diamine and loosely trapped dyes. These membranes were washed with hot ethanol for removing extra dyes. Finally, the membranes were washed with detergent solution and water, and kept under water when not in use. 2.4. Sensor array Five different pH optodes were prepared by coating TY, VB, SC, CR, and, NB indicators on the membrane The sensor array was formed from five membranes over a white background. The sensors were arranged randomly in a glass container. The system was stable over 40 successive pH measurements in the pH range of 0–14, after that a minor leaching of the dye materials was observed. Sensor array was kept under water when not in use. 2.5. RGB values The response of the sensor array at each pH value was first obtained as a single frame taken by the CCD camera. The analytical data that a digital camera returns are a standard trichromatic response, with 8-bit red, green and blue channels, respectively. Hence, a value is returned to the user ranging from 0 to 255 for each channel. The data which were transferred to the computer were analyzed by a program written in Visual Basic and was then transported to Excel.

2.2. Instrumentation

3. Results and discussion

Optode array responses were recorded using a Sony CCD TR750E video Hi8 Handycam. Setting all controls to manual, its video output was connected to a PV-BT848 video capture card on an IBM compatible computer. Fig. 1 shows a schematic

3.1. Analytical signals In this technique the three-dimensional RGB values of pixels of the pH optodes’ pictures were taken as analytical signals,

A. Safavi et al. / Talanta xxx (2006) xxx–xxx

3

3.3. Calibration procedures

Fig. 2. Blue imaging signal for CR (), NB (♦), SC (䊉), VB ( ), and TY () optodes.

instead of the one-dimensional absorbance values of the pH optodes (at their wavelength of maximum absorption). As an example, the response of blue component as a function of pH for the optode array is shown in Fig. 2. Thus, for each pH, a series of 15 signals (3 colors × 5 optodes) were recorded. In order to correlate sensor array responses to pH values, the resulting patterns were analyzed using different mathematical or chemometrical methods. The data were randomly split into calibration and validation sets consisting of 29 and 14 frames for model definition and evaluation, respectively. For comparison, spectroscopic studies on TY, VB, SC, CR, and, NB pH optodes were performed at λmax of 510, 430, 650, 600, and, 645 nm, respectively (see Fig. 3). It is to be noted that spectrophotometric measurement with one wavelength per optode cannot cover the whole range of pH. 3.2. Measuring ranges The two limiting activities at which the slope of the response function reduce to quarter of its maximum value have been used to quantify the practical pH measuring ranges of the pH optodes described herein (Fig. 3). Estimation of the best fitting curves on the curves of RGB light intensity values versus pH for slope calculation was performed by Table Curve windows software [16].

For the data set described above, different methods were used for processing the data in order to obtain the best results. The calibration set of data was used as the input for ANN, Microsoft Excel’s Solver (generalized reduced gradient nonlinear optimization algorithm), and partial least squares (PLS). The data obtained from the image were processed by ANN, which was trained with the back-propagation of errors learning algorithm. In this study, the calibration and prediction sets were prepared randomly. Twenty-nine solutions were selected as the calibration set and 14 were selected as the prediction set. The structure of network was comprised of three layers, an input, a hidden and an output layer. The parameters of the network were optimized based on the minimum error of prediction of the testing set. The optimum learning rate of 0.3 and momentum of 0.2 for two nodes in the hidden layer gave minimum error of prediction. Continued training up to 2000 iterations resulted in the best network’s prediction performance. A multi-linear model (Y = C0 + C1 X1 + C2 X2 + . . . + C15 X15 ) estimates pH values (Yi ) from RGB patterns (Xi1 . . . Xi15 ). Solver was used to optimize the values of coefficients (C0 –C15 ) to obtain the best fit of the experimental pH values with the estimated pH values. To select the number of factors in PLS and in order to model the system without over-fitting the pH data, a cross-validation method [17], leaving out one sample at a time, was used on the validation data. Nine factors gave the best performance. Table 1, shows some results on prediction of pH values using different methods. This table shows that a very good correlation exists between true and predicted pH values using different chemometric and mathematical methods. Comparison of the correlation coefficients obtained between the true and predicted pH values using different methods reveals the suitability of the user friendly Excel’s Solver for data analysis in here which in fact eliminates the need to use chemometrics methods for untrained experimentalists. 3.4. Interferences The proposed immobilized indicators were tested in the appropriate buffer solutions for any possible interference from ions, which have been previously reported [18,19] to react with free indicators (Table 2). No interference from the ions was observed when the indicators were immobilized on the proposed optodes. Table 1 Prediction results for pH data

Fig. 3. The pH measuring range obtained for imaging (red, green, and blue light intensities) and spectrophotometric (absorbance at λmax ) results for different indicators. The black lines represent spectroscopic measuring range. The red, green, and blue components have been shown in their corresponding colors.

Method

MSEa

Avgb

Corrc

ANN Solver PLS

0.03 0.04 0.05

0.09 0.10 0.17

0.9997 0.9997 0.9930

a b c

Mean square errors computed for validation. The average prediction error of pH values. The correlation between predicted pH and true pH.

4

A. Safavi et al. / Talanta xxx (2006) xxx–xxx

Table 2 List of reported interferences for the free indicators

References

Indicator

Ions

NB VB TY CR SC

– – Mg2+ (pH 12.5) [18] Hg2+ (pH 5.5) [19] Ca2+ , Cd2+ (pH 11.5), Mg2+ , Mn2+ , Zn2+ (pH 10) [19]

[1] C.D. Natale, R. Paolesse, A. Macagnano, A. Mantini, A. D’Amico, A. Legin, L. Lvova, A. Rudnitskaya, Y. Vlasov, Sens. Actuators B 64 (2000) 15. [2] R.E. Baby, M. Cabezas, E.N. Walsoe de Reca, Sens. Actuators B 69 (2000) 214. [3] S. Winquist, C. Holmin, P. Krantz-R¨ulcker, I. Wide, Lundstr¨om, Anal. Chim. Acta 406 (2000) 147. [4] O.S. Wolfbeis, Fiber Optic Chemical Sensors and Biosensors, vol. 1, CRC Press, Inc, Boca Raton, 1991 (and references cited therein). [5] H. Hisamoto, M. Tsubuku, T. Enomoto, K. Watanabe, H. Kawaguchi, Y. Koike, K. Suzuki, Anal. Chem. 68 (1996) 3871. [6] Y. Kostov, S. Tzonkov, L. Yotova, M. Krysteva, Anal. Chim. Acta 280 (1993) 15. [7] A. Safavi, M. Pakniat, Anal. Chim. Acta 335 (1996) 227. [8] A. Safavi, H. Abdollahi, Anal. Chim. Acta 367 (1998) 167. [9] M.N. Taib, R. Andres, R. Narayanaswamy, Anal. Chim. Acta 330 (1996) 31. [10] M.N. Taib, R. Narayanaswamy, Sens. Actuators B 39 (1-3) (1997) 365. [11] A. Safavi, M. Bagheri, Sens. Actuators B 90 (2003) 143. [12] A. Safavi, A. Rostamzadeh, S. Maesum, Talanta 68 (5) (2006) 1469. [13] S. Borman, Chem. Eng. News 74 (1996) 33. [14] J.J. Lavigne, S. Savoy, M.B. Clevenger, J.E. Ritchie, B.S.J. McDoniel Yoo, E.V. Anslyn, J.T. McDevitt, J.B. Shear, D. Neikirk, J. Am. Chem. Soc. 120 (1998) 6429. [15] N. Maleki, A. Safavi, F. Sedaghatpour, Talanta 64 (2004) 830. [16] http://www.systat.com/products/TableCurve3D. [17] E.R. Malinowski, Factor Analysis in Chemistry, second ed., Wiley, New York, 1991. [18] R.J. Hall, G.A. Gray, L.R. Flynn, Analyst 91 (1966) 102. [19] E. Bishop, Indicators, Pregamon Press Ltd, 1972.

4. Conclusions Imaging pH measurements with the potential of simultaneous detection of many samples, not only yields wider measuring ranges, but it also offers other measuring ranges, which could not be obtained from spectrophotometric measurement (at a single wavelength) (see Fig. 3). One of the best features of such an optode array is its ability to measure pH values at high and low extremes of the pH range, where glass electrodes encounter alkaline and acid errors, respectively. The mathematical and chemometric models show good performance for association of three-dimensional imaging data to one-dimensional chemical data. The presented methodology allows rapid determination of pH values in a full pH range. The good correlation that exists between the true and predicted pH values warrants the applicability of the method to different samples. Acknowledgement The authors thank Shiraz University Research Council for the support of this work.

Suggest Documents