You are on page 1of 6

ICDSIP | March 07-08, 2017 International Journal of Engineering and Advanced Technology (IJEAT)

MIT, Aurangabad (Maharashtra) India ISSN: 2249 – 8958, Volume-6, Issue-ICDSIP17, March 2017

Synthesis of AMS Based System-on-Chip for


Measurement of Physicochemical Parameters of
Water
S. K. Tilekar, S. C. Pathan, P. V. Mane-Deshmukh, S. V. Chavan, B. P. Ladgaonkar

 Programmable System-on-Chip (PSoC) [1]. Therefore, AMS


Abstract— An innovative technology, Analog Mixed Signal design technology exhibits wide spectrum of applications in
(AMS) based VLSI design, is realizing commendable dynamic various domains from simple domestic to critical industrial
reconfigurability of on-chip resources, analog as well as digital, applications. Moreover, the designing of the SoC for
which furnishes needs ubiquitous System-on-Chip (SoC) design.
It reveals wide spectrum of applicability, particularly in the field precision measurement of physicochemical parameters such
of precision measurements and controlling of various parameters as dissolved oxygen, conductivity, turbidity, pH, etc.is novel
such as pH, Electrical Conductivity (EC), concentration of field of research [2]. These physicochemical parameter
Dissolved Oxygen (DO), etc., of liquid. Further, the deployment of measurements has meritorious application domain.
AMS based Programmable SoC (PSoC) overcomes constraints in Presently, many investigators are designing an embedded
the configurability and has ultra-low power consumption, which
is otherwise exhibited by traditional VLSI. Therefore, deploying
system to measure these parameters by employing
PSoC5 device the SoC for temperature compensated EC and pH microcontrollers and microprocessors of promising features
measurement of water is synthesised and presented in this paper. [3-6]. But these embedded systems realize concept of
The AD590, standard EC electrode and standard pH electrode System-on-Board (SoB), because analog design is always off
are wired off the chip for the synthesis of this SoC. Deploying the the chip. Furthermore, conventional operational amplifiers
on-chip resources of the CY8C55 series PSoC device and ensuring low input impedance, limited input bias current, has
co-development process, the necessary DAS is configured and
routed in PSoC device by PSoC Creator2.1 environment.
interfacing constraints. It is due the fact that the
Configuring 10-bit ƩΔADC, the preciseness of parameter physicochemical sensors, have input impedance in the range
measurement is achieved. The SoC is calibrated to the standard of GΩ. Therefore, to surmount the designing constraints of
units by employing scientific method and standardize with the microcontroller based embedded system the investigators
sophisticated instrument from standard Hanna make meter and are switching towards the VLSI based configurable devices.
results are interpreted in this paper.
The VLSI devices, CPLD and FPGA, have the poor
reconfigurability and analog data acquisition is off the chip.
Index Terms— Analog Mixed Signal, PGA, Conductivity, pH,
PSoC.. The field of Programmable System-on-Chip (PSoC) of the
AMS technology ensures better integrability and
I. INTRODUCTION commendable reconfigurability of analog as well as digital
resources and ultra-low power consumption. Hence, to
Indeed, advances in the VLSI domain emerges an configured dedicated embedded system on a chip the PSoC
innovative technology, Analog and Mixed Signal (AMS) devices are highly suitable. The vendors, Cypress
based system design, wherein reconfigurability, scalability, Semiconductors, Altera, Actel, etc., are providing AMS based
portability, ultra-low power consumption, etc. are PSoC chips of their own features, wherein single chip is
significantly emphasized while synthesis of an ubiquitous facilitate with both analog as well as digital cores of high
reconfigurability along with the cores of computing devices.
It is found that, the investigators [7-9] have designed the
Revised Version Manuscript Received on March 08, 2017. PSoC based SoC for physical parameters measurement
S. K. Tilekar, VLSI Design and Research Centre, Post Graduate
Department of Electronics, Shankarrao Mohite Mahavidyalaya, Akluj, Dist. employing the PSoC1 device. However, the reports designing
Solapur (Maharashtra), India - 413101 of system for the precision physicochemical parameters
S. C. Pathan, VLSI Design and Research Centre, Post Graduate measurement, employing AMS technology, is rather rare.
Department of Electronics, Shankarrao Mohite Mahavidyalaya, Akluj, Dist.
Solapur (Maharashtra), India - 413101 Therefore, employing an AMS based VLSI technology the
P. V. Mane-Deshmukh, VLSI Design and Research Centre, Post SoC is designed for measurement of pH and electrical
Graduate Department of Electronics, Shankarrao Mohite Mahavidyalaya, conductivity of the water under investigation. The designing
Akluj, Dist. Solapur (Maharashtra), India - 413101
S. N. Patil, VLSI Design and Research Centre, Post Graduate
issues and results of its implementation are interpreted in this
Department of Electronics, Shankarrao Mohite Mahavidyalaya, Akluj, Dist. paper.
Solapur (Maharashtra), India - 413101
S. V. Chavan, VLSI Design and Research Centre, Post Graduate
Department of Electronics, Shankarrao Mohite Mahavidyalaya, Akluj, Dist.
Solapur (Maharashtra), India - 413101
B. P. Ladgaonkar, VLSI Design and Research Centre, Post Graduate
Department of Electronics, Shankarrao Mohite Mahavidyalaya, Akluj, Dist.
Solapur (Maharashtra), India – 413101

