Capacitance measuring circuit

Abstract: A circuit for measuring the capacitance of a variable capacitor by charging the variable capacitor to a fixed voltage at the same time that a fixed reference capacitor is charged to an output voltage which upon balance of the circuit will represent the value of the variable capacitor. The charged capacitors are connected in a series circuit which may include a fixed sampling voltage during the next phase of the two phase measuring cycle and the charges are allowed to redistribute. The voltage drop across the reference capacitor at the end of the redistribution of charge is compared to a predetermined value established as the balance value and the output voltage is varied in sense and direction to tend to bring the voltage drop to equality with the balance value so that the balance value after a number of measuring cycles will be representative of the capacitance of the variable capacitor. A second reference capacitor which is switched between the sampling voltage potential and circuit common can be added to the network by connecting it to the node. This added reference capacitor will provide for offset in the range to be measured. If the variable capacitor is a capacitive humidity sensor the reference capacitors and the variable capacitor should be constructed at the same time by the same process and of the same materials so that they all have the same characteristics thus making unecessary any trimming of the circuits used for measuring the variable capacitor.

Description: BACKGROUND OF THE INVENTION This invention relates to a method and apparatus for measuring the capacitance of variable capacitors and to methods and apparatus for measuring relative humidity using capacitive sensors whose capacitance varies with relative humidity. This invention also relates to methods and apparatus for measuring other variables by using capacitive sensors whose capacitance is related to the magnitude of the variable to be measured. Capacitive humidity sensors may, for example, be constructed by laying a first conductive plate area on a silicon chip, then covering that area with a polymer, such as a polyimide, of desired thickness as a dielectric, and then depositing the second plate as a conductive layer over the dielectric. The polyimide forms a thin, water absorbing dielectric film whose dielectric constant varies in proportion to the concentration of the absorbed water so that the capacitance of the combination varies with the humidity of the surrounding region. Another example of a capacitive sensor is the capacitive pressure transducer. One form these transducers take at the present involves the use of a silicon diaphragm which is bonded between two silicon plates to form a capacitor on each side of the diaphragm. Those capacitors are responsive to the difference in pressure between the two sides of the diaphragm. The dielectric between the plates in these structures is usually silicone oil. In both the capacitive pressure transducer and the capacitive humidity sensor, it has been found to be desireable to integrate the measuring circuit and the capacitive sensor onto a single monolithic silicon chip, if that is possible. By so doing, the sensor and the other capacitive elements of the circuit can easily be constructed on the substrate at the same time so that they have the same plate dimensions and the same dielectric thickness. This gives all of the capacitors the same characteristics making it possible to incorporate them into measuring circuits without the need for either electrically trimming those circuits or phisically trimming the plate dimensions to attempt to match their characteristcs. Also, by using a single chip the components of the circuit will be subjected to the same ambient conditions so that temperature and pressure variations will affect the components of the circuit by the same amount. If placing all of the measuring circuit components on a single chip is not possible, then it has found to be desirable to make the measuring circuit elements as nearly similar as possible and place them as close as possible to the sensor so that they very similar characteristics to those of the sensor and are subjected to ambient conditions closely approximating those to which the sensor is subjected. Typically, the prior art relating to the measurement of capacitance requires the use of resistors. It is well known that large accurate resistors require a significant area on a chip. Also, it is desirable to avoid the need to depend on the accuracy of the parameters introduced into a circuit by a resistor. Similarly, it is desirable to avoid variation which can be introduced by a semiconductor device or by a multivibrator. For these reasons improvements can be foreseen if it is only necessary to depend on the parameter values of capacitors and external reference voltages. One such improvement would be minimizing the cost of manufacture. This benefit is evident when one considers the fact that capacitors can be matched during the mask and layout stage of the semiconductor manufacturing procedure, and the fact that the possibility of closely matching those elements makes trimming unecessary even when one must provide finished units which will all have the same span and the same offset so that they can be used interchangeably without the need for calibration. Switched capacitor circuits are known in the field of A/D converters. Such circuits have used switched capacitors which are effective to change the input of an amplifier circuit in the manner shown in the publication "Intuitive IC CMOS Evolution" by Frederiksen, at pages 103-105. In those circuits, there is shown a sampled data comparator which consists of CMOS analog switches, a string of capacitively-coupled logic inverters for voltage gain, and capacitors, some of which convert from voltage to charge and others of which serve to couple the converters. The particular circuits described, while not useful in measuring capacitance, do show the use of a string of capacitively coupled logic inverters providing amplification for a switched-capacitor circuit, where the capacitors in the circuit are zeroed by shorting out the logic inverters. That approach is used to provide the amplification and the setting-up of the capacitors in one form or the switched capacitor circuit of the present invention. U.S. Patent 4,054,833 describes a capacitance measuring system comprising a sensing network including two series capacitors, at least one being a senior capacitor. The system further comprises a switching network, and a feedback network coupled to, the sensing and switching networks. The feedback network generates a feedback signal representative of the difference in charge stored on the series capacitors from a predetermined value. The switching network cyclically interconnects the feedback and sensor networks with the feedback signal and externally applied reference potentials whereby the average charge stored on the series capacitors over each cycle is substantially equal to the predetermined value. In some embodiments, the feedback signal is a linear function of the reciprocal of capacitance of the sensor capacitor. According to one aspect of the present invention, there is provided a method for measuring the capacitance of a variable capacitor comprising providing at least one fixed reference capacitor, connecting one terminal of said reference capacitor to one terminal of said variable capacitor so as to form at their common connection a circuit node, characterized by connecting a fixed voltage directly across the terminals of one of said capacitors and a variable voltage directly across the terminals of the other of said capacitors for charging said capacitors to said respective voltages during a first phase of a repetitive two phase measuring cycle, connecting said capacitors in a closed loop during the second of said phases to allow redistribution of the charges between said capacitors, detecting the change of the potential at said node after the measuring cycle goes from the first phase to the second phase, automatically modifying the charging of said other capacitor during a first phase of a subsequent cycle in response to the detected change, said modification being in direction and extent such that over a number of measuring cycles said detected change is reduced to zero, integrating the amount the charge is modified over said number of measuring cycles whereby the integral of said modifications is used to derive said variable output voltage, and wherein said output voltage, when said detected change is reduced to zero, is an indication of the capacitance of the variable capacitor. According to another aspect of this invention, there is provided a method for measuring the capacitance of a variable capacitor comprising providing at least one fixed reference capacitor, connecting said reference capacitor to said variable capacitor so as to form at their common connection a circuit node, characterized by charging said variable capacitor to a first fixed voltage of a first polarity and said reference capacitor to a variable voltage during a first phase of a repetitive two phase measuring cycle while clamping said node at a fixed potential, connecting said capacitors in a closed loop including a second fixed voltage source of a polarity, with respect to said variable capacitor, opposite to that of said first polarity during the second of said phases while unclamping said node to allow redistribution of the charges between said capacitors, detecting the change of the potential at said node after said charge redistributing, and automatically modifying the charging of said capacitors in the first phase of a subsequent cycle in response to the detected change, said modification being in direction and extent such that over a number of measuring cycles said deviation is reduced to zero, integrating the amount the charging is modified over said number of measuring cycles, whereby the integral of said modifications is an indication of the magnitude of the difference between the capacitances of the reference and the variable capacitors and hence the magnitude of the variable capacitance. According to still another aspect of the invention, there is provided apparatus for measuring the capacitance of a variable capacitor comprising first and second reference capacitors, each having a fixed capacitance, circuit means connecting one side of each of said reference capacitors to one side of said variable capacitor to form at the connection a circuit node, first and second fixed voltage sources providing first (ground) and second fixed voltages, an output voltage source providing a variable output voltage, switching means operable during a first phase of a two phase repetitive measuring cycle to connect the other side of said variable capacitor to said first fixed voltage source, to connect the other side of said first reference capacitor to said variable output voltage source, to connect the other side of the second reference capacitor to said second fixed voltage source, and to clamp the potential of said node at a fixed value for a sufficient period to allow said capacitors to be fully charged by said voltages to establish initial charges on said capacitors, said switching means also being operable during the second phase of said measuring cycle to unclamp said node, to connect the other side of said variable capacitor to said second fixed voltage source, to connect the other side of the second reference capacitor to said first fixed voltage source, and to connect the other side of said first reference capacitor to said first fixed voltage source to cause a rearrangement of the charges on said capacitors so that changes in the capacitance of said variable capacitor cause a change in the deviation of the potential of said node from its clamped value, means connecting said output voltage to the other side of said first reference capacitor so that it will function to change said deviation, and detecting means connected to said node and operable in response to said deviation over successive measuring cycles to vary said output voltage in direction tending to reduce said deviation to zero whereby said output voltage will be a function of the magnitude of the capacitance of said variable capacitor. In the drawings: Fig. 1 shows a simplified circuit; diagram of one form of the invention. Fig. 2 shows a more detailed circuit diagram of another form of the invention. Fig; 3 shows a circuit diagram of a switching circuit of the type used to short out the logic inverters of the amplifier in Fig. 2. Fig. 4 shows a graphical representation of the transfer characteristic of the logic inverters of Fig. 2. Fig. 5 shows a circuit diagram of a clock circuit which can be used to switch the elements of Fig. 2. Fig. 6 shows a cross section of one form of a capacitive humidity sensor constructed using integrated circuit techniques. Fig. 7 shows a cross section of one form of a reference capacitor useful in the circuits of Figs. 1 and 2. Fig. 8 shows a cross section of one form of the reference capacitor useful in the circuits of Figs. 1 and 2 when it is desired not to have the reference capacitor sensitive to changes in humidity. Fig. 9 is a circuit diagram of a circuit which can be used to connect the circuit of Fig. 1 to a 7126 A/D converter. DESCRIPTION OF THE PREFERRED EMBODIMENT Fig. 1 shows a simplified circuit which illustrates the operation of both the method and apparatus of this invention. In Fig. 1 a variable capacitor, C x , such as a capacitive sensor for measuring relative humidity, is connected in series with a fixed or reference capacitor, C r , at a node 10. In a first phase of a measuring cycle having two non-overlapping phases, the switches 1 and 2 are closed, as shown, so that the fixed voltage source 3 provides a voltage V t across C x and the variable voltage source 4 provides a voltage V o across the capacitor C r . In the second phase of the measuring cycle the capacitors C x and C r are connected in series with a fixed sampling voltage as supplied by source 5 by the making of the switch 6 and the disconnection of the switches 1 and 2. The charges in the capacitors are allowed to redistribute themselves and then the high impedance detector 7 detects or measures the difference between the existing potential at the junction between the capacitors and a predetermined balance value for that potential. In Fig. 1 that difference is detected or measured by looking at the difference between the potential at the node 10 and at a reference point 8, the balance value. If the deviation or difference is not zero then the variable voltage source 4 is modified. In the circuit shown, the modification would be in a direction corresponding with the deviation detected. In other words, if the potential difference between node 10 and reference point 8 is negative the voltage V o is decreased. The reference point 8 may be at any of a number of potentials; for example, circuit common potential, which allows elimination of the resistors R₁ and R₂, or a potential representing half of the drop across the source 5, in which case the resistors will be of equal value. The value of the voltage V o will be found to be proportional to the changing value of the capacitance of capacitor C x if the deviation of the difference detected by 7 from the predetermined balance value is kept at zero. This results from the fact that, as the capacitance of C x changes with a resulting change in the charge it carries after its charging in the first phase, the charging voltage on C r is changed to similarly change the charge is carries. Then, the redistribution of charges which occurs during the second phase will provide a changed balance between the resulting voltages across the two capacitors such that there will be a reduction of the deviation detected by the detector. After a number of iterations in the proper sense the deviation will reach zero and V o will be a measure of the capacitance of C x . Proper operation of the circuit of Fig. 1 does not require that the sampling voltage be a certain polarity or magnitude-indeed the magnitude may be zero-or that the output voltage V o be a certain polarity. The reversal of the polarity of the sampling voltage will only invert the relationship of V o and the variable capacitance being measured, whereas the polarity of V o will generally be a function of other parameters. In Fig. 2, there is shown in more detail a circuit which follows the principles of operation illustrated by Fig. 1. In Fig. 2, the reference point 8 of Fig. 1 is circuit common potential and the detector 7 is comprised of cascaded logic inverters and an integrating amplifier with its associated switches. The predetermined potential difference across the reference capacitor to be detected by the detector 7 as an indication of balance is the trigger voltage of the inverters as established by the shorting of their inputs and outputs. That trigger voltage is also the voltage to which C x is charged, namely V t . In Fig. 2, the variable capacitor C x , which may be a capacitive humidity sensor, is connected in a network with reference capacitor C r and an additional reference capacitor C o by connecting one terminal of each to the node 10. The other terminals of these capacitors are selectively connected by way of switching elements 11-16 to either the output voltage, V o , or to a predetermined sampling voltage, V s , or to circuit common. For the purpose of this circuit the switching elements 11-15 are MOS transistor switches and switch 16 is a CMOS switch. In addition to the capacitors mentioned, there will, of course, be a stray capacitance, which is represented in Fig. 1 by C y . As will be demonstrated later, the stray capacitance will only have a second order effect. In the operation of this circuit the switches 11, 13, and 16 are closed, and the remainder of the switches are open during the first, setup phase, ₁, of a two phase clock which is used to time the two phases of the measuring cycle. This clock, which is shown in Fig. 5 and described subsequently, provides two non-overlapping clock signals of both polarities, P₁ and P₁-, during the first phase; and P₂ and P₂- during the second, or sampling phase, ₂. During the second, sampling phase the switches 12, 14 and 15 are closed and switches 11, 13, and 16 are open. As shown in Fig. 2, the node 10 is connected to the input circuit of a logic inverter, which is in turn connected through capacitor 22 to another logic inverter 24. The output of inverter 24 is then connected through still another logic inverter and through CMOS switch 28 to terminal 29, which connects through capacitor 30 to circuit common. The terminal 29 is, as shown, connected through CMOS switch 32 to the inverting input of an operational amplifier 34. That amplifier has the capacitor 36 in its negative feedback circuit so as to form an integrating amplifying circuit. Also, as shown, the non-inverting input to amplifier 34 is connected to a voltage V a , and the output of the amplifier is an output voltage V o , which is fedback to one side of switch 16 and is also provided to any indicating or recording circuits which may be utilized to obtain a readout of the measured capacitance value of C x . The switches 28 and 32 are driven by the clock signals so that 32 is closed and 28 is open during the setup phase, when the charge on capacitor 30 is effective to cause the output of amplifier 34 to change and hence the charge on capacitor 36 to change until the potential at the inverting input of the amplifier is equal to the potential at the non-inverting input, V a . This provides an output V o which is the integral of the voltages to which the capacitor 30 is charged during consecutive sampling phases. During the sampling phase, the switches 28 and 32 are reversed and the capacitor 30 is charged from the output of the logic inverters in proportion to the change in potential at node 10 which occurs upon switching from the setup phase to the sampling phase. It will be evident that the timing of the clock and the parameters of the capacitors C x , C o and C r must be such that the capacitors are allowed to obtain their full charge as appropriate for the voltages applied to them during each phase. Thus, the transients caused by the switching of the connections are allowed to settle out before the circuit is again switched. Fig. 3 shows a circuit which can be used for the logic inverter 20. In that circuit the CMOS amplifiers 40 and 42 provide the amplification and the logic inversion while the CMOS switches 44 and 46 provide the shorting of the amplifier's input and output as is required during the setup phase of the measuring cycle in order to keep the node 10 at a fixed potential. In this case that fixed potential will be the threshold potential of the logic inverters, known as the trigger voltage, V t , which during the first phase is V t1 . The switches 44 and 46 are closed to short the input and output of the inverter during the setup phase and are open during the sampling phase of the measuring cycle so that the node 10 is clamped at the threshold potential, V t1 , during the setup phase and potential at the node 10, V t2 , is allowed to float during the sampling phase. It is, of course, evident that the logic inverter 20 will not draw any significant current during the sampling phase, but will supply any necessary current to charge the capacitors during the setup phase to hold node 10 at V t1 . The other logic inverters 22 and 24 can be constructed as shown for inverter 20 in Fig. 3. The inverters 22-24 will also have their inputs tied to their outputs during the setup phase; and capacitors, such as capacitor 22, can be provided between inverters for accommodating any differences between their individual threshold voltages. In Fig. 2 only the interstage capacitor 22 is shown, for it is not always necessary to incorporate such capacitance between the remaining stages. As is characteristic of logic inverters of the type described, the output of these units will go low when the input deviates from the threshold voltage in a positive direction and will go high when the deviation is in the opposite direction. This characteristic is illustrated in inverter transfer characteristic shown in Fig. 4 which shows V o vs. V in . It will be noted that any small change of the input from the trigger voltage, V t , will cause a considerable change in the output. The slope of the steep portion of the characteristic will be dependent on the particular way in which the element is manufactured. Fig. 5 shows a clock circuit which can be used to time the two phases of the measuring cycle. In this circuit a non-overlapping clock module 50 is driven by D-flop 52 whose input is from the multivibrator 53. As shown, the output of the clock module is the plus and minus potentials of ₁, P₁ and P₁-, and the plus and minus potentials of ₂, P₂ and P₂-. The operation of the measuring circuit of Fig. 2 may be considered by examining the charges on the capacitors C x , C o and C r during the two phases ₁ and ₂. During ₁ the voltage on node 10 is held at the trigger voltage, V t1 , and during ₂ the voltage on node 10 is allowed to float at voltage V t2 , as determined by the charges on the capacitors in the network. The charges on the capacitors are as follows: for ₁ Q x1 = C x (-V t1 ) Q o1 = C o (V s -V t1 ) Q r1 = C r (V o -V t1 ) Q y1 = C y (-V t1 ) for ₂ Q x2 = C x (V s -V t2 ) Q o2 = C o (-V t2 ) Q r2 = C r (-V t2 ) Q y2 = C y (-V t2 ) . If ΔQ = Q₁-Q₂ and ΔV t = V t2 -V t1 , then ΔQ x = C x (-V s +ΔV t ), ΔQ o = C o (V s +ΔV t ), ΔQ r = C r (V o +ΔV t ), and ΔQ y = C y (ΔV t ). Since the total change in the charge into the node 10 must be zero, then ΔQ x +ΔQ o +ΔQ r +ΔQ y = 0; and if ΣC = C x +C o +C r +C y , then C x (-V s +ΔV t ) + C o (V s +ΔV t ) + C r (V o +ΔV t ) + C y (ΔV t ) = 0, and V s (C o -C x ) + C r V o + ΣCΔV t = 0. Since ΔV t = 0 is the network condition defined as balance, and V o is a measure of C x ; Thus, it can be seen that the output voltage is a function of the variable capacitance C x plus a constant offset determined by the capacitance of C o . It will be evident to those skilled in the art that the capacitor C o and its associated switching elements can be omitted if it is not desired to offset the relationship between the output voltage and the indicated value of C x . It is also evident that the value of the stray capacitance C y does not affect the accuracy of the resulting measure of the variable capacitor since it does not appear as a term in the final relationship between C x and V o , as derived above. The stray capacitance, C y , does, however, affect the sensitivity. The MOSFET switches 44 and 46 will have capacitance between the gate, on one side, and the source and drain, respectively, on the other side. These capacitances will cause error, but that error can be minimized by using small transistors for this switching service and by using similar sizes so as to closely match them. The voltage V a on the non-inverting input of the amplifier 34 should be approximately equal to V s /2. If V a is not exactly equal to V s /2 the effect is only to introduce a small asymmetry in step size for raise steps as compared with lower steps in the integrator output V o . As has been stated, where the variable capacitor is a capacitive humidity sensor, it is desirable to have all capacitors in the measuring network on the same substrate and to construct them with the same plate area and the same dielectric constant. The area of the plates can be carefully controlled by photolithography, but the thickness of the dielectric and hence the dielectric constant is not as easily controlled. It can, however, be matched to better than 0.1% by known techniques which use the same substance for all capacitors in the network. Care must be exercised in completely sealing the capacitors C o and C r from humidity, but C x must allow noisture to quickly penetrate the dielectric in order to obtain fast response to humidity changes. The capacitor C x may be constructed as shown in Fig. 6 using well known integrated circuit techniques. In this structure the n-type silicon has a p+ diffused region forming one plate of the capacitor. That plate is covered by the polyimide dielectric which is bounded by a field oxide. Over the dielectric is deposited an aluminum foil as the second plate of the capacitor. This foil is sufficiently thin so that it allows the water molecules to permeate the dielectric from the surrounding atmosphere after it has permeated the protective coating of polyimide covering the foil. The capacitors C o and C r can be constructed as shown in Fig. 7, in which the second electrode is constructed of a thick aluminum plate instead of a thin foil as in Fig. 6. The thick plate is designed to prevent the water molecules from permeating to the dielectric of these capacitors, for they must not be sensitive to changes in the relative humidity of the surrounding atmosphere. The polyimide protective coating shown in Fig. 6 can be omitted since it is not necessary to protect the top plate from contaminents. In applications where it is not possible to protect the capacitors C o and C r from the changes in humidity of the surrounding atmosphere, it is desirable to construct these capacitors differently so that they will not have a dielectric which changes its dielectric constant with changes in the humidity of the surroundings. For this type of service the capacitors C o and C r can be constructed as shown in Fig. 8 In that arrangement, it has been found useful to use SiO₂ as the dielectric. That material is not humidity sensitive so there is no need to seal the capacitors from water vapor. Using a different dielectric as compared to that use for C x will, of course, cause the capacitors C o and C r to fail to track C x with changes in temperature and humidity. More importantly, it will cause the circuits to have different span and range magnitudes due to the fact that the capacitor C x is not being produced at the same time and by the same process as C o and C r and therefore can not be expected to have exactly the same characteristics. By way of example C x can have a value of 8-10 pF, C o can have a value of 7 pF, and C r can have a value of 3 pF. The voltage V a can be 2.5 volts and V t will normally be approximately 2.5 volts. V s can be in the area of 5-6 volts. Clock frequencies on the order of 8 kHz have been used so that the capacitors will be allowed to charge completely during each phase of the measuring cycle. Capacitor 22 can be 20 pF and capacitor 30 can be 0.3 pF with capacitor 36 having a value of 200 pF. The voltage V o will vary in a range between 1-5 volts which provides a desirable voltage range for use in measuring systems. In another form the present invention could use a digital counter coupled to a digital to analog converter in place of the integrating amplifier of Fig. 2. Still another form of the present invention can utilize an analog to digital converter at the output of the integrating amplifier of Fig. 2 when it is desirable to obtain a digital readout. Fig. 9 illustrates a useful circuit for coupling the integrating amplifier of Fig. 2 to an analog to digital converter, such as a CMOS TSC7126 as manufactured by Teledyne Semiconductor and shown in their Data Acquisition Design Handbook of 1984, on page 7-73. This unit provides a digital readout of 2000 counts. In order to provide for a scale factor other than unity, circuitry is required to determine the reference voltage for the A/D converter to accommodate the scale factor. Also, it is necessary to accommodate the offset at the zero humidity point by introducing an appropriate voltage at the low input terminal, IN LO, of the 7126. The circuit of Fig. 9 is arranged to provide these accommodations and to provide them in such a way that there is no necessity for making more than one potentiometer adjustment when one is using capacitors C o and C r of the type shown in Fig. 8. This simplifies the manufacture of the circuit of Fig. 9 considerably, for it is only necessary to adjust the circuit at one value of relative humidity instead of two in calibrating the units so that they will be interchangeable. Separate adjustments at different humidities would normally be required for offset and range. The factors which must be kept in mind to understand the following explanation of the circuit of Fig. 9 are: 1. The dielectric of the measuring capacitor C x is of different material (a polyimide) than the dielectric of C o and C r (SiO₂). Thus, the capacitance of the measuring capacitor varies with humidity while the capacitance of the others do not. 2. C o /C r is a constant for each circuit since the two capacitors are manufactured at the same time by the same process so that their characteristics are inherently the same. 3. C x /C r varies from unit to unit due to variations in the manufacturing processes by which the two capacitors are made. 4. The capacitance of C x at full scale (100% relative humidity) is designated as C x (100) and the capacitance of C x at 0% relative humidity is designated as C x (0). The ratio C x (100)/C x (0) is designated as α. 5. α is a constant. 6. A/D converters, such as the 7126, have differential inputs for both the measured variable and the reference voltage. It is evident from the above that it is desired to provide a circuit that can correct for C x /C r and, as stated, it is desired to do this with a single potentiometer. In Fig. 9 the offset of the range to be measured is accomodated by adjusting potentiometer tap 60a of potentiometer 60 to provide the required input to the IN LO terminal of the A/D converter 62, namely at pin 30. The potentiometer is supplied by a source of emf, 64, shown a 6 volt source, which supplies the series circuit shown as including resistors 66 and 68 in series with the potentiometer 60 and a zener diode 70. The zener diode is incorporated into the circuit to provide a negative power source for other components of the circuit. The following equation may be written to express the quantity C x (100)-C x (0), which shall be referred to as the gain G. Since V os , the output voltage of the circuit of Fig. 2 at 0% humidity, is as follows then and substituting; Since α and C o /C r are constants, the latter term in the above equation can be represented by a divider on V s . This is shown in Fig. 4 as the divider which consists of the resistors 72 and 74. Thus, the voltage introduced to the REF HI pin 36 over line 76 accomodates for the constant term of the equation. The first term is taken care of by resistor 78 which forms part of another divider circuit with resistor 72 and thus also influences REF HI. REF LO, pin 35, is connected to circuit common, as shown. The result of the divider and resistor 78 which together provide the input to pin 36 is to accomodate the span of the measuring circuit to the span of the A/D converter so that the voltage V o which corresponds to 100% relative humidity, for example, will cause the readout of the 7126 to be full scale. The reference capacitor for the 7126 is shown as capacitor 90 and may have a value of 0.1 F. The external oscillator circuit provided for the 7126 is shown connected to pins 38, 39 and 40. This circuit includes the resistor 92 of 18 K and the capacitor 94 of 56 pF. The required circuitry for the pins 27, 28 and 29 is shown as including the capacitor 96 of 0.15 F, the capacitor 98 of 0.24 F and the resistor 99 of 1.8 MΩ. As shown in Fig. 9, the input V o from the output of the circuit of Fig. 2 is introduced to the IN HI pin 34 through resistor 100, which may be of 1MΩ, and across the capacitor 102, which may be .002 F.

