This application claims priority from European Patent application No. 13151668.4 filed Jan. 17, 2013, the entire disclosure of which is hereby incorporated by reference.
The present invention relates to a measuring circuit comprising a control block for controlling said circuit, a time base for providing a clock signal in order to time said circuit, a sensor block which is designed to provide an output signal, said measuring circuit comprising in addition a first counting block which is timed to the clock frequency and a second counting block which is timed by the frequency of the output signal of the sensor block.
Humidity sensors are formed by two armatures, each provided with a plurality of arms. The two armatures are designed to be interleaved with each other and have a dielectric between each other. These armatures are supplied with voltage so that their interleaving causes the creation of a capacitance.
This humidity sensor functions such that, when the degree of moisture in the air increases, molecules of water infiltrate between the two armatures into the dielectric. This infiltration of water causes a modification in the capacitance which makes it possible to quantify the degree of moisture during a measurement by applying a voltage. The humidity sensor can be a structure connected to an integrated circuit or be directly included in the integrated circuit.
Several methods are known for determining a humidity value from this capacitance.
A first method consists of connecting, at the output of the humidity sensor, a charge amplifier in order to obtain a voltage signal which is representative of the degree of moisture. This signal is sent to a signal conditioner which prepares the signal to be sent to an analogue-digital converter so as to provide a numerical value N. This numerical value N is then sent to a circuit which linearises it because the curve of the capacitance as a function of the degree of moisture is not linear. A numerical value N which is a function of the capacitance C of the sensor is then obtained.
A second method consists of connecting, at the output of the humidity sensor, a circuit in order to obtain a frequency signal which is representative of the degree of moisture. In fact, this variable capacitance is inserted in a resonator so as to produce an RC oscillator. Consequently, the frequency output from said resonator is dependent upon the value of the capacitance and therefore upon the degree of moisture. This frequency is sent to a signal conditioner which prepares the signal to be sent to an analogue-numerical converter so as to provide a numerical number N. This signal conditioner can be a numerical frequency demodulator or an assembly formed by a circuit which makes it possible to convert this frequency signal into voltage then to convert it into a numerical value N which will be processed in order to obtain the value of the physical quantity.
A disadvantage of these two methods is that they require a circuit which comprises a large number of components, i.e. a circuit, the manufacturing cost of which is high but also which requires a larger silicon surface during integration in an integrated circuit. For this reason, the number of measuring circuits per circuit board is less.
The aim of the invention is to remedy the disadvantages of the prior art by proposing to provide a measuring circuit which is precise whatever components are used and which is less expensive, in particular during implementation in an integrated circuit.
To this end, the invention relates to a measuring circuit comprising a control block for controlling said circuit, a time base for providing a clock signal in order to time said circuit, a sensor block which is designed to provide an output signal, said measuring circuit comprising in addition a first counting block which is timed to the clock frequency and a second counting block which is timed by the frequency of the output signal of the sensor block, characterised in that the sensor block is designed to provide, as output signal, a first signal, the frequency of which is representative of the measured physical quantity or a second signal, the frequency of which is a reference frequency and in that the control block controls the measuring circuit so that the first and second counting blocks work according to a first phase in which the first and second counting blocks count and a second phase in which the first counting block counts and the second counting block counts down and in that the timing frequency of the second counting block during the first phase is different from that during the second phase.
In a first advantageous embodiment, the second counting block is timed by the frequency of the second signal during the first phase and by the frequency of the first signal during the second phase.
In a second advantageous embodiment, the control block comprises a control circuit and a sequencer block.
In a third advantageous embodiment, the second counting block comprises a zero detector connected to the sequencer block.
In another advantageous embodiment, the sensor block comprises an oscillator, a first variable-value electronic component and a second fixed-value electronic component, the first and the second electronic component being connected in parallel to the oscillator by means of commutation means and in that the first electronic component makes it possible to provide the first signal and in that the second electronic component makes it possible to provide the second signal.
In another advantageous embodiment, the first component and the second component each comprise a first terminal and a second terminal and in that the commutation means comprise a first and a second controllable switch, which are connected in series between the first terminal of the first component and the first terminal of the second component and a third and a fourth controllable switch, which are connected in series between the second terminal of the first component and the second terminal of the second component, the connection point between the first and the second controllable switch and the connection point between the third and the fourth controllable switch being connected to the oscillator unit.
In another advantageous embodiment, the first component and the second component are capacitors.
In another advantageous embodiment, the first component and the second component are resistors.
In another advantageous embodiment, the first component and the second component are inductance coils.
In another advantageous embodiment, the sensor block is able to measure the degree of moisture.
In another advantageous embodiment, it comprises in addition a linearization circuit.
The invention likewise relates to a method for management of a measuring circuit comprising a control block for controlling said circuit, a resonator for providing a clock signal in order to time said circuit, a sensor block which is designed to provide an output signal, said measuring circuit comprising in addition a first counting block which is timed to the clock frequency and a second counting block which is timed by the frequency of the output signal of the sensor block, characterised in that the sensor block is designed to provide, as output signal, a first signal, the frequency of which is representative of the measured physical quantity or a second signal, the frequency of which is a reference frequency and in that said method comprises the following steps:
1) selecting the second signal, the frequency of which is a reference frequency as output signal of the sensor block;
2) starting the counting of the first counting block which is timed by the clock signal and of the second counting block which is timed by the output signal of the sensor block;
3) when the first counting block reaches a first predefined number, it is reset at zero and the second counting block stops counting;
4) selecting the first signal, the frequency of which is representative of the measured physical quantity as output signal of the sensor block;
5) starting the counting of the first counting block which is timed by the clock signal and the counting down of the second counting block from the value counted during step 3), said second counting block being timed by the output signal of the sensor block;
6) when the second counting block reaches a second predefined number:
7) determining, from the value counted by the first counting block, the value of the physical quantity measured by the sensor block.
In another advantageous embodiment, the second predefined number is zero.
In another advantageous embodiment, the first predefined number is dependent upon the resolution of the counter.
In another advantageous embodiment, it comprises in addition a final step which is intended to linearise the value counted by the first counting block as a function of the measured physical quantity, this step consisting of squaring said value counted by the first counting block.
The invention relates in addition to a wearable electronic object comprising the measuring circuit according to the invention.
The aims, advantages and features of the measuring circuit according to the present invention will appear more clearly in the following detailed description of at least one embodiment of the invention, given solely by way of non-limiting example and illustrated by the annexed drawings in which:
This measuring circuit 100 comprises in addition a sensor block 106 for providing an indication of a physical quantity. In the present case, the sensor block 106 is used to measure the degree of moisture. The sensor block 106 comprises a humidity sensor or unit for measuring humidity 109. This humidity sensor 109 has the form of a micromechanism of the MEMS type, composed of two electrically supplied armatures. When the humidity increases, molecules of water infiltrate between the armatures so that the capacitance between these varies. The humidity sensor 109 will be represented by a variable capacitor Cs comprising a first contact terminal and a second contact terminal.
Advantageously according to the invention, the sensor block 106 comprises, in addition to the sensor 109, an oscillator unit 107 comprising a reference capacitor C0 and an RC oscillator 107a. The reference capacitor C0 comprises a first contact terminal and a second contact terminal. The first contact terminal of the capacitor C0 is connected to the first contact terminal of the humidity sensor via commutation means 120, as a first T1 and a second T2 controllable switch. The second contact terminal of the capacitor C0 is connected to the second contact terminal of the humidity sensor via commutation means, as a third T3 and a fourth T4 controllable switch. The controllable switches can be transistors. This configuration makes it possible to connect the reference capacitor C0 or the variable capacitor Cs acting as humidity sensor to the RC oscillator 107a. This RC oscillator 107a works on the principle of an RC circuit made to oscillate, the frequency being dependent upon the value of the resistance R and upon the value of the capacitance of the capacitor C so that the frequency of an RC oscillator equals:
with gm which is the transconductance of the MOS transistors N3 and N4 and CL an internal charge capacitance.
In the case of the present invention, the RC oscillator unit 107 comprises three elements, i.e. a sweep oscillator 1070 connected to a polarisation block 1072 and a clock extractor block 1071, as can be seen in
The sweep oscillator likewise comprises four commutation transistors (T1, T2, T3 and T4) which are the commutation means 120. The transistors T1 and T3 are designed so that the drain of T1 is connected to the drain of N1 and so that the source of T3 is connected to the drain of N2, the capacitance C0 being connected between the source of T1 and the drain of T3. The transistors T2 and T4 are connected so that the source of T2 is connected to the drain of N1 and so that the source of T4 is connected to the drain of N2. The gates of T1 and T3 are connected to a first terminal IN1 and the gates of T2 and T4 are connected to a second terminal IN2 so as to be able to be commutated. The structure of the sensor, i.e. the variable capacitance Cs, is connected between the drains of T2 and T4. It is noted that the sweep oscillator has an internal capacitance CL between the terminal of the resistor R1 which is connected to the transistor N3 and the terminal of the resistor R2 which is connected to the transistor N4. There is obtained a frequency:
For this reason, the frequency provided at the output of the sensor block 106 will be dependent upon the capacitance of the variable capacitor Cs, in order to give a first frequency signal Fs which is representative of the measured physical quantity, or of the reference capacitor C0 in order to give a second frequency signal Fref which is a reference signal.
Furthermore, the measuring circuit 100 comprises a first counting block 108 which is connected to the time base 104 and a second counting block 110 which is connected to the output of the sensor block 106. The first counting block 108 and the second counting block 110 are synchronised, i.e. they are controlled simultaneously. In order to control the first 108 and the second 110 counting block, the control circuit 103 is used. The control block 102 comprises a unit for synchronisation of the counters. The control block 102 comprises in addition a sequencer block 112. This sequencer block 112 is used to act, at the same time, on the first 108 and second 110 counting blocks but also on the sensor block 106. This configuration makes it possible to use a method for calculating the physical quantity according to the invention. This method is termed double gradient method. This method proceeds in two phases, a diagram of which can be seen in
In a first phase, the control circuit 103 and the sequencer block 112 control the measuring circuit 100. The sequencer block 112 controls the sensor block so that the output frequency of the sensor block 106 is the reference frequency Fref, i.e. the sequencer block 112 ensures that the second T2 and fourth T4 switches are open when the first T1 and third T3 switches are closed.
Furthermore, the control circuit 103 and the sequencer block 112 control the measuring circuit 100 so that the first counting block 108 and the second counting block 110 begin to count. The first counting block 108 counts by being timed by the frequency of the time base Fclk while the second counting block 110 counts by being timed by the output frequency of the sensor block, i.e. the reference frequency Fref. The first counting block 108 is configured to count up to a first predefined number Nclk. The second counting block 110 is synchronous with the first counting block, i.e. the first counting block 108 and the second counting block 110 begin to count or start simultaneously. When the first counter reaches the predefined number Nclk, it stops counting and the second counting block 110 likewise stops counting.
Once the first counting block 108 has reached the predefined number Nclk and has changed to zero, the second phase can begin. This change to zero is detected by the control circuit 103. This control circuit 103 and the sequencer block 112 act on the second counting block 110 so that the latter changes from a counting mode to a counting down mode.
This phase consists firstly of permuting the output frequency of the sensor block 106. The sequencer block 112 acts such that the second T2 and fourth T4 switches are closed when the first T1 and third T3 switches are open.
The output frequency is therefore dependent upon the physical quantity measured by the sensor.
Then, in this second phase, the first counting block 108 begins again to count whilst the second counting block 110 begins to count down. The second counting block 110 begins to count down from the saved number Nref. The count down takes place then by being timed by the output frequency of the sensor block 106, i.e. the frequency representative of the measured physical quantity Fs. Each counting block is provided with a zero detector so that when the second counting block 110 reaches a second predefined number which is zero, the first counter 108 stops counting also. The number Ns which is counted by the first counter 108 is then saved.
The various values of Nref, Nclk and the values of the various frequencies make it possible to calculate the value of the physical quantity. These values are transmitted to the control circuit 103 or to a calculation circuit, not represented in the Figures, which has the task of providing the value of the measured physical quantity.
In fact, from the first phase, it is accepted that
For this reason:
Then, from the second phase, it is accepted that:
By combining equations 1 and 2, there is therefore obtained:
By knowing the formulae of the frequencies of the RC oscillators for the frequencies Fref and Fs, these formulae can be introduced into equation 4 which gives:
Therefore a number Ns which is independent of the frequency of the time base is obtained. This confers the advantage of having a circuit, the frequency of the time base 104 of which does not then need to be precise because it has no influence on the measured value.
In order to linearize the relation between the capacitance measured by the sensor and the number Ns given by the counter 108, the number Ns is squared by a linearization circuit 114 in order to obtain the number Nsl which gives:
This linearization circuit 114 provides, at the output SNOUT, the number Nsl ready to be used by a processor for example.
Now the number Nclk is dependent upon the resolution of the circuit. In fact, the data provided by the counting blocks 108, 110 are transmitted on a given bit number, since the greater the bit number, the greater is the precision. Which means that the number Nclk is equal to 2resolution with the resolution which is equal to the bit number used.
Consequently,
It is therefore noted that the number NSl which makes it possible to obtain the value of the measured physical quantity is independent of the frequency of the measuring circuit 100 but also independent of the resistance R of the RC oscillator 107a of the sensor block 106 or of the transconductance gm of the transistors of the oscillator 107a and of the internal capacitance CL of the oscillator 107a.
Now, via a prior step during manufacture of the sensor block 106, a standardisation is effected so that the capacitance Cs for a degree of moisture of 0% is defined and so that the capacitance Cs for a degree of moisture of 100% is defined. For this reason, it is defined that the number Nclk squared corresponds to the maximum degree of moisture and by rapid calculation, the degree of moisture can be determined as a function of the measured number Nsl.
It is conceivable that this method is used on an ad hoc basis. There is meant by this that the first and second phases can be effected at a regular interval in order to have a measurement of the physical quantity at a regular interval. This measuring frequency can be defined or given a parameter. Likewise, it is possible that this measurement of the physical quantity using the method and the circuit according to the invention is performed on demand. It is understood that the user activates a command when he wants to know the value of the physical quantity.
In a variant, the measuring circuit 100 will not be limited to a sensor block 106 for measuring the degree of moisture and will be extended to other physical quantities which can be measured with a capacitive sensor.
In an alternative, the sensor block 106 will not be capacitive but inductive. Because of this, the sensor will comprise a structure acting as variable inductance which will be connected to an oscillator of the LC type for example. Likewise, a sensor using a variable resistor might be used, said variable resistor being connected to an RC oscillator.
Number | Date | Country | Kind |
---|---|---|---|
13151668 | Jan 2013 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
3483437 | Coyne | Dec 1969 | A |
3636444 | Strawn | Jan 1972 | A |
4282480 | Fujito | Aug 1981 | A |
4319185 | Hill | Mar 1982 | A |
4392382 | Myers | Jul 1983 | A |
4517622 | Male | May 1985 | A |
4743836 | Grzybowski | May 1988 | A |
4751654 | Lyyra | Jun 1988 | A |
4793187 | Kordts | Dec 1988 | A |
5123035 | Hottinger | Jun 1992 | A |
5291534 | Sakurai | Mar 1994 | A |
5488645 | Mori | Jan 1996 | A |
5554937 | Sanders | Sep 1996 | A |
5991182 | Novac | Nov 1999 | A |
6373264 | Matsumoto | Apr 2002 | B1 |
6433524 | Yang | Aug 2002 | B1 |
6509804 | Piazza | Jan 2003 | B2 |
6809507 | Morgan | Oct 2004 | B2 |
6930917 | Novac | Aug 2005 | B2 |
7030709 | Novac | Apr 2006 | B2 |
7598821 | Novac | Oct 2009 | B2 |
7804307 | Bokma | Sep 2010 | B1 |
8330603 | Gibb | Dec 2012 | B1 |
8760302 | MacDonald | Jun 2014 | B1 |
8909847 | Novac | Dec 2014 | B2 |
20050087620 | Bowers | Apr 2005 | A1 |
20080100350 | Pernia | May 2008 | A1 |
20090322351 | McLeod | Dec 2009 | A1 |
20100271144 | McCorquodale | Oct 2010 | A1 |
20110316558 | Pfaffinger | Dec 2011 | A1 |
20130009652 | Lu | Jan 2013 | A1 |
20150130482 | van Lammeren | May 2015 | A1 |
20150130648 | Krau | May 2015 | A1 |
Number | Date | Country |
---|---|---|
58-182502 | Oct 1983 | JP |
2004-309501 | Nov 2004 | JP |
Entry |
---|
European Search Report issued Jun. 25, 2013 in European 13151668.4, filed Jan. 17, 2013 (with English Translation). |
Number | Date | Country | |
---|---|---|---|
20140197849 A1 | Jul 2014 | US |