Method for Operating a Pressure Measuring Cell of a Capacitive Pressure Sensor

20230288282 · 2023-09-14

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention relates to a method for operating a pressure measuring cell of a capacitive pressure sensor. The pressure measuring cell comprises a pressure-dependent measuring capacitor and a reference capacitor, with an internal alternating square wave excitation voltage applied. The pressure measured value is obtained from capacitance values of the measuring capacitor and the reference capacitor. The measurement signal is an alternating square-wave signal supplied to an evaluation unit. The alternating square-wave signal is supplied to an amplifier unit where signal amplification is performed by amplitude adjustment for the internal excitation voltage and offset compensation is performed by a further square-wave signal and gain correction is performed by multiplicative influencing of the quotient of the capacitance values of the reference capacitor and the measuring capacitor, and the offset correction is performed by virtue of the square-wave signal being supplied to the amplifier unit and thus being added to the square-wave signal.

Claims

1. A method for operating a pressure measuring cell (10) of a capacitive pressure sensor (1); wherein the pressure measuring cell (10) comprises a pressure-dependent measuring capacitor (C.sub.M) and a reference capacitor (C.sub.R), which have an internal excitation voltage U.sub.E0 applied to them in the form of an alternating square-wave signal, and the pressure measured value p is obtained from the capacitance values of the measuring capacitor (C.sub.M) and the reference capacitor (C.sub.R); wherein the measurement signal is supplied in the form of an alternating square-wave signal U.sub.R to an evaluation unit, the pulse level of said signal being dependent on the quotient of the capacitance values of the reference capacitor (C.sub.R) and the measuring capacitor (C.sub.M) and the period duration of said signal being determined by way of the capacitance value of the measuring capacitor (C.sub.M), characterized in that the alternating square-wave signal U.sub.R is supplied to an amplifier unit (V.sub.E) for the purpose of signal amplification and offset correction, the signal amplification being performed by means of an amplitude adjustment for the internal excitation voltage U.sub.E0 and the offset compensation being performed by way of a further square-wave signal U.sub.OF; and in that respective fixed voltage values have been stored in a memory unit (40) in a comparison procedure for the purpose of gain and offset correction; wherein these stored voltage values together with a predefined clock are used to form the two square-wave signals U.sub.E0 and U.sub.OF; and wherein the gain correction is performed by way of the multiplicative influencing of the quotient of the capacitance values of the reference capacitor (C.sub.R) and the measuring capacitor (C.sub.M), and the offset correction is performed by virtue of the square-wave signal U.sub.OF being supplied to the amplifier unit (VE) and thus being added to the square-wave signal U.sub.R.

2. The method according to claim 1, wherein the pressure sensor (1) includes a microcontroller (μC).

3. The method according to claim 1, wherein the clock for forming the two square-wave signals U.sub.E0 and U.sub.OF is excited by way of a timer (60).

4. The method according to claim 2, wherein the clock for forming the two square-wave signals U.sub.E0 and U.sub.OF is excited by way of a timer (60).

5. The method according to claim 3, wherein the timer (60) controls a changeover unit (70) which is used to form the clock for the two square-wave signals U.sub.E0 and U.sub.OF.

6. The method according to claim 2, wherein the amplitudes of the two square-wave signals U.sub.E0 and U.sub.OF are adjusted by way of a respective digital potentiometer (DP.sub.1, DP.sub.2), these being actuated via a serial data bus that connects the two potentiometers (DP.sub.1, DP.sub.2) to the microcontroller (μC).

7. The method according to claim 3, wherein the amplitudes of the two square-wave signals U.sub.E0 and U.sub.OF are adjusted by way of a respective digital potentiometer (DP.sub.1, DP.sub.2), these being actuated via a serial data bus that connects the two potentiometers (DP.sub.1, DP.sub.2) to the microcontroller (μC).

8. The method according to claim 4, wherein the amplitudes of the two square-wave signals U.sub.E0 and U.sub.OF are adjusted by way of a respective digital potentiometer (DP.sub.1, DP.sub.2), these being actuated via a serial data bus that connects the two potentiometers (DP.sub.1, DP.sub.2) to the microcontroller (μC).

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The invention is explained by way of example with reference to the attached drawings based on preferred exemplary embodiments, wherein the features shown below both individually and in combination may represent an aspect of the invention. In the drawings:

