Method for automatic calibration of a camshaft sensor for a motor vehicle
10267657 · 2019-04-23
Assignee
Inventors
- David Mirassou (Toulouse, FR)
- Marie-Nathalie Larue (Corronsac, FR)
- Jérôme Burg (Plaisance du Touch, FR)
Cpc classification
G01D5/145
PHYSICS
International classification
G01D5/244
PHYSICS
G01D18/00
PHYSICS
Abstract
A method for automatic calibration of a camshaft sensor for a motor vehicle, allowing reduction of the fluctuations on the output signal of the sensor. The method proposes comparing, on each target rotation, the new maximum values of the magnetic field of each tooth to the maximum values of the same teeth from the preceding target rotation. The switching thresholds are only calculated with the new maximum values if these differ from the maximum values of the preceding target rotation. Moreover, the invention proposes using a single minimum value of the magnetic field, i.e. the absolute minimum value on a target rotation in order to calculate the switching thresholds.
Claims
1. A method for automatically calibrating a motor vehicle engine camshaft sensor, said engine comprising at least one camshaft, a toothed coded target associated with this camshaft and a magnetic field sensor placed near the target to detect magnetic field variations induced by the passage of the teeth of the target near the sensor, said sensor delivering an electrical signal indicative of teeth and troughs of the target according to a predetermined switching threshold dependent on the amplitude of the magnetic field, said method continuously measuring the value of the magnetic field, said method comprising: during a first revolution of the target: Step 1: measuring a maximum value and a minimum value for the magnetic field (B) for each tooth, Step 2: calculating an amplitude of the magnetic field for said teeth, and calculating a switching threshold for each tooth according to the amplitude thus calculated, Step 3: measuring an absolute minimum value for the magnetic field over a full revolution of the target, Step 4: storing the maximum values and the absolute minimum value in a memory, then, for each further revolution of the target: Step 5: measuring and storing a new maximum value of the magnetic field for each tooth, and a new absolute minimum value over the full revolution of the target, Step 6: comparing the absolute value of the difference between the new maximum value and the maximum value stored in the memory for the previous revolution of the target which are associated with that same said tooth and the absolute value of the difference between the maximum value of that same said tooth, and the absolute minimum value for the previous revolution of the target, if the absolute value of the difference between the new maximum value and the maximum value from the previous revolution of the target is higher than a percentage of the absolute value of the difference between the maximum value and the absolute minimum value for the previous revolution of the target, namely, if
|BmaxiBmaxi|>K|BmaxiBmin| where: K is a factor comprised between 0.003 and 0.1 (namely between 0.3% and 10%), Bmaxi is the maximum value of the magnetic field stored in the memory during the previous revolution of the target for a given tooth, Bmaxi is the new maximum value of the magnetic field for a further revolution of the target for that same given tooth, Bmin is the absolute minimum value of the magnetic field stored in the memory during the previous revolution of the target, then: Step 7: calculating the switching threshold with the new maximum value and with the absolute minimum value stored in the memory from the previous revolution, and replacing the maximum values stored in the memory from the previous revolution of the target with the new maximum values, else: Step 8: calculating the switching threshold with the maximum value and with the absolute minimum value both stored in the memory from the previous revolution of the target, Step 9: repeating steps 5 to 8 for each new revolution of the target.
2. The automatic calibration method as claimed in claim 1, wherein the first revolution of the target is performed each time power is applied to the camshaft sensor.
3. A camshaft sensor calibrated by the method according to claim 1.
4. A motor vehicle comprising the camshaft sensor according to claim 3.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Other features and advantages of the present invention will become more apparent from reading the following description, provided by way of non-limiting example and with reference to the appended drawings, in which:
(2)
(3)
(4)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(5) According to the embodiment described and depicted in
(6) A target 14 associated with this sensor 10 takes the form of a metal disk 15 firmly attached to a camshaft 16. This target bears, on its periphery, a plurality teeth D.sub.1, D.sub.2, D.sub.3 (3 in the example depicted) of different heights h1, h2, h3 and of variable lengths l.sub.1 to l.sub.3 and variable spacings (troughs) s.sub.1 to s.sub.3. These variable lengths and variable spacings in the way known per se constitute a coding.
(7) The way in which a sensor 10 plus target 14 assembly works is described hereinafter.
(8) When the target 14 is rotationally driven (arrow F
(9) In this
(10) It is known practice to detect the passage of a tooth front as soon as the magnetic field B perceived rises above or drops below a predetermined switching threshold proportional to the amplitude of the field perceived during the passage of a tooth (75% of (Bmax1Bmin1) for example).
(11) The threshold values are embodied in
S2a=0.75*(Bmax1Bmin1)
(12) Then, after the maximum value of the magnetic field B upon passage of the second tooth Bmax2 has been crossed, a new switching threshold S2d is calculated for the falling front of the second tooth D.sub.2:
S2d=0.75*(Bmax2Bmin1)
(13) This process is repeated, for the passage of each tooth, when a new maximum value or new minimum value of the magnetic field B has been measured.
(14) It should be noted that the maximum value and the minimum value of the magnetic field B for each tooth correspond to the last recorded maximum and minimum values.
(15) For example, in order to calculate the switching threshold for the rising front of the second tooth S2a, it is a matter of considering the last recorded maximum values and minimum value of the magnetic field B, that is to say Bmax1 and Bmin1, namely the maximum value and the minimum value of the magnetic field B after the passing of the first tooth D.sub.1.
(16) Similarly, in order to calculate the switching threshold for the falling front of the second tooth S2d, use is made of the last recorded maximum and minimum values, in this instance Bmin1 and Bmax2, namely the minimum value of the magnetic field B associated with the first tooth D.sub.1 and the maximum value of the magnetic field associated with the second tooth D.sub.2.
(17) For the sake of simplification, the last measured maximum or minimum values, which are taken into consideration for calculating the switching threshold for a tooth, will be referred to here as the maximum value (Bmaxi) and/or the minimum value (Bmini) which are associated with said tooth Di.
(18) The target 14 associated with the camshaft 16 may, however, exhibit geometric imperfections which vary over time. In particular, the target 14 may exhibit an airgap which increases over time, or with temperature. In that case, when the target 14 is rotationally driven, during a revolution after the first revolution, the passage of its teeth D.sub.1, D.sub.2, D.sub.3 past the sensor 10 causes variations in the magnetic field B as indicated in
(19) In this case, it may be noted that the new maximum value of the magnetic field B perceived for each of the teeth D.sub.1, D.sub.2, D.sub.3, respectively, Bmax1, Bmax2, Bmax3 is not identical to the maximum value of the magnetic field perceived by each of those same teeth D.sub.1, D.sub.2, D.sub.3 during the first revolution of the target 14 (cf.
(20) For the instance depicted in
(21) As explained previously, it is known practice from the prior art to calculate the switching threshold on each passage of a tooth D.sub.1, D.sub.2, D.sub.3 once a new maximum value (Bmaxi, Bmax2, Bmax3) or a new minimum value (Bmin1, Bmin2, Bmin3) of the magnetic field B has been measured for said tooth D.sub.1, D.sub.2, D.sub.3.
(22) What is meant here by a new maximum value is the maximum value of the magnetic field B of each tooth D.sub.1, D.sub.2, D.sub.3 rather than the absolute maximum value of the magnetic field B over one full revolution of the target 14 for all teeth combined (which means to say, in this example, the maximum value of the magnetic field for all three teeth combined).
(23) Similarly, what is meant by a new minimum value is the minimum value of the magnetic field B of each tooth D.sub.1, D.sub.2, D.sub.3 rather than the absolute minimum value of the magnetic field B over one full revolution of the target 14, which means to say the absolute minimum value of the magnetic field B over one revolution of the target after all three teeth D.sub.1, D.sub.2, D.sub.3 have passed, for all teeth combined.
(24) However, this method of calibration generates disturbances on the output signal from the sensor 10, and these are undesirable.
(25) An aspect of the invention proposes a calibration method that allows the output signal from the sensor 10 to be smoothed, this signal exhibiting fewer disturbances than the signal of the prior art.
(26) To this end, the method of an aspect of the invention proposes, during the first revolution of the target 14, for each tooth D.sub.1, D.sub.2, D.sub.3, measuring the maximum value Bmax1, Bmax2, Bmax3, and the minimum value Bmin1, Bmin2, Bmin3 for each of said teeth D.sub.1, D.sub.2, D.sub.3 (step 1).
(27) Next, the amplitude of the magnetic field for said tooth D.sub.1, D.sub.2, D.sub.3 is calculated as a function of the maximum values Bmax1, Bmax2, Bmax3 and of the minimum values Bmin1, Bmin2, Bmin3 measured for each tooth D.sub.1, D.sub.2, D.sub.3, and the switching threshold is calculated as a function of the amplitude thus calculated (Step 2).
(28) Namely:
Ai=BmaxiBmini
And:
Si=kAi
(29) Where:
(30) Si is the switching threshold,
(31) k is a non-zero factor (equal for example to 0.75),
(32) Ai is the amplitude of the magnetic field for the tooth Di,
(33) Bmaxi is the maximum value for the tooth Di,
(34) Bmini is the minimum value for the tooth Di.
(35) This method for calculating the switching threshold is known from the prior art.
(36) An aspect of the invention then proposes also measuring the absolute minimum value Bmin for the magnetic field B (Step 3) over the first revolution of the target 14. Then, in a fourth step, the maximum values Bmax1, Bmax2, Bmax3, associated with each tooth D.sub.1, D.sub.2, D.sub.3 and the absolute minimum value Bmin of the magnetic field B of the first revolution of the target 14 are stored in memory. (Step 4).
(37) Then, during each subsequent revolution of the target 14, and for each tooth D.sub.1, D.sub.2, D.sub.3 the auto-calibration method of the invention comprises the following steps: during a fifth step (Step 5), for each tooth D.sub.1, D.sub.2, D.sub.3 the new maximum value Bmax1, Bmax2, Bmax3 and the new absolute minimum value Bmin of the magnetic field B are measured and stored in memory. Then, for each tooth D.sub.1, D.sub.2, D.sub.3, the new maximum value Bmax1, Bmax2, Bmax3 is compared against the maximum value Bmax1, Bmax2, Bmax3 stored in memory during the previous revolution of the target, which means to say, in this example, during the first revolution of the target 14 and associated with that same said tooth D.sub.1, D.sub.2, D.sub.3 (Step 6).
(38) If the difference between the new maximum value Bmax1, Bmax2, Bmax3 and the maximum value Bmax1, Bmax2, Bmax3 from the previous revolution of the target 14 is higher, in terms of absolute value, than a percentage of the difference between the maximum value Bmax1, Bmax2, Bmax3 for said tooth and the absolute minimum value Bmin of the magnetic field B measured during the previous revolution of the target 14, or in other words, if:
|BmaxiBmaxi|>K|BmaxiBmin|
(39) Where:
(40) K is a factor comprised between 0.003 and 0.1 (namely between 0.3% and 10%),
(41) Bmaxi is the maximum value of the magnetic field stored in memory during the previous revolution of the target 14 (in this instance the first revolution of the target) for a given tooth Di,
(42) Bmaxi is the new maximum value of the magnetic field during a further revolution of the target 14 for that same given tooth Di,
(43) Bmin is the absolute minimum value of the magnetic field stored in memory during the previous revolution of the target 14 (in this instance the first revolution of the target).
(44) Then, for each tooth D.sub.1, D.sub.2, D.sub.3 the switching threshold is calculated using the new maximum value Bmaxi associated with said tooth D.sub.1, D.sub.2, D.sub.3 and/or (Step 7) (and the absolute minimum value Bmin stored in memory during the previous revolution of the target 14), and the stored values Bmax1, Bmax2, Bmax3 are replaced by the new measured maximum values Bmax1, Bmax2, Bmax3. Else the switching threshold is calculated using the maximum value Bmax1, Bmax2, Bmax3 associated with said tooth D.sub.1, D.sub.2, D.sub.3 and the absolute minimum value Bmin stored in memory during the previous revolution of the target 14 (Step 8), and the stored values (Bmax1, Bmax2, Bmax3) remain unchanged.
(45) Then in the next step (Step 9), steps 5 to 8 are repeated for each new revolution of the target 14.
(46) For the instance depicted in
(47) Thus, according to the calibration method according to the invention, the value of the switching threshold is modified on the passage of each tooth D.sub.1, D.sub.2, D.sub.3 only if the new maximum value Bmax1, Bmax2, Bmax3 of the magnetic field B associated with said tooth D.sub.1, D.sub.2, D.sub.3 differs from the maximum value Bmax1, Bmax2, Bmax3, associated with that same said tooth D.sub.1, D.sub.2, D.sub.3 measured during the previous revolution of the target 14. The difference between the two values needs to be higher than a predetermined value, calculated on the basis of the maximum value Bmax1, Bmax2, Bmax3 for each tooth D.sub.1, D.sub.2, D.sub.3 and of the absolute minimum value Bmin of the magnetic field B from the previous revolution of the target 14, in order for the value of switching threshold to be modified.
(48) As for the minimum value, which is used for calculating the switching threshold over a given revolution of the target 14, this is the absolute minimum value Bmin from the previous revolution.
(49) The calibration method of the invention therefore makes it possible to considerably reduce the disturbances on the output signal of the sensor 10.
(50) In addition, because the maximum values of the magnetic field B are compared on each new revolution of the target 14 against the maximum values measured and stored in memory during a previous revolution of the target 14, if out-of-roundness appears slowly (slow drift in the minimum and maximum values), it will be detected and corrected.
(51) The invention also relates to a camshaft sensor 10 comprising: Means for measuring a maximum value (Bmax1, Bmax2, Bmax3) and a minimum value (Bmin1, Bmin2, Bmin3) for the magnetic field (B) for each passage of a tooth (D.sub.1, D.sub.2, D.sub.3), Means for calculating the amplitude of the magnetic field for each tooth and for calculating the switching threshold, Means for measuring an absolute minimum value (Bmin) for the magnetic field over one full revolution of the target (14), Means for memory-storing the maximum value (Bmax1, Bmax2, Bmax3) associated with said tooth (D.sub.1, D.sub.2, D.sub.3), and the absolute minimum value (Bmin) over a full revolution of the target (14), Means for comparing, for each tooth (D.sub.1, D.sub.2, D.sub.3), the absolute value of the difference between the new maximum value (Bmax1, Bmax2, Bmax3) and the maximum value (Bmax1, Bmax2, Bmax3) stored in memory for the previous revolution of the target (14) which are associated with said tooth (D.sub.1, D.sub.2, D.sub.3) and the absolute value of the difference between the maximum value (Bmax1, Bmax2, Bmax3) and the absolute minimum value (Bmin) for the previous revolution of the target (14), Means for calculating a switching threshold (S1d, S2a, S2d, S3a, S3d, S1d, S2a, S2d, S3a, S3d) according to the result of the comparison.
(52) The measurement means, the memory-storage means, the means for calculating the amplitude of the magnetic field B, the comparison means and the means for calculating a switching threshold are, for example, software means incorporated into the sensor 10.
(53) An aspect of the invention therefore provides an ingenious way of reducing disturbances on the output signal of the camshaft sensor while at the same time detecting and correcting out-of-roundness as soon as it appears.