Troubleshooting My DIY Capacitive Transducer

  • Thread starter Thread starter phyky
  • Start date Start date
  • Tags Tags
    Transducer
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting a DIY capacitive transducer designed for measuring water levels. Participants explore issues related to capacitance measurements, the effects of water conductivity, signal conditioning circuits, and the impact of bubbles on readings. The conversation includes technical explanations and suggestions for improving measurement stability.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes building a parallel plate capacitor for a water level transducer but finds measured capacitance significantly higher than theoretical calculations when immersed in water.
  • Another participant notes that dissolved salts in water can make it a conductor, complicating capacitance measurements if the capacitor is in direct contact with the water.
  • Concerns are raised about polarization effects causing bubbles on the metal surfaces, which may affect measurement stability.
  • Suggestions include using AC voltage to avoid bubble formation and applying power only during measurements to reduce polarization.
  • Participants discuss the feasibility of using a microcontroller to manage readings and reduce the time the capacitor is powered to minimize bubble formation.
  • There is a discussion about whether a charge amplifier can effectively amplify DC signals, with references to the behavior of the capacitor in water and its resistance characteristics.
  • Some participants propose using coatings or heat shrink tubing to insulate the capacitor plates from water while maintaining functionality.
  • Questions arise about the relationship between dielectric permittivity changes and capacitance response time, as well as the implications for using the device as a resistive transducer instead of a capacitive one.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of using a charge amplifier with DC signals, the impact of water conductivity on capacitance measurements, and the best methods to mitigate bubble formation. The discussion remains unresolved regarding the optimal approach for achieving stable readings.

Contextual Notes

Limitations include the dependence on water purity, the effects of dissolved salts, and the challenges of measuring capacitance in a conductive medium. The discussion also highlights the potential for varying resistance in the water affecting measurements.

phyky
Messages
57
Reaction score
0
i built a parallel plate capacitor with brass plates to make water level transducer. A= 12cmx2cm, d=2mm. but the capacitance i measure is μF which far more bigger then theory calculation when it immersed into water. anyone can help?pls
 
Engineering news on Phys.org
Unless it is very pure, dissolved salts in water make it a reasonable conductor.

So, if your capacitor is touching the water, it will conduct current via the water and this will make measurement of capacitance very difficult.

You could still use it, though, as the resistance should vary according to the water level, so you can measure resistance with a multimeter (or some other way) and compare that reading with the height of the water.
 
i use pipe water. n 1 more thing is the signal conditioning circuit i used is charge amp with 5Vdc. i used R2=1MΩ C2=4.7nF n RClowpass+buffer.but the ouput vlotage i get is increase for a long time n not stable if i increase water level.why?
 

Attachments

  • charge amp.png
    charge amp.png
    710 bytes · Views: 553
Last edited:
You may be getting polarization of the water at the metal surfaces.

This can be seen as bubbles on the metal surface due to DC current passing through the solution.

You can avoid this by just applying power when you want to take a reading.
 
it do has bubbles.applying power?u mean drive oscillator ac?
 
I'm not sure what that means.

The bubbles on the surface of an electrode reduce the surface area for current to flow. So, this may be one reason that your reading is varying.

These bubbles do not form if you use AC and you can also reduce them if you use less DC current or use DC current in short bursts. Stirring tends to sweep the bubbles away too.

If you are familiar with microprocessors, you can use them to generate a DC voltage with one pin and take a voltage reading with another pin and store the value. Then remove the DC voltage.
So, you might take a reading in less than a second and display it for a minute or so, then take another reading.

This is extremely effective at avoiding polarization.
 
applying power
That means connecting the capacitor to its amplifier only for the time you are taking a new reading.

Could you apply a plastic coating to the surfaces that will be immersed? Is it for only short-term use, or how will you stop the gap becoming fouled with dirt or algae?
 
vk6kro: so use ac supply or stiring away the bubbles will get stable voltage output? i want connect it to microcontroller to make it a water level sensor. so if the calibration is not stable, it is less precision
NascentOxygen : it use only for short term.
 
Last edited:
If you have a microcontroller, you don't need to worry about the bubbles.

Just put a resistor in series with the sensor and connect them between an output of the micro and ground.

Take a wire from the junction of the two and connect it to an Analog to Digital input of the micro.

So,
make the output pin high (ie 5 volts)
wait a second
read the A to D input
make the output pin low (0 volts)
Display the A to D value.
Wait a minute.
Do it again.