[0012] FIG. 1 shows a block diagram of a capacitive pressure measuring device;

[0013] FIG. 2 shows a schematic sectional representation of a capacitive pressure measuring cell;

[0014] FIG. 3 shows a known evaluation circuit for a capacitive pressure measuring cell as shown in FIG. 2;

[0015] FIG. 4 shows the evaluation circuit from FIG. 3, to which a microcontroller for performing a first embodiment of the method according to the invention has been added; and

[0016] FIG. 5 shows the evaluation circuit from FIG. 3, to which a microcontroller for performing a second embodiment of the method according to the invention has been added.

[0017] In the description of the preferred embodiments that follows, identical reference signs denote identical or comparable components.

[0018] The present invention will be described in connection with a preferred embodiment, however, it will be understood that there is no intent to limit the invention to the embodiment described. On the contrary, the intent is to cover all alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by this specification and the attached drawings and claims.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] For a general understanding of the present invention, reference is made to the drawings. The present invention will be described by way of example, and not limitation. Modifications, improvements and additions to the invention described herein may be determined after reading this specification and supporting claims and viewing the accompanying drawings; such modifications, improvements, and additions being considered included in the spirit and broad scope of the present invention and its various embodiments described or envisioned herein.

[0020] The present invention relates to a method for operating a pressure measuring cell of a capacitive pressure sensor.

[0021] The present invention builds and improves upon the basic circuit depicted in German patent DE 198 51 506 C1, which was cited at the outset, for evaluating capacitive pressure measuring cells that comprise a pressure-dependent measuring capacitor and an ideally pressure-independent reference capacitor. The essential feature of this evaluation circuit is that the pressure measuring cell has an internal excitation voltage U.sub.E0 applied to it in the form of an alternating square-wave signal, and the pressure measured value p is obtained from the capacitance values of the measuring capacitor and the reference capacitor. This measurement signal is then supplied in the form of an alternating square-wave signal U.sub.R to an evaluation unit, in which the measurement signal is conditioned for a superordinate control unit, for example a PLC. The pulse level, or amplitude, of said signal is dependent on the quotient of the capacitance values of the reference capacitor and the measuring capacitor. and the period duration of said signal is determined by way of the capacitance value of the measuring capacitor.

[0022] The difference compared to the existing circuit is a fundamentally different comparison architecture and thus affords various advantages.

[0023] According to the invention, the alternating square-wave signal U.sub.R is supplied to a further amplifier unit for the purpose of signal amplification and offset correction, the signal amplification firstly being performed by means of an amplitude adjustment for the internal excitation voltage U.sub.E0 and the offset compensation secondly being performed by way of a further square-wave signal U.sub.OF. Respective fixed voltage values have previously been stored in a memory unit in a comparison procedure for the purpose of gain and offset correction. These stored voltage values together with a predefined clock are used to form the two square-wave signals U.sub.E0 and U.sub.OF. Finally, the gain correction, firstly, is performed by way of the multiplicative influencing of the quotient of the capacitance values of the reference capacitor and the measuring capacitor, and the offset correction, secondly, is performed by virtue of the square-wave signal U.sub.OF being supplied to the further amplifier unit and thus being added to the square-wave signal U.sub.R.

[0024] The capacitive pressure sensor advantageously includes a microcontroller, in which, among other things, the clock generation and measured value conditioning take place.

[0025] In a development of the invention, there is provision for the clock for forming the two square-wave signals U.sub.E0 and U.sub.OF to be excited by way of a timer, which is preferably incorporated in the microcontroller. The timer preferably controls a changeover unit, which is used to form the clock for the two square-wave signals U.sub.E0 and U.sub.OF.

[0026] In another development of the invention, there is provision for the amplitudes of the two square-wave signals U.sub.E0 and U.sub.OF to be adjusted by way of a respective digital potentiometer, these being actuated via a serial data bus that connects the two potentiometers to the microcontroller.

[0027] The type of gain adjustment can be applied for all sensor elements in which the signal swing is dependent on the sensor current flow. This also applies to differentially operating sensor elements and in particular to resistive measuring bridges: half-bridge (voltage divider) or full bridge (Wheatstone Bridge).

[0028] The offset correction for a differentially operating measuring element can be applied (added) to the single-ended process value when the offset correction signal has the same signal shape as the measuring element current flow.

