Circuit configuration and method for measuring humidity

A circuit configuration for measuring air humidity includes a measuring system which includes an oscillator unit and a signal-processing unit, as well as a frequency-determining impedance, which is determined largely by a parallel connection of a capacitive humidity sensor and a parasitic resistance. The frequency-determining impedance is connected to the oscillator unit, which includes an oscillator having an oscillation frequency that is a function of the frequency-determining impedance. The oscillator unit includes a switchable impedance, which can be connected in addition to the frequency-determining impedance, the oscillator thereby being switchable from a first frequency range to a second frequency range. An oscillator signal having the oscillation frequency of the oscillator is supplied to the signal-processing unit in which the frequency of the oscillator signal is able to be measured, and a correction value to compensate for the influence of the parasitic parallel resistance on the oscillation frequency of the oscillator is ascertainable as a function of the difference between a first measurement of the frequency of the oscillator signal in the first frequency range and a second measurement of the frequency of the oscillator signal in the second frequency range.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application claims priority to Application No. 10 2006 034 931.8, filed in the Federal Republic of Germany on Jul. 28, 2006, which is expressly incorporated herein in its entirety by reference thereto.

FIELD OF THE INVENTION

The present invention relates to a circuit configuration for measuring the air humidity and to a method for measuring the air humidity using such a circuit configuration.

BACKGROUND INFORMATION

Capacitive humidity sensors are mainly used for measuring the air humidity, such as, for example, in air-conditioning technology for controlling an interior environment. Generally, they are thin-film sensors whose measured quantity is the moisture-dependent capacitance of the polymer layer between the electrodes. Sensors of this type are described, for example, in H.-R. Traenkler, E. Obermeier, “Sensortechnik, Handbuch fuer Praxis und Wissenschaft” (“Sensor Technology, Handbook for Practice and Science”), Springer Verlag, 1998, pages 1247 to 1250.

In order to be able to measure the capacitance of the sensor, oscillator circuits are often used in which the capacitive sensor is the frequency-determining member. In this case, a value for the air humidity may be ascertained simply by measuring the oscillator frequency and assigning a humidity value to the result of the measurement. Examples for such circuits in the field of moisture measurement can be found, for example, in H. Lemme, “Sensoren in der Praxis” (“Sensors in Practice”), Franzis-Verlag, 1993, pages 327 to 336.

U.S. Pat. No. 5,844,138 describes a device for measuring humidity, in which a capacitive humidity sensor is the frequency-determining element of an oscillator. The instantaneous air humidity is ascertained by measuring the oscillator frequency and converting it into a humidity value with the aid of calibration data stored in a memory unit.

Particularly in an industrial environment, parasitic parallel resistances, caused by contamination of the sensor connections or by material properties of the sensor itself, appear at the capacitive humidity sensor and also influence the oscillator frequency of the measuring circuit, and thereby falsify the measurement result. Such changes of the impedance connected to the oscillator are not described as being taken into account in U.S. Pat. No. 5,844,138.

The measuring error which comes about due to the parallel connection of a parasitic resistance to the capacitive humidity sensor can be corrected if not only the capacitance, but also the impedance of the measuring sensor is measured, since phase information is also acquired at the same time, and the error produced by the parasitic parallel resistance can be eliminated. However, circuit configurations for measuring impedance are quite complicated and cost-intensive.

European Published Patent Application No. 1 411 349 describes a method for recording the air humidity, in which the charging duration and/or discharging duration of a capacitive humidity sensor is recorded via two different measuring resistors, and the capacitance of the sensor is calculated from the results. In this case, the capacitive sensor is modeled by a parallel connection of an ideal capacitor with an ohmic resistance, both the resistance value and the capacitor value being a function of the moisture and the temperature.

SUMMARY

Example embodiments of the present invention provide a circuit configuration for measuring the air humidity having a capacitive humidity sensor, by which it is possible to easily compensate for parasitic changes in the impedance of the humidity sensor.

Example embodiments of the present invention provide a method for measuring the air humidity using a circuit configuration, by which it is possible to easily compensate for parasitic changes in the impedance of the humidity sensors.

