Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on pH Electrode Buffer - Offset when solution grounded

Parent

pH Electrode Buffer - Offset when solution grounded

+2
−1

Problem

pH electrode buffer offset appears when solution is grounded.

Detail

I have a pH electrode in some conductive solution (~1000uS). The output (measurement electrode) is buffered by an electrometer type opamp. The opamp rails are powered by an LDO (+/- 3.3V) which in turn are powered from a USB cable to my PC. The reference electrode is referenced to ground, which is shared between USB ground and PE through oscilloscope probe.

The board has been cleaned (ultrasonically in isopropanol and then baked for an hour). The pH electrode has a measurement glass impedance of ~250 MegaOhm and the liquid junction an impedance of around 10 kOhm.

If I measure the pH of liquid in a glass jar the output is relatively stable (<10 mV). However, when I place a grounded (PE) wire in the liquid a negative offset ranging between 50-200mV is introduced. Even if I float the oscilloscope I see the same offsets.

Isolating the buffer circuit solves the issue - but I am trying to understand why the offset happens.

The setup looks something like this (power supplies not show):

Image alt text

I tried to model the power supply (https://cutt.ly/nVuMekg) but I don't see the same offsets. I see 60Hz noise coupled through parasitic capacitance in my isolation transformer (60Hz noise is also present in real circuit but filtered by low pass).

Simulating with common mode noise (to replicate a ground loop) shows considerable 60Hz noise on the output of the buffer but no DC offset. I notice that the output of the buffer is not very stable (very low frequency noise - <<1Hz) when PE is connected to the solution.

Simulation:

Image alt text

Output:

Image alt text

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

3 comment threads

uS is not a measure of conductivity. Fix your units. (4 comments)
Wet cell perhaps? (1 comment)
A few words about the schematic (1 comment)
Post
+1
−0

It seems you have ground loops, and possibly having multiple ground connections shorting out your signals. Your hand-sketched diagram is a good start, but you need to show all the ground connections.

The scope is presumably grounded via its ground lug that plugs into the electrical outlet. Let's call that the "power ground". You show that with the chassis ground symbol in your diagram. But then what's the ground connected to the reference electrode really connected to? Using a different symbol means it's not the same as the power ground, but what is it?

You mentioned that the opamp is powered from a power supply derived from a computer's USB. That is also most likely referenced to power ground. Show that in your diagram.

I'm not familiar with the details of pH meters, so don't know what the significance of the reference electrode is. You don't seem to be using the output of the reference electrode, so it appears it's job is to float the solution at some voltage. However, you also show an explicit connection between the solution and power ground. Something is wrong here.

I would start by eliminating ground loops. Make sure your whole setup is referenced to ground by exactly one path. That should probably be your scope ground lead, since that's the hardest to avoid not being connected to ground.

Use batteries to power the opamp. Not only do they inherently float, but they will also be much less noisy than something derived from USB power.

I can't say what to do about the reference electrode since I don't understand what its function is supposed to be.

I understand the concept of a ground loop - but I don't understand why it creates a DC offset.

It is possible that the multiple ground connections are shorting your reference cell. It's not clear from your diagram, but is hinted at.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

I understand the concept of a ground loop - but I don't understand why it creates a DC offset. The... (1 comment)
I understand the concept of a ground loop - but I don't understand why it creates a DC offset. The...
rherma‭ wrote about 2 years ago

I understand the concept of a ground loop - but I don't understand why it creates a DC offset.

The impedance of the measurement glass combined with the parasitic capacitance creates a low pass filter, bandwidth of around 5Hz. So most 60Hz noise should be attenuated passively.

The reference electrode is connected to the same ground (PE) which is shorted to power ground through my PC (PC power supply is galvanically isolated). The galvanic isolation is broken by the oscilloscope.

The reference electrode generates a stable reference EMF for the galvanic cell created by the pH sensor (https://www.chemicalprocessing.com/assets/Media/MediaManager/ph.pdf - Page 30).

Anyway my question boils down to: how can ground loops (induce sinusoidal common mode noise) create DC offsets at the output of my buffer? I updated my question with a simulation w/ 50mV common mode noise @ 60Hz and do not see same DC offsets.