source:http://www.radiolocman.com/
This is a simple capacitance meter which can measure capacitance value easy. There are some measurement methods for capacitance, at one time the capacitance was measured with a impedance bridge or a dip meter. Recently typical capacitance meters can measure capacitance and some additional characteristics from current vector by applying AC voltage to the Cx. Some simple capacitance meter use integration method that measureing transient response of the R-C network. There are some construction kits based on this method.
This project uses the integration method. There is an advantage that the resulut can be got as a digital data directly because it bases measurement of time, accurate analog circuit is not required and its calibration can be done easy by using a microcontroller. Therefor the integration method is suitable for hand built capacitance meter with high realizability.
The phenomenon appers until state of the circuit changes steady-state after state change, is called Transient. It is one of the fundamental operations of pulse circuit. When the switch in Figure 1a is opend, the capacitor C will be charged through the register R and voltage Vc will vary like shown in Figure 1b. To change state of the circuit, changing the value of EMF E instead can also be thought that equivalent. The relation between past time t and voltage VC is expressed in following formure.
(1)
Each units are: t seconds, R ohms, C farad and epsilon is a Napier's number (approx. 2.72). When VC reaches VC1, the time t1 can be expressed in following formure.
(2)
This means that the t1 is proportional to C. Thus the capacitance can be calcurated from charge time and any other fixed parameters.
The integration circuit can be simplified like shown in the circuit diagram. The threshold voltage is generated by divider registers. It seems not stable to valiation of supply voltage however the charge time is not affected by the supply voltage. You will able to find that voltage terms can be erased when apply formure 2, VC1/E term is dtermined by only divide ratio. This advantage is the essence found in the NE555 timer IC. Ofcourse the supply voltage must be steady during integration.
According to the foundation, measure integration time with only one threshold voltage will do. However input voltage of near ground level is little difficult to use due to following reasons.
- * Voltage not drop to 0 volt. Capacitor voltage will not be discharged to zero volt. It require a time to discharge capacitor to sufficientaly low voltage for measuring operation. It will expand measureing interval. Saturation voltage at discharge switch is also increase this effect.
- * There is a time beween start to charge and then start timer. It will cause a measurement error. This can be ignored on the AVR because it requires only one clock cycle for that sequence. Any other microcontroller may rquire to consider this problem.
- * Leakage current on analog input. Accrding to AVR data sheet, the leakage current on analog input is increased near zero volt. This will cause a measurement error.
The supply voltage is generated with a DC-DC converter powered from a 1.5 V AA cell. The swiching power supply is not suitable for measurement circuit but it seems not affected by ripple voltage because two ripple filters are applied. I recommend to use a 9 V 6LR61 battery and a 78L05 instead, and do not omit BOD or you will be afflicted with EEPROM data collaption.
Calibration
When power is on first time, full segment, "E4" and ten several pF will be displayed. This value means stray capacitance on the circuit. The stray capacitance can be canceled by SW1. Two reference capacitors of 1nF and 100nF are needed to calibrate the capacitance meter. If you could not obtain the reference capacitors, accurate capacitors within ±1% can be used insted. This capacitance meter does not have any trimmer pot, it performs the calibration by reading the reference capacitor and saving gain adjustment value in full automatic operation.
To calibrate low range: First, adjust zero with SW1. Next, tie pin #1 and #3 of connector P1, set a 1nF reference capacitor and push SW1.
To calibrate high range: Tie pin #4 and #6 of connector P1, set a 100nF reference capacitor and push SW1.
"E4" at power on means calibration value in the EEPROM has been broken. It will never be displayed if once calibration is performed. As for zero adjustment, it is not saved into the EEPROM, it will require each time power-on or any jig is attached.
100 µF Electrolytic | |
470 nF Multi-layered film | |
16 nF±1% Mica | |
330 pF±5% Polystyrene | |
100 pF±5% Disk ceramic | |
1 pF Disk ceramic | |
5 pF Mica Long leads... | |
5 pF Mica ...then cut reads | |
1S1588 Reverse bias |
Measureing action is triggered in 500 msec interval, only putting the Cx on the socket will do. Each action starts at low range (3.3M ohms). If capacitor voltage Vc didn't reach 0.5 Vcc within 130 msec (>57 nF), discharge the capacitor and restart at high range (3.3k ohms). If capacitor voltage didn't reach 0.5 Vcc within 1 sec (>440 µF), the measurement is aborted and display "E2". When a valid time is captured, the capacitance is calcurated and displayed. The value is displayed in left stored, only left three digits are displayed into the LEDs. Thus two measurement ranges and one of the eight display ranges is selected automatically.
Last significant digit is 0.1pF at small capacitance less than 100pF. Any change of stray capacitance affects the measureing precision. I used a half cut burn-in socket. It can hold most leaded capacitors and chip capacitors. Probing mechanism affects measureing precision, long wire should not be used to attach a Cx as possible. To increase stability, a metal case or metal sheld like shown in top image is effective.
Voltage Biasing
0 comments:
Post a Comment