[0029] The present invention affords several advantages. One advantage of the novel comparison architecture is the low sensitivity to interference, since connecting lines can be designed to be low impedance, depending on the architecture. In addition, the circuit is very robust toward environmental influences and ageing, as a result of the number of electronic components having been reduced to the maximum extent. Added to this is a cost and space saving. A further advantage is that the adjustment of the gain in the course of the change of measuring element current flow allows manufacture-related tolerances of the pressure measuring cell to be brought into line with one another, and this ensures a defined signal-to-noise ratio. Finally, the fact that the gain setting is independent of the offset setting should also be mentioned. That is to say that an offset correction has no influence on a previously set gain. Conversely, after a gain change, the offset correction needs to be changed again, since the offset compensation requirement of the pressure measuring cell is increased as well. Moreover, it is also possible for the gain and offset settings to now be placed further away from the pressure measuring cell without signal quality suffering. This is useful e.g. when there is a high temperature in the region of the pressure measuring cell or in cramped conditions.

[0030] The present invention is explained in more detail below on the basis of exemplary embodiments with reference to the drawings.

[0031] FIG. 1 shows a block diagram of a typical capacitive pressure measuring device that is used to measure a process pressure p (e.g. of oil, milk, water, etc.). The pressure measuring device 1 is embodied as a two-conductor device and includes a pressure measuring cell 10 and evaluation electronics 20. The evaluation electronics 20 comprise an analogue evaluation circuit 30 and a microcontroller μC, in which the analogue output signal from the evaluation circuit 20 is digitized and processed further. The microcontroller μC provides the evaluation result in the form of a digital or analogue output signal e.g. to a PLC. For the supply of power, the pressure measuring device 1 is connected to a power supply line (12-36 V).

[0032] FIG. 2 shows a typical capacitive pressure measuring cell 10, as is commonly used in capacitive pressure measuring devices, in a schematic representation. The pressure measuring cell 10 essentially comprises a base body 12 and a membrane 14, which are connected to one another via a glass solder ring 16. The base body 12 and the membrane 14 delimit a cavity 19, which—preferably only in low pressure ranges up to 50 bar—is connected to the back of the pressure measuring cell 10 via a ventilation channel 18.

[0033] There is provision both on the base body 12 and on the membrane 14 for multiple electrodes that form a reference capacitor C.sub.K and a measuring capacitor C.sub.M. The measuring capacitor C.sub.M is formed by the membrane electrode ME and the middle electrode M, and the reference capacitor C.sub.K is formed by the ring electrode R and the membrane electrode ME.

[0034] The process pressure p acts on the membrane 14, which flexes to a greater or lesser degree according to the applied pressure, with essentially the distance from the membrane electrode ME to the middle electrode M changing. This leads to a corresponding change of capacitance in the measuring capacitor C.sub.M. The influence on the reference capacitor C.sub.R is less, because the distance between the ring electrode R and the membrane electrode ME changes to a smaller degree than the distance between the membrane electrode ME and the middle electrode M.

[0035] A distinction is not drawn between the label for the capacitor and its capacitance value below. C.sub.M and C.sub.R therefore denote both the measuring or reference capacitor per se and the respective capacitance thereof.

[0036] FIG. 3 shows a known evaluation circuit 30 for the pressure measuring cell 10 in more detail. The measuring capacitor C.sub.M is arranged together with a resistor R.sub.1 in an integrating branch IZ and the reference capacitor C.sub.R is arranged together with a resistor R.sub.2 in a differentiating branch DZ. The input of the integrating branch IZ has a square-wave voltage U.sub.E0 applied to it, which preferably alternates symmetrically about 0 volt. The input voltage U.sub.E0 is converted via the resistor R, and the measuring capacitor C.sub.M, using an operational amplifier OP1 operating as an integrator, into a linearly rising or falling voltage signal (depending on the polarity of the input voltage), which is output at the output COM of the integrating branch IZ. The measurement point P1 is virtually connected to earth by way of the operational amplifier OP1.

[0037] The output COM is connected to a threshold comparator SG that actuates a square-wave generator RG. As soon as the voltage signal U.sub.COM at the output COM exceeds or falls short of a threshold, the comparator SG changes its output signal, whereupon the square-wave generator RG inverts its output voltage in each case.

