CPC G01D 5/24 (2013.01) [G01D 5/241 (2013.01); G01D 5/2417 (2013.01); G06F 3/044 (2013.01); G06F 3/0418 (2013.01); G06F 2203/04104 (2013.01)] | 15 Claims |
1. A displacement sensor comprising:
a first electrode and a second electrode displaceably mounted relative to the first electrode;
capacitance measurement circuitry configured to make measurements of a capacitance associated with the first and second electrodes and to generate analogue capacitance measurement signals in response thereto;
compensation circuitry configured to generate a compensated analogue capacitance measurement signal by reducing a magnitude of a current analogue capacitance measurement signal by an amount indicated by a compensation signal derived from at least one previous analogue capacitance measurement signal; and
processing circuitry configured to digitise the compensated analogue capacitance measurement signal and to determine if there is a displacement of the second electrode relative to the first electrode based on the compensated analogue capacitance measurement signal;
wherein the amount indicated by the compensation signal derived from at least one previous analogue capacitance measurement signal corresponds to a predetermined proportion of the at least one previous analogue capacitance measurement signal, and wherein the predetermined proportion is less than 100% to reduce the chance the compensated analogue capacitance measurement signal will be reduced to below zero,
wherein the compensation circuitry is configured to iteratively adjust the compensation signal for a series of analogue capacitance measurement signals by determining for each one of the series of analogue capacitance measurement signals if the corresponding compensated analogue capacitance measurement signal exceeds a predetermined signal level, and if so increasing the compensation signal for a subsequent one of the series of analogue capacitance measurement signals.
|