Hi,
We are developing a sensor which measures capacitance between 2 parallel plates (GND plane and CAP plane) which are located in a large container. Our idea is to use the sensor in following way:
1. We will calibrate the offset capacitance when the container is empty (air between the plates)
2. The container is filled with material which fills air gap between the separated plates
3. The capacitance of the material is measured
My question is that is it possible to have full 30pF range (+-15pF) for the measurement by adjusting the CAPDACs so that the sensor will measure -15pF capacitance when the container is empty? The application note says that "Any offset in the capacitance input larger than ½ LSB of the CAPDAC should first be removed using the on-chip CAPDACs". My understanding is that the CAPDACs should be configured so that the sensor measures around 0pF when the container is empty and in that case we would only have 15pF range for the measurement.
If the CAPDACs have to be configured so that the sensor measures around 0pF when the container is empty can we use fine tuning with OFFSET_CALn register to tune the sensor so that it will display around -15pF? Will we then get 30pF measurement range? The datasheet says that "Any residual offset of approximately 1 pF can then be removed by using the capacitance offset calibration register." which would indicate that fine tuning should only be used to calibrate the remaining offset that cannot be removed with CAPDACs but on the other hand the OFFSET_CALn register can add +-16pF of offset capacitance. Why is it possible to fine tune +-16pF if it should only be used to calibrate "approximately 1 pF"?
Question about OFFSET_CALn register: It says that "the first 5 bits represents the integer portion of the capacitance in Two’s complement format, and the remaining 11 bits represent the fractional portion of the capacitance."
Does this mean that the whole OFFSET_CALn register is in Two's complement or only the integer part (bits [15:11])? For example, if we want to add -1.0pF offset should the register be 1111 1000 0000 0000 (Integer part -1 in Two's complement and decimal part in unsigned format)
Best Regards,
Antti