Published By:
Blue Eyes Intelligence Engineering
147 & Sciences Publication Pvt. Ltd.
Synthesis of AMS Based System-on-Chip for Measurement of Physicochemical Parameters of Water

II. SYNTHESIS OF AMS BASED SOC Cypress for development of the SoC is PSoC Creator2.1.
Emphasising the features of Cypress PSoC5 series The SoC, for measurement of temperature compensated pH
CY8C5568AXI-060 device is opted to synthesis this SoC. and AC Electrical Conductivity (EC), is co-developed by
The Cypress PSoC5 has wide range of integrated analog as employing the Cypress PSoC5 development board. The
well as digital highly dynamic reconfigurable modules and schematic is depicted in the Fig. 1. The first, second and third
Application Programming Interface (API) routines which channels are configured for temperature, EC and pH
furnishes faster co-development of SoC. An IDE provided by measurement respectively and are discussed through
following paragraphs.

Fig. 1: Schematic of System on Chip to Measure pH and Conductivity.


Both the physicochemical parameters, EC and pH, are of the electrode and betterment of result the frequency and
temperature dependent [14, 17]. Hence, the precision amplitude of the source must be in the range of 200 Hz to 10
temperature measurement is carried out by deploying the KHz and less than 1.3 V respectively. Therefore, AC
AD590, temperature sensor, off the chip. The 1 mA on-chip excitation source having frequency 541 Hz and amplitude 1.2
constant current source, IDAC8_1, is configured by V is wired about the CMOS operational amplifier, MCP606
employing the current DAC and applied to temperature sensor and it is powered by highly stable power supply of the PSoC5
through Analog Pin, Pin_1. The temperature dependent development board. This excitation potential is applied to the
current 1 µA/K generated by the AD590 is converted into EC electrode through buffer configured the on-chip,
analog emf VT, 1 mV/K, by passing the same through 1 KΩ Opamp_1. The Analog Pins, Pin_3 and Pin_4 of PSoC5
resistor and available at Analog Pin, Pin_2. This VT is device are configured as input and output of buffer using ports
extracted through buffer, which is configured using on-chip P0(2) opamp+ and P0(0) opamp:out respectively. The
operational amplifier, Opamp_2 and applied to the first conductivity dependent analog emf (VCE) is developed
channel of the analog multiplexer, AMuxSeq_1. The across the resistor, 1KΩ, at Analog Pin, Pin_5, is extracted
incorporation of the multiplexer reduces the area of through on-chip Programmable Gain Amplifier (PGA),
integration and power dissipation as well. The Pin_1 and PGA_1. This is configured as unity gain amplifier and its
Pin_2 of PSoC device are configured as Analog Pin at P0(6) output is applied to the second channel of the AMuxSeq_1.
opamp:out and P0(4) opamp+ respectively. Thus EC electrode is truly isolated between the two buffers.
To sense the Electrical Conductivity (EC) dependent emf The Pin_5 is configured to ports P0(4) opamp+ of PSoC
of the water, a standard EC electrode (K=1) from Device. Another parameter pH is sensed by employing the
Equip-Tronics, is used. From literature survey, it is found standard potentiometric glass pH electrode, Equip-Tronics
that, pulsating or AC is suitable source for excitation. A DC make. This potentiometric electrode is excited by the on-chip
excitation causes the migration of ions and develops a thin DC source,
layer of oxide on the plates of electrode, which degrades the
electrode and electrolyte [11].However, to avoid the damage

