Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

capacitance measurement with PIC

Status
Not open for further replies.

16F676

Member level 2
Joined
Aug 14, 2006
Messages
44
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,288
Activity points
1,531
Hi, Friends
Anybody can Explain how capacitance being measured in PIC based capacitance meter.
thanks in advance
 

In short, there is an RC oscillator made with a capacitance, which you're trying to measure. The frequency of the oscillator depends on the capacitance. Then the frequency is fed into the frequency to voltage converter (F/V converter). Out of the F/V converter comes the analog voltage, which can be measured by the A/D converter on a PIC.
 

    16F676

    Points: 2
    Helpful Answer Positive Rating
kender said:
In short, there is an RC oscillator made with a capacitance, which you're trying to measure. The frequency of the oscillator depends on the capacitance. Then the frequency is fed into the frequency to voltage converter (F/V converter). Out of the F/V converter comes the analog voltage, which can be measured by the A/D converter on a PIC.

You could make it more reliable and low cost, use a constant currect source ( 1 signal transistor, 1 zener diode and 2 resistors ), and charge your capacitor. Next you take measurements with the ADC at constant time intervals.

Vs = ( I * t ) / C

Vs in volts, I in amperes, t in seconds and C in farads
 

    16F676

    Points: 2
    Helpful Answer Positive Rating
Can you post an example circuit?
 

thanks to all
Please post an example diagram "manu"
actually I need to measure very low capacitances
is it possible with your method?
 

Yes, that's possible for any value of capacitance, but you might varies your charge current to measures correctly with your ADC a full range of capacitors, from 1pF to 10 000µF.

Considering that components are perfect ( Vz and Vbe are constant ) :

Ir1 = ( Vz-Veb ) / R1

D1 can be standard silicium diode, or a zener diode.

in this case, Vc = ( Ie * t ) / C

Have fun :)
 

    16F676

    Points: 2
    Helpful Answer Positive Rating
Hi
U can used capacitinace as a frequency signal. PUT your variable capacitance in as OSC circuit like 555 timer circuit and based on the frequncy of oscillation which can be measured by PIC through PIC counters modules or PIC interrupt pins, you can calculate your capacitance simply. Also if you are carfule enogh in choosing your oscillator components value you can get a very easy transform equation.

Thanks
Haytham
 

    16F676

    Points: 2
    Helpful Answer Positive Rating
thanks all for the coments.
My aim is to measure the volume of water in a tank by immersing an insulated wire and measure the capacitance of internal conductor to the water.
your suggessions are appreciated.
 

Here is attached an example of an oscillogram of voltage across the pins of the capacitor, the "Standard I/O pin" supply the constant current generator with a 50% duty cycle signal.

My aim is to measure the volume of water in a tank by immersing an insulated wire and measure the capacitance of internal conductor to the water.

You also can use a "J' shaped tube that you connect to a standard pressure sensor ( MPX2xxx ), this pressure sensor is placed on the bottom of your tank.

But your solution might be a good idea, I will try :)
 

    16F676

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top