Method and apparatus for cancelling interconnection capacitance
11248977 · 2022-02-15
Assignee
Inventors
Cpc classification
G01D18/00
PHYSICS
G01L9/12
PHYSICS
G01L27/002
PHYSICS
International classification
G01L9/12
PHYSICS
Abstract
The present invention relates to a method for cancelling effects of changes in interconnection capacitances on capacitive sensor readings, and an apparatus configure to perform such method. The sensor readings are provided by a capacitive sensor connected with an interface circuitry. The interface circuitry has at least two interconnections comprising a sensor interconnection and a compensating interconnection. The method comprises obtaining a total sensor capacitance value from the capacitive sensor, and obtaining a total compensating interconnection capacitance value from the compensating interconnection, calculating a compensated sensor capacitance value by reducing the obtained total compensating interconnection capacitance value multiplied with a weight coefficient from the obtained total sensor capacitance value and providing at an output of the interface circuitry an electrical signal corresponding to the compensated sensor capacitance value. The weight coefficient is independent of changes of relative permittivity in the immediate environment of the capacitive sensor and its interconnections.
Claims
1. A method for cancelling effects of changes in interconnection capacitances on capacitive sensor readings provided by a capacitive sensor connected with an interface circuitry with at least two interconnections comprising a sensor interconnection and a compensating interconnection, the method comprising: obtaining a total sensor capacitance value from the capacitive sensor; obtaining a total compensating interconnection capacitance value from the compensating interconnection; calculating a compensated sensor capacitance value by reducing the obtained total compensating interconnection capacitance value multiplied with a weight coefficient from the obtained total sensor capacitance value; and providing an electrical signal at an output of the interface circuitry that corresponds to the compensated sensor capacitance value, wherein the compensated sensor capacitance value is independent of changes of relative permittivity in the immediate environment of the capacitive sensor, the interface circuitry and the interconnections thereof.
2. The method according to claim 1, further comprising: connecting the interface circuitry to the compensating interconnection disposed at the immediate vicinity of the sensor interconnection for obtaining the total compensating interconnection capacitance value, wherein the compensating interconnection is electrically connected only to the interface circuitry.
3. The method according to claim 2, further comprising: obtaining, by the interface circuitry, the total sensor capacitance value when the sensor interconnection is coupled at its first input and a common interconnection is coupled at its second input; and obtaining, by the interface circuitry, the total compensating interconnection capacitance value when the compensating interconnection is coupled at its first input and the common interconnection is coupled at its second input.
4. The method according to claim 3, further comprising: multiplexing the first input of the interface circuitry to be connected to one of: the sensor interconnection for obtaining the total sensor interconnection capacitance value; and the compensating interconnection for obtaining the total compensating interconnection capacitance value; wherein the multiplexing occurs at a frequency in a range between 10 milliseconds and 10 minutes.
5. The method according to claim 2, further comprising: obtaining, by the interface circuitry, an integrating base capacitance value when only an integrating base capacitance is coupled at its first input and a common interconnection is coupled at its second input; obtaining, by the interface circuitry, the total sensor capacitance value when the sensor interconnection is coupled at its first input and the common interconnection is coupled at its second input, wherein the total sensor capacitance value includes the integrating base capacitance value; obtaining, by the interface circuitry, the total compensating interconnection capacitance value when the compensating interconnection is coupled at its first input and the common interconnection is coupled at its second input, wherein the total compensating interconnection capacitance value includes the integrating base capacitance value; and subtracting the integrating base capacitance value from both the total sensor interconnection capacitance value and the total compensating interconnection capacitance value before calculating the compensated sensor capacitance.
6. The method according to claim 5, further comprising: multiplexing the first input of the interface circuitry to be connected to one of: sensor interconnection for obtaining the total sensor interconnection capacitance value, the compensating interconnection for obtaining the total compensating interconnection capacitance value, and the integrating base capacitance for obtaining the integrating base capacitance value, wherein the multiplexing occurs at a frequency in a range between 10 milliseconds and 10 minutes.
7. The method according to claim 2, further comprising: disposing the compensating interconnection so that a capacitance between the compensating interconnection and the common interconnection is essentially equal to a capacitance between the sensor interconnection and the common interconnection.
8. The method according to claim 2, wherein the method comprises obtaining the weight coefficient by steps of: measuring a first total sensor capacitance value and a first total compensating interconnection capacitance value in a first measurement; subjecting the capacitive sensor and its interconnections to a change of relative permittivity in their immediate environment; measuring a second total sensor capacitance value and a second total compensating interconnection capacitance value in a second measurement after subjecting the capacitive sensor and its interconnections to the change of the relative permittivity in their immediate environment; calculating a change of the measured total sensor capacitance based on the change between the first and the second total sensor capacitance values, and a change of the measured compensating interconnection capacitance based on the change between the first and the second total compensating interconnection capacitance values; and calculating the weight coefficient by dividing the change of the measured total sensor capacitance by the change of the measured compensating interconnection capacitance.
9. The method according to claim 1, wherein the method comprises obtaining the weight coefficient by steps of: defining a calibration function; measuring a first total sensor capacitance value, a first total compensating capacitance value and a first reference pressure value; calculating a first compensated sensor capacitance value based on the first total sensor capacitance value and the first total compensating capacitance value using a dummy weight coefficient; calculating, using the calibration function, a first pressure value corresponding to the first compensated sensor capacitance value; subjecting the capacitive sensor and its interconnections to a change of the relative permittivity in their immediate environment; measuring a second total sensor capacitance value, a second total compensating capacitance value and a second reference pressure value after subjecting the capacitive sensor and its interconnections to the change of the relative permittivity in their immediate environment; calculating a second compensated sensor capacitance value based on the second total sensor capacitance value and the second total compensating capacitance value; calculating, using the calibration function, a second pressure value based on the second compensated sensor capacitance value; and obtaining the weight coefficient by adjusting the weight coefficient used for calculating the first compensated sensor capacitance value, the second compensated sensor capacitance value, the first pressure value and the second pressure value so that a first pressure error calculated using the adjusted weight coefficient equals with a second pressure error calculated using the same adjusted weight coefficient, wherein the first pressure error equals the difference between the first pressure value calculated using the adjusted weight coefficient and the first reference pressure value and the second pressure error equals the difference between the second pressure value calculated using the adjusted weight coefficient and the second reference pressure value.
10. An apparatus configured to cancel effects of changes in interconnection capacitances on capacitive sensor readings, the apparatus comprising a capacitive sensor and an interface circuitry, wherein the capacitive sensor is connected to the interface circuitry with at least two interconnections comprising a sensor interconnection and a compensating interconnection, and wherein the apparatus is configured to: obtain a total sensor capacitance value from the capacitive sensor; obtain a total compensating interconnection capacitance value from the compensating interconnection; calculate a compensated sensor capacitance value by reducing the obtained total compensating interconnection capacitance value multiplied with a weight coefficient from the obtained total sensor capacitance value; and provide at its output an electrical signal corresponding to the compensated sensor capacitance value, wherein the compensated sensor capacitance value is independent of changes of relative permittivity of the immediate environment of the capacitive sensor, the interface circuitry and the interconnections thereof.
11. The apparatus according to claim 10, wherein the compensating interconnection is disposed at the immediate vicinity of the sensor interconnection, wherein the interface circuitry is configured to be connected to the compensating interconnection for obtaining the total compensating interconnection capacitance value, and wherein the compensating interconnection is electrically connected only to the interface circuitry.
12. The apparatus according to claim 11, wherein a common interconnection is coupled at a second input of the interface circuitry and the apparatus further comprises a switch configured to multiplex a first input of the interface circuitry to be connected to one of: the sensor interconnection for obtaining the total sensor interconnection capacitance value, and the compensating interconnection for obtaining the total compensating interconnection capacitance value, wherein the multiplexing occurs at a frequency in a range between 10 milliseconds and 10 minutes.
13. The apparatus according to claim 11, wherein a common interconnection is coupled at a second input of the interface circuitry and the apparatus further comprises a switch configured to multiplex a first input of the interface circuitry to be connected to one of: only an integrating base capacitance for obtaining an integrating base capacitance value; the sensor interconnection for obtaining the total sensor interconnection capacitance value that includes the integrating base capacitance value; and the compensating interconnection for obtaining the total compensating interconnection capacitance value that includes the integrating base capacitance value; wherein the multiplexing occurs at a frequency in a range between 10 milliseconds and 10 minutes and wherein the apparatus is further configured to subtract the integrating base capacitance value from both the total sensor interconnection capacitance value and the total compensating interconnection capacitance value before calculating the compensated sensor capacitance.
14. The apparatus according to claim 11, wherein the compensating interconnection is disposed so that a capacitance between the compensating interconnection and the common interconnection is essentially equal to a capacitance between the sensor interconnection and the common interconnection.
15. The apparatus according to claim 11, wherein the apparatus is further configured to: measure a first total sensor capacitance value and a first total compensating interconnection capacitance value in a first measurement; measure a second total sensor capacitance value and a second total compensating interconnection capacitance value in a second measurement after the capacitive sensor and its interconnections have been subjected to a change of relative permittivity in their immediate environment; calculate a change of the measured total sensor capacitance based on the change between the first and the second total sensor capacitance values, and a change of the measured compensating interconnection capacitance based on the change between the first and the second total compensating interconnection capacitance values; and calculate the weight coefficient by dividing the change of the measured total sensor capacitance by the change of the measured compensating interconnection capacitance.
16. The apparatus according to claim 10, wherein the apparatus is further configured to: define a calibration function; measure a first total sensor capacitance value, a first total compensating capacitance value and a first reference pressure value; calculate a first compensated sensor capacitance value based on the first total sensor capacitance value and the first total compensating capacitance value using a dummy weight coefficient; calculate, using a calibration function, a first pressure value corresponding to the first compensated sensor capacitance value; measure a second total sensor capacitance value, a second total compensating capacitance value and a second reference pressure value after the capacitive sensor and its interconnections have been subjected to a change of relative permittivity in their immediate environment; calculate a second compensated sensor capacitance value based on the second total sensor capacitance value and the second total compensating capacitance value; calculate, using the calibration function, a second pressure value based on the second compensated sensor capacitance value; and obtain the weight coefficient by adjusting the weight coefficient used for calculating the first compensated sensor capacitance value, the second compensated sensor capacitance value, the first pressure value and the second pressure value so that a first pressure error calculated using the adjusted weight coefficient equals with a second pressure error calculated using the same adjusted weight coefficient, wherein the first pressure error equals the difference between the first pressure value calculated using the adjusted weight coefficient and the first reference pressure value and the second pressure error equals the difference between the second pressure value calculated using the adjusted weight coefficient and the second reference pressure value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In the following the invention will be described in greater detail, in connection with preferred embodiments, with reference to the attached drawings, in which
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) The term circuitry refers to any electronic device capable of receiving, producing or processing electrical signals.
(16) A sensor interconnection couples a sensor to an electronic circuitry. The electronic circuitry may be configured at least to process sensor signals, also known as sensor readings received from the sensor. This invention assumes that there is an additional compensating interconnection that can be interchanged with the sensor interconnection at an electronic circuitry that has a multiplexed input. The compensating interconnection may also be called a dummy interconnection, since it does not actually interconnect any electronic circuitries. The other end of this compensating interconnection is not connected to anything and it should be dimensioned as similar to the sensor interconnection as possible and also disposed into a position as similar to the sensor interconnection as possible. Multiplexing the input allows measuring a capacitance value of the compensating interconnection. This compensating interconnection capacitance can't, however, be subtracted as such from the total detected sensor capacitance value, since in a practical design and implementation taking the production tolerances into account the compensating interconnection can never exactly duplicate the sensor interconnection.
(17) According to this invention it is possible to find a constant weight coefficient for multiplying the compensating interconnection capacitance before subtracting it from the detected total sensor capacitance. The invention is based on using a mold material to fill empty surfaces and spaces near the sensor, circuit and interconnections. The mold material may also be called filling material. The mold material preferably has a dielectric constant ε.sub.r greater than 1, which is the dielectric constant of air. Molding will change the sensor interconnection capacitance and thus the detected total sensor capacitance C.sub.Stot and the detected compensating interconnection capacitance C.sub.Ctot. If the change of the total detected sensor capacitance is ΔC.sub.S and the change of the compensating interconnection capacitance is ΔC.sub.C then the right weight coefficient k to use is
(18)
and the compensated sensor capacitance C.sub.Scomp is
C.sub.Scomp=C.sub.Stot−kC.sub.Ctot (2)
(19) The compensated sensor capacitance C.sub.Scomp thus obtained is essentially free of the influence of the dielectric constant ε.sub.r of the mold material and, if the interconnections are properly designed, also any other interconnection capacitance components that are not due to the mold material are cancelled. Equivalent alternative and often the easiest way to obtain the right weight coefficient is to calibrate the sensor first using a dummy weight coefficient value k=0 or k=1 or any guessed value for k and select then a new k so that the sensor shows the same pressure error with respect to the prevailing pressure before and after molding.
(20) In the following description, the method for cancelling the interconnection capacitance is proven mathematically.
(21) The total sensor capacitance C.sub.Stot can be defined as a combination of three components: the sensor capacitance C.sub.S, the interconnection capacitance due to the mold cavity C.sub.SM and interconnection capacitance due to other materials C.sub.SO. Correspondingly, the compensating interconnection capacitance C.sub.Ctot may be defined as a combination of two components: the interconnection capacitance due to the mold cavity C.sub.CM and due to other materials C.sub.CO.
C.sub.Stot=C.sub.S+C.sub.SO+ε.sub.rC.sub.SM (3)
C.sub.Ctot=C.sub.CO+ε.sub.rC.sub.CM (4)
where ε.sub.r is the dielectric constant of the material in the mold cavity. Before molding the dielectric constant of the air in the mold cavity ε.sub.r=1 and after molding the dielectric constant ε.sub.r has a value of the molding material. For example, the dielectric constant may be approximately 2.5 for some silicone materials. The changes of the sensor capacitance C.sub.s and in the interconnection capacitance C.sub.C due to molding are
ΔC.sub.S=(ε.sub.r−1)C.sub.SM (5)
ΔC.sub.C=(ε.sub.r−1)C.sub.CM (6)
(22) Combining equations (5) and (6) gives the physical meaning of the weight coefficient k of equation (1):
(23)
(24) The equation for the compensated sensor capacitance (2) now becomes
(25)
which is totally independent of the dielectric constant ε.sub.r of the mold material.
(26) If the compensating interconnection is designed very similar to the sensor interconnection, then
(27)
and for the compensated sensor capacitance we get from equation (8)
C.sub.Scomp=C.sub.S (10)
which means perfect cancelling of the sensor interconnection capacitance. Reference to designing the compensating interconnection very similar to the sensor interconnection means that area and distance of the compensating interconnection may differ somewhat from those of the sensor interconnection, but the proportions of the interconnections are retained alike. The key target of maintaining the proportions of the interconnections alike is that the capacitance between the sensor interconnection to a reference interconnection and capacitance between the compensating interconnection to the same reference interconnection are essentially equal. With essentially equal capacitances we mean that the capacitances are designed to be as equal as practically possible.
(28)
(29) After applying the mold material in the phase 12, the total sensor capacitance is measured again in the phase 14 and the total compensating interconnection capacitance is measures again in the phase 15. Similar to phases 10 and 11, phases 14 and 15 may be performed in any order without departing from the scope. The environmental conditions relevant to the sensor, e.g. the atmospheric pressure for a pressure sensor must be maintained the same during both the initial measurement before molding and the measurement after molding. Alternatively, the environmental conditions, e.g. pressure, must be recorded and the sensor calibration must be used to normalize the sensor capacitance to the initial value. Finally, in the phase 16, the weight coefficient k is calculated based on the measurement results obtained in phases 10, 11, 14 and 15.
(30)
(31) A calibration function P is defined for calibrating the pressure sensor in the phase 20. In order to define the calibration function, the total sensor capacitance and the total interconnection capacitance are measured at a number of pressure points and the capacitance and pressure values are recorded. The pressure values at the number of pressure points may be recorded with a second, calibrated pressure sensor. A mathematical calibration function P is defined for calculating the output pressure value from the compensated sensor capacitance value. The calibration function P is a function that gives the smallest average pressure error over the desired pressure range. The function may be a polynomial of capacitance values or inverse capacitance values or it may be a hyperbolic function of the capacitance value (i.e. a sum of a constant and an inverse of a polynomial of capacitance values) or it may be based on a look-up table with interpolated values between the tabulated values. The numerical constants in this function or the tabulated values are called calibration coefficients. The calibration function P is a function of the compensated sensor capacitance C.sub.Scomp and the weight coefficient k, and the result of the calibration function P is a pressure value p. A dummy weight coefficient k.sub.0 is used in the calibration phase 20. For example, the dummy weight coefficient k.sub.0 may be given a value k.sub.0=0, k.sub.0=1 or any other value e.g. based on experience on prior, nominally similar devices. The calibration function may be performed by any known type of processing device, for example a computer, a processor, a microprocessor, an application specific integrated circuit (ASIC) and so on.
(32) In the phase 21, the total sensor capacitance C.sub.Stot and the total compensating interconnection capacitance C.sub.Ctot are measured. Preferably, the total sensor capacitance value is measured simultaneously with the measurement of a first reference pressure value with the reference pressure sensor in the phase 21′ illustrated by the dashed box in the flow chart.
(33) Based on the obtained capacitance values in the phase 21, a first compensated sensor capacitance C.sub.Scomp1 is calculated in the phase 22 using the equation (2) with the dummy weight coefficient k.sub.0 used during the calibration phase 20.
(34) A first detected pressure value p is calculated in the phase 23 with the calibration function P using the first compensated sensor capacitance C.sub.Scomp1 and the dummy weight coefficient k.sub.0. The first pressure value p after the first measurement may thus be expressed by the equation
p=P(C.sub.Scomp1,k.sub.0) (11)
(35) If the calibration coefficients were selected optimally in the calibration phase 20 then equation (12) for a first pressure error P.sub.err1 is at least approximately true:
P.sub.err1=P(C.sub.Scomp1,k.sub.0)≠p1≈0 (12)
(36) Although not shown in the
(37) The sensor is then molded in the phase 24, covering the sensor with the protective filling, and thus subjecting the sensor and its interconnections to a change of relative permittivity and the dielectric constant in their immediate environment. After the molding in the phase 24, the total sensor capacitance C.sub.Stot and the total compensating capacitance C.sub.Ctot are measured again in the phase 25, and a second compensated sensor capacitance C.sub.Scomp2 is calculated in the phase 26 using the equation (2).
(38) The ambient pressure may have changed to p2, since some time has passed since the first pressure measurement used for the calibration, and also because it may not be economically feasible to standardize the ambient pressure. The ambient pressure p2 is measured with the reference pressure sensor in the phase 25′ preferably essentially simultaneously to measuring the total sensor capacitance and the total compensating capacitance in the phase 25 as illustrated with the dashed box in the flow chart. Preferably, the total sensor capacitance value is measured simultaneously with the measurement of the reference pressure value with the reference pressure sensor. Although not shown in the
(39) The dielectric constant of the filling material has now altered the total sensor capacitance and using the dummy weight coefficient k.sub.0 perfect compensation of the capacitance will not occur. A second pressure error calculated with equation (12) would therefore now be non-zero:
P.sub.err2=P(C.sub.Scomp2,k.sub.0)−p2≠0 (12′)
(40) In order to cancel the effect of the mold material it is desired to equalize the pressure errors before and after filling with the mold material. An adjusted weight coefficient k may now be defined in the phase 27 using the calibration function P, so that that the pressure readings provided by the pressure sensor fulfill the condition for the pressure measurement error:
P.sub.err1=P(C.sub.Scomp1,k)−p1=P.sub.err2=P(C.sub.Scomp2,k)−p2≠0 (13)
(41) In other words, the weight coefficient k is adjusted so that the newly calculated first pressure error P.sub.err1 equals with the second pressure error P.sub.err2 both being calculated with the adjusted weight coefficient k.
(42) Using the adjusted coefficient k, the equation (12) holds no more and the non-zero pressure error P.sub.err1=P.sub.err2 of equation (13) may become significant. But it is more important to ensure that the change in the compensated sensor capacitance due to the dielectric constant of the added mold material is zero. This target can be achieved by defining the correct value of the weight coefficient k used in the calibration function P for calculating the compensated sensor capacitance.
(43) In the optional phase 28 the calibration function may be further updated using the original recorded calibration data points from phase 20 with the adjusted weight coefficient k defined in the phase 27. The updated calibration function P.sub.upd is a function that gives the smallest average pressure error over the desired pressure range when using the adjusted weight coefficient k. Correctness of the updated calibration function P.sub.upd may be checked by the required condition
P.sub.upd(C.sub.Scomp1,k)−p1=P.sub.upd(C.sub.Scomp2,k)−p2≈0 (14)
(44) In other words, if the updated calibration function P.sub.upd is defined correctly, the difference between the first and the second obtained pressure values calculated from the first and second compensated sensor capacitances using the updated calibration function P.sub.upd and the weight coefficient k, and the respective first and second ambient pressures p1 and p2, becomes approximately zero. The updated calibration function P.sub.upd now includes both the information on the correct adjusted weight coefficient k and any other calibration parameters needed to obtain accurate pressure value readings. The updated calibration function P.sub.upd and the adjusted weight coefficient k may be applied to obtain a compensated and calibrated pressure value based on a total sensor capacitance value and a total interconnection capacitance value received from the pressure sensor and the dummy interconnection.
(45)
(46) There are three types of interconnections in this arrangement. A sensor interconnection 111 is coupled to one multiplexed input of the switching unit 101, and it connects the sensor to capacitance conversion unit of the interface circuitry 100 via the switching unit 101. A compensating interconnection 113 is coupled to the other multiplexed input of the switching unit 101. A common interconnection 112 is preferably directly coupled to an input of the capacitance conversion unit of the interface circuitry 100.
(47) Instead of the circuitry of the
(48)
(49)
(50) In the phase 41, the switching circuit is changed to couple with the interconnection towards the base capacitance, and the base capacitance is measured. This phase is needed only if a base capacitance is used as illustrated in the
(51)
(52)
(53) For defining of the calibration coefficient k, the initially air-filled installation recess 52 shown in the
(54)
(55)
(56)
(57)
(58) In the
(59) The
(60) In the experiments performed, the calculated weight coefficient received a value k=0.835. As expected, the weight coefficient value was smaller than 1, since the compensating interconnecting bond wire 113 is longer than the sensor interconnecting bond wire 111 and is closer to the common interconnection bond wire and therefore the interconnection capacitance of the compensating interconnecting bond wire is greater than the sensor interconnection capacitance due to the sensor interconnecting bond wire.
(61) The
(62)
(63) The pressure error in the initial phase illustrated with the
(64) The experiment illustrated in the
(65) It is apparent to a person skilled in the art that as technology advanced, the basic idea of the invention can be implemented in various ways. The invention and its embodiments are therefore not restricted to the above examples, but they may vary within the scope of the claims.