Published By:
Blue Eyes Intelligence Engineering
148 & Sciences Publication Pvt. Ltd.
ICDSIP | March 07-08, 2017 International Journal of Engineering and Advanced Technology (IJEAT)
MIT, Aurangabad (Maharashtra) India ISSN: 2249 – 8958, Volume-6, Issue-ICDSIP17, March 2017

VDAC8_1, of 420 mV [12], which is configured by P2(6:0).


introducing the Voltage DAC, VDAC. This excitation The AMS based PSoC system synthesization ensures the
potential is also buffered, Opamp_3, by using on-chip principle of co-development process of hardware and
operational amplifier. The electrode is interfaced in between software as well. Hence, firmware development is
the two Analog Pins, Pin_6 and Pin_7, which are configured consequently co-designed in embedded C environment
as high impedance analog device mode. The resulting pH employing Creator2.1 IDE and its algorithm is depicted by the
dependent analog emf (VpH) is extracted through on-chip flow chart in Fig. 2. Furthermore, initialization and accessing
PGA, PGA_2, as preamplifier. To cater the need of input of all configured IP cores are done through this firmware. On
impedance more than 100 MΩ PGA is configured as unity successful building of the project the .h file is created and
gain amplifier, as pH electrode has impedance more than 100 programmed into the PSoC5 device to confirm synthesis of
MΩ [12]. Therefore, pH electrode is also truly isolated by use SoC for measurement of physicochemical parameters, the EC
the two buffers. This VpH is applied to the third channel of the and pH, of the water.
AMuxSeq_1. The Pin_6 and Pin_7 are is configured to ports
P3(7) opamp:out and P5(7) opamp+ of PSoC Device, III. EXPERIMENTAL
respectively. Now both physicochemical parameters The sensor under the investigation provides the analog emf
dependent analog signals, VEC and VpH, along with the and is directly proportional to the variation in its respective
temperature analog signal, VT, are sequentially applied to parameter. Therefore, the process of calibration and
on-chip 10-bit ∆ΣADC, ADC_DelSig_1, for the digitization standardization of the designed SoC is carried out, to obtain
and further processing. The temperature compensated the respective parameters data in terms of respective
conductivity and pH data of water along with real temperature engineering units.
are displayed on smart LCD module, which is connected
off-chip. The LCD is configured by introducing the A. Calibration to the Temperature
on-chip16X2 lines smart LCD block, LCD_Char_1, and it is To calibrate the system to temperature in degree
directly routed to LCD module via centigrade, the temperature sensor AD590 is exposed from
250C to 500C and respective emf (VT), in mV, on the LCD,
are recorded and plotted against temperature. The graph of
emf VT against applied temperature is shown in Fig. 3. Then
statistical method of regression is employed and the recorded
data is best fitted to the straight line. The expression resulted
is

T in 0C = 0.9553 VT–1.9157 ---1


This expression 1 is deployed in the firmware for
continuous display of temperature data. The designed SoC is
standardized to temperature in 0C. For standardization the
digital thermometer from Hanna Instruments, USA is used. It
is implemented to measure the temperature of the water under
the investigation. This temperature data is also utilized to
achieve temperature compensated EC and pH of the water
under the investigation.
B. Calibration to the Electrical Conductivity
The literature survey reveals that, the engineering unit of
the EC is μS/cm and to calibrate the system under the
investigation to this unit, it was exposed to the continuous
domain of different standard buffer solution, KCl,
Fig. 2: The firmware flow for temperature compensated
EC and pH SoC.

