Maker Pro
Maker Pro

building pH controller

vega77

Feb 1, 2011
2
Joined
Feb 1, 2011
Messages
2
I'm planning my pH controller now.
It will be an arduino microcontroller with an analog input 0-5V.
Due to the high impedans in the pH circuit and the low voltage i cant connect it directly.

I have taken a look at national semiconductor reference design as shown in attachment.
And that seems ok for me.

But since the pH probe gives out - voltage under pH 7 and + voltage with pH over 7 i must somehow convert that voltage into a 0-5v signal.

Any idea how i could do that ?
 

Attachments

  • pH_national_semiconductor.png
    pH_national_semiconductor.png
    13.5 KB · Views: 790

Laplace

Apr 4, 2010
1,252
Joined
Apr 4, 2010
Messages
1,252
In your reference circuit, the first op amp provides gain for the probe signal for a range of +/- 700 mV or a total range of 1.4 volts. The second op amp provides signal inversion, range scaling and level shifting. Your final output signal will have a range of 5.0 volts and be level shifted so a zero volt input will give a 2.5 volt output.

The basic equation for an inverting op amp circuit with non-zero reference voltage at the '+' input is (as I calculate it):
Vo = -(Rf/Ri)Vi + (Rf/Ri+1)Vref

So R9/R4=(5.0/1.4) and (2.5)=(R9/R4 + 1)Vref. Just choose R4, R9, and Vref correctly.
 

vega77

Feb 1, 2011
2
Joined
Feb 1, 2011
Messages
2
thanks for your good answer.
I helped me alot.

i didnt include the components value in my pervious picture.
There are two not so commen resistor values R5 36.5k and R6 619k
could i use 33k or 39k for R5 and 680k for r6 ?
what impact will that have ?
 

Attachments

  • pH_national_semiconductor2.png
    pH_national_semiconductor2.png
    34.7 KB · Views: 480
Top