Measuring Conductivity of Liquids With Ucontroller
Measuring Conductivity of Liquids With Ucontroller
www.elsevier.com/locate/measurement
Abstract
A conductivity measurement setup has been developed to measure conductivity of ionic solutions using a micro-
controller. A modified AC Wheatstone Bridge network is used to measure conductivity. This instrument system permits
recording of conductivity and temperature and sends data to a computer to enable the computer processing of such
data. A dedicated AT89C55WD (8-bit) based microcontroller and its associated peripherals are employed for the
hardware. The details of its interface to measure conductivity, temperature and to control the temperature and evaluate
results are explained in this paper.
Ó 2003 Elsevier Ltd. All rights reserved.
0263-2241/$ - see front matter Ó 2003 Elsevier Ltd. All rights reserved.
doi:10.1016/j.measurement.2003.08.015
60 A. Rajendran, P. Neelamegam / Measurement 35 (2004) 59–63
soil studies, in the manufacture of paper and temperature. The output of multiplexer is given to
sugar, in vat dyeing [7]. The most accurate meth- the analog to digital converter (IC 7109), which is
ods of measurement of unknown impedance are kept in the block F. The 7109 A/D converter is a
the bridge methods [8], whose accuracy is basically low power integrating device which provides the
limited only by the accuracy of the known values user with high accuracy, low noise, low drift, ver-
of the various elements constituting the bridge. A satile and economical A/D converter of the dual
modified approach of the balancing techniques of slope integrating 12 bit A/D converter which can
AC WheatstoneÕs bridge network has been re- make 30 conversions per second. It is used to
ported to achieve high accuracy in measurement convert the analog conductivity and temperature
[9,10]. In the present work an operational amplifier into digital values. Block H is an AT89C55WD
based modified Wheatstone bridge network have microcontroller from Atmel Company, a low
been used to measure conductivity of a solution. A power, high performance CMOS 8-bit microcon-
microcontroller based conductivity measurement troller with 20 KB of flash programmable and
setup is designed to measure the conductivity and erasable memory and 256 bytes of RAM. It has
temperature of rapid changing solution resistance four parallel ports, three 16-bit timers/counters,
with time. eight interrupt sources, one programmable serial
port, low power, ideal and power down modes and
it has the facility of three level program memory
2. Experimental lock. Two of its Port 1 and Port 2 are being em-
ployed as input port and another Port 0 as an
The Fig. 1 shows the block diagram of con- output port. The solid-state power controller with
ductivity measurement set up. The platinum cell heater, which is kept in the block G, is used to heat
having a cell constant 1.0 cm1 is connected to one the furnace. The rate of heating is controlled at
arm of a modified Wheatstone bridge network any temperature by proper commands from the
kept in the block A. The conductivity cell is im- microcontroller. Block I is a two-row 16 characters
mersed in a beaker containing electrolyte solution. LCD display from Hitachi is interfaced with mi-
The unbalanced output voltage of the bridge cir- crocontroller through Port 1 to display the mea-
cuit depends upon the conductivity of ionic solu- sured data and results. Block J consists IC
tion. The output of the bridge network is rectified MAX232 is a dual RS232 transmitter/receiver in-
using precision rectifier which is kept in block B. terface circuit that meets all EIA RS232 specifi-
Block D is a K type chromel–alumel thermocouple cation. It requires a single +5 V supply. The output
is used as a sensor to measure temperature of the MAX232 is connected to COM1 port of computer,
solution. The block E consists of an instrumenta- which is kept in the block K.
tion amplifier, which amplifies the thermo emf
from thermocouple. The block C is a multiplexer
(IC 4051), which is used to select conductivity or 3. Circuit description
1
1 Z1 Z4 V0 Z1 Z4
¼ Gc ¼ þ ð8Þ
Z3 Rf Vi Z2
CHECK EOC
A fixed sinusoidal excitation voltage of 1 V is PROCESS TEMPERATURE SIGNAL
NO
applied to the bridge. A modified AC Wheatstone YES
SELECT CONDUCTIVITY
network, which is formed by connecting the con- READ DATA FROM
ductivity cell at one arm of the bridge and selecting CALL ADC
ADC 7109
References