According to an example embodiment of the present invention, a circuit configuration is provided, having a measuring system which includes an oscillator unit and a signal-processing unit, as well as a frequency-determining impedance that is determined largely by a parallel connection of a capacitive humidity sensor and a parasitic resistance. The frequency-determining impedance is connected to the oscillator unit which includes an oscillator having an oscillation frequency that is a function of the frequency-determining impedance. The oscillator unit includes a switchable impedance which is able to be connected additionally to the frequency-determining impedance, the oscillator thereby being switchable from a first frequency range to a second frequency range. An oscillator signal having the oscillation frequency of the oscillator is supplied to the signal-processing unit, in which the frequency of the oscillator signal is able to be measured, and a correction value to compensate for the influence of the parasitic parallel resistance on the oscillation frequency of the oscillator is ascertainable as a function of the difference between a first measurement of the frequency of the oscillator signal in the first frequency range and a second measurement of the frequency of the oscillator signal in the second frequency range.

The switchable impedance may be switched in by a parallel connection of a reference capacitor to the frequency-determining impedance, since the influence of the parasitic resistance on the oscillation frequency of the oscillator increases, with the result that the difference between the first measurement of the frequency of the oscillator signal in the first frequency range and the second measurement of the frequency of the oscillator signal in the second frequency range enlarges. The accuracy in ascertaining the correction value is thereby increased.

According to an example embodiment of the present invention, a circuit configuration for measuring air humidity includes: a measurement system including an oscillator unit and a signal-processor unit, the oscillator unit including an oscillator and a switchable impedance; and a frequency-determining impedance including a capacitive humidity sensor and a parasitic resistance connected in parallel, the frequency-determining impedance connected to the oscillator unit. An oscillation frequency of the oscillator is a function of the frequency-determining impedance, and the oscillator is switchable from a first frequency range to a second frequency range by connection of the switchable impedance to the frequency-determining impedance. The oscillator unit is configured to supply an oscillator signal having the oscillation frequency of the oscillator to the signal-processor unit, and the signal-processor unit is configured to measure the frequency of the oscillator signal and to ascertain a correction value to compensate for influence of the parasitic resistance on the oscillation frequency as a function of a difference between a first measurement of the frequency of the oscillator signal in the first frequency range and a second measurement of the frequency of the oscillator signal in the second frequency range.

The signal-processor unit may include: a measurement unit configured to measure the frequency of the oscillator signal; a correction-value memory including correction values to compensate for the influence of the parasitic resistance on the frequency of the oscillator signal as a function of the difference between the first measurement of the frequency of the oscillator signal in the first frequency range and the second measurement of the frequency of the oscillator signal in the second frequency range; an evaluation unit configured to process a result of at least one of (a) the first measurement and (b) the second measurement with a correction value from the correction-value memory to form a humidity value; and a control unit configured to control the measurement processes.

The switchable impedance may include a reference capacitor and a switch device, and the oscillator may be switchable to the second frequency range by a parallel connection of the reference capacitor to the frequency-determining impedance by energizing the switch element.

The switch element may be energizable by a control unit of the signal-processor unit via a switch line.

The signal-processor unit may be arranged as at least one of (a) an FPGA, (b) an ASIC and (c) a microcontroller.

According to an example embodiment of the present invention, a circuit configuration for measuring air humidity includes: measuring means including an oscillator unit and signal-processing means, the oscillator unit including oscillating means and switchable impedance means; and frequency-determining impedance means including capacitive humidity sensing means and a parasitic resistance means connected in parallel, the frequency-determining impedance means connected to the oscillator unit. An oscillation frequency of the oscillating means is a function of the frequency-determining impedance means, and the oscillating means is switchable from a first frequency range to a second frequency range by connecting the switchable impedance means to the frequency-determining impedance means. The oscillator unit is for supplying an oscillator signal having the oscillation frequency of the oscillating means to the signal-processing means, and the signal-processing means is for measuring the frequency of the oscillator signal and for ascertaining a correction value to compensate for influence of the parasitic resistance means on the oscillation frequency as a function of a difference between a first measurement of the frequency of the oscillator signal in the first frequency range and a second measurement of the frequency of the oscillator signal in the second frequency range.

