DEVICE AND METHOD FOR DETECTING INTENTION TO LOCK OR UNLOCK A MOTOR VEHICLE OPENING ELEMENT
20210317689 · 2021-10-14
Inventors
Cpc classification
H03K2217/952
ELECTRICITY
G01R27/28
PHYSICS
E05B81/77
FIXED CONSTRUCTIONS
B60R25/01
PERFORMING OPERATIONS; TRANSPORTING
G01R35/005
PHYSICS
G01R27/32
PHYSICS
G01R35/00
PHYSICS
B60R25/20
PERFORMING OPERATIONS; TRANSPORTING
G01R27/02
PHYSICS
E05B81/76
FIXED CONSTRUCTIONS
International classification
E05B81/76
FIXED CONSTRUCTIONS
B60R25/01
PERFORMING OPERATIONS; TRANSPORTING
B60R25/20
PERFORMING OPERATIONS; TRANSPORTING
G01R35/00
PHYSICS
Abstract
A device for detecting a user's intention to lock or unlock a motor vehicle opening element, this device being integrated into a handle, including: an inductive sensor that includes an LC resonant circuit consisting at least of a coil and a main capacitor; a handle target; a microcontroller equipped with a unit for measuring the resonant frequency of the LC resonant circuit; an adjustment device for adjusting the value of the total capacitance of the LC resonant circuit, this adjustment device providing at least two different total capacitance values for the LC resonant circuit.
Claims
1. A method for calibrating a device (4) for detecting a user's intention to lock or unlock a motor vehicle opening element, this device (4) being integrated into a handle (1), comprising: an inductive sensor that comprises an LC resonant circuit (9) consisting at least of a coil (7) and a main capacitor (C1, C2); a handle target (8) located facing the coil (7), this target (8) being able to move from a rest position to a displaced position, under the effect of the user pressing on the handle (1), the distance (D) between the coil (7) and the handle target (8) being modified between the rest position and the displaced position; a microcontroller (6) equipped with means (13) for measuring the resonant frequency (F.sub.RM) of the LC resonant circuit (9); an adjustment device for adjusting the value of the total capacitance (C.sub.total) of the LC resonant circuit (9), this adjustment device providing at least two different total capacitance values for the LC resonant circuit (9), said method comprising the following steps: measuring the resonant frequency (F.sub.RMi) for each total capacitance value (C.sub.total) of the LC resonant circuit (9) provided by the adjustment device; identifying the measured resonant frequency values (F.sub.RMi) that are in the saturation region of the microcontroller (6), these resonant frequency values being substantially equal and corresponding to the saturation frequency (F.sub.SAT) of the microcontroller (6); identifying the first measured resonant frequency value that is outside the saturation region of the microcontroller (6), and identifying the corresponding optimum configuration (C.sub.OPT) of the adjustment device; applying said optimum configuration (C.sub.OPT) to the adjustment device so that the LC resonant circuit (9) has a resonant frequency (F.sub.RM) corresponding to said first measured resonant frequency value that is outside the saturation region of the microcontroller (6).
2. The calibration method as claimed in claim 1, further comprising a step of storing the saturation frequency (F.sub.SAT) of the microcontroller (6).
3. The method as claimed in claim 2, wherein the calibration method is implemented when the resonant frequency (F.sub.RM) of the LC resonant circuit (9) is a value less than a predetermined value away from the saturation frequency (F.sub.SAT) of the microcontroller (6).
4. The method as claimed in claim 1, wherein, in the step of identifying the first measured resonant frequency value that is outside the saturation region of the microcontroller (6), this first frequency value is identified with a predetermined safety margin (MS).
5. The method as claimed in claim 1, wherein the method is implemented when the detection device (4) is switched on.
6. The method as claimed in claim 1, wherein the method is implemented when the temperature varies beyond a predetermined limit since the last implementation of the method.
7. The method as claimed in claim 1, wherein the method is implemented periodically, with a predetermined period.
8. The method as claimed in claim 2, wherein, in the step of identifying the first measured resonant frequency value that is outside the saturation region of the microcontroller (6), this first frequency value is identified with a predetermined safety margin (MS).
9. The method as claimed in claim 3, wherein, in the step of identifying the first measured resonant frequency value that is outside the saturation region of the microcontroller (6), this first frequency value is identified with a predetermined safety margin (MS).
10. The method as claimed in claim 2, wherein the method is implemented when the detection device (4) is switched on.
11. The method as claimed in claim 3, wherein the method is implemented when the detection device (4) is switched on.
12. The method as claimed in claim 4, wherein the method is implemented when the detection device (4) is switched on.
13. The method as claimed in claim 2, wherein the method is implemented when the temperature varies beyond a predetermined limit since the last implementation of the method.
14. The method as claimed in claim 3, wherein the method is implemented when the temperature varies beyond a predetermined limit since the last implementation of the method.
15. The method as claimed in claim 4, wherein the method is implemented when the temperature varies beyond a predetermined limit since the last implementation of the method.
16. The method as claimed in claim 5, wherein the method is implemented when the temperature varies beyond a predetermined limit since the last implementation of the method.
17. The method as claimed in claim 2, wherein the method is implemented periodically, with a predetermined period.
18. The method as claimed in claim 3, wherein the method is implemented periodically, with a predetermined period.
19. The method as claimed in claim 4, wherein the method is implemented periodically, with a predetermined period.
20. The method as claimed in claim 5, wherein the method is implemented periodically, with a predetermined period.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0042] A preferred exemplary embodiment of the invention will now be described with reference to the appended drawings, in which:
[0043]
[0044]
[0045]
[0046]
[0047]
DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0048]
[0049] The handle 1 comprises a pressing region 3 on which the user presses to signify their intention to lock or unlock the opening element.
[0050] A device 4 for detecting intention to lock or unlock is mounted inside the handle 1. The detection device 4 comprises a printed circuit board 5 on which a microcontroller 6 and a coil 7 are mounted. These elements located in the handle 1 are shown schematically in cross section. The coil 7 is formed for example by a copper track wound in a spiral on the printed circuit board 5, extending in the plane of the printed circuit board 5. The printed circuit board 5 also comprises the connections and the cables necessary to connect it to the rest of the vehicle (not shown), in particular its voltage supply and the wiring necessary for the detection device 4 to transmit the information relating to the user's intention to lock or unlock.
[0051] A handle target 8 is additionally mounted in the handle 1 just below the surface of the pressing region 3. The target 8 may be mounted using any known mechanical means; it may for example be inserted into a recess provided within the handle 1 or, according to another example, the handle 1 may be molded around the target 8. The target 8 is preferably a parallelepiped or a disk of non-magnetic conductive metal. The target 8 and the printed circuit board 5 are mounted in the handle 1 such that the target 8 is arranged facing the coil 7, at a distance D. In
[0052] When the user exerts pressure, for example with their thumb, on the pressing region 3, the handle 1 deforms elastically in the area of the pressing region 3, thereby causing a slight displacement of the target 8 in the direction of the coil 7, the target 8 thus moving into what is called a “displaced position”. The pressure on the pressing region 3 therefore causes a variation in the distance D, between the rest position and the displaced position, and it is this distance variation that will be detected by the device 4. The described detection device 4 is caused to detect intention to lock or unlock when a variation in the distance D of the order of 0.1 millimeter is detected.
[0053]
[0054] The device 4 is a detection device having an inductive sensor. The microcontroller 6 is thus connected to an LC resonant circuit 9, in a known manner. This LC resonant circuit 9 conventionally consists of the coil 7, two main capacitors C1 and C2 and an inverting gate 10 (NOT logic gate), making it possible to create and to maintain the resonance of the LC circuit 9. The main capacitor C1 is connected between ground and a first branch 11 of the LC circuit 9, this first branch 11 extending between the coil 7 and the inverting gate 10. The main capacitor C2 is connected between a second branch 12 of the LC circuit 9 and ground, this second branch 12 also extending between the coil 7 and the inverting gate 10.
[0055] The microcontroller comprises a frequency measurement input 13 connected to the LC circuit 9, making it possible to measure the oscillating frequency of the LC circuit 9. The microcontroller 6 comprises an oscillator (not shown), as is conventional. The microcontroller may also have the function of disconnecting (or not disconnecting) the supply of power to the inverting gate, thereby making it possible to stop the oscillations of the LC circuit between two oscillating frequency measurements in order to reduce consumption.
[0056] In principle, in a known manner, the microcontroller 6 counts the number of oscillations per unit of time that occur at the frequency measurement input 13, and thus determines the resonant frequency of the LC circuit 9. Measuring the resonant frequency of the LC circuit 9 makes it possible to detect variations in this frequency that are caused by a movement of the target 8 in relation to the coil 7. The LC resonant circuit 9 forms an inductive sensor.
[0057] The detection device 4 additionally comprises an adjustment device for adjusting the value of the capacitance of the LC circuit 9. This adjustment device, in the present example, comprises two adjustment capacitors CT1 and CT2 as well as respective linking means 14, 15 for linking the adjustment capacitors CT1, CT2 to the main capacitors C1, C2. The adjustment capacitor CT1 is connected firstly to the first branch 11 and secondly to the corresponding linking means 14. The adjustment capacitor CT2 is connected firstly to the second branch 12 and secondly to the corresponding linking means 15.
[0058] The linking means 14, 15 are located in the microcontroller 6 and, in accordance with what is shown schematically in
[0059] The capacitor CT3 shown in dotted lines relates to a variant that will be described later on.
[0060] When the linking means 14, 15 disconnect the adjustment capacitors CT1, CT2 from the circuit, the detection device 4 behaves in the same way as a detection device having an inductive sensor from the prior art. The LC circuit 9 will then oscillate at a resonant frequency F.sub.R that is specific thereto and that has the value:
where:
L=value of the inductance of the coil 7; and
C.sub.total=value of the total capacitance of the LC circuit 9.
[0061] In the example of
[0062] To simplify the description, C1 and C2 denote both the main capacitors and the value of their capacitance.
[0063] The resonant frequency F.sub.R of the LC circuit 9, which therefore depends in particular on the value of the capacitance C.sub.total, may be modified by modifying this value of C.sub.total. The role of the adjustment device is to modify this value C.sub.total in order to influence the value of the resonant frequency of the LC circuit 9.
[0064] From the configuration shown in
[0065] In the present example in which there are 2 adjustment capacitors CT1, CT2, four different values may be obtained for the resonant frequency of the LC circuit 9, depending on the configuration of the linking means 14, 15. The four possible configurations, corresponding to four values of C.sub.total, are therefore as follows: [0066] the linking means 14 and 15 disconnect the adjustment capacitors CT1 and CT2 from ground:
[0070] For each of these four possible values of C.sub.total, there is a corresponding different resonant frequency value F.sub.R specific to the LC circuit 9.
[0071] The resonant frequency of the LC circuit may thus be chosen to best suit the mechanical mounting conditions in the handle 1, taking into account the capacitances of the microcontroller 6 that is used.
[0072] Specifically, the various mechanical mounting tolerances within the handle 1 generate side chains and therefore uncertainty as to the precise position of the handle target 8 in relation to the coil 7. Since the detection device 4 is designed to detect minute movements of the target 8 in relation to the coil 7, these side chains, caused by mechanical tolerances as well as mechanical clearances in general and in particular those caused by ageing, have a negative impact on detection accuracy. Likewise, the ageing of the handle 1 or the expansion or retraction thereof under the effect of temperature also generates uncertainty as to the relative position of the target 8 and of the coil 7. The initial distance D (see
[0073] The detection device 4 makes it possible to choose the most appropriate resonant frequency of the LC circuit 9 from among the various possible resonance frequencies allowed by the set of linking means 14, 15 and adjustment capacitors CT1, CT2.
[0074] According to one preferred feature, the most appropriate resonant frequency for the LC circuit 9 is chosen so as to be just below the saturation limit specific to the microcontroller 6 that is used, for a given mechanical configuration.
[0075] Specifically, with reference to
[0076] The value of LS depends on the microcontroller 6 that is used, but also on the relative mechanical positioning of the target 8 with respect to the coil 7. This value of LS is therefore specific to each mechanical configuration, and changes with the ageing of the handle, temperature conditions, etc.
[0077] One example of a method for calibrating the detection device 4, making it possible to choose the optimum resonant frequency F.sub.R for the LC circuit 9, will now be described.
[0078] This calibration method may be implemented whenever it is deemed appropriate to redefine an optimum resonant frequency F.sub.R for the LC circuit 9, for example: [0079] when the detection device 4 is switched on for the first time, and possibly each time the detection device 4 is switched on; [0080] if the value of the resonant frequency of the LC circuit 9 measured by the input 13 approaches the saturation frequency of the microcontroller within more than a predetermined limit (see example described below); [0081] if the temperature varies beyond a predetermined limit since the last calibration; [0082] in general, after any modification of the hardware configuration of the handle; [0083] periodically, with a predetermined period.
[0084] With reference to the algorithm of
[0085]
[0086] The first two values F.sub.RM1 and F.sub.RM2 are substantially equal, but the actual resonant frequency of the LC circuit 9 corresponding to these two configurations is necessarily different, since they correspond to two different values of C.sub.total. The fact that these two measurements F.sub.RM1 and F.sub.RM2 are substantially equal indicates that these measurements are in the saturation region of the microcontroller 6.
[0087] Starting from the frequency F.sub.total2, the measured resonant frequency F.sub.RM begins to decrease, thereby indicating that the measured resonant frequency values F.sub.RM3 and F.sub.RM4 are outside the saturation region.
[0088] In step E2 of the algorithm of
[0089] In step E3, the value of the saturation frequency F.sub.SAT is recorded. When several frequency measurements F.sub.RMi return substantially the same frequency value, then this is the saturation frequency F.sub.SAT (here the values of F.sub.RM1 and F.sub.RM2). The value of the saturation frequency F.sub.SAT may for example be used so that the calibration method is implemented again when the resonant frequency of the LC resonant circuit is a value less than a predetermined value away from the frequency F.sub.SAT. In other words, when the resonant frequency of the LC circuit gets too close to the saturation frequency F.sub.SAT (due to physical modifications in the handle), the calibration method is executed again.
[0090] The calibration is then ended and the detection device 4 will then be used with the optimum configuration for the value of the capacitance C.sub.OPT of the LC circuit 9, that is to say with the corresponding arrangement of the linking means 14, 15 for implementing the configuration C.sub.total3.
[0091]
[0092] According to this variant, the detection device 4 this time has eight possible adjustment capacitor combinations, corresponding to eight possibilities for the value of the total capacitance C.sub.total of the LC circuit 9. This configuration corresponds for example to the addition of an additional adjustment capacitor CT3 shown in dotted lines in
[0097] The application of the calibration method to such a detection device 4 having eight frequency possibilities F.sub.RM1′ to F.sub.RM8′ is illustrated in the graph of
[0098]
[0099] By way of example, in the configuration described above, the coil 7 has an inductance of 1 pH, the value of the resulting capacitance of the two main capacitors C1, C2 corresponds to 300 pF and the three adjustment capacitors CT1, CT2, CT3 have the values 10 pF, 20 pF and 30 pF, respectively. The microcontroller 6 has a clock frequency of 32 MHz, thereby leading to possible resonant frequencies of the order of 5 to 10 MHz for the LC circuit. The safety margin MS is for example 50 kHz when the saturation region is located at 8 MHz.
[0100] Other variant embodiments of the detection device 4 and of the associated calibration method may be implemented without departing from the scope of the invention. For example, the detection device 4 may comprise any number of adjustment capacitors allowing a desired number of combinations for the capacitance value of the LC circuit 9. In principle, an excessively high number of combinations is not necessary and requires significant computing capacities to be mobilized in order to implement the calibration method. Three adjustment capacitors allowing eight possible resonant frequencies for the LC circuit 9 prove to be a good choice for the number of adjustment capacitors. According to one preferred feature, the LC circuit 9 comprises three to five adjustment capacitors.
[0101] The detection device may also be coupled to other sensors, such as capacitive sensors.
[0102] The device may be used in any type of vehicle opening element handle, in particular deployable handles.