The invention relates to a charge transfer-type sensor, comprising:
Such sensors are known, for example in order to determine the variation of a parameter to be measured, signifying, for example, an undesirable intrusion of a person into a room, the presence of a hand of a person on a door handle of an automotive vehicle or even a minimum/maximum level of liquid in a tank.
The measuring device is, for example, a capacitor, the capacitance of which varies significantly as a function of the parameter to be measured, or else a coil whose inductance varies significantly as a function of the parameter to be measured.
As it is known, the microcontroller controls the switching device, so that the microcontroller must imperatively remain active throughout the operation of the sensor. To remain active, the microcontroller must imperatively remain powered by an electrical energy source. This can cause problems concerning the lifespan of the electrical energy source, in particular for onboard applications, in the field of automotive vehicles for example, in which the energy source is an accumulator battery of necessarily finite capacity.
The invention proposes a sensor that does not have the limitations of the known sensors.
For this, the invention proposes a sensor, conforming to the above description, and also comprising: a generator of periodic command signals, external to the microcontroller for controlling the control device, and a counter external to the microcontroller, for determining a number of time intervals during which the measuring device has stored charges before the comparator supplies an end-of-measurement signal.
The counter, external to the microcontroller, consumes little energy. Moreover, the counter supplies the microcontroller with a value proportional to the parameter to be measured.
According to the invention, the microcontroller is of the type comprising a standby mode during which a proportion of the components of the microcontroller is likely to be off, another portion of the components of the microcontroller being constantly active. In this embodiment, the generator of periodic command signals and the counter of the sensor according to the invention can be components of the constantly active portion of the microcontroller.
Thus, during at least a part of the acquisition phase during which the measuring device is charged and then discharged, the microcontroller can be set to a standby mode so as to very greatly limit its electrical energy consumption. Then, when the comparator supplies an end-of-measurement signal, the microcontroller is reactivated, to determine the value of the parameter to be measured.
To limit the overall consumption of the sensor, the microcontroller is inactive as long as the end-of-measurement signal is inactive.
The invention will be better understood and other features and benefits will become apparent from reading the description of an example of an embodiment of a sensor according to the invention below. The description should be read in conjunction with the appended drawing in which:
As an example, consideration is focused here on a sensor according to the invention installed on a door handle of a vehicle, for detecting the proximity of a hand of a user to said handle. The detection of a hand can then be used for example to unlock the door.
As stated previously, the sensor comprises a measuring device, a switching device, a comparator and a micro-controller.
In the example of
The accumulation device is a capacitor Cs with a capacitance that is very much greater, for example of the order of one thousand times greater, than the capacitance of the measuring capacitor.
The switching device is, in the example of
The comparator COMP has a positive input connected to a terminal of the accumulation device Cs whose other terminal is connected to a ground of the sensor. The comparator COMP also has a negative input connected to a reference voltage source VREF. The comparator COMP supplies an end-of-measurement signal SD when the voltage at the terminals of the accumulation device becomes greater than the reference voltage VREF.
The sensor according to the invention also comprises a generator GEN of periodic command signals, external to the microcontroller MP, for controlling the switching device.
In the example of
During a so-called measurement initialization phase, the counter TIMER is set to zero and the accumulation device Cs is discharged.
The operation of the sensor is as follows.
The generator GEN produces the periodic signal SC (see
During a first so-called acquisition phase, the measuring device is charged and then discharged several times in succession, for example of the order of a few hundred times. During this phase, all or some of the microcontroller MP is in standby mode to limit the energy consumption.
The acquisition phase ends when the comparator produces the end-of-measurement signal SD, when the voltage at the terminals of the accumulation device becomes greater than the reference voltage VREF.
When the end-of-measurement signal is produced, the microcontroller MP is reactivated. It reads the value
NB of the counter TIMER, and deduce therefrom the value of the capacitance of the measuring device Cx which is proportional to the value NB of the counter TIMER. Depending on the trend over time of the capacitance of the measuring device Cx, the detection algorithm implanted in the microcontroller MP can be used to determine whether a user has approached the door handle of the vehicle and shown intent to enter therein by moving his hand closer for example.
As can be seen in
In an alternative embodiment, the comparator COMP can be incorporated in the microcontroller MP, without in any way departing from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
08/00219 | Jan 2008 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP08/10333 | 12/5/2008 | WO | 00 | 9/13/2010 |