Method for automatically calibrating a camshaft sensor for a motor vehicle engine and associated sensor
10816365 ยท 2020-10-27
Assignee
Inventors
Cpc classification
International classification
G01D5/244
PHYSICS
Abstract
A method for automatically calibrating an engine camshaft sensor, the sensor measuring variations in magnetic field value and delivering an electrical signal having a high state after the passage of the values of the magnetic field above the switching threshold on a rising edge and a low state after the passage of the values of the magnetic field below the switching threshold on a falling edge. After the passage of the values of the magnetic field above the switching threshold and measuring a new maximum value, the electrical signal remains in a high state as long as the magnetic field values are higher than a hysteresis threshold, which is dependent on the amplitude of the magnetic field calculated with the measured new maximum value; after the passage of the values of the magnetic field below the hysteresis threshold, a new switching threshold is calculated according to the new maximum value.
Claims
1. A method for automatically calibrating a camshaft sensor for a motor vehicle engine, said motor vehicle engine comprising: at least one camshaft, a toothed coded target associated with the camshaft, and a magnetic field sensor placed near the target to detect magnetic field variations induced by passage of the teeth of the target in proximity to the sensor, said sensor measuring values of the magnetic field and delivering an electrical signal indicative of teeth and troughs of the target according to a predetermined switching threshold dependent on an amplitude of the measured magnetic field and applied to rising edges and falling edges of the variations in the values of the magnetic field, the electrical signal having a high state after the passage of the values of the magnetic field above the switching threshold on a rising edge and a low state after the passage of the values of the magnetic field below the switching threshold on a falling edge, said method comprising continuously measuring the value of the magnetic field, wherein: after the passage of the values of the magnetic field above the switching threshold on the rising edge and measuring a new maximum value of the magnetic field, the electrical signal remains in a high state for as long as the values of the magnetic field are higher than a hysteresis threshold, which is dependent on the amplitude of the magnetic field calculated with the measured new maximum value; after the passage of the values of the magnetic field below the hysteresis threshold, a new switching threshold is calculated according to the new maximum value.
2. The automatic calibration method as claimed in claim 1, wherein after the passage of the values of the magnetic field above the switching threshold on the rising edge and for as long as the values of the magnetic field are higher than the hysteresis threshold, the value of the switching threshold is decreased.
3. The automatic calibration method as claimed in claim 2, wherein after the passage of the values of the magnetic field above the switching threshold on the rising edge and for as long as the values of the magnetic field are higher than the hysteresis threshold, the value of the switching threshold is close to zero.
4. The automatic calibration method as claimed in claim 1, wherein the electrical signal is controlled so as to remain in a high state after the passage of the values of the magnetic field above the switching threshold on the rising edge and for as long as the values of the magnetic field are higher than a hysteresis threshold, which is dependent on the amplitude of the magnetic field calculated with the measured new maximum value.
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 of 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 edge 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
S1=0.75*(Bmax1Bmin1)
(12) Then, after the new maximum value of the magnetic field B upon passage of the second tooth Bmax2 has been crossed, a new switching threshold S2 is calculated, for example, for the falling edge of the second tooth D.sub.2:
S2=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 and validated.
(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 and validated maximum and minimum values.
(15) For example, in order to calculate the switching threshold for the rising edge of the second tooth S1, it is a matter of considering the last recorded maximum value 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 edge of the second tooth S2, 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) However, as explained above, in order to ensure that the last extremum measured, for example Bmax2, is indeed an extremum, a hysteresis H threshold S.sub.H is calculated on the passage of this extremum (Bmax2, cf.
(18) As a consequence, when the new maximum value Bmax2 is smaller than the last maximum value measured Bmax1, the magnetic signal B passes two successive switching thresholds S1 and S2, which results in a parasitic pulse I on the electrical signal Se.
(19) In order to alleviate this disadvantage, the method for automatically calibrating the camshaft sensor according to an aspect of the invention proposes the following steps.
(20) After the passage of the values of the magnetic field B above the switching threshold S1 on the rising edge and measuring a new maximum value Bmax2 of the magnetic field B, the electrical signal Se remains in a high state for as long as the values of the magnetic field B are higher than the hysteresis threshold S.sub.H, which is dependent on the amplitude of the magnetic field B calculated with the measured new maximum value Bmax2.
(21) After the passage of the values of the magnetic field B below the hysteresis threshold S.sub.H, a new switching threshold S2 is calculated according to the new maximum value Bmax2.
(22) The electrical signal Se therefore passes to a high state I as soon as the values of the magnetic field B pass above the switching threshold S1 on the rising edge and the electrical signal Se remains in the high state I for as long as a new maximum value Bmax2 has not been validated by the passage of the values of the magnetic field B below the hysteresis threshold S.sub.H, which is calculated according to the new maximum value Bmax2.
(23) Once the hysteresis threshold S.sub.H has been crossed, the new switching threshold S2 is calculated with the validated last maximum value Bmax2.
(24) In one preferred embodiment, after the passage of the values of the magnetic field B above the switching threshold S1 on the rising edge, the value of the switching threshold S1 is decreased until it crosses the hysteresis threshold S.sub.H. In other words, the value of the switching threshold S1 is set lower than its previously calculated value.
(25) In another embodiment, the electrical signal Se is controlled so as to remain in a high state I as soon as the values of the magnetic field B pass above the switching threshold S1 on the rising edge and for as long as a new maximum value Bmax2 has not been validated by the passage of the values of the magnetic field B below the hysteresis threshold S.sub.H, and to do so regardless of the value of the switching threshold S1 on the falling edge.
(26) This is illustrated in
(27) After passing P0 the switching threshold S1, the threshold value S1 is decreased and is equal, in this example, to a value close to zero, until passing P2 the hysteresis threshold S.sub.H.
(28) After passing P2 the hysteresis threshold S.sub.H, the new maximum value Bmax2 of the magnetic field is validated and the new switching threshold S2 is calculated according to this new maximum value Bmax2.
(29) At the bottom of
(30) The electrical signal Se therefore does not exhibit a parasitic pulse; like in the prior art.
(31) For this, the camshaft sensor 10 further comprises means M1 for calculating a hysteresis threshold (cf.
(32) The sensor 10 further comprises means M3 for controlling the electrical signal Se in order to control the electrical signal Se so that it is in the high state after passing above the switching threshold S1 and for as long as the hysteresis threshold S.sub.H has not been crossed.
(33) The means M1 for calculating a hysteresis threshold, the monitoring means M2 and the control means M3 are for example software means incorporated in the sensor 10 (cf.
(34) The method for automatically calibrating a camshaft sensor 10 according to an aspect of the invention therefore makes it possible to avoid parasitic pulses on the electrical signal during the successive passages of teeth having different maximum magnetic field values, in this instance when a tooth has a maximum value that is lower than that of the preceding tooth.
(35) An aspect of the invention has been described and illustrated in the case in which the maximum value varies from tooth to tooth, specifically the out-of-roundness defect of the target affects the maximum value of the magnetic field above all, but aspects of the invention may also be applied to the variation in the minimum value of two successive teeth, in this instance when a minimum value of a trough is higher than the minimum value of the preceding trough.