Background of the Invention
This invention relates to a precision measuring system for comparing the sizes of two capacitors to determine their ratio with a high degree of accuracy.
A variety of arrangements have been developed for measuring the capacitance of capacitors. Most of these arrangements, however, require constant operating characteristics, such as a constant supply voltage, operating temperature, etc., to obtain accurate results. In contrast, the measuring system of the present invention achieves very precise measurements at all times and is immune to any variations in operating characteristics. Moreover, this is accomplished by means of a relatively simple and inexpensive circuit arrangement. While the measuring system of the invention determines the ratio of two capacitors, it can easily be used to determine an unknown capacitance when the other capacitance is known.
Summary of the Invention
The invention provides a measuring system for comparing first and second capacitors to determine the ratio of their capacitances. The system comprises means for simultaneously, and rapidly, charging the first and second capacitors, at time t.sub.0, to the same d-c voltage V.sub.s. Means are also provided for thereafter simultaneously, and slowly, discharging the first and second capacitors to the same d-c reference voltage V.sub.ref. which is substantially less than, but is directly proportional to, the d-c voltage V.sub.s. The first capacitor has a discharge time constant substantially shorter than that of the second capacitor and discharges to the reference voltage V.sub.ref., at time t.sub.1, long before the second capacitor reaches the reference voltage at the later time t.sub.2, the time duration from t.sub.0 to t.sub.1 thereby being a function of the capacitance of the first capacitor while the time duration from t.sub.0 to t.sub.2 is a function of the capacitance of the second capacitor. The measuring system also comprises means for effectively comparing the two time durations and for producing, from the comparison, an output signal representing the ratio of the capacitances of the first and second capacitors.
Descriptions of the Drawings
The features of the invention which are believed to be novel are set forth with particularity in the appended claims. The invention may best be understood, however, by reference to the following description in conjunction with the accompanying drawings in which:
FIG. 1 schematically illustrates a measuring system, constructed in accordance with one embodiment of the invention, for determining the ratio of the capacitances of a pair of capacitors C.sub.1 and C.sub.2 ; and,
FIG. 2 depicts various signal waveforms that will be helpful in understanding the operation of the measuring system.
Description of the Illustrated Embodiment
Capacitors C.sub.1 and C.sub.2 may take a variety of different forms. The capacitance of one or both may be unknown. In either event, the measuring system will provide an output signal bearing information which indicates the ratio of the two capacitances. As one example of capacitors C.sub.1 and C.sub.2, they may both be included in a capacitve ceramic pressure sensor manufactured by Borg-Warner Corporation under the designation 358-522. As the pressure changes, the capacitance of one of the capacitors increases while the capacitance of the other capacitor decreases. In other words, the ratio of the capacitances varies with pressure. Hence, a measurement of the ratio will indicate the sensed pressure.
As will be apparent, the measuring system of FIG. 1 includes an oscillating circuit so that the system will operate in cyclic fashion. At time t.sub.0 (see FIG. 2) transistor T.sub.1 will be turned on, by the first-occurring triggering pulse in voltage waveform V.sub.T, and capacitor C.sub.1 will rapidly charge to d-c voltage V.sub.s, as indicated by the waveform V.sub.c .sbsb.1 which shows the voltage across capacitor C.sub.1. Voltage V.sub.s is equal to the output voltage of the d-c power supply 10 minus the very small voltage drop across transistor T.sub.1. At the time t.sub.0 when capacitor C.sub.1 charges up, the voltage at the positive input of comparator 11 will become greater than (namely positive relative to) that at the comparator's negative input, to which is applied a d-c reference voltage V.sub.ref. produced by the voltage divider, comprising resistors 14 and 15, which in turn is coupled across resistor 16. The base and collector of transistor T.sub.3 are interconnected to form a diode as a result of which a constant d-c voltage will appear across resistor 16. All three of the transistors T.sub.1, T.sub.2 and T.sub.3 are substantially identical in construction so that they will introduce identical voltage drops when they conduct. Providing identical transistors is easiest achieved by forming the transistors, along with most of the other elements shown in FIG. 1, on the same monolithic chip. Thus, the voltage across resistor 16 will be equal to the d-c voltage V.sub.s. Preferably, resistors 14 and 15 are of equal value so that the reference voltage V.sub.ref will be one-half of the voltage V.sub.s. In response to the higher voltage at the positive input of comparator 11 at time t.sub.0, the output voltage of the comparator abruptly switches from its low level, or zero volts, to its high level, as indicated by voltage waveform V.sub.o in FIG. 2.
At the same time t.sub.0 that capacitor C.sub.1 charges up, the first-occurring triggering pulse in voltage waveform V.sub.T also renders transistor T.sub.2 conductive to cause capacitor C.sub.2 to rapidly charge to the same d-c voltage V.sub.s, as shown by voltage waveform V.sub.c .sbsb.2. That peak charging voltage on capacitor C.sub.2 establishes the negative input of comparator 12 at a higher potential level than the comparator's positive input, to which is applied the d-c reference voltage V.sub.ref.. As a result, the output voltage of comparator 12 abruptly switches to its low, or zero volts, level as shown by waveform V.sub.T. Actually, switching of comparator 12 to its low output voltage level in response to charging of capacitor C.sub.2 is what causes the triggering pulse to terminate. When that termination occurs, both transistors T.sub.1 and T.sub.2 will be turned off. There is sufficient delay in the circuit to allow capacitors C.sub.1 and C.sub.2 to fully charge to the peak voltage V.sub.s before the transistors are cut off.
After the occurrence of the first triggering pulse of waveform V.sub.T, capacitors C.sub.1 and C.sub.2 will both begin to simultaneously, and slowly, discharge to the d-c reference voltage V.sub.ref. as shown by waveforms V.sub.c .sbsb.1 and V.sub.c .sbsb.2. Capacitor C.sub.1 will discharge through shunting resistor R.sub.1, while capacitor C.sub.2 discharges through shunting resistor R.sub.2. The system is designed so that regardless of the particular capacitances of the capacitors at any one time, and those values may vary over a relatively wide range in some applications of the invention, the discharge time constant of capacitor C.sub.1 will always be much shorter than that of capacitor C.sub.2. In this way, capacitor C.sub.1 will discharge to the reference voltage V.sub.ref., at time t.sub.1, long before the capacitor C.sub.2 reaches the reference voltage at the later time t.sub.2 as illustrated in FIG. 2. When the voltage V.sub.c .sbsb.1 across capacitor C.sub.1 drops down to voltage V.sub.ref. at time t.sub.1 , the voltage at the positive input of comparator 11 becomes less than (or negative relative to) that at the comparator's negative input, whereupon the output switches from its high level to its low level, as shown in voltage waveform V.sub.0 at time t.sub.1. Subsequent to that time capacitor C.sub.1 will continue to discharge toward zero volts but this will have no effect.
When capacitor C.sub.2 discharges to voltage V.sub.ref. at the much later time t.sub.2, the output of comparator 12 will be switched from its low level to its high level to produce the second-occurring triggering pulse in waveform V.sub.T. This pulse turns on transistors T.sub.1 and T.sub.2 and causes capacitors C.sub.1 and C.sub.2 to once again quickly charge to voltage V.sub.s to start another cycle of operation. At this time t.sub.2, comparator 11 is also switched and waveform V.sub.0 experiences a positive-going amplitude excursion. As soon as capacitor C.sub.2 charges up at time t.sub.2, comparator 12 immediately switches back to its low output level to terminate the triggering pulse. It is thus apparent that the measuring system oscillates to periodically repeat the waveshape of voltage V.sub.0 during the time interval from t.sub.0 to t.sub.2. In other words, the measuring system produces, at the output of comparator 11, a periodically-recurring rectangular shaped signal whose period is equal to the time duration from t.sub.0 to t.sub.2 . The oscillating frequency, of course, is not critical. In one application of the invention the frequency was around 20 kilohertz.
The time duration from t.sub.0 to t.sub.1, required for capacitor C.sub.1 to discharge to voltage V.sub.ref., is a function of the capacitance of that capacitor. Similarly, the time duration from t.sub.0 to t.sub.2 is a function of the capacitance of capacitor C.sub.2. Since the two capacitors simultaneously charge to the same high voltage level V.sub.s and then simultaneously discharge to the same low reference voltage level V.sub.ref., it can easily be proved that the ratio of the time duration from t.sub.0 to t.sub.1 compared to the time duration from t.sub.0 to t.sub.2 is equal to: ##EQU1## Hence, the duty cycle of the rectangular wave V.sub.0 is proportional to and represents the ratio of the capacitances of capacitors C.sub.1 and C.sub.2. By effectively comparing the two time durations from t.sub.0 to t.sub.1 and t.sub.0 to t.sub.2, namely by measuring the duty cycle, an output signal may be developed which represents the capacitance ratio. This is accomplished in the illustrated embodiment by means of an averaging circuit in the form of a low-pass filter comprising resistors 18 and 19 and capacitors 21 and 22. The averaging circuit 18-22 produces an output signal having an amplitude equal to the average voltage of voltage waveform V.sub.0, which of course is directly proportional to the duty cycle of waveform V.sub.0 and thereby represents the capacitance ratio of capacitors C.sub.1 and C.sub.2 with a high degree of accuracy. Any time that ratio changes, the amplitude of the output signal varies.
The output signal may be utilized in a variety of different ways. For simplicity it is shown applied to an indicator 23 which responds to the output signal to provide an indication or display of the value of the capacitance ratio. In most applications of the invention, however, the output signal would probably be used to control the operation of some system in response to the capacitance ratio. For example, when capacitors C.sub.1 and C.sub.2 are incorporated in a pressure sensor, as suggested previously, the capacitance ratio would vary as the sensed pressure changes. Since the amplitude of the output signal would now represent the sensed pressure, the signal could be employed to control a system in response to pressure, such as controlling the operation of an internal combustion engine in response to sensed intake manifold pressure.
If the capacitance of one of the capacitors C.sub.1 and C.sub.2 is known and it is desired to determine the size of the other capacitor, the output signal will be directly proportional to the capacitance of capacitor C.sub.1 when capacitor C.sub.2 is known, whereas the output signal will be inversely proportional to the capacitance of capacitor C.sub.2 when capacitor C.sub.1 is known.
It is to be appreciated that the measuring system of the invention is immune to variations in operating characteristics, such as supply voltage variations, temperature changes, etc. If the voltage V.sub.s changes, the reference voltage V.sub.ref. will vary in step and will be linearly proportional to the supply voltage whatever it is. The averaging circuit 18-22 will cancel out any undesired variations in the circuit elements, such as changes in resistors 14 and 15 which would occur in the event that they have different temperature coefficients.
Also to be fully understood is the fact that the measuring system is ratiometric in that for fixed capacitance values, the amplitude of the output signal will always be a fixed ratio of the supply voltage. If it is desired to adjust the shape of the ratiometric characteristic curve, this may be accomplished by inserting diodes in series with either resistor 14 or resistor 15. A resistor shunting the resistor 14, or resistor 15, and diode combination will modulate the effect of the adjustment.
While particular embodiments of the invention have been described, modifications may be made, and it is intended in the appended claims to cover all such modifications as may fall within the true spirit and scope of the invention.