Claims: A method for measuring the capacitance of a variable capacitor (Cx) comprising providing at least one fixed reference capacitor (Cr), connecting one terminal of said reference capacitor to one terminal of said variable capacitor so as to form at their common connection a circuit node (10), characterized by connecting a fixed voltage (Vt) directly across the terminals of one (Cx) of said capacitors and a variable voltage (Vo) directly across the terminals of the other of said capacitors (Cr) for charging said capacitors to said respective voltages during a first phase of a repetitive two phase measuring cycle, connecting said capacitors in a closed loop during the second of said phases to allow redistribution of the charges between said capacitors, detecting (7) the change of the potential at said node after the measuring cycle goes from the first phase to the second phase, automatically modifying the charging of said other capacitor (Cr) during a first phase of a subsequent cycle in response to the detected change, said modification being in direction and extent such that over a number of measuring cycles said detected change is reduced to zero, integrating (34) the amount the charge is modified over said number of measuring cycles whereby the integral of said modifications is used to derive said variable output voltage (Vo), and wherein said output voltage, when said detected change is reduced to zero, is an indication of the capacitance of the variable capacitor. A method for measuring the capacitance of a variable capacitor (Cx) comprising providing at least one fixed reference capacitor (Cr), connecting said reference capacitor to said variable capacitor so as to form at their common connection a circuit node (10), characterized by charging said variable capacitor (Cx) to a first fixed voltage (Vt) of a first polarity and said reference capacitor (Cr) to a variable voltage (Vo) during a first phase of a repetitive two phase measuring cycle while clamping said node (10) at a fixed potential, connecting said capacitors in a closed loop including a second fixed voltage source (Vs) of a polarity, with respect to said variable capacitor (Cx), opposite to that of said first polarity during the second of said phases while unclamping said node (10) to allow redistribution of the charges between said capacitors, detecting (7) the change of the potential at said node after said charge redistribution, and automatically modifying the charging of said capacitors in the first phase of a subsequent cycle in response to the detected change, said modification being in direction and extent such that over a number of measuring cycles said deviation is reduced to zero, integrating (34) the amount the charging is modified over said number of measuring cycles, whereby the integral of said modifications is an indication of the magnitude of the difference between the capacitances of the reference (Cr) and the variable (Cx) capacitors and hence the magnitude of the variable capacitance (Cx). Apparatus for measuring the capacitance of a variable capacitor (Cx) comprising first (Cr) and second (Co) reference capacitors, each having a fixed capacitance, circuit means connecting one side of each of said reference capacitors to one side of said variable capacitor to form at the connection a circuit node (10), first and second fixed voltage sources providing first and second (Vs) fixed voltages, an output voltage source providing a variable output voltage (Vo), switching means (11-16, 44, 46) operable during a first phase of a two phase repetitive measuring cycle to connect (11) the other side of said variable capacitor (Cx) to said first fixed voltage source, to connect (16) the other side of said first reference capacitor (Cr) to said variable output voltage source, to connect (13) the other side of the second reference capacitor (Co) to said second fixed voltage source (Vs), and to clamp (44, 46) the potential of said node at a fixed value (Vt) for a sufficient period to allow said capacitors to be fully charged by said voltages to establish initial charges on said capacitors, said switching means also being operable during the second phase of said measuring cycle to unclamp said node, to connect (12) the other side of said variable capacitor (Cx) to said second fixed voltage source (Vs), to connect (14) the other side of the second reference capacitor (Co) to said first fixed voltage source, and to connect (15) the other side of said first reference capacitor to said first fixed voltage source to cause a rearrangement of the charges on said capacitors so that changes in the capacitance of said variable capacitor (Cx) cause a change in the deviation of the potential of said node from its clamped value, means connecting said output voltage (Vo) to the other side of said first reference capacitor (Cr) so that it will function to change said deviation, and detecting means (34) connected to said node and operable in response to said deviation over successive measuring cycles to vary said output voltage in direction tending to reduce said deviation to zero whereby said output voltage will be a function of the magnitude of the capacitance of said variable capacitor (Cx). Apparatus according to claim 3, characterized in that said first fixed voltage source provides a fixed voltage of zero volts. Apparatus according to claim 3, characterized in that all of said capacitors (Cx, Cr, Co) are integrated onto a single monolithic substrate by a manufacturing process which produces all of said capacitors at the same time and all of said capacitors have a dielectric which changes its dielectric constant with changes in humidity of the ambient atmosphere and said reference capacitors are protected from the ambient atmosphere so that the capacitance of said reference capacitors is constant. Apparatus according to claim 3, characterized in that said variable capacitor (Cx) has a dielectric which changes its dielectric constant with changes in humidity and in that said reference capacitors have a dielectric which does not change its dielectric constant with changes in humidity.

Inventors: WATSON CHARLES W JR, WATSON, CHARLES W., JR.
Applicants: GEN SIGNAL CORP, GENERAL SIGNAL CORPORATION
Application year: 1988
Main classification: G01R27
IPC codes: G01R27, G01N27