Method for Operating a Pressure Measuring Cell of a Capacitive Pressure Sensor
20230288282 · 2023-09-14
Assignee
Inventors
Cpc classification
G01L9/12
PHYSICS
G01L9/0075
PHYSICS
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]
[0013]
[0014]
[0015]
[0016]
[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]
[0032]
[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]
[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
[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]
[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
[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
[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:
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]
[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
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.