Published By:
Blue Eyes Intelligence Engineering
149 & Sciences Publication Pvt. Ltd.
Synthesis of AMS Based System-on-Chip for Measurement of Physicochemical Parameters of Water

having conductivity ranging from 81 µS/cm to 2230µS/cm


[3,13]. The KCl solutions are also exposed by Hanna make
USA. The standard EC meter HI 991300, Hanna make, is
employed for conductivity measurement. The observed
conductivity dependent emf, VEC, shown by the system under
investigation and corresponding EC shown by Hanna meter
are recorded and plotted in Fig. 4. It is found that the graph of
emf against EC is non-linear within the range of investigation.
Such nature of the plot is also reported by the investigators
[3]. Therefore, on regression the curve is best fitted to the
polynomial of the order three and the expression is with four,
a, b, c and d, coefficients as

EC = a(VEC)3- b(VEC)2+c(VEC)-d ---2 Furthermore, the uncompensated conductivity is linearly


increases with increase in temperature, within the range of
Where, the values of these coefficient are a = 1×10-4, b = investigation. Temperature compensated conductivity data
1.93×10-2, c = 4.1945 and d = 48.859. This expression 2 is shown by present SoC remains constant over the range of
utilized in the firmware to calibrate the system under the investigation. Hence, it can be said that, the SoC under
investigation to µS/cm unit and standardize it at room investigation also provides the temperature compensation on
temperature. EC values.
However, it is found that, EC is temperature dependent C. Calibration to the pH Scale
parameter. Therefore, to ensure the temperature compensated
For the calibration of the system to pH unit, it is found that,
conductivity data the present system under the investigation is
two or three point calibration process is recommended [15].
introduced for the same purpose and the expression for the
However, for calibration of the SoC under the investigation
dependence of the EC on temperature is incorporated in the
two point calibration process is adopted. Employing the
firmware [14] as.
buffer tablets, Fisher Scientific make, of 4 pH and 7 pH, the
buffer solutions is prepared [16]. The pH dependent emf, VpH,
ECTComp = EC(1/(1+0.0203(T – 27))) ---3
developed by the SoC under the investigation at room
temperature for these buffer solutions are recorded and
Where, ECTComp is the temperature compensated
plotted in Fig. 6. On the process of regression, the recorded
conductivity of the water and T is temperature in 0C.
data is best fitted to straight line. The empirical relation
obtained is

pH = (0.0177 × VpH) + 0.3261 ---4


This expression 4 is deployed in the firmware to get the pH
value at room temperature continuously. Thus, SoC under the
investigation is calibrated to the pH unit.

The temperature compensated EC data is resulted by


executing this expression 3 in the firmware. Thus, this SoC is
also standardized to temperature compensated EC
measurements. Moreover, this SoC is implemented for
measurement of temperature compensated electrical
conductivity of various samples of the water and results are
On intensive study, it is found that the Nernst equation
interpreted. To validate the design and to ensure investigation
depicts the temperature dependency of the pH of the water
of temperature compensated EC measurement, the SoC is
under the investigation [17] and this Nernst equation is
subjected to measure the conductivity for variable
reduced to determine the temperature compensated pH
temperature. The observation of compensated and
values, pHTComp, of the water as
uncompensated EC for tubewell water is recorded from the
pHTComp = (VpHT – 0.00019841×T×pH)/56.16 ---5
SoC under the investigation and presented in the Fig. 5.On
Where, VpHT is the emf at temperature T in mV,
inspection of the Fig.5, it is found that, SoC under
investigation precisely gives the values of both compensated
and uncompensated EC of the tube well water.
Published By:
Blue Eyes Intelligence Engineering
150 & Sciences Publication Pvt. Ltd.
ICDSIP | March 07-08, 2017 International Journal of Engineering and Advanced Technology (IJEAT)
MIT, Aurangabad (Maharashtra) India ISSN: 2249 – 8958, Volume-6, Issue-ICDSIP17, March 2017