[0038] The differentiating branch DZ further includes an operational amplifier OP2, a voltage divider containing the two resistors R.sub.5 and R.sub.6 and a feedback resistor R.sub.7. The output of the operational amplifier OP2 is connected to a sample-and-hold circuit S&H. The output of the sample-and-hold circuit S&H has the measurement voltage U.sub.Mess applied to it, from which the process pressure p acting on the pressure measuring cell 10 is obtained.

[0039] The operation of this measuring circuit is explained in more detail below. The operational amplifier OP1 ensures that the connecting point P1 between the resistor R.sub.1 and the measuring capacitor C.sub.M is virtually kept at earth. As a result, a constant current I.sub.1 flows via the resistor R.sub.1, which charges the measuring capacitor C.sub.M until the square-wave voltage U.sub.E0 changes its arithmetic sign.

[0040] It can be seen from FIG. 3 that, if R.sub.1=R.sub.2 and C.sub.M=C.sub.R, the measurement point P2 in the differentiating branch DZ is at the same potential as the measurement point P1, that is to say at earth level, even if the connection between the measurement point P2 and the operational amplifier OP2 were not present. This applies not only in this specific case, but rather whenever the time constants R.sub.1*C.sub.M and R.sub.2*C.sub.R are identical to one another. The null point comparison results in this state being accordingly set via the variable resistors R, and R.sub.2. If the capacitance of the measuring capacitor C.sub.M changes as a result of the effect of pressure, the condition of the time constants in the integrating branch IZ and in the differentiating branch DZ being identical no longer exists and the potential at the measurement point P2 would differ from the value zero. This change is opposed directly by the operational amplifier OP2, however, since the operational amplifier OP2 continues to virtually keep the connecting point P2 at earth. The output of the operational amplifier OP2 therefore has a square-wave voltage U.sub.R applied to it, the amplitude of which is dependent on the quotient of the two time constants. It can easily be shown that the amplitude is directly proportional to the process pressure p˜C.sub.R/C.sub.M−1, the dependency being substantially linear. The amplitude can be set via the voltage divider formed by the two resistors R.sub.5 and R.sub.6.

[0041] A sample&hold circuit S&H is used to add the absolute values of the positive and negative amplitudes A+ and A− of the square-wave signal, to output the absolute value A at the output of the operational amplifier OP3 as the measurement voltage U.sub.Mess and to forward it to the microcontroller μC (not shown). This could also be output directly as an analogue value, however. The amplitude of the input voltage Ugo applied to the output of the square-wave generator RG is set on the basis of the measurement voltage U.sub.Mess, in order to achieve better linearity. For this purpose, there is provision for a voltage divider using the resistors R.sub.20 and R.sub.10. This voltage divider is connected to a reference voltage VREF and is advantageously comparable.

[0042] Typically, the positive operating voltage V+ is +2.5 V and the negative operating voltage V− is −2.5 V.

[0043] FIG. 4 shows a first embodiment of the invention. The essential manner of operation corresponds to that previously explained with reference to FIG. 3. The square-wave signal U.sub.E0, which is symmetrical with respect to the reference-earth potential GND_S, is used to charge and discharge the two cell capacitances C.sub.M and C.sub.R. Since the two operational amplifiers OP1 and OP2 control the potential GND_S at their negative inputs, the currents I.sub.mess and I.sub.ref are defined by I.sub.mess=U.sub.E0/R.sub.1 and I.sub.ref=U.sub.E0/R.sub.2. Since the operational amplifier OP1 with the capacitance C.sub.M in the feedback path acts as an integrator, a triangular-waveform voltage U.sub.COM forms at the output thereof. This triangular-waveform voltage in turn acts on the capacitance C.sub.R, whereupon a current I.sub.diff in the form of a square-wave signal forms in this path. Since the operational amplifier OP2 constantly controls the potential at its negative input to GND_S with the current I.sub.zusatz, a voltage U.sub.R that behaves in proportion to the ratio C.sub.R/C.sub.M forms at its output.

[0044] A new aspect is now the amplifier circuit VE, which includes the operational amplifier OP4 and the resistors R.sub.104 and R.sub.105. The amplifier circuit VE has two functions: firstly the signal U.sub.R is amplified and secondly a signal U.sub.OF is added.

