Presence detection method and device with multiple detection areas for a motor vehicle
11333784 · 2022-05-17
Assignee
Inventors
Cpc classification
H03K2217/960705
ELECTRICITY
H03K2217/960745
ELECTRICITY
E05B81/77
FIXED CONSTRUCTIONS
G01V3/08
PHYSICS
International classification
G01R27/26
PHYSICS
E05B81/76
FIXED CONSTRUCTIONS
Abstract
A presence detection device including a sensor connected to a microcontroller, the sensor including a first detection capacitor arranged in a first detection area, and a second detection capacitor arranged in a second detection area. The microcontroller is configured to recurrently repeat a phase of measuring a measurement signal by charging/discharging the first detection capacitor from/into the second detection capacitor, and to detect a presence of a user in the first detection area and/or the second detection area according to the measurement signal. Also disclosed are a motor vehicle including a detection device and a detection method.
Claims
1. A device for detecting the presence of a user of a motor vehicle, comprising: a microcontroller; a sensor connected to the microcontroller, said sensor including: a first electrode, forming a first detection capacitor, arranged in a first detection area of the sensor such that a first capacitance of the first detection capacitor varies when a user is in front of the first detection area in proximity to the first detection capacitor, and a second electrode, forming a second detection capacitor, arranged in a second detection area of the sensor such that a second capacitance of the second detection capacitor varies when the user is in front of the second detection area in proximity to the second detection capacitor, and said microcontroller is configured to recurrently repeat a measurement phase including: a step of completely discharging the first detection capacitor and the second detection capacitor, a phase of charging/discharging the first detection capacitor during which the microcontroller charges the first detection capacitor, discharges said first detection capacitor into the second detection capacitor until a first balance level is reached, and measures a first voltage signal representative of said first balance level, a step of completely discharging the first detection capacitor and the second detection capacitor, a phase of charging/discharging the second detection capacitor during which the microcontroller charges the second detection capacitor, discharges said second detection capacitor into the first detection capacitor until a second balance level is reached, and measures a second voltage signal representative of said second balance level, calculating a measurement signal by comparing the first voltage signal with the second voltage signal, wherein when the user is in front of the first detection area in proximity to the first detection capacitor, the first capacitance of the first detection capacitor increases causing the first voltage signal to increase and the second voltage signal to decrease, and wherein when the user is in front of the second detection area in proximity to the second detection capacitor, the second capacitance of the second detection capacitor increases causing the second voltage signal to increase and the first voltage signal to decrease, said microcontroller being further configured to detect a presence of the user in the first detection area and/or the second detection area when the measurement signal meets a predetermined detection criterion.
2. The detection device as claimed in claim 1, wherein the first electrode and the second electrode are connected by a first resistive component.
3. The detection device as claimed in claim 1, wherein the first electrode is connected to a first port of the microcontroller by a second resistive component and/or the second electrode is connected to a second port of the microcontroller by a third resistive component.
4. The detection device as claimed in claim 1, wherein the first detection capacitor is arranged in parallel with a first control capacitor and/or the second detection capacitor is arranged in parallel with a second control capacitor.
5. A motor vehicle comprising a detection device as claimed in claim 1.
6. The motor vehicle as claimed in claim 5, wherein the sensor of the detection device is mounted at least partly in a door handle of said motor vehicle.
7. The detection device as claimed in claim 2, wherein the first electrode is connected to a first port of the microcontroller by a second resistive component and/or the second electrode is connected to a second port of the microcontroller by a third resistive component.
8. A method for detecting the presence of a user of a motor vehicle, said motor vehicle including a sensor including a first electrode, forming a first detection capacitor, arranged in a first detection area of the sensor such that a first capacitance of the first detection capacitor varies when a user is in front of the first detection area in proximity to the first detection capacitor, a second electrode, forming a second detection capacitor, arranged in a second detection area of the sensor such that a second capacitance of the second detection capacitor varies when the user is in front of the second detection area in proximity to the second detection capacitor, said method includes a phase of measuring a measurement signal and a phase of evaluating the measurement signal which are recurrently repeated, each measurement phase including: a step of completely discharging the first detection capacitor and the second detection capacitor, a phase of charging/discharging the first detection capacitor including charging the first detection capacitor, discharging said first detection capacitor into the second detection capacitor until a first balance level is reached, and measuring a first voltage signal representative of said first balance level, a step of completely discharging the first detection capacitor and the second detection capacitor, a phase of charging/discharging the second detection capacitor including charging said second detection capacitor, discharging said second detection capacitor into the first detection capacitor until a second balance level is reached, and measuring a second voltage signal representative of said second balance level, calculating the measurement signal by comparing the first voltage signal with the second voltage signal, wherein when the user is in front of the first detection area in proximity to the first detection capacitor, the first capacitance of the first detection capacitor increases causing the first voltage signal to increase and the second voltage signal to decrease, wherein when the user is in front of the second detection area in proximity to the second detection capacitor, the second capacitance of the second detection capacitor increases causing the second voltage signal to increase and the first voltage signal to decrease, and wherein the presence of the user in the first detection area and/or the second detection area is detected during the evaluation phase when the measurement signal meets a predetermined detection criterion.
9. The detection method as claimed in claim 8, wherein a presence of a user is detected in the first detection area when the measurement signal is higher than a first predetermined threshold value that is higher than a theoretical value of said measurement signal in the absence of the presence of a user.
10. The detection method as claimed in claim 8, wherein a presence of a user is detected in the second detection area when the measurement signal is lower than a second predetermined threshold value that is lower than a theoretical value of said measurement signal in the absence of the presence of a user.
11. The detection method as claimed in claim 8, wherein a movement of a presence of a user from the first detection area to the second detection area is detected when the temporal evolution of the measurement signal corresponds to a first predetermined detection pattern and/or a movement of a presence of a user from the second detection area to the first detection area is detected when the temporal evolution of the measurement signal corresponds to a second predetermined detection pattern.
12. The detection method as claimed in claim 9, wherein a presence of a user is detected in the second detection area when the measurement signal is lower than a second predetermined threshold value that is lower than a theoretical value of said measurement signal in the absence of the presence of a user.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects of the invention will be better understood upon reading the following description, provided by way of entirely non-limiting example and with reference to the figures, which represent:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(8) In these figures, references that are identical from one figure to the next denote identical or analogous elements. For the sake of clarity, the elements shown are not to scale, unless indicated otherwise.
(9) An aspect of the present invention relates in particular to a presence detection device 40 for mounting in a motor vehicle (not shown in the figures).
(10) Throughout the rest of the description, reference is made without limitation to the case in which the detection device 40 aims to detect the presence of a user in a detection area linked to a motor vehicle door handle (not shown in the figures), for example to allow said door to be locked and/or unlocked.
(11) It should be noted, however, that the detection device 40 according to an aspect of the invention may also be used, in other implementations, to detect the presence of a user in other locations on a motor vehicle, for example at the trunk of said motor vehicle.
(12)
(13) As illustrated in
(14) The sensor 60, which is to be mounted at least partly in the handle of the door of the motor vehicle, includes: a first electrode 61, forming a first detection capacitor 62, arranged in a first detection area Zd1, a second electrode 63, forming a second detection capacitor 64, arranged in a second detection area Zd2.
(15) The sensor 60 therefore makes it possible to detect the presence of a user's hand in different detection areas of the door handle, namely the first detection area Zd1 and the second detection area Zd2.
(16) The first detection area Zd1 and the second detection area Zd2 may be adjacent to one another, for example arranged in proximity to one another on the same face of the handle, for example the outer face (on the opposite side with respect to the door) of said handle. In such a case, the hand of a user, or at least one finger thereof, may easily slide from the first detection area Zd1 to the second detection area Zd2 (and vice versa).
(17) Alternatively, the first detection area Zd1 and the second detection area Zd2 may be non-adjacent. For example, the first detection area Zd1 is arranged on the outside face of said handle, while the second detection area Zd2 is arranged on an inside face (on the door side) of said handle. In such a case, the detection of a hand in the first detection area Zd1 is for example used to lock the door, while the detection of a hand in the second detection area Zd2 is for example used to unlock said door.
(18) The microcontroller 50 includes for example one or more processors and storage means (magnetic hard disk, electronic memory, optical disk, etc.) on which a computer program product is stored, in the form of a set of program code instructions to be executed in order to implement the steps of a presence detection method 70 described below. Alternatively or in addition, the microcontroller 50 includes one or more programmable logic circuits (FPGA, PLD, etc.), and/or one or more specialized integrated circuits (ASIC, etc.), and/or a set of discrete electronic components, etc., suitable for implementing all or some of said steps of the detection method 70.
(19) In other words, the microcontroller 50 includes a set of means configured as software (specific computer program product) and/or hardware (FPGA, PLD, ASIC, discrete electronic components, etc.) for implementing, in collaboration with the sensor 60, the steps of the presence detection method 70 described below.
(20) For example, said microcontroller 50 is configured to recurrently repeat a measurement phase including: a phase of charging/discharging the first detection capacitor 62 during which the microcontroller 50 charges the first detection capacitor 62, discharges said first detection capacitor 62 into the second detection capacitor 64 until a first balance level is reached, and measures a first voltage signal representative of said first balance level, a phase of charging/discharging the second detection capacitor 64 during which the microcontroller 50 charges the second detection capacitor 64, discharges said second detection capacitor 64 into the first detection capacitor 62 until a second balance level is reached, and measures a second voltage signal representative of said second balance level.
(21)
(22) More particularly, in the non-limiting example illustrated by
(23) The first port 51 and the second port 52 are preferably input/output ports of said microcontroller 50, i.e. ports allowing an electrical potential to be applied to the electronic components connected to these ports (use as output ports), and allowing an electrical potential received from the electronic components connected to these ports to be acquired (use as input ports). There is nothing to rule out, however, according to other examples, other types of ports from being considered. In particular, the first port 51 and the second port 52 may be only input ports. An electrical potential may then be applied for example by means of switches external to the microcontroller 50, but controlled by same.
(24) The use of such a resistive component 65 is particularly straightforward and economical. There is nothing to rule out, however, according to other examples, other means configured to allow the first detection capacitor 62 to be discharged into the second detection capacitor 64 and the second detection capacitor 64 to be discharged into the first detection capacitor 62 from being envisaged. For example, these means may be in the form of a switch arranged between the first port 51 and the second port 52. Such a switch is then in the open state to charge one from said first detection capacitor 62 and second detection capacitor 64 without charging the other, and in the closed state to discharge one from said first detection capacitor and second detection capacitor into the other.
(25) In particular embodiments, and as illustrated by
(26) In particular embodiments, and as illustrated by
(27) The first control capacitor 68 is used for example to adjust the overall value of a first capacitive assembly, formed by the first detection capacitor 62 and the first control capacitor 68, to a first predetermined capacitance value in the absence of presence of a hand in the first detection area Zd1.
(28) Similarly, the second control capacitor 69 is used for example to adjust the overall value of a second capacitive assembly, formed by the second detection capacitor 64 and the second control capacitor 69, to a second predetermined capacitance value in the absence of presence of a hand in the second detection area Zd2.
(29) In the following description, reference is made without limitation to the case in which the first capacitance value and the second capacitance value are equal. It should be noted that such equality may also be obtained without a control capacitor (if the values of the first detection capacitor 62 and of the second detection capacitor 64 are equal in the absence of presence of a hand), or by means of a single control capacitor. Additionally, there is nothing to rule out, according to other examples, having the first capacitance value different from the second capacitance value.
(30) In the example illustrated by
(31) Similarly, in the example illustrated by
(32)
(33) As illustrated by
(34) The measurement phase 71 and the evaluation phase 72 are repeated recurrently, for example periodically. It should be noted that the measurement phase 71 is preferably always followed by an evaluation phase 72. However, the measurement phase 71 and the evaluation phase 72 may also, according to other exemplary implementations, be repeated differently from one another, for example with different respective periods in the case of a periodic repetition. For example, it is possible to wait, before carrying out the evaluation phase 72, for the measurement phase 71 to have been carried out a predetermined number Nb of times in order to have Nb successive values of the measurement signal N available for evaluating the detection criterion.
(35) As illustrated by
(36) The order in which the phase 73 of charging/discharging the first detection capacitor 62 and the phase 74 of charging/discharging the second detection capacitor 64 is carried out is unimportant. In the example illustrated by
(37) After having measured the first voltage signal and the second voltage signal, the measurement phase 71 includes a step 75 of calculating the measurement signal N by comparing said first voltage signal and said second voltage signal.
(38) As illustrated by
(39) In practice, the charging 731, discharging 732 and measurement 733 steps are preferably carried out in succession. More particularly, the discharging step 732 is carried out after the first detection capacitor 62 has reached a maximum charge level, taking into account the charging voltage applied. The measurement step 733 is carried out once discharging has ended, i.e. when there is no longer any transfer of charge from the first detection capacitor 62 into the second detection capacitor 64, said first detection capacitor 62 (and the second detection capacitor 64) having reached a first balance level in which the charges of the first electrode 61 and those of the second electrode 63 are balanced.
(40) In a known manner, the first detection capacitor 62 is charged and discharged within the sensor 60 according to a time constant T which may be predetermined, and it therefore suffices to wait for a duration longer than the time constant T, for example five times longer than this, to reach the maximum charge level (and therefore to be able to carry out discharging step 732), and then to reach the first balance level (and therefore to be able to carry out measurement step 733).
(41) The second detection capacitor 64 is preferably fully discharged (i.e. the voltage across its terminals is zero) before carrying out step 732 of discharging the first detection capacitor 62 into said second detection capacitor 64. The first detection capacitor 62 may also be fully discharged before carrying out charging step 731. In particular implementations, the phase 73 of charging/discharging the first detection capacitor 62 may therefore include to this end a step of completely discharging the first detection capacitor 62 and the second detection capacitor 64 (not shown in the figures), carried out before executing charging step 731.
(42) The first voltage signal measured during the measurement step 733 is representative of the discharging of the first detection capacitor 62 as the outcome of the discharging step 732 into the second detection capacitor 64, i.e. representative of the first balance level in which there is no longer any transfer of charge from the first detection capacitor 62 into the second detection capacitor 64, the charges of the first electrode 61 and those of the second electrode 63 being balanced.
(43) For example, the first measured voltage signal corresponds to the electrical potential of the first electrode 61 or to the electrical potential of the second electrode 63 (these electrical potentials being equal for the detection device 40 of
(44) As illustrated by
(45) Everything that has been described above with reference to the phase 73 of charging/discharging the first detection capacitor 62 is also applicable to the phase 74 of charging/discharging the second detection capacitor 64.
(46) The second voltage signal measured during the measurement step 743 is representative of the discharging of the second detection capacitor 64 as the outcome of the discharging step 742 into the first detection capacitor 62, i.e. representative of a second balance level in which there is no longer any transfer of charge from the second detection capacitor 64 into the first detection capacitor 62, the charges of the first electrode 61 and those of the second electrode 63 being balanced.
(47) For example, the second measured voltage signal corresponds to the electrical potential of the second electrode 63 or to the electrical potential of the first electrode 61 (these electrical potentials being equal for the detection device 40 of
(48) The phase 73 of charging/discharging the first detection capacitor 62 is for example carried out, in the case of the detection device 40 of
(49) TABLE-US-00003 Charging the Discharging the Measuring the first detection first detection first voltage capacitor 62 capacitor 62 signal First port 51 VCC IN IN Second port 52 GND IN IN
(50) In the table above:
(51) VCC corresponds to an electrical supply potential,
(52) GND corresponds to the electrical potential of the electrical ground,
(53) IN means that the port is used as an input, i.e. its electrical potential is not controlled by the microcontroller 50 and it may be used to carry out a measurement.
(54) To completely discharge, if necessary, the first detection capacitor 62 and the second detection capacitor 64, it is possible to apply the electrical potential GND simultaneously to the first port 51 and to the second port 52 before carrying out charging step 731.
(55) The phase 74 of charging/discharging the second detection capacitor 64 is for example carried out, in the case of the detection device 40 of
(56) TABLE-US-00004 Charging the Discharging the Measuring the second detection second detection second voltage capacitor 64 capacitor 64 signal First port 51 GND IN IN Second port 52 VCC IN IN
(57) To completely discharge, if necessary, the first detection capacitor 62 and the second detection capacitor 64, it is possible to apply the electrical potential GND simultaneously to the first port 51 and to the second port 52 before carrying out charging step 741.
(58) By denoting the first voltage signal by M1 and the second voltage signal by M2, the measurement signal N is for example calculated by the microcontroller 20 as being the difference between the first voltage signal and the second voltage signal, N=M1−M2. However, there is nothing to rule out calculating the measurement signal N according to other expressions allowing the first voltage signal M1 and the second voltage signal M2 to be compared.
(59) In the case of the detection device 40 of
(60) During the evaluation phase 72, a detection criterion is evaluated according to the measurement signal N. If the detection criterion is met (reference 721 in
(61) In general, different detection criteria may be considered, and the choice of one or more particular detection criteria constitutes only a variant implementation of an aspect of the invention.
(62)
(63) Given that the first capacitance value and the second capacitance value are equal, then, in the absence of the presence of a hand, the first voltage signal and the second voltage signal are in principle both equal to VCC/2. Consequently, the theoretical value of the measurement signal N in the absence of the presence of a hand is zero.
(64)
(65) For example, the evaluation of the detection criterion includes comparing the measurement signal N with a first, positive predetermined threshold value V1, and the detection criterion is considered to be met when the measurement signal N becomes higher than said first threshold value V1, meaning that the detected hand is located in the first detection area Zd1.
(66)
(67) For example, the evaluation of the detection criterion includes comparing the measurement signal N with a second, negative predetermined threshold value V2, and the detection criterion is considered to be met when the measurement signal N becomes lower than said second threshold value V2, meaning that the detected hand is located in the second detection area Zd2.
(68) Thus, the measurement signal N makes it possible to distinguish between a detection in the first detection area Zd1 (positive measurement signal N in the example described) and a detection in the second detection area Zd2 (negative measurement signal N in the example described).
(69) In the event of the presence of external elements substantially affecting the first detection area Zd1 and the second detection area Zd2 in the same way (such as, for example, the presence of moisture), then the apparent value of the first detection capacitor 62 and the apparent value of the second detection capacitor 64 will increase substantially in the same way. Consequently, the measurement signal N will remain substantially zero despite the presence of these external elements, thereby avoiding confusing the presence of external elements with the presence of a hand.
(70) In the case of the first detection area Zd1 and the second detection area Zd2 being adjacent, then the hand of a user, or at least a finger thereof, may easily slide from the first detection area Zd1 to the second detection area Zd2 (and vice versa). In this case, the evaluation of the detection criterion may be used not only to detect the presence of a hand in the first detection area Zd1 or in the second detection area Zd2, but also to detect a particular movement of the finger relative to the sensor 60, for example a movement from the first detection area Zd1 to the second detection area Zd2.
(71) The advantage of detecting a movement relative to the sensor 60 lies in particular in the fact that this makes it possible to improve the robustness of the detection device 40 in the event of the presence of external elements (rain, etc.) which do not affect the first detection area Zd1 and the second detection area Zd2 in the same way. Specifically, the temporal evolution of the measurement signal N in the case of movement of a finger from the first detection area Zd1 to the second detection area Zd2 (or vice versa) then forms a characteristic pattern which cannot generally be reproduced by the presence of external elements in the first detection area Zd1 and/or in the second detection area Zd2.
(72)
(73)
(74)
(75)
(76)
(77)
(78)
(79)
(80)
(81)