T is the temperature in Kelvin and 59.16 mV/T is the 6. G. R. Helena ,O. Postolache and M. Pereira, “ Distributed Water
Quality Measurement system Based on SDI-12”, IEEE AFRICON,
standard coefficient, called Nernst factor. (2004).
This expression 5 is deployed in the firmware to produce 7. B. Massot, C. Gehin, R. Nocua, A. Dittmar and E. McAdams, “A
temperature compensated pH value. Thus, the SoC under the wearable, low-power, health-monitoring instrumentation based on a
investigation is ready to measure the temperature Programmable System-on-Chip”, 31st Annual International
Conference of the IEEE EMBS, 2-6 September, 2009, Hilton
compensated pH values of the water. Furthermore, this SoC is Minneapolis, Minnesota, USA.
implemented to record the temperature compensated as well 8. M. Rathode, “Design and prototyping of PSoC based pulse oximeter”,
as uncompensated pH values for buffer solution of 7 pH. The Int. J. of Scientific and Engg. Research, ISSN 2229-5518, 3 10 (2012)
1-5.
graph of pH value against temperature 0C is shown in Fig. 7. It 9. M. Hrgetic, I Krois and M Cifrek, “Accuracy analysis of dissolved
oxygen measurement system realized with Cypress PSoC configurable
mixed signal array”, IEEE ISIE 2005, (2005) 1105-1110.
10. B. P. Ladgaonkar, S. N. Patil and S. K. Tilekar, “Development Of
Ni-Zn Ferrite Based Smart Humidity Sensor Module By Using Mixed
Signal Programmable System-On-Chip”, Applied Mechanics and
Materials, Trans Tech Publications, Switzerland, Vol. 310 (2013)
490-493.
11. http://www.ist-ag.com/eh/ist-ag/resource.nsf/imgref/download_bc_e1
.0.pdf/$file/bc_e1.0.pdf
12. S. K. Tilekar and B. P. Ladgaonkar, “Designing of Mixed Signal based
Programmable System on Chip for temperature compensated pH
Measurement”, International Journal of Scientific & Engineering
Research, 4 6 (2013) 672-678.
13. B. Saleha Begum, B. Ashraf Ahamed, A. Suresh Kumar, B.
RamaMurthy, P. Thimmaiah and K. K. Azam Khan, “Embedded
Based Soil Electrical Conductivity Measurement System”, IOSR
Journal of Agriculture and Veterinary Science (IOSR-JAVS), Vol 26
(2013) 17-20.
Is observed that, as the temperature progresses the values 14. O. Postolache, P. S. Girao, G. Patricio, J. Sacramento, P. Macedo and
of the pH decreases, similar trend is also reported in [18]. The M. D. Pereira, “Distributed Instrumentation and Geographic
Information System for Dolphins' Environment Assessment” IEEE
decrease in this pH values may be attributed to the ionic Instrumentation and Measurement Technology Conference
dissociation at high temperature. The temperature Proceedings, IMTC, (2008) 1777-1782.
compensated pH values against temperature are almost 15. H. Willard, L. Merritt, J. Dean and F. Settle, “Instrumental Methods of
Analysis”, CBS Publisher, New Delhi 7thEdn (1986).
remain constant within range of investigation. Therefore, the 16. W. Y. Chung, C. H. Yang, Y. F. Wang, Y. J. Chan, W. Torbicz, D. G.
SoC under investigation also provides the temperature Pijanowska, “A signal processing ASIC for ISFET based Chemical
compensation on pH values very precisely. sensors”, Microelectronic J., 35(2004) 667-675.
17. Temperature compensation for pH meters,
http://www.eutechinst.com/techtips/tech-tips4.htm
III. CONCLUSION 18. G.R. Helena, O. Postolache and M. Pereira, “Distributed Water Quality
The System-on-Chip (SoC) based on the Analog Mixed Measurement system Based on SDI-12”, IEEE AFRICON, (2004).
Signal (AMS) technology is sysnthesized successfully for the
measurement of physicochemical parameters, the temperature
compensated Electrical Conductivity (EC) and pH, of water. S. K. Tilekar completed his M. Phil. and
Ph.D. from Solapur University, Solapur
The SoC is calibrated to the respective engineering units of (India). The area of research is Embedded
the parameters. From results of implementation, it can be technology, VLSI design and technology,
concluded that the present SoC measures EC and pH values Mixed signal SoC design. Presently, he is
very precisely. This can be implemented for in-situ working as Associate Professor at Shankarrao
Mohite College, Akluj, Dist. Solapur. He
measurements. awarded with best paper presentation award at
Research Festival and conferences, two times.
REFERENCES He presented 78 research papers in International & National level
conferences. He published 13 papers in International Journal. He completed
1. K. Paramsivam and K. Gunavathi, “Recording algorithm for 2 research projects. He worked as resource person and delivered the invited
minimizing Test Power in VLSI Circuits”, Engineering letters, 14 presentation in National level conferences.
(2007) 1-6.
2. B. Srihari, R. Prabhakar and K. V. Murli Mohan, “ Applications of
MEMS in Robotics using PSoC5”, Global Journal of Advanced S. C. Pathan is research scholar working
Engineering Technologies, 1, 2 (2012) 54. for Ph. D. degree in Electronics. He obtained
3. O. Postolache, D. Richebon, J.M.D. Pereira and P. Girao, master degree from Solapur University,
“Microcontroller Based Multi-sensing System For Water Quality Solapur. His area of research is Embedded
Measurement”, 17th Symposium IMEKO TC4, 3rd Symposium technology, Wireless Sensor Network and
IMEKO TC 19 and 15th IWADC Workshop Instrumentic for the ITC Instrumentation designing for high tech
Era, (2010) 47-52. process industries. He awarded with best paper
4. Rajendran and P. Neelamegam, “Design and development of presentation award at Research Festival, two
microcontroller based conductivity measurement system”, Indian J. of times, organized by Solapur University,
Pure and Appl.Phy., 42 (2004) 182-188. Solapur. He presented 15 research papers in National level conferences. He
5. R. P. Uhlig, M. Zec, M. Ziolkowski, H. Brauer, and A. Thess, “Lorentz published 05 papers in International Journal.
force sigmometry: A contactless method for electrical conductivity
measurements”, J. Appl. Phys., American Institute of Physics, 111,
094914 (2012).