According to an example embodiment of the present invention, a method for measuring air humidity includes: performing, in a signal-processor unit, a first measurement of a frequency of an oscillator signal in a first frequency range of an oscillator; switching the oscillator from the first frequency range to a second frequency range by connecting a switchable impedance to a frequency-determining impedance; performing, in the signal-processor unit, a second measurement of the frequency of the oscillator signal in the second frequency range of the oscillator; and ascertaining a correction value to compensate for an influence of a parasitic resistance on the frequency of the oscillator signal as a function of a difference between the first measurement and the second measurement.

The frequency of the oscillator signal may be measured in the signal-processing unit by a measuring unit, and the method may include outputting a result of the measurements to an evaluation unit.

The method may include determining the difference between the first measurement and the second measurement by the evaluation unit, and the evaluation unit may ascertain the correction value in the ascertaining step by fetching the correction value from a correction-value memory as a function of the difference between the first measurement and the second measurement.

The measurements may be controlled by a control unit of the signal-processor unit.

The switchable impedance may include a reference capacitor and a switch device, and the oscillator may be switched in the switching step to the second frequency range by energizing the switch device by the control unit of the signal-processor unit via a switching line.

The energizing of the switch device may connect, in parallel, the reference capacitor and the frequency-determining impedance.

The method may include processing at least one of (a) a result of the first measurement and (b) a result of the second measurement with the ascertained correction value to form a humidity value.

The method may include generating a warning signal if the influence of the parasitic resistance on the frequency of the oscillator signal exceeds a limiting value.

The method may be performed by the circuit configuration as described herein.

According to an example embodiment of the present invention, a method for measuring air humidity includes: performing a first measurement of a frequency of an oscillator signal in a first frequency range of an oscillator; switching the oscillator from the first frequency range to a second frequency range by connecting a switchable impedance to a frequency-determining impedance; performing a second measurement of the frequency of the oscillator signal in the second frequency range of the oscillator; and ascertaining a correction value to compensate for an influence of a parasitic resistance on the frequency of the oscillator signal as a function of a difference between the first measurement and the second measurement.

Example embodiments of the present invention are described in more detail below with reference to the appended Figures.

DETAILED DESCRIPTION

FIG. 1is a schematic block diagram of a device for measuring humidity according to an example embodiment of the present invention. A capacitive humidity sensor10is connected via a connecting cable11to an oscillator unit30in a measuring system20. Oscillator unit30includes a switchable impedance40and an oscillator31. Oscillator31is arranged such that its oscillation frequency is determined by the impedance, especially the capacitance, which is connected to inputs32,33of oscillator31. By additionally connecting the switchable impedance to inputs32,33of oscillator31, it is switchable from a first frequency range to a second frequency range.

Measuring system20further includes a signal-processing unit50, to which an oscillator signal34having the oscillation frequency of oscillator31is supplied. Signal-processing unit50includes a device to measure the frequency of oscillator signal34, and to ascertain a humidity value56from the result. Humidity value56is output by measuring system20for further processing, for example, to an air conditioning unit for controlling the interior environment, or to a display unit for the display of humidity value56.

The oscillation frequency of oscillator31, aside from the switching status of switchable impedance40, may be dependent only on the capacitance of capacitive humidity sensor10, which changes as a function of the air-humidity. That is, by measuring the frequency of oscillator signal34in signal-processing unit50, it is possible to determine the capacitance of capacitive humidity sensor10, and therefore the instantaneous value of the air humidity.

