I want to make a capacitor meter

Thread Starter

q12x

Joined Sep 25, 2015
2,242
I want to make a capacitor meter. The one that measure capacitance from 1pF up to as high as possible, because I know is a limit range.
What do you suggest ? Ideally a circuit that you built already. Or that you had your eyes on it.
It can be an old circuit, or new. Ideally a DMM circuit would be interesting, as long as I understand it. At least the capacitor meter part of it.
It is the first one I make, and I want it to be interesting.
That's it, Thank You !
 

Thread Starter

q12x

Joined Sep 25, 2015
2,242
Are you looking for ideas on how to do it?
yes, a simple one in the beginning. Because I have the tendency to complicate things.
also as diverse ideas as they can be, the better.

I would suggest that you do it in ranges. It would be difficult to do in a single range.
My idea is to do it with a GPIO pin and a resistor. You charge and discharge the capacitor and measure frequency.
Agree, w the ranges.
That's it? that simple?

My first question: How accurate does it need to be??
Second question: should it measure any other variable , like leakage or dissipation factor?
first :
well, if we are doing it in ranges, the first ones should start from 1pF, or the closest down we can go. That's the accuracy.
If we can make it that sensitive, then the rest of the values up, will be very accurate.
second:
ideally yes, but Im dedicated and happy w only capacitance measuring.

So in conclusion, stick the cap on the GPIO pins + a series resistor (10R?, 100R? or through experimentation?) and that's it? The rest is the code problem? Is what you are saying.
 

Wendy

Joined Mar 24, 2008
23,814
The simplest I can think of is a 555 timer where the resistor is used to calibrate (does not have to be a 555 timer). Any R C oscillator would work. From there you use a frequency counter, and it should give you a direct readout of the capacitance. I will be back tomorrow with more ideas how to do one from scratch.
 
this is one idea. use some inverter with Schmidt trigger (inverter or NAND or NOR or 555 or whatever) to make an oscillator. use different resistors to make different ranges. use MCU to measure frequency or period depending on range. from that and chosen range you can calculate capacitor value.
1789859001995.png
 
Certainly an RC oscillator can allow finding the frequency, but other variables also affect it. So it is a valid choice, but not all simple. Accurate frequency measurement is common, as are good oscillator circuits. Not simple, but well understood.
Of course, that is not a direct measurement of capacitance, so math is required. Using a known oscillator frequency to determine the reactance at that frequency can also work, and may be simpler to make work well.
 

Wendy

Joined Mar 24, 2008
23,814
First of all, what you are looking at is a A to D converter. Back when I was in college they showed me the way a DVM does it. a linear waveform similar to what is shown.
D to A Converters #1.png

A constant current heating a capacitor will form a linear waveform.the duration of which is is the a measure of the capacitance. Interestingly, a DVM uses a much similar principle to measure voltage. You measure duration with a circuit similar to this:

duration measurement.png

Add a comparator to create the pulse you want.and you get a duration proportional to the measurement.

capacitance meter..png

The key is the digital to analog conversion, which is always tricky. I find it interesting that it almost always depends on a linear slope to do the conversion.
 
Last edited:
Top