Published By:
Blue Eyes Intelligence Engineering
151 & Sciences Publication Pvt. Ltd.
Synthesis of AMS Based System-on-Chip for Measurement of Physicochemical Parameters of Water

P. V. Mane-Deshmukh is research
scholar working for Ph. D. degree in
Electronics. He obtained master degree
from Solapur University, Solapur. His area
of research is Embedded technology,
Wireless Sensor Network and
Instrumentation designing for high tech
process industries. He awarded with best
paper presentation award at Research
Festival, five times, organized by Solapur University, Solapur. He presented
33 research papers in National level conferences. He published 06 papers in
International Journal.

S. V. Chavan is research scholar


working for Ph. D. degree in Electronics.
He obtained master degree from Shivaji
University, Kolhapur. His area of research
is Embedded technology, Wireless Sensor
Network and Instrumentation designing for
high tech process industries. He awarded
with best paper presentation award at
Research Festival, five times, organized by
Solapur University, Solapur. He presented 12 research papers in National
level conferences. He published 03 papers in International Journal.

B. P. Ladgaonkar is the Head of Post


Graduate department of Electronics,
Shankarrao Mohite College, Akluj, Dist.
Solapur (India). He is recognized guide in
Electronics and Physics as well. The areas of
research are Embedded technology,
Instrumentation designing for high tech
agriculture, Sensor materials, VLSI design
and technology, Mixed signal SoC design.
He guided 4 M. Phil. students. Presently, 7
students for Ph.D. and 5 students for M.phil. are working under his guidance
and two students are awarded Ph.D. degree. More than 35 International and
50 National level publications are in his credit. He organized 8 National level
conferences and seminars funded by various institutes. He completed 3
research projects. He worked as resource person and delivered the invited
presentation in National level conferences. He has undertaken UGC, New
Delhi sponsored Major Research Project base on Wireless Sensor Network.

Published By:
Blue Eyes Intelligence Engineering
152 & Sciences Publication Pvt. Ltd.

You might also like