The invention relates to measuring resistance of a sensor, which is controlled by a resistive divider with an automatic selection of a resistor of the divider mostly for higher accuracy, rate and safety of the process.
Sensing of many physical and physico-chemical quantities (e.g. temperature, luminous flux, deformation, concentration) is done by resistive sensors, the value of resistance of the sensor being in certain causal relationship with the value of measured quantity. Different measuring methods for determining the resistance of the sensor are used. Basically, it is a connection of the sensor to a simple voltage divider with a resistor of a known resistance value, connection to a resistance bridge, measuring of voltage drop during the passage of a known forced current, and measuring or integration of the passing current with a known applied voltage. The selection of particular measuring method is done with respect to the required parameters of the resulting device, such as sensitivity, range of resistance values corresponding to the full range of values of the measured quantity, response rate, power consumption, simplicity, reliability, production costs, etc.
In terms of sensitivity and range, it is possible to roughly sort the sensors into two groups: (i) full range of values of the sensed quantity corresponds only to a small range of resistance of the sensor; (ii) full range of values of the sensed quantity corresponds to the change of resistance of the sensor by several orders of magnitude. Sensors in the first group are appropriately connected to a bridge arrangement. In case of sensors characterized in an order-of-magnitude change of resistance, it is preferred that the signal processing circuit allows a change of sensitivity according to the actual resistance value of the sensor. This ensures that measuring is done with sufficient resolution in the full range of values of resistance. If the output of the sensing circuit is the voltage magnitude (Uout), it is possible to define sensitivity (s) by the following relation:
When connecting the sensor with resistance Rs to the voltage divider with a resistor Rd and applied voltage Uin, the following relation for sensitivity was derived:
Sensitivity, while connected to the divider, is highest for Rd=Rs and decreases to approximately a third of the highest value if the value of resistance of the resistor Rd is increased or decreased by one order of magnitude with constant resistance of the sensor Rs.
It is possible to define the resolution of measurement by minimal detectable relative change of resistance of the sensor (ΔminRs/Rs) corresponding to the minimal measurable said output voltage ΔminUout in given sensor connection. The quantity ΔminRs/Rs basically represents the minimal percentage change of resistance of the sensor perceptible by the given measuring device; the lower ΔminRs/Rs is, the higher is the resolution of measurement. Derivation of the relation for dependence of resolution on the ratio of resistance of the sensor Rs and the resistor of the divider Rd starts with the formula for output voltage when connecting the sensor to the voltage divider (
where Uin is the voltage applied on the divider.
The difference of output voltage for two different values of resistance of the sensor Rs,1 and Rs,2 is
wherefrom the resistance of the sensor Rs,2 as a function Rs,t and ΔUout can be derived:
and minimal detectable relative change of resistance of the sensor can be then represented as
The relation stated above is valid under the condition that Rs,2→Rs,t (=Rs), i.e. for small changes of resistance in comparison with the total resistance of the sensor. The dependency of ΔminRs/Rs (in percentage) on the ratio Rd/Rs for Uin=1 V and ΔminUout=1 mV (approximately corresponds to measurement using a 10-bit ADC having the input range of 0-1 V) is shown in
Thus, it is necessary to choose the resistor of the divider with respect to the optimal sensitivity and resolution of measurement, which depends on resistance of the sensor. When the resistance of the sensor varies in a wide range, a single resistor may not be sufficient, and the measuring circuit must contain more resistors connected into the divider manually or by electronic selector according to the actual values of resistance of the sensor.
Especially in the case of high resistance of the sensor, and thus of the resistor of the divider as well (MΩ and higher), the measuring is complicated by electromagnetic interference (EMI) which is effectively captured by connecting conductors. EMI spreads through the space from sources such as electric wiring, switching power supplies, and all kinds of other electric and electronic devices. The effect of EMI can be limited by various means, e.g. by conductor and measuring equipment shielding or by increasing the applied voltage Um. However, depending on the required parameters of the device and circumstances of its usage, such means can be inappropriate. Shielding increases requirements for space and can complicate the installation of the sensor into the measured environment. Increase of the applied voltage (e.g. to dozens or hundreds of volts) limits the effect of EMI and, moreover, increases the resolution (for constant ΔminUout, see relation (6)). A disadvantage is the risk of facilitating electrochemical changes in the sensor (humidity sensors) and the necessity to provide corresponding power supply; an obstruction in this approach is that the maximum applied voltage of some types of sensors is limited.
Drawbacks of the state of the art include the necessity to shield electromagnetic interference caused by the presence of external electric fields for example of electrical wiring in walls, radiation of electronic devices in the environment. Negative result of usage of the high voltage is a possible damage to the sensor and decrease in safety while working with the measuring device. Present solutions do not offer a measuring device with high sensitivity as well as a wide range of resistance change of the sensor.
The aim of this invention is to determine resistance of the sensor in the wide range of values, with the option of automatic selection of sensitivity on the basis of the actual value of resistance of the sensor with the highest possible sampling rate and with the usage of low voltage.
The said drawbacks are eliminated by a new method of measuring resistance of the resistive sensor including the resistive sensor connected in series with an actively controlled resistor network (hereinafter only ACRN) and with a periodic waveform voltage source, wherein ACRN forms individual branches containing a resistor and a switching element, which can be a unipolar transistor. Individual branches, or rather resistors, are then connected into the circuit by means of switching elements, which causes the change of overall resistance of the divider, which is given by the value of resistances R0-Rn connected in parallel.
The voltage at the node between the resistive sensor and ACRN is a function of resistance of the resistive sensor, wherein this voltage is followed by an operational amplifier connected as voltage follower or by any other device enabling following of the voltage value.
The advantage of the invention lies in the high range of sensitivity of the measuring device due to the possibility of an order-of-magnitude change of the resistance by connecting individual branches of ACRN. Further advantage is the usage of alternating voltage with low amplitude which results in higher safety of work with the measuring device. Further, there is no risk of damaging the sensor by the effect of high voltage.
Preferably, it is possible to use series connection of two and more switching transistors in the branch of ACRN, which results in the increase of input resistance of the said branch, which then will not cause manifestations of parasitic resistance, unless it is connected into the circuit.
Further advantage of the invention is the suppression of parasitic capacitances between DRAIN and GATE electrodes of switching transistors, or between SOURCE and GATE electrodes of switching transistors, by means of superposition of the output of voltage follower on the GATE electrodes of switching transistors, which makes it possible to increase the used frequency of applied voltage and thus the response rate of the device.
In a preferred embodiment, the ACRN contains at least two branches connected in parallel. Preferably, values of resistance of branch resistors then form geometric series. This results in the increase of the range of sensitivity of the measuring device, which can be then used also when the resistance of the resistive sensor varies by several orders of magnitude.
Another advantage of the invention is the usage of analog or digital filter at the output of the operational amplifier, which passes only the frequency of voltage source, which removes disturbances by the effect of electromagnetic interference from external electric fields.
In a preferred embodiment, a branch resistor R0 is permanently connected in the actively controlled resistor network, wherein the value of resistance of this resistor is lower than the input impedance of the operational amplifier. In this embodiment, the maximum value of the overall resistance of ACRN is then given by the value of resistance of the branch resistor R0.
Basically, the invention can be made in two embodiments. In the first embodiment, the branches of the actively controlled resistor network are connected in parallel to the permanently connected ballast resistor R0; hence it is possible to achieve switching of individual branches independently. Due to that it is then possible to obtain more variability in the values of the overall resistance of the actively controlled resistor network. In the second embodiment, the individual branches are connected in parallel to the branch resistor of the preceding branch. In this embodiment, the branches can be switched on only if all the preceding branches are switched on.
In a preferred embodiment, the resistive sensor and the actively controlled resistor network are connected by a shielded cable, wherein the non-inverting input of the operational amplifier is connected to the shielded cable and its shielding layer to the output of the operational amplifier. With such connection, the effect of electromagnetic interference is suppressed and at the same time the undesired effect of a parasitic capacitance of the shielded cable is eliminated.
The invention is further clarified by means of exemplary embodiments, which are described by means of the attached drawings, where:
The basis of the invention is a voltage divider formed by the connection of the actively controlled resistor network 3 (referred to as ACRN) with two terminals between the nodes A 2 and B 4, and a sensor 5 between the nodes marked as B 4 and C 6, see
It is preferred that the values of resistances of branch resistors in individual branches 10 form a geometric series which can provide, by appropriate connection of individual resistors, sufficient resolution of measurement in case there is a change of resistance of the sensor 5 by several orders of magnitude. Further, it is preferred that one branch 10 containing branch resistor R0 with the highest value of resistance (RACRN,max) does not contain a switching element and is thus included into the divider permanently. The resistance of switching elements in a switched-off state should be many times higher than the highest value of resistance of resistors in ACRN 3. For this purpose, it is possible to use series connection of multiple switching transistors T1.
Periodic waveform voltage uin(t) is applied between the nodes A 2 and C 4. It is preferred to define one of the A 2 and C 6 as a common node, or a reference conductor, to consider its potential (VA, VC respectively) as being constant or zero (Vref=VA=0, or Vref=VC=0) and to relate all other potentials to that potential. The waveform of uin(t) can be harmonic (sine) or other (rectangular, sawtooth, etc.). By means of the operational amplifier 9 connected as voltage follower, the potential waveform in the node B 4 is followed. The input impedance of the operational amplifier 9 should be many times higher than the maximum value of resistance of actively controlled resistor network 3 to prevent undesired load of the divider. The potential waveform at the output of the operational amplifier 9 (vB(t)) then corresponds to the superposition of (i) applied voltage uin(t) divided by the divider formed by the resistance of the sensor 5 RS and the resistance of the actively controlled resistor network 3 RACRN and (ii) of potential induced as a result of EMI (vEMI(t)):
Parasitic capacitances between GATE and DRAIN or SOURCE electrodes of transistors in ACRN 3 and the capacitance of the shielded cable 8, in case of its usage between the node B 4 and the sensor 5 together with resistors in the divider, form a low-pass filter which can decrease amplitude of the potential vB(t) depending on the frequency of uin(t). The elimination of this low-pass filter can be achieved by superposition of vB(t) on the potential applied on GATE electrodes of switching transistors of the ACRN 3 and by applying vB(t) on the shielding layer of the shielded cable 8, if used. Thus, it is ensured that the parasitic capacitors are charged by a source with low output impedance (operational amplifier 9) and that they do not load the voltage divider. If the potential of the GATE electrode causing switching on of a given transistor is referred as VG, potential of the GATE electrode applied for the purpose of switching the transistor T1 off and on is referred to as Voff and Von, respectively, it is necessary to ensure that
V
on
+v
B(t)>VG∧Voff+vB(t)<VG for transistors with N-channel
V
on
+V
B(t)<VG∧Voff+VB(t)>VG for transistors with P-channel.
Conditions mentioned above can be fulfilled by the selection of sufficiently low amplitude of uin(t) and, in case of strong interference, the output of operational amplifier 9 can be subjected to filtration by an analog filter passing fully the frequency of uin(t) and suppressing EMI frequencies.
A necessary prerequisite for determining the resistance of the sensor is elimination of the effect of EMI. The output of the operational amplifier 9 filtered by an analog or digital filter (vB,f(t)) corresponds to the potential waveform in the node B 4 modified by the transfer function H of a given filter, i.e. after being introduced to the relations (7a) or (7b):
It is Preferred to Select the Filter so that H(vEMI(t))=0 (Elimination of Effect of EMI); the following then applies:
On the basis of the relation (9a) or (9b), the knowledge of transmitting function of the filter H, and the currently set value of resistance ACRN 3 RACRN, it is possible to determine the resistance of the sensor 5 Rs.
An example of an embodiment of the invention is in
In case that the common potential G1 of GATE electrodes of the first and the second switching transistor TX1N and TX1P is lower than the threshold voltage of these auxiliary switching transistors (e.g. 0 V), the second auxiliary switching transistor TX1N is closed and the first auxiliary switching transistor TX1P is opened. Then, the potential on GATE electrodes of switching transistors T1 has a DC component UP1 and an AC component determined by the output of the operational amplifier 9 which is provided by the second auxiliary resistor RX1 and the auxiliary capacitor CX1; an appropriate potential UP1 is selected (e.g. +5 V) so that the potential on GATE electrodes of switching transistors T1 has, in every time point, a higher value than the threshold value of the switching transistors T1 which are therefore opened. The resistance of ACRN 3 is determined by a parallel connection of the permanently connected branch resistor R0 and the branch resistor R1.
In an entirely analogous way, the branch resistors R2 and R3 are connected through common potentials of GATE electrodes of auxiliary switching transistors G2 or G3. To connect the branch resistor R2, it is necessary to connect the branch resistor R1 as well; analogously, to connect the branch resistor R3, it is necessary to connect the branch resistors R1 and R2 as well. The resistance of ACRN 3 for values of resistance of branch resistors R0-R3 shown in
Another option of the connection is shown in
The shielded cable 8 is used to connect non-inverting input of the operational amplifier 9 and the resistive sensor 5. The output of the operational amplifier 9 is applied on the shielding layer of the shielded cable 8 for the purpose of suppressing the effect of capacitance of the shielded cable 8.
Number | Date | Country | Kind |
---|---|---|---|
PV 2018-158 | Mar 2018 | CZ | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CZ2019/050014 | 3/29/2019 | WO | 00 |