The present invention relates to a method of calibrating a standby duration of a proximity detection sensor, more precisely of a charge-transfer capacitive sensor and an associated proximity sensor. More particularly, it relates to the application of such a sensor in the door handles of a vehicle for authorized users to have ‘hands free’ access to their vehicles.
These days, some motor vehicles are equipped with ‘hands free’ access, i.e. authorized users of the vehicle no longer need a key for opening the doors and other opening elements (hood, trunk, etc.) of their vehicle. Instead of a key, they have an identification badge (or remote control) with which the vehicle's electronic system interacts.
To open a door, for example, the driver moves close to the door handle. A capacitive presence sensor, in this case a charge-transfer capacitive sensor located in the handle, detects the presence of the driver's hand. This sensor is connected to an electronic computer of the vehicle (e.g. to the BCM or Body Control Module) and sends a presence detection signal thereto. The vehicle's electronic computer has previously identified the user as being authorized to access this vehicle, or alternatively, following the reception of this detection signal, it proceeds to this identification. For this, it sends an identification request via a LF (Low Frequency) antenna to the badge (or to the remote control) carried/worn by the user. In response this card sends its identification code, via RF (radio frequency) wave, to the vehicle's electronic computer. If the electronic computer recognizes the identification code as that authorizing access to the vehicle, it triggers the opening of the door. If, on the other hand, the electronic computer has not received an identification code or if the identification code received is incorrect, opening does not take place.
As illustrated in
When the user's hand M approaches the door handle 6, i.e. it goes from position 1 to position 2 in the direction of the arrow illustrated in
It is known from the prior art that the charge-transfer capacitive sensor 3 can be used to measure the variation ΔCX of the capacitance CX of the electrode 4 incorporated in the door handle 6 by performing a charge transfer consisting of a large number of charges and discharges of this capacitance CX in the reference capacitance CS, until reaching a set voltage threshold at the terminals of the reference capacitance CS. Estimating the variation ΔCX of the capacitance CX of the electrode 4 with respect to the previous cycle is performed based on the variation in the number of discharges of the capacitance CX of the electrode 4 in the reference capacitance CS that it took to reach this voltage threshold at the terminals of the reference capacitance CS. These capacitive sensors 3 involve switching means that can be used to direct the current to first charge the capacitance CX of the electrode 4 via the supply voltage and then discharge it in the reference capacitance CS. The charge transfer, i.e. the series of charges and discharges, according to the prior art, and illustrated in
The charge transfer is repeated until the voltage VS at the terminals of the reference capacitance CS reaches the threshold voltage VTH. The number of discharges x of the capacitance CX of the electrode 4 to the reference capacitance CS necessary to reach this threshold VTH provides an image of the capacitance CX of the electrode 4. The reference capacitance CS is then completely discharged via the switch S electrically connected to ground, in preparation for the next measurement.
A counter of the number of discharges x and a microcontroller (not represented in
The duration of the measurement phase PM for measuring the variation ΔCX in the capacitance CX of the electrode 4 (i.e. the series of 4 charge transfer steps described earlier) therefore depends on said variation ΔCX. This duration, called the evaluation duration DE, is measured using a first oscillator O1 of voltage V, generally a very accurate clock, e.g. a quartz oscillator, the oscillation frequency of which (also called the first oscillation frequency F1) is, for example, 8 MHz, each oscillation period being correlated with a unit of time t.
In order to limit the electrical consumption of the capacitive sensor 3, between two measurement phases PM, is a standby, or idle, phase PV (see
The standby duration DV of this idle phase PV is set, predetermined and controlled using a second oscillator O2 of voltage V. In order to minimize the electrical consumption during the standby phase PV, the second oscillator O2 consists of an RC circuit, including a resistor and a capacitor and is much less consuming of electrical energy than a quartz oscillator, i.e. than the first oscillator O1. The second oscillation frequency F2 of the second oscillator O2 is lower, of the order of 31 kHz, and likewise each period of oscillation is correlated with a unit of time t.
As illustrated in
The second oscillator O2 is less accurate than the first oscillator O1. Said RC circuit is sensitive to external parameters, such as the temperature or the ambient humidity and the value of its second oscillation frequency F2 varies with respect to a nominal oscillation frequency F2nom. There are also significant variations in the oscillation frequency between several supposedly identical RC type oscillators, due to the high tolerances of the components, resistor R and capacitor C.
This significant variation in the second oscillation frequency F2, impacts on the accuracy in controlling the standby duration DV, and therefore on the actual electrical consumption of the capacitive sensor 3 during said duration. The impact may be large, and between two identical capacitive sensors 3 there may be differences in electrical consumption of the order of 16%, due to the drift of the standby duration Dv caused by the variation in the second oscillation frequency F2.
The sensitivity, i.e. the reaction time of the capacitive sensor 3, is also degraded. Indeed, if the standby duration DV is extended, the capacitive sensor 3 becomes less responsive, since the duration between measurement phases PM is extended.
It is known from the prior art, to calibrate the standby duration DV using an external electronic tool that has been connected to the capacitive sensor 3, more precisely to the microcontroller 10 controlling the operation of said sensor 3 (see
This tool sends a periodic signal to the microcontroller 10 of the capacitive sensor 3 (see
However, this calibration method using an external electronic tool has several drawbacks:
Clearly, for optimizing the electrical consumption of the proximity detection sensor, the calibration method of the prior art is not satisfactory.
The invention provides a method of calibrating the standby duration of the proximity detection sensor remedying the drawbacks of the prior art.
The invention provides a method of calibrating a standby duration of a proximity detection sensor for detecting the proximity of a user, said sensor alternating between:
The invention therefore judiciously uses the accurate measurement of the evaluation duration performed by the first oscillator for correcting the drift in frequency of the second oscillator and thus calibrating the standby duration. The invention is based on the assumption that the evaluation duration, which varies according to the representative value of the user's proximity, is identical for both phases of consecutive measurements performed by each of the two oscillators.
In a second embodiment, the calibration method further includes:
Advantageously, the representative value of the user's proximity is a variation in capacitance of an electrode of the proximity detection sensor.
Judiciously, the predetermined ratio is equal to the ratio between the second nominal frequency and the first frequency.
Steps 1 through 5 may be performed at each power up of the proximity detection sensor or alternatively may be repeated at a set period of the order of 120 s.
The invention also relates to a capacitive proximity detection sensor including:
said sensor being characterized in that it further includes a calibration unit connected to the switching means and to the measuring unit included in the microcontroller and comprising:
In the second embodiment of the invention, the capacitive proximity detection sensor further includes, in addition to the means listed above, the following means:
The invention also applies to a motor vehicle door handle and to a vehicle including a capacitive proximity detection sensor according to the features listed above.
Other features and advantages of the invention will emerge on reading the following description and examining the accompanying drawings in which:
The microcontroller 10 is powered by a regulated voltage VDD (VDD=2.5 V) from the voltage of the vehicle battery.
In return it generates a signal S detecting the user's proximity near the capacitive sensor 3 to an electronic control unit (not represented) of the BCM or Body Control Module type, which manages the unlocking of the vehicle door.
The microcontroller 10 includes and controls a measuring unit 30 for measuring the variation in capacitance Cx of the electrode 4, electrically connected to a first oscillator O1 and to a second oscillator O2 via a switching means of the multiplexer type MUX.
The multiplexer MUX is used to connect the measuring unit 30 either to the first oscillator O1, or to the second oscillator O2.
As explained previously (see
The evaluation duration DE is variable and depends on the variation in the capacitance Cx.
The standby duration DV is controlled using the RC type second oscillator O2, having a second frequency F2, and being less accurate and less consuming of electrical energy than the first oscillator O1. The standby duration DV is set and predetermined, and generally of a much longer duration than the evaluation duration DE.
By setting during the standby phase PV, a set and predetermined number of oscillations of the standby phase N2, at the second oscillator O2, the measuring unit 30 controls the standby duration DV in a unit of time, e.g. in seconds. Indeed, when the second oscillator O2 has performed the number of oscillations of the predetermined standby phase N2, this means that the standby phase PV is completed, and that a new measurement phase PM can begin.
The multiplexer MUX controlled by the measuring unit 30 may therefore be used to select one or the other of the two oscillators O1, O2 for measuring and/or controlling the evaluation and standby durations DE, DV, according to the phase the microcontroller 10 is in, i.e. either in the measurement phase PM, or in the standby phase PV.
The second oscillator O2 offers the advantage of being less consuming of electrical energy than the first oscillator O1, but has the drawback of being less accurate since its second oscillation frequency F2 drifts according to parameters external to the capacitive sensor 3, such as the ambient temperature or humidity and also varies from part to part.
The result of this is that the second oscillation frequency F2 during the standby phase PV drifts and, given that the number of oscillations of the standby phase N2 is set, the standby duration DV also drifts and control of the standby duration DV becomes inaccurate.
The invention provides a capacitive sensor 3′, as illustrated in
The capacitive sensor 3′ of the invention includes a calibration unit 40 for calibrating the standby duration included in the measuring unit 30′ and electrically connected to each of the two oscillators O1, O2 via a switching means e.g. a multiplexer MUX.
The calibration unit 40 includes software enabling the standby duration DV to be calibrated using measurements made with the aid of the two oscillators O1 and O2, as described below.
The operation of the calibration unit 40 is described below and is illustrated in
The phase of measuring PM the representative value of the users proximity, (i.e. the variation in the capacitance Cx of the electrode 4) during which the evaluation duration DE is measured using the first oscillator O1, is followed consecutively by a second measurement phase PM2 during which a second evaluation duration DE2 is measured using the second oscillator O2.
The calibration unit 40 receives from the first oscillator O1 a first number of oscillations N1′ implemented during the measurement phase PM at its first oscillation frequency F1. Then a second measurement phase PM2 is immediately repeated, and a second evaluation duration DE2 is this time measured using the second oscillator O2 at its second frequency F2′. The calibration unit 40 then receives from the second oscillator O2 a number of oscillations N2′ which are produced during said repetition of the measurement phase PM2.
The second number of oscillations N2′ is then divided by the first number of oscillations N1′. A ratio of number of oscillations
is then calculated.
This ratio of number of oscillations
thus calculated is compared with a predetermined ratio R.
The predetermined ratio R is equal to the ratio R between the second nominal frequency F2nom and the first frequency F1 respectively of the second and first oscillator O2, O1, that is
The second nominal frequency F2nom is obtained when the second oscillator O2 does not display any drift in its second frequency F2.
With regard to the first frequency F1, given that the first oscillator O1, of the quartz clock type does not undergo any drift, this first frequency F1 is assumed to be constant and does not vary.
A deviation D between the calculated ratio R′ and the predetermined ratio R is calculated.
Thus:
During the standby phase PV, the number of oscillations of the standby phase N2 is then corrected according to the deviation D thus calculated in order to obtain a corrected number of oscillations for the standby phase N2corr and to calibrate a new standby duration Dv′ (see
Thus:
The invention is based on the assumption that the evaluation duration DE remains the same between the two consecutive measurement phases PM, PM2 performed by each of the two oscillators O1, O2, i.e. DE=DE2 (see
Thus, the ratio of the number of oscillations
of the two oscillators O1, O2 is assumed to be equal to the ratio of the frequencies
Indeed:
It is assumed that
DE=DE2
And therefore:
With:
In order to perform the calibration method according to the invention, the calibration unit 40 comprises (see
These various means M1, M2, M3, M4, M5, M6 are in the form of software.
In a second embodiment, a third measurement phase PM3 by the first oscillator O1 is performed (DE3, see
The calibration unit then receives a third number of oscillations N3′ performed during this third measurement phase PM3 by the first oscillator O1.
Thus, the measurement of the second evaluation duration DE2 by the second oscillator O2 is flanked by two measurements of the evaluation duration DE, DE3 performed by the first oscillator O1. It is immediately preceded and immediately followed by a measurement of the evaluation duration, DE, DE3, by the first oscillator O1.
If the first and third number of oscillations N1′ and N3′ measured by the first oscillator O1 during the measurement phase and the third measurement phase PM, PM3 are equal then, the ratio of the number of oscillations R′ is calculated, compared with the predetermined ratio R and the standby duration DV′ is corrected (by correcting the number of oscillations of the standby phase N2) according to the deviation D calculated, as explained previously.
If the first and third number of oscillations N1′ and N3′ measured by the first oscillator O1 during the measurement phase and the third measurement phase PM, PM3 are not equal then the calibration procedure stops.
For implementing the second embodiment of the calibration method according to the invention, the calibration unit 40 comprises, in addition to the means used for the first embodiment and detailed above (M1, M2, M3, M4, M5, M6), the following means:
A calibration phase PCAL according to the invention therefore includes:
The evaluation durations DE, DE2, DE3 each time being measured by the calibration unit 40 by counting the number of oscillations N1′, N2′, N3′ performed by each of the first and second oscillators O1, O2.
In the first embodiment of the invention, the method of calibrating the standby duration DV of a capacitive sensor 3 therefore includes the following steps:
In the second embodiment of the invention, the calibration method further includes:
Of course, the calibration phase PCAL consumes more electrical energy than a measurement phase PM, since it includes two or even three successive measurement phases PM, PM2, PM3. It must not be repeated during each measurement phase PM. For example, the calibration phase PCAL is performed at each power up of the capacitive sensor 3 then it is repeated after a predetermined number x of measurement phases PM, or after a predetermined delay.
However, once performed, it reduces the electrical consumption during the x following standby phases PV, up to the next calibration phase PCAL.
It has been estimated that for a measurement phase PM repeated every 21 ms, of 1 ms duration, a standby phase of 19 ms duration with a calibration phase PCAL (steps 1 through 5) the duration of which is equal to 45 ms (3×15 ms) and which is repeated every 120 s, the calibration method according the invention, reduces the electrical consumption of the capacitive sensor 3 by about 14% and improves its reaction time by 19%.
The invention therefore judiciously uses the accurate measurement of the evaluation duration performed by the first oscillator for correcting the drift in frequency of the second oscillator and thus calibrating the standby duration.
Unlike the calibration method of the prior art, the calibration method according to the invention does not require any dedicated electronic tool, can be performed at each power up of the capacitive sensor, or periodically (e.g. every two minutes), does not require that the automobile be immobilized and is transparent to the driver.
The calibration method is fast and lasts 30 ms (PM, PM2) to 45 ms (PM, PM2, PM3). It enables the frequency drift of the oscillator dedicated to managing the standby duration to be corrected. The excess electrical consumption is reduced and the reaction time of the sensor is maintained.
Number | Date | Country | Kind |
---|---|---|---|
14 61314 | Nov 2014 | FR | national |
Number | Name | Date | Kind |
---|---|---|---|
3129415 | McKnight | Apr 1964 | A |
5651384 | Rudrich | Jul 1997 | A |
7023221 | Lin | Apr 2006 | B1 |
9651355 | Ujvari | May 2017 | B2 |
20070200669 | McBride et al. | Aug 2007 | A1 |
20100164479 | Alameh et al. | Jul 2010 | A1 |
20130194069 | Baudru et al. | Aug 2013 | A1 |
Number | Date | Country |
---|---|---|
102440063 | May 2012 | CN |
103125072 | May 2013 | CN |
4226053 | Feb 1993 | DE |
0 629 759 | Dec 1994 | EP |
0724044 | Jul 1996 | EP |
2 964 517 | Mar 2012 | FR |
Entry |
---|
FR Search Report, dated Jul. 9, 2015, from corresponding FR application. |
Number | Date | Country | |
---|---|---|---|
20160145909 A1 | May 2016 | US |