Parallel to capacitive humidity sensor10may be a parasitic resistance Rp, which together with capacitive humidity sensor10, forms a frequency-determining impedance12that influences the oscillation frequency of oscillator31. In principle, parasitic resistance Rpis always present, for instance, in the form of insulation resistances that occur, for example, in connecting cable11, or between the connections of capacitive humidity sensor10, or between connecting terminals or plug pins at measuring system20. In interference-free operation and in the case of an error-free arrangement, parasitic resistance Rpmay have such a high ohmic value (e.g., >10 MOhm) that it can be disregarded for many applications. In harsh industrial surroundings, however, it often happens that in the course of time, parasitic resistance Rpbecomes low-impedance due to contamination, e.g., by dust deposits between the contacts of capacitive humidity sensor10, often also in conjunction with moisture, etc., until it noticeably influences the oscillation frequency of oscillator31and therefore the measuring result, and leads to measuring errors. In practice, parasitic resistance Rpcauses a reduction in the oscillation frequency of oscillator31, since due to it, the charging current of capacitive humidity sensor10decreases or its charging time increases.

Signal-processing unit50is able, via switching line51, to switch oscillator31from a first frequency range to a second frequency range by additionally connecting switchable impedance40to frequency-determining impedance12. Since the influence of parasitic resistance Rp, thus the decrease in the oscillation frequency of oscillator31caused by parasitic resistance Rp, takes effect differently in the first frequency range and in the second frequency range, signal-processing unit50is able to compensate for it based on the difference between a first measurement of the frequency of oscillator signal34in the first frequency range of oscillator31and a second measurement of oscillator single34in the second frequency range.

Switchable impedance40may be largely capacitive, and the switching-in may be accomplished by connecting it in parallel to frequency-determining impedance12. The total capacitance is thereby increased, resulting in that the total charging time of the capacitances increases, and as a result, the oscillation frequency of oscillator31decreases in the second frequency range, and the influence of parasitic resistance Rphas a stronger effect. The result of this is that the difference from the two measurements can be determined with greater accuracy.

FIG. 2is a schematic circuit diagram of a circuit configuration for measuring air humidity according to an example embodiment of the present invention. Components already described with reference toFIG. 1have the same reference numerals inFIG. 2.

Capacitive sensor10with parallel-connected parasitic resistance Rpis connected via connecting cable11to measuring system20. In so doing, one terminal of capacitive sensor10is connected directly to oscillation-active input32of oscillator31. The second terminal of the capacitive sensor is connected via a coupling capacitor C1to second input33of oscillator31, which in this example is identical to reference point GND of the circuit of oscillator31. In comparison to capacitive humidity sensor10, the coupling capacitor has a high capacitance, e.g., more than 100-fold the capacitance value of capacitive humidity sensor10. The task of this coupling capacitor C1is to reduce the direct-voltage component at capacitive humidity sensor10. In order to prevent coupling capacitor C1from having to charge or discharge via capacitive humidity sensor10, a charging resistor R1is additionally provided, which is connected in parallel to capacitive humidity sensor10. The ohmic value of charging resistor R1may be high, e.g., in the area of 10 MOhm. Thus, in this example, capacitive humidity sensor10, parasitic resistance Rp, coupling capacitor C1and charging resistor R1form frequency-determining impedance12. However, coupling capacitor C1and charging resistor R1may be disregarded, since because of their dimensioning, they have virtually no influence on the oscillation frequency of oscillator31.

In this example, oscillator31in oscillator unit30includes resistors R2to R7, two operational amplifiers IC1, IC2and two digital inverter components IC3, IC4. Oscillator circuits of this kind, also referred to as astable flip-flops, are conventional, and therefore the circuit used is not further described. As an alternative to the circuit illustrated, an integrated timer component, e.g., the widely prevalent timer 555 (e.g., available under the designation LMC555, NE555, TLC555, depending on the manufacturer) with suitable additional wiring could also be used. Oscillator31may be configured so that at an average humidity value, it has a fundamental frequency between, e.g., 10 kHz and 1 MHz, which changes sufficiently significantly over the humidity range to be measured, that is, over the capacitance range of capacitive humidity sensor10, that a reliable measurement of the air humidity as a function of the capacitance of capacitive humidity sensor10is possible. If the capacitance of a capacitive humidity sensor10varies in a humidity range to be measured of 0% to 100% RH, e.g., between 390 pF and 540 pF, then a change in the oscillator frequency from approximately 55 kHz at 0% air humidity to approximately 40 kHz at 100% air humidity may be viewed as particularly suitable.

