pH controller unstable in field measurements

if money is not too much of an issue, take a look at these fine circuits for quantifying several water quality attributes.

Lots of good stuff available.