[0045] U.sub.OF is generated in the same way as the internal excitation signal U.sub.E0. The clock for the two square-wave signals U.sub.E0 and U.sub.OF is excited by a timer 60, which is in turn fed by the threshold comparator SG known from FIG. 3. The two signals U.sub.E0 and U.sub.OF therefore have the same frequency. The timer 60 uses said clock to control a changeover unit 70, which may be embodied as a multiplexer, for example. The changeover unit 70 influences the activation of voltage values stored in a memory unit 40. These voltage values comprise various fixed positive and negative gain and offset correction values and have been ascertained in a prior comparison procedure and stored in the memory unit 40. As can be seen from FIG. 4, the changeover unit 70 uses the clock for U.sub.E0 and U.sub.OF, as predefined by the timer 60, to generate a respective square-wave signal having variable amplitudes. A respective digital-to-analog converter (DAC) is used to output the two square-wave signals U.sub.E0 and U.sub.OF as an analog signal and, in the case of U.sub.E0, to supply it to the capacitances C.sub.M and C.sub.R of the pressure measuring cell 10, or, in the case of U.sub.OF, to supply it to the aforementioned amplifier circuit VE, i.e. the operational amplifier OP4.

[0046] It has already been explained above that the amplifier circuit VE amplifies the signal U.sub.R and adds the signal U.sub.OF. The result is denoted as U.sub.R1 in FIG. 4, and is then conditioned in the microcontroller μC and the CPU 50 located therein and provided for further use at an output of the microcontroller μC.

[0047] The transfer function below reveals how U.sub.E0 multiplicatively affects the ratio C.sub.R/C.sub.M—and can therefore be used as a manipulated variable for the gain setting of the sensor system—and the signal U.sub.OF, by contrast, is applied additively to the useful signal—and can therefore be used as a manipulated variable for an offset compensation:

[00002] U R 1 ( U E 0 , U OF ) = R 108 * R 10 B R 10 A * ( C R C M * 1 R 1 - 1 R 2 ) * U E 0 + ( 1 + R 10 B R 10 A ) * U OF

A negative offset shift can be achieved by operating the phase of the U.sub.OF signal in a manner inverted with respect to the phase of the U.sub.E0 signal.

[0048] FIG. 5 shows a second embodiment of the invention. In contrast to the embodiment shown in FIG. 4, the two square-wave signals U.sub.E0 and U.sub.OF are not already generated in the microcontroller μC, but rather by a respective digital potentiometer DP1, DP2 situated outside the microcontroller μC. The two potentiometers DP1, DP2 are actuated, and therefore the amplitude adjustment is performed, via a serial data bus that connects the two potentiometers DP.sub.1, DP.sub.2 to the microcontroller μC. The serial data bus can be embodied as an I.sup.2C or SPI communication protocol, for example.

[0049] The changeover device 70 controlled by the timer 40 now comprises only one switch, which is merely changed over between “High” and “Low”, or “0” and “1”, in accordance with the predefined clock. A further switch is provided for the polarity of the offset correction value and is actuated directed from the memory 40, as represented by the dashed line. Besides the offset polarity, the memory 40 also stores the voltage values required for the desired gain or offset correction.

[0050] The digital clock signals are now output via a GPIO (General Purpose Input/Output) port and supplied to the two potentiometers DP1, DP2, which use this digital clock signal together with the amplitude values transmitted via the serial data bus to generate the respective analogue square-wave signal U.sub.E0 and U.sub.OF known from FIG. 4.

LIST OF REFERENCE SIGNS

[0051] 1 pressure measuring device [0052] 10 pressure measuring cell [0053] 12 base body [0054] 14 membrane [0055] 16 glass solder ring [0056] 18 ventilation channel [0057] 19 cavity [0058] 20 evaluation electronics [0059] 30 evaluation circuit [0060] 40 memory [0061] 50 central processing unit. CPU [0062] 60 timer [0063] 70 changeover unit [0064] C.sub.M measuring capacitor [0065] C.sub.R reference capacitor [0066] M middle electrode [0067] R ring electrode [0068] ME membrane electrode [0069] IZ integrating branch [0070] DZ differentiating branch [0071] SG threshold value comparator [0072] RG square-wave generator [0073] VE amplifier unit [0074] DP.sub.1 digital potentiometer [0075] DP.sub.2 digital potentiometer

[0076] While the various objects of this invention have been described in conjunction with preferred embodiments thereof, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and broad scope of this specification and the attached drawings and claims.