Switchable impedance40includes a reference capacitor41, which is able to be switched via a switching element42between oscillation-active input32and reference point GND of oscillator31. Switching element42is actuated by signal-processing unit50via switching line51. The energizing of switching element42brings about a parallel connection of reference capacitor41to frequency-determining impedance12, in particular with capacitive humidity sensor10. As a result, the oscillation frequency of oscillator31drops.

A MOSFET is used as switching element42. The current which is used to energize the MOSFET is negligibly small. In other arrangements, for instance, when a potential-free contact is required for switching element42, a relay, for example, may be used as switching element42.

Oscillator signal34is supplied to a measuring unit52in signal-processing unit50, by which the frequency of oscillator signal34is able to be measured. Instead of the frequency, the period duration of oscillator signal34may also be measured. The result of the measurement is output to an evaluation unit53, which from the frequency values, ascertains and outputs humidity values56. To that end, evaluation unit53is connected to a correction-value memory55which, as a function of the difference of measured values in the first frequency range and in the second frequency range of oscillator31, stores correction values which are capable of compensating for the influence of parasitic resistance Rpon the oscillation frequency of oscillator31.

The measuring operation is controlled by a control unit54which, via switching line51, determines the frequency range of oscillator unit30and initiates the measurement and evaluation of oscillator signal34.

For example, when producing the circuit configuration, the correction values may be ascertained in a calibration operation in the case of an ideal setup, in which parasitic resistance Rpis simulated by known resistance values, and its influence on the oscillation frequency of oscillator31in the two frequency ranges is recorded. Moreover, if the air humidity is also varied during the calibration operation, humidity values56may be assigned directly to the measured oscillator frequencies. For example, correction values may be generated which, in addition to the compensation of the influence of parasitic resistance Rp, already contain conversion factors for converting the measured frequency values or period-duration values into humidity values56.

Since signal-processing unit50is a purely digital circuit, it is particularly suitable to be integrated into a complex digital component such as, for example, an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). A microcontroller may be provided as signal-processing unit50.

It is further possible to integrate oscillator31and signal-processing unit50together in one application-specific component or to provide them by a microcontroller.

A method for measuring the air humidity is described with reference to the flowchart illustrated inFIG. 3.

In step80, control unit54initiates a measurement of the frequency of oscillator signal34in the first frequency range of oscillator31by measuring unit52. The result of the measurement is passed on to evaluation unit53.

In step81, control unit54, via switching line51, switches oscillator31to the second frequency range of oscillator31by additionally connecting switchable impedance40to capacitive humidity sensor10. In the example illustrated inFIG. 2, this is achieved by the parallel connection of reference capacitor41to frequency-determining impedance12, using switching element42.

In step82, control unit54initiates a second measurement of the frequency of oscillator signal34in the second frequency range of oscillator31by measuring unit52. The second result is also output to evaluation unit53.

In step83, evaluation unit53forms the difference from the two measured values and, as a function of the result, fetches from correction-value memory55a correction value which is able to compensate for the influence of parasitic resistance Rpon the frequency of oscillator signal34. Depending upon how correction-value memory55is provided, the correction value may be a table value, for example, or one or more coefficients for a mathematical formula. As described above, the correction value may already include a conversion factor for ascertaining a humidity value56from the frequency of oscillator signal34. It should be appreciated that both the result of the first measurement of the frequency of oscillator signal34, as well as the result of the second measurement of the frequency of oscillator signal34are suitable for ascertaining humidity value56.

In step84, evaluation unit53applies the ascertained correction value to the result of the first measurement of oscillator signal34or to the result of the second measurement of oscillator signal34, and ascertains a corresponding humidity value56as a function of the corrected measured value.

