pH Circuit-long post
pH Circuit-long post
Here is a simple solution that attaches a pH probe to a high-impedance input of an op amp. The output is then read to the input of a digital voltmeter(Fig1). I used LFXXX rather than LMXXX for the JFET Op Amps, $4.50 for all all parts including caps and resistors.
[/IMG]
You will still need to convert the the DMM readings to pH units using a calculator to plot three dots on the line. Figure 2 shows a typical plot of pH versus millivolt output. (Note that pH is temperature-dependent; you have to recalibrate if the temperature changes.) It is also very linear.
[/IMG]
To calibrate the system use 3 pH standards, 4-, 7-, and 10-pH units. These standards are inexpensive and available at any chemical-supply house and most LFS.
The calibration procedure is as follows:
Short the input leads (pins 2 and 3) together and adjust the offset potentiometer such that the output reads 0 mV. Untie the leads. Place your pH probe in each standard and record the output (in millivolts) for each standard and record the values in your calculator and determine the slope of the line. Remember y=mx+b?
If you want to drive the signal directly to pH units, build this guy in FIG3:
[/IMG]
At approximately 24Ã"šÃ‚°C, the equation for the slope of the line is Y=ââ"šÂ¬Ã¢â‚¬Å“0.017X+7, for better accuracy lets redo the equation by ten. We now have 10Y=ââ"šÂ¬Ã¢â‚¬Å“0.17X+70.
There are three sections in Figure 3. The voltage from the probe to pin 3 of LF351 provides the high-impedance input. This device inverts the signal and then outputs a signal to one-half of the LF353 to control the slope. This LF353 also multiplies the LF351's output by ââ"šÂ¬Ã¢â‚¬Å“0.17. The last stage uses the second half of the LF353, and it functions as a summing amplifier and controls the Y intercept by adding 70 mV to the input signal.
When you build this circuit, solder the BNC directly to the op amp's input pin to prevent any added impedance levels from the probe.
After you build this guy, its time to calibrate and set the slope. To calibrate the circuit, first short the inputs together and adjust the offset potentiometer to obtain 0-mV output from the LM351.
To calibrate the circuit for pH units, place the pH probe into a pH standard. Measure the voltage at the output of the LM351. Multiply this voltage by 0.17 and adjust the slope potentiometer until the output of the second op amp (Pin1 of the 353) is exactly the number you just calculated only negative in value. Then, connect the meter to the output of the circuit and adjust the Y-intercept potentiometer until the circuit yields the pH of the standard you use. (For example, a pH of 10.1 reads 0.101V.) To tweak the circuit, place the pH probe in other standards and adjust the Y-intercept potentiometer.
Lastly if the temperature changes, you must recalibrate, but since we don't typically deal with much temp changes this issue is moot. The accuracy of this circuit is generally Ã"šÃ‚±0.1 pH units. When you order pH probes, you should order low-impedance units. This particular circuit uses Cole-Parmer (
www.colepalmer.com) U-59001-65 probes.
Probe
Now Roy, how do we do code to get the PLC to control and not just monitor?