Method for automatic calibration of a camshaft sensor in order to correct a reluctor runout
11353346 · 2022-06-07
Assignee
Inventors
Cpc classification
International classification
Abstract
A method for automatic calibration of a camshaft sensor for a motor vehicle engine. The sensor includes a processing module configured to generate, from a raw signal indicative of the variations in a magnetic field which are caused by a rotation of a target and measured by a primary cell, an output signal indicative of the moments at which teeth of the target pass past the primary cell. The sensor further includes two secondary measurement cells. The calibration method therefore makes it possible to determine two different switching thresholds for each tooth from a differential signal indicative of a difference in magnetic field measurement by the secondary cells. Also disclosed are a camshaft sensor implementing such a method, and a motor vehicle including such a sensor.
Claims
1. A method for automatic calibration of a camshaft sensor for a motor vehicle engine, said sensor comprising: a toothed target, a primary measurement cell configured to supply a first raw signal indicative of variations in a first magnetic field which are induced by a rotation of the target, two secondary measurement cells configured to supply a respective second raw signal and a third raw signal each indicative of variations in a respective second magnetic field and at third magnetic field which are induced by the rotation of the target, and a processing module configured to supply, from the first raw signal, the second raw signal, and the third raw signal, an output signal indicative of moments at which teeth of the target pass past the primary cell, said calibration method comprising: determining a local minimum of the first raw signal as a space separating two teeth of the target passes past the primary cell, determining a differential signal as a difference between the second raw signal and the third raw signal, determining, from said differential signal, a first local maximum of the first raw signal in a vicinity of a falling front of said first raw signal corresponding to an end of the passage of a tooth of the target past the primary cell, determining a first switching threshold for generation of the output signal as a function of values of the first local maximum and of the local minimum, determining, from said differential signal, a second local maximum of the first raw signal in a vicinity of a rising front of said first raw signal corresponding to a start of the passage of said tooth of the target past the primary cell, determining a second switching threshold as a function of the values of the second local maximum and of the local minimum, and generating said output signal from the first raw signal, from the first switching threshold and from the second switching threshold.
2. The method as claimed in claim 1, wherein the first local maximum corresponds to a value adopted by the first raw signal when the differential signal adopts a first predetermined value, and the second local maximum corresponds to a value adopted by the first raw signal when the differential signal adopts a second predetermined value, as said tooth of the target passes past the secondary cells.
3. The method as claimed in claim 2, wherein: the first local maximum corresponds to a value adopted by the first raw signal in the vicinity of said falling front when the differential signal has a negative gradient and adopts a first predetermined value defined by:
D.sub.fe=D.sub.m−(D.sub.m−D.sub.min)×K.sub.fe the second local maximum corresponds to a value adopted by the first raw signal in the vicinity of said rising front when the differential signal has a negative gradient and adopts a second predetermined value defined by:
D.sub.re=D.sub.m+(D.sub.max−D.sub.m)×K.sub.re in which: D.sub.max and D.sub.min correspond respectively to a maximum value and to a minimum value of the differential signal as the teeth of the target pass past the secondary cells, D.sub.m is a value defined by:
4. The method as claimed in claim 1, wherein the local minimum corresponds to a value adopted by the first raw signal when the differential signal adopts a predetermined value as a space separating two teeth of the target passes past the secondary cells.
5. The method as claimed in claim 4, wherein the local minimum corresponds to the value adopted by the first raw signal when the differential signal adopts a predetermined value defined by:
6. The method as claimed in claim 1, wherein said secondary cells are arranged one on either side of the primary cell, at equal distances from the primary cell and at a distance from the center of the target that is equal to the distance separating the primary cell from the center of the target.
7. A camshaft sensor for a motor vehicle engine, comprising: a toothed target, a primary measurement cell configured to supply a first raw signal indicative of variations in a first magnetic field which are induced by rotation of the target, two secondary measurement cells configured to supply a respective second raw signal and a third raw signal each indicative of variations in a respective second magnetic field and at third magnetic field which are induced by the rotation of the target, and a processing module configured to supply, from said first raw signal, the second raw signal, and the third raw signal, an output signal indicative of moments at which teeth of the target pass past the primary cell, wherein: said sensor further comprises two secondary measurement cells, the processing module is furthermore configured to: generate a differential signal indicative of a difference in magnetic field measurement by said two secondary cells, determine the differential signal as a difference between the second raw signal and the third raw signal, determine, from said differential signal, a first local maximum of the first raw signal in a vicinity of a falling front of said first raw signal corresponding to an end of the passage of a tooth of the target past the primary cell, determine, from said differential signal, a second local maximum of the first raw signal in the vicinity of a rising front of said first raw signal corresponding to a start of the passage of said tooth of the target past the primary cell, determine a local minimum of the first raw signal as a space separating two teeth of the target passes past the primary cell, determine a first switching threshold as a function of the values of a first local maximum and of a local minimum, determine a second switching threshold as a function of the values of the first local maximum and of the local minimum, and generate said output signal from the first raw signal, from the first switching threshold and from the second switching threshold.
8. The sensor as claimed in claim 7, wherein the first local maximum corresponds to a value adopted by the first raw signal when the differential signal adopts a first predetermined value, and the second local maximum corresponds to a value adopted by the first raw signal when the differential signal adopts a second predetermined value, as said tooth of the target passes past the secondary cells.
9. The sensor as claimed in claim 8, wherein: the first local maximum corresponds to a value adopted by the first raw signal in the vicinity of said falling front when the differential signal has a negative gradient and adopts a first predetermined value defined by:
D.sub.fe=D.sub.m−(D.sub.m−D.sub.min)×K.sub.fe the second local maximum corresponds to a value adopted by the first raw signal in the vicinity of said rising front when the differential signal has a negative gradient and adopts a second predetermined value defined by:
D.sub.re=D.sub.m+(D.sub.max−D.sub.m)×K.sub.re in which: D.sub.max and D.sub.min correspond respectively to a maximum value and to a minimum value of the differential signal as the teeth of the target pass past the secondary cells, D.sub.m is a value defined by:
10. A motor vehicle comprising a camshaft sensor as claimed in claim 7.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects of the invention will be better understood upon reading the following description, given by way of entirely non-limiting example and with reference to
(2)
(3)
(4)
(5)
(6)
(7) 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 that are shown are not necessarily to the same scale, unless stated otherwise.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(8) As indicated previously, an aspect of the present invention seeks to improve the precision of a motor vehicle engine camshaft sensor.
(9)
(10) In one example considered and described entirely nonlimitingly, the target 14 consists of a metal disk the periphery of which is toothed, the magnetic-field generator 11 is a permanent magnet, and the primary cell 12 for measuring the magnetic field is a Hall-effect cell. As illustrated in
(11) It should be noted that, according to another example, the magnetic field measured by the measurement cell may be formed by the target itself, which, as appropriate, is made of a magnetic material. In such an instance, the target is “magnetically” toothed, which means to say that the geometry of the periphery of the target exhibits an alternation of North poles (equivalent to the teeth in the example of
(12) The target 14 is fixed to a camshaft spindle in such a way that the disk of the target 14 and the camshaft spindle are coaxial. In other words, in an ideal situation, namely in the absence of any lack of precision in the mounting of the target 14 on the camshaft, the axis of the camshaft spindle and the axis of the target 14 coincide, and both pass through the center 15 of the target 14.
(13) The teeth D1, D2, D3 of the target 14 have respective lengths l1, l2 and l3, and are separated from one another by spaces S1, S2, S3 of respective lengths s1, s2 and s3. In order to code for the angular position of the target, the lengths l1, l2, l3, s1, s2, s3 of the teeth D1, D2, D3 and of the spaces S1, S2, S3 are not all identical. The teeth D1, D2, D3 generally all have the same height, but deficiencies in the manufacturing of the target 14 may nevertheless cause slightly different values to be observed for the respective heights h1, h2, h3 of the teeth D1, D2, D3.
(14) It should be noted that, in the example considered, the target 14 comprises three teeth D1, D2, D3, but an aspect of the invention also applies to sensors 10 of which the target 14 comprises a different number of teeth. In particular, an aspect of the invention is applicable to a target 14 comprising at least one tooth.
(15) The rotation R of the target 14 and the successive passage of the various teeth D1, D2, D3 past the magnetic-field generator 11 lead to variations in the magnetic field measured by the primary cell 12. In effect, the magnetic field varies as a function of the magnitude of the gape separating the magnetic-field generator 11 and the target 14.
(16) The primary measurement cell 12 supplies the processing module 13 with a raw signal indicative of the intensity of the magnetic field measured. The processing module 13 is, for example, configured to generate, from this raw signal, an output signal indicative of the moments at which the various teeth D1, D2, D3 of the target 14 pass past the primary measurement cell 12. The output signal may then make it possible to recognise the moments at which the various teeth D1, D2, D3 of the target 14 pass past the primary measurement cell 12 and, ultimately, the angular position of the camshaft secured to the target.
(17) In order to do that, the processing module 13 comprises for example one or more processors and storage means (electronic memory) in 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 various steps needed for generating said output signal from the raw signal. Alternatively or in addition, the processing module 13 comprises programmable logic circuits of FPGA, PLD, etc. type, and/or one or more specialized integrated circuits (ASIC), and/or discrete electronic components, etc., suitable for implementing these steps. In other words, the processing module 13 comprises means configured by software and/or by hardware to implement the operations necessary for generating said output signal from the raw signal.
(18)
(19) The portion of the raw signal 20 depicted in
(20)
(21) This output signal 30 is for example an electrical signal adopting a positive value (for example 5V) when a tooth D1, D2, D3 is facing the primary cell 12, and a zero value (0V) when a space S1, S2, S3 is facing the primary cell 12. The electrical voltage V of the output signal 30 is represented on the ordinate axis and the time t is represented on the abscissa axis.
(22) The output signal 30 thus comprises a succession of square waveforms, each square form corresponding to the passage of a tooth D1, D2, D3 of the target 14 past the primary measurement cell 12. Each square form comprises a rising front 31 and a falling front 32 corresponding more or less to the passing of the mechanical fronts of a tooth D1, D2, D3 past the measurement cell. The portion of the raw signal 30 depicted in
(23) In general, each rising front 31 and falling front 32 of the output signal 30 (namely each transition of the electrical signal) is determined from a switching threshold S that is predefined for the raw signal 20. In other words, the output signal 30 exhibits a rising front 31 when the raw signal 20 passes above the switching threshold S, and the output signal 30 exhibits a falling front 32 when the raw signal 20 passes below the switching threshold S.
(24) Conventionally, the switching threshold S is calculated for example on the basis of a percentage of an amplitude A of the raw signal 20 equal to the difference between a local maximum H.sub.c and a local minimum L.sub.c which are observed for said raw signal 20. The switching threshold S conventionally corresponds to a value chosen in a range comprised between 70% and 80% of the amplitude A, preferably around 75% of the amplitude A. In other words, for a factor K comprised between 0 and 1, generally comprised between 0.7 and 0.8 and preferably equalling 0.75, the switching threshold S is conventionally defined by:
S=L.sub.c+A×K
(25) It is known practice, for example, to determine, for each new revolution of the target 14, for the tooth D1, a local minimum L.sub.c of the raw signal 20 preceding a rising front 21, and a local maximum H.sub.c preceding a falling front 22, so as to update the value of a switching threshold S to be used to generate the output signal 30 during the next revolution of the target 14.
(26) It is also known practice, for example, to detect a local minimum L.sub.c (or, respectively, a local maximum H.sub.c) when the raw signal 20 varies by a value that is greater (in terms of absolute value) than a predefined constant C after its gradient has become positive (or, respectively, negative).
(27) This can be repeated for each revolution of the target 14 and for each tooth D1, D2, D3 of the target 14 so as to obtain, for the next revolution of the target 14, a value for the switching threshold S to be used. This may be the one same switching threshold S to be used for all the teeth D1, D2, D3 (the value of this threshold being calculated for example as a function of a mean, minimum or maximum value of the local minima L.sub.c and/or of the local maxima H.sub.c observed for the teeth D1, D2, D3), or else it may be a switching threshold S that is different for each tooth D1, D2, D3 (the value of this threshold being calculated for example as a function of the local maximum H.sub.c and of the local minimum L.sub.c which are observed for each tooth D1, D2, D3).
(28) However, such a solution does not provide sufficient precision in the event of the target 14 exhibiting runout. What is meant by the “target exhibiting runout” is a deficiency associated with the fact that the axis of the target 14 does not coincide perfectly with the axis of the camshaft spindle to which the target 14 is attached. Such a deficiency may lead to greater or lesser variations in the raw signal 20 over a portion separating a rising front 21 from a falling front 22.
(29)
(30) As illustrated in
(31)
(32) It should be noted that the problem of target runout leading to variations in the raw signal 20 over a portion separating a rising front 21 from a falling front 22 may also be generated or amplified by the fact of a height h1, h2, h3 of a tooth D1, D2, D3 not being constant over the length l1, l2, l3 of said tooth D1, D2, D3. Such a phenomenon may be brought about by deficiencies in the manufacturing of the target 14.
(33) As illustrated in
(34) The remainder of the description concerns itself with describing a camshaft sensor and a method for calibrating said sensor to make it possible to correct the aforementioned problem of target runout.
(35)
(36) In the example considered and as illustrated schematically in
(37) The processing module 13′ is configured to generate, from the magnetic-field measurements taken by the secondary cells 12a, 12b, a differential signal indicative of a difference in the magnetic field measured by said secondary cells 12a, 12b.
(38)
(39) Furthermore, the corresponding portion of the differential signal 40 indicative of the difference in magnetic field measured by the secondary cells 12a, 12b is also depicted in
(40) In the portion illustrated in
(41) The differential signal 40 thus exhibits a succession of local minima and maxima as the various teeth D1, D2, D3 of the target 14 pass past the secondary cells 12a, 12b during a revolution of the target 14.
(42) It is therefore possible, from this differential signal 40, to determine, for a given tooth D1, D2, D3 of the target 14, two distinct switching thresholds rather than one single switching threshold.
(43) For example, and as illustrated in
(44) Determining a first switching threshold S.sub.fe for the falling front 22 and a distinct second switching threshold S.sub.re for the rising front 21 makes it possible to correct the problem generated by the target runout.
(45) In one particular implementation, the processing module 13′ is configured for example to determine, for the tooth D1 during one revolution of the target 14: a value D.sub.max corresponding to a mean value for the local maxima 42 observed for the differential signal 40 for the various teeth D1, D2, D3, a value D.sub.min corresponding to a mean value for the local minima 41, 43 observed for the differential signal 40 for the various teeth D1, D3, D3, a value D.sub.m defined by:
(46)
D.sub.fe=D.sub.m−(D.sub.m−D.sub.min)×K.sub.fe
(47) where K.sub.fe is a predetermined factor comprised between 0 and 1, and preferably comprised between 0.125 and 0.25, a second predetermined value D.sub.re defined by:
D.sub.re=D.sub.m+(D.sub.max−D.sub.m)×K.sub.re
(48) where K.sub.re is a predetermined factor comprised between 0 and 1, and preferably comprised between 0.125 and 0.25, a local minimum L for the raw signal 20 upon the passage of a space S3 a value of a first local maximum H.sub.fe, as being the value adopted by the raw signal 20 in the vicinity of the falling front 22 when the differential signal 40 has a negative gradient and adopts the first predetermined value D.sub.fe, a value of a second local maximum H.sub.re, as being the value adopted by the raw signal 20 in the vicinity of the rising front 21 when the differential signal 40 has a negative gradient and adopts the second predetermined value D.sub.re, a first amplitude A.sub.fe corresponding to the difference between the values of the first local maximum H.sub.fe and of the local minimum L, a second amplitude A.sub.re corresponding to the difference between the values of the second local maximum H.sub.re and of the local minimum L,
(49) the first switching threshold S.sub.fe defined by:
S.sub.fe=L+A.sub.fe×K
(50) the second switching threshold S.sub.re defined by:
S=L+A.sub.re×K
(51) where K is a predefined factor comprised between 0 and 1, preferably between 0.7 and 0.8, and more preferably still, approximately equal to 0.75.
(52)
(53)
(54) It can be seen from
(55) Once again, it should be noted that these operations can be repeated for the various teeth D1, D2, D3 of the targets 14 using the switching thresholds determined for each of them.
(56) It is appropriate to note that other methods can be employed for determining the values D.sub.min and D.sub.max. For example, in order to determine D.sub.min, rather than using a mean value of the local minima 41, 43 observed for the differential signal 40 for the various teeth D1, D2, D3 during one revolution of the target 14, it is conceivable to use a maximum value or a minimum value of said local minima 41, 43. The same goes for the determination of D.sub.max, which can be determined as being the maximum value or the minimum value of the local maxima 42 observed for the differential signal 40 for the various teeth D1, D2, D3 during a revolution of the target 14. Also, a particular choice of method for determining D.sub.min, D.sub.max, D.sub.m, the first predetermined value D.sub.fe or the second predetermined value D.sub.re merely represents a variant of an aspect of the invention.
(57) The values D.sub.min, D.sub.max, D.sub.m, K.sub.re, K.sub.fe, the first predetermined value D.sub.fe or the second predetermined value D.sub.re may potentially be determined according to the positioning of the secondary cells 12a, 12b with respect to the primary cell 12′, notably if the secondary cells 12a, 12b are not situated at the same distance from the primary cell 12′.
(58) In the example considered, the values D.sub.min, D.sub.max, D.sub.m, the first predetermined value D.sub.fe or the second predetermined value D.sub.re are updated for each new revolution of the target 14. However, there is nothing to prevent the values, in other examples, from being predetermined and from not varying during operation of the sensor 10′, or else from being updated less frequently, for example when the target 14 has reached a certain number of revolutions, or else when a predetermined period of time has elapsed. It is advantageous for these values to be updated regularly, because they can vary, as a function of the temperature for example, during the course of operation of the sensor.
(59) The same goes for the values of the first local maximum H.sub.fe, of the second local maximum H.sub.re, of the local minimum L, of the first amplitude A.sub.fe, of the second amplitude A.sub.re, of the first switching threshold S.sub.fe, and of the second switching threshold S.sub.re: these can be determined for each tooth D1, D2, D3 and updated for each new revolution of the target 14, or else they can be updated less frequently.
(60) The local minimum L may for example be detected, in a known way, similarly to that which has been described with reference to
(61) According to other examples, it is also conceivable to use the mean (or maximum or minimum) value of the collection of local minima L observed for the raw signal 20 for the various teeth D1, D2, D3 during a revolution of the target 14. Here again, this value can be updated for each revolution of the target 14, or else less frequently.
(62) In particular implementations, a local minimum L can be detected using the differential signal 40. For example, and as illustrated in
(63) Thus, in the example illustrated in
(64) It is appropriate to note that runout presented by the target 14 has less of an impact on those portions of the raw signal 20 that correspond to the passage of a space S1, S2, S3 past the primary cell 12′ than it does on those portions of the raw signal 20 that correspond to the passage of a tooth past the primary cell 12′. In other words, the asymmetry caused by the target runout and observed on a portion of the raw signal 20 corresponding to the passage of a tooth past the primary cell 12′ is not generally observed on a portion of the raw signal 20 corresponding to the passage of a space S1, S2, S3 past the primary cell 12′. According to the teaching of an aspect of the invention, it is still nevertheless conceivable to define, from the differential signal 40, two distinct local minima L.sub.re and L.sub.fe corresponding, respectively, to a local minimum of the raw signal 20 in the vicinity of the rising front 21 and to a local minimum of the raw signal 20 in the vicinity of the falling front 22. The first switching threshold S.sub.fe and the second switching threshold S.sub.re can then for example be determined thus:
S.sub.re=L.sub.re+(H.sub.re−L.sub.re)×K
S.sub.fe=L.sub.fe+(H.sub.fe−L.sub.fe)×K
(65) The description above clearly illustrates that, through its various features and the advantages thereof, the an aspect of present invention achieves the set aims. In particular, the calibration method according to an aspect of the invention makes it possible to determine with greater precision in the moments of a rising front 31 and of a falling front 32 of the output signal 30 corresponding respectively to the moments marking the beginning and end of the passage of the mechanical fronts of a tooth D1, D2, D3 as said tooth D1, D2, D3 passes past the primary cell 12′. The first switching threshold S.sub.fe and the second switching threshold S.sub.re for one tooth D1, D2, D3 are advantageously determined as a function of the observations made in respect of said tooth in a previous revolution, so that they are adapted to suit the specific characteristics of said tooth (potential deficiencies of geometry and the effects of target runout).