As described above, parasitic resistance Rparises, e.g., due to the effects of contamination which occur during operation of the circuit configuration for measuring the air humidity in a harsh industrial environment. In this context, the value of parasitic resistance Rpdrops over the course of time until it finally influences the measuring result. It may happen that with time, the value of parasitic resistance Rpbecomes so low-impedance that its influence on the measuring result is no longer able to be offset, or until the oscillator no longer functions. In order to prevent such a failure of the circuit configuration, in a step85, evaluation unit53compares the difference from the two measured values, ascertained in step83, with a limiting value that corresponds to a minimal value of parasitic resistance Rpthat is only just tolerable, and if the minimal value is not attained, in step86outputs a warning signal57which indicates that a failure of the circuit configuration is immediately imminent. This signal may be used to perform a preventive maintenance of the circuit configuration, for example, by cleaning the connection contacts or by replacement of capacitive humidity sensor10.

Generally, the change of parasitic resistance Rpis a slow process. Therefore, it may be provided that a measurement of the frequency of oscillator signal34both in the first and in the second frequency range of oscillator31is not performed upon each measurement of a humidity value56, but rather a correction value ascertained one time is used for a specific period of time to compensate for parasitic resistance Rp. In particular, the number of switching operations of switching element42is thereby reduced. If it is implemented in the form of a mechanical contact, e.g., as a relay contact, the service life may thereby be increased.

FIG. 4shows, by way of example, the characteristic of period duration T of oscillator signal34as a function of capacitance Csof capacitive humidity sensor10, parasitic resistance Rpand the switching status of switchable impedance40. Based on the known relationship, that period duration T may be converted into a frequency by forming the inverse value, the following observations are also applicable to the frequency of oscillator signal34, and therefore to the exemplary embodiments described above.

A first characteristic curve100shows the characteristic of period duration T in the case of an ideal arrangement, thus without, or very high-ohmic parasitic resistance Rpand in the first frequency range of oscillator31. A second characteristic curve110illustrates how first characteristic curve100is shifted in the direction of longer period durations T by the influence of parasitic resistance Rp.

A third characteristic curve120shows the characteristic of period duration T in the case of an ideal arrangement, this time, however, in the second frequency range, thus with switchable impedance40additionally connected. In this instance, the switching-in is provided in accordance with the example embodiment illustrated inFIG. 2by the parallel connection of a reference capacitor41to frequency-determining impedance12. Since, in this manner, the capacitances of reference capacitor41and of capacitive humidity sensor10are accumulated, and a longer charging time of the capacitances thereby results, third characteristic curve120is shifted up, thus in the direction of greater period durations T, compared to first characteristic curve100. The influence of parasitic resistance Rpon third characteristic curve120is apparent from a fourth characteristic curve130. It is assumed that parasitic resistance Rphas the same value which also brings about the shift from first characteristic curve100to second characteristic curve110. However, the result of the addition of the capacitances is that parasitic resistance Rphas a stronger effect.

This effect is illustrated once again inFIG. 4by way of example in the case of an arbitrary value CRH1of capacitive humidity sensor10. A measurement of period duration T in the first frequency range of oscillator31without the influence of parasitic resistance Rpyields a value T1. Parasitic resistance Rpleads to an increase of period duration T of oscillator31to the value T1′. A measuring error ΔT1results. On the other hand, in the second frequency range of oscillator31, a shift of period duration T from a value T2to a value T2′ results due to the influence of parasitic resistance Rp, which leads to a measuring error ΔT2.

Looked at differently, given an ideal arrangement, a switchover from the first frequency range to the second frequency range of oscillator31leads to a change of period duration T by an ideal value ΔT12, which changes to a faulty value ΔT12′ as a function of parasitic resistance Rp.

On the basis of this relationship, it is possible to ascertain correction values as a function of faulty value ΔT12′, or the difference between faulty value ΔT12′ and ideal value ΔT12, with which the influence of parasitic resistance Rpmay be offset.

It should be understood that the circuit configuration hereof and the method hereof are not limited to capacitive humidity sensors, but may also be used with capacitive sensors for measuring other physical quantities, such as capacitive pressure sensors.