So, the electrode is only on for 1/60th of the time. This gives the bubbles little time to form and plenty of time to go away. So, you should get consistent readings.
 
  • #10
i used pic18f14k50.sorry, i m not very understand what u mean. i cannot imagine very well. can u show me the circuit diagram?
 

Attachments

  • ccd.png
    ccd.png
    4.9 KB · Views: 510
  • 2012-03-18_094841.png
    2012-03-18_094841.png
    43.5 KB · Views: 587
  • #11
Like this:

http://dl.dropbox.com/u/4222062/Water%20sensor%20to%20uP.PNG
 
Last edited by a moderator:
  • #12
no need charge amplifier anymore?
 
  • #13
if the dielectric permittivity change, is it take a long time for capacitor to change its capacitance?
 
  • #14
phyky said:
if the dielectric permittivity change, is it take a long time for capacitor to change its capacitance?
The capacitance will change immediately, but if you have it fed from a very high impedance source then there will be an R-C time delay while the charge on the plates decays/changes/settles.
 
  • #15
In this case, the sensor is behaving like a resistor because of the conductivity of the water.

You may be able to make a waterproof layer of paint or epoxy by dipping the plates of the capacitor into the paint or epoxy.
If you did this 3 or 4 times and give the paint time to dry, or place it in a warm oven (45°C) to dry between coats.

It is important that there must be no conduction between the plates.
 
  • #16
It might suffice to cover each plate with its own sandwich "baggie" before immersing in the water. Some of these are polythene (?) bags and are smooth; if open at the top the water will probably push the bag up against the plate surface. Their permittivity will change the calibration slightly, but this may fulfill OP's insulation needs. Not sure how "short term" the needs are; maybe just one day for a demonstration?
 
  • #17
thanks for advices. i did measure the resistance of sensor, and it decrease as the water level increase, and it take a bit time.
so if i use dc, charge amplifier will not amplify the voltage? bcoz most of book show A=-Cs/Cf, A=gain, Cs=capacitive capacitance, Cf=feedback capacitance.but wikipedia say it can only amplify unless exciting input voltage(which is ac?), or the circuit acts as a charge-to-voltage converter. is it true?
http://en.wikipedia.org/wiki/Charge_amplifier
 
  • #18
Your capacitor is not working as a capacitor, because it is in water which has a relatively low resistance.

So, you can just accept this and use it as a variable resistor.

This means that you can just put it in a DC circuit and amplify with a conventional opamp if you like.

I notice in your first post that the spacing is only 2 mm so you don't have room to add paint or plastic bags.


I think you could get heat shrink tubing to squash down flat and fit over a 2 cm wide electrode.

If you did this, you could make it "U" shaped, so that it went from one electrode to the other under water and then you wouldn't have to worry about sealing it under water.
Heat it up with a hot air gun and it would be a tight fit on the electrodes.
 
  • #19
but the capacitace is also increase for my measurement, it can't be a capacitor?
 
  • #20
It is still a capacitor but with a low value of resistance in parallel with it.

So, you will have a lot of trouble trying to measure the capacitance while the resistance is there and varying.
 
  • #21
no wonder my measurement is not stable.
so according to my circuit, i can't use Vo/Vin=Cs/Cf, how i calculate output voltage?
 
  • #22
Your measurement is not stable since the DC current through the water is decomposing it and you are getting bubbles of gas forming on the electrodes.

To measure the resistance of the water between the electrodes, you could use the "OHMS" function on a multimeter or you could use an opamp circuit like this:


http://hampatong.com/wp-content/uploads/2010/04/Wheatstone-bridge-single-op-amp.png

Many opamps would work OK in this circuit.
 
Last edited by a moderator:
  • #23
so i need take it as resistive transducer. the charge amp will not working if i use charge amp? but the output voltage did increase for my measurement
 
  • #24
Yes, it would, but it is just working on the resistance of the water.
 
  • #25
that mean it just working on feedback resistor, Rf not Cf?
 
  • #26
Thank u
 
  • #27
phyky said:
that mean it just working on feedback resistor, Rf not Cf?

Yes, that is right. It is just measuring DC resistance.

But did you understand the comment about using heat shrink tubing?
 
  • #28
i know heat shrink tubing but how to make it "U" shaped?
 
  • #29
1 last question for charge amp, is charge amp really amplify output signal for dc or just a charge voltage converter?confuse to looked at the wiki as above..
 
  • #30
is my μC can take ac voltage output to do ADC or i nid a rectifier to convert to dc?
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
2
Views
3K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
2
Views
2K