Validation of a signal from a crankshaft sensor
11719176 · 2023-08-08
Assignee
Inventors
Cpc classification
F01L2820/042
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D2041/286
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D2200/101
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D2041/227
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D41/0097
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D41/009
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01L1/047
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
F02D41/00
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Abstract
A method for switching between a degraded mode and a normal mode for determining the angular position of an internal combustion engine of a vehicle. The method includes the following steps, in a degraded mode: detecting the free space and the teeth of the toothed wheel of the crankshaft from the signal generated by the crankshaft sensor during the rotation of the crankshaft, determining the minimum rotation speed of each combustion top dead center of the crankshaft during a revolution of the crankshaft from the detected free space and the detected teeth, determining the angular positions of the crankshaft corresponding to the minimum determined rotation speeds, and switching to normal mode when, for each combustion top dead center, the difference between the determined angular position of the crankshaft and a reference angular position value is below a predetermined position threshold for at least one revolution of the crankshaft.
Claims
1. A method for validating an end of a transient failure of a signal originating from a crankshaft sensor of an internal combustion engine of a vehicle, said engine comprising a plurality of cylinders; a crankshaft configured to be driven by pistons of the cylinders during operation of the engine and comprising a toothed wheel comprising a plurality of teeth and a free space without teeth corresponding to a reference position of said crankshaft; said crankshaft sensor being configured to detect the teeth and the free space of said toothed wheel; at least one camshaft, comprising a camshaft toothed wheel having camshaft teeth of different lengths or unevenly spaced apart; and a camshaft sensor configured to detect the camshaft teeth of the camshaft toothed wheel the method, which is implemented by a computer configured to determine an angular position of the crankshaft from the detected free space, comprising: in a normal mode, determining an angular position of the engine from the angular position of the crankshaft and an angular position of the camshaft; switching to a degraded mode when a failure of the signal originating from the crankshaft sensor is detected, wherein during the degraded mode, the angular position of the engine is determined only from the angular position of the camshaft; detecting, during the degraded mode, the free space and the teeth of the toothed wheel of the crankshaft from a signal generated by the crankshaft sensor during rotation of the crankshaft; determining a duration of edges of teeth received by the crankshaft sensor upon each rotation of the crankshaft; determining a minimum rotation speed of the crankshaft in a vicinity of each combustion top dead center from the duration of the edges of teeth received by the crankshaft sensor upon each rotation of said crankshaft, with a position of the vicinity of each combustion top dead center being determined from the detected free space and the detected teeth; determining angular positions of the crankshaft corresponding to the determined minimum rotation speeds; and switching to the normal mode when, for each combustion top dead center, a difference between the determined angular position of the crankshaft and a corresponding reference angular position value is below a predetermined position threshold for at least one crankshaft revolution.
2. The method as claimed in claim 1, further comprising, prior to determining the minimum rotation speed of the crankshaft in the vicinity of each combustion top dead center, generating a modeled curve of the speed of the crankshaft by correlating, from a time measurement, the detection of the teeth and the free space.
3. The method as claimed in claim 2, wherein the modeled speed of the curve is generated between −40° and +40° of each determined angular position of the crankshaft.
4. The method as claimed in claim 3, wherein the rotation speed of the crankshaft is determined when detecting a tooth from a time that has elapsed since the detection of the preceding tooth.
5. The method as claimed in claim 2, wherein the rotation speed of the crankshaft is determined when detecting a tooth from a time that has elapsed since the detection of the preceding tooth.
6. The method as claimed in claim 2, further comprising computing the difference between the determined rotation speed of the crankshaft and the generated curve, with the switch to normal mode being carried out if the computed difference is less than a speed dependent threshold.
7. The method as claimed in claim 6, wherein the computation of the difference between the rotation speed of the crankshaft and the generated curve is carried out using the computation of a correlation coefficient.
8. The method as claimed in claim 1, further comprising a preliminary step of determining reference angular position values, said preliminary step comprising rotating the crankshaft in normal mode, detecting, by the crankshaft sensor, the free space and the teeth of the toothed wheel of the crankshaft, determining the minimum rotation speed in the vicinity of each combustion top dead center of the crankshaft from the free space and from the detected teeth during the rotation of said crankshaft, and determining the angular positions of the crankshaft corresponding to the determined minimum rotation speeds, with the value of the reference angular positions being equal to the determined angular positions.
9. The method as claimed in claim 1, wherein the switch to the normal mode is carried out if, for each combustion top dead center, the difference between the determined angular position of the crankshaft and the reference angular position value is below the corresponding predetermined position threshold during a predetermined number of consecutive cycles of the engine.
10. A computer for a vehicle, said computer being configured to implement the method as claimed in claim 1.
11. A vehicle comprising an internal combustion engine and the computer as claimed in claim 10.
12. The method as claimed in claim 1, wherein the failure of the signal originating from the crankshaft sensor is detected when a number of the teeth of the toothed wheel of the camshaft detected during the at least one crankshaft revolution is different from a predetermined number of the teeth of the toothed wheel of the camshaft.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further features and advantages of aspects of the invention will become more clearly apparent from reading the following description. This description is purely illustrative and must be read with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(7) An aspect of the invention will be described hereafter in the light of implementation in a motor vehicle. However, any implementation in a different context, in particular for any vehicle comprising an internal combustion engine, for which the angular position needs to be determined, is also covered by an aspect of the present invention.
(8)
(9) The internal combustion engine 10 comprises, in this non-limiting example, four cylinders 11 each demarcating a combustion chamber 11A, in which a piston 12 slides, connected to a crankshaft 13 and the movement of which is driven by the compression and the expansion of the gases originating from the compression of an air and fuel mixture introduced into the combustion chambers 11A.
(10) In this example, the engine 10 is of the four-stroke engine type. Furthermore, during operation of the engine 10, four operating phases are required for each cylinder 11: an air and fuel intake phase in the combustion chamber 11A of the cylinder 11, a phase of compressing the obtained mixture, on completion of which phase its combustion will occur, a phase of expanding the gases originating from the combustion of the mixture generating the thrust of the piston 12 and a phase of exhausting the gases out of the combustion chamber 11A. These four phases form an engine cycle that repeats. During the intake phase and the expansion phase, the piston 12 descends to the low position. During the compression phase and the exhaust phase, the piston 12 rises to the high position. The high position is denoted TDC (Top Dead Center). An engine cycle 10 thus comprises four combustion top dead centers TDC1, TDC2, TDC3, TDC4 in
(11) The air and the gases are respectively introduced and expelled via intake valves 14A and exhaust valves 14B connected to a camshaft 15. The camshaft 15 activates the intake valves 14A and the exhaust valves 14B. More specifically, the rotating camshaft 15 allows the intake valves 14A and the exhaust valves 14B of each combustion chamber 11A to be alternately opened and closed. Alternatively, the engine 10 of the vehicle could also equally comprise two camshafts, one dedicated to the intake valves 14A and the other dedicated to the exhaust valves 14B. Similarly, in this example, each cylinder 11 is connected to an intake valve 14A and an exhaust valve 14B; however, each cylinder 11 also could be connected to a plurality of intake valves 14A and to a plurality of exhaust valves 14B.
(12) With reference to
(13) The crankshaft 13 comprises a coaxially mounted toothed wheel 130 (commonly called a target by a person skilled in the art), an example of which is illustrated in
(14) With further reference to
(15) The camshaft 15 comprises a coaxially mounted toothed wheel 150, an example of which is illustrated in
(16) The crankshaft sensor 16 and the camshaft sensor 17 can be, in particular, in the form of sensors, for example, Hall-effect sensors, which are per se known, detecting the rising and falling edges. Alternatively, the computer 20 can be configured to process only the rising edges or the falling edges of the crankshaft sensor 16 and/or the camshaft sensor 17 in order to limit costs.
(17)
(18) The computer 20, for example, of the type known as an ECU (Electronic Control Unit) or an EMS (Engine Management System), is configured to determine the position of the engine 10 in order to optimize its operation, in particular by optimizing the time of combustion in the engine cycle 10. To this end, the computer 20 is configured to receive the signals 51, S2 respectively emitted by the crankshaft sensor 16 and by the camshaft sensor 17. The computer 20 is configured to identify, on each of these signals 51, S2, the teeth 131, 151, 152, 153 of the targets 130, 150. The computer 20 is also configured to identify, on the signal 51 emitted by the crankshaft sensor 16, the one or more free space(s) 132 of the toothed wheel 130 of the crankshaft 13, with this or these free space(s) 132 each being detected twice during an engine cycle 10.
(19) The computer 20 is configured to switch between two modes for determining the position of the engine 10: a normal mode, in which the computer 20 is configured to determine the angular position of the engine 10 from the angular position of the crankshaft 13, previously synchronized by virtue of the signal originating from the camshaft sensor S2, and a degraded mode in the event of the failure of the signal originating from the crankshaft sensor, wherein the computer 20 is configured to determine the angular position of the engine 10 only from the angular position of the camshaft 15. In other words, in the degraded mode, the computer 20 is configured to determine the position of the engine 10 only from the signal S2 emitted by the camshaft sensor 15. The computer 20 is, for example, particularly configured to switch to degraded mode after an error is detected on the signal 51 emitted by the crankshaft sensor 16.
(20) In normal mode, the computer 20 is configured to, from the position of the camshaft 15 (determined from the signal S2 emitted by the camshaft sensor 17), identify whether the one or more free space(s) 132 have been detected during the first or the second revolution of the crankshaft 13 during an engine cycle 10 in order to synchronize the engine 10. Since such synchronization is known, it will not be described in further detail herein.
(21) The computer 20 is configured to determine the rotation speed of the crankshaft 13 from the signal 51 generated by the crankshaft sensor 16. To this end, the computer 20 is configured to measure the duration between two teeth 131 successively detected on the signal 51. Alternatively, the computer 20 can be configured to determine the time, in relation to a clock of the computer 20, at which each tooth 131 is detected in order to determine the duration between two successively detected teeth 131. The computer 20 is then configured to compute the speed of the crankshaft 13 when a tooth 131 is detected from the duration determined from the detection of the preceding tooth 131.
(22) The computer 20 is then configured to generate a curve C representing the rotation speed of the crankshaft 13 over time, an example of which is illustrated in
(23) The computer 20 is configured to determine, from the generated curve C, the minimum speed V.sub.mini of rotation of each combustion top dead center TDC1, TDC2, TDC3, TDC4 of the crankshaft 13. This minimum speed V.sub.mini is detected in the vicinity of a combustion top dead center TDC1, TDC2, TDC3, TDC4 of the engine cycle 10. With the engine cycle 10 comprising four top dead centers TDC1, TDC2, TDC3, TDC4 in this example, the computer 20 is configured to determine four minimum speeds V.sub.mini, with each minimum speed V.sub.mini corresponding to one of these top dead centers TDC1, TDC2, TDC3 or TDC4.
(24) The computer 20 is configured to determine the angular positions of the crankshaft 13 corresponding to the determined minimum speeds V.sub.mini. Each angular position particularly can be determined by extrapolation from the known position of the detected teeth 131. In the example illustrated in
(25) Advantageously, with the angular position of the combustion top dead centers TDC1, TDC2, TDC3, TDC4 being known per structure and being recorded in the ECU, the curve C is only generated in the vicinity of the combustion top dead centers TDC1, TDC2, TDC3, TDC4 in order to limit the computations. In particular, the curve C can be generated from the measurements carried out for the four preceding teeth and the four teeth following a combustion top dead center TDC1, TDC2, TDC3, TDC4.
(26) The computer 20 is configured to compare, at each combustion top dead center TDC1, TDC2, TDC3, TDC4, the determined angular position with a reference angular position value associated with the minimum speed V.sub.mini of rotation of the considered crankshaft 13. The computer 20 is configured to determine the end of the transient failure of the signal originating from the crankshaft sensor 16 and to switch the operation of the engine 10 to normal mode when the difference between the determined angular position and the reference value is below a position threshold during a predetermined number of revolutions of the crankshaft 13, for example, at least 10, preferably of the order of 40 revolutions.
(27) The reference value is predetermined when the engine 10 operates in normal mode. To this end, the computer 20 is configured to generate a speed curve of the crankshaft 13 in order to determine a minimum speed V.sub.mini, as previously described, but this time in normal mode in order to determine the reference value. This predetermination can be carried out in the factory or over the lifetime of the vehicle 1. This reference value is stored in a non-volatile, or permanent, memory of the computer in order to be able to act as a reference.
(28) The computer 20 is also configured to detect whether a measured speed is far removed from the generated curve C. Such a difference represents a failure of the signal originating from the crankshaft sensor 16, which allows the engine 10 to be kept in a degraded mode. The difference between a measured speed and the generated curve C particularly can be determined from the computation of a correlation coefficient, denoted R.sup.2. This coefficient, which is per se known to a person skilled in the art, allows the difference between the generated curve C and the measured values to be quantified.
(29) Using the correlation coefficient R.sup.2 allows a failure to be detected, in particular two failures that compensate each other and thus cannot be detected when determining the minimum speed V.sub.mini. If, for example, the crankshaft sensor 16 views, in the same revolution (between two free spaces), an additional tooth and a missing tooth, the total number of total teeth will be correct, while an error may have occurred. The correlation coefficient R.sup.2 allows an additional tooth and/or a missing tooth to be detected on the sample, with the measured speed values not corresponding to the values determined on the curve C (with the difference being significant for the measurements with an erroneous position).
(30) The previous description will be advantageously used in a degraded mode when the failure of the crankshaft sensor 16 is no longer detected, in order to requalify the received signal and thus return to normal mode.
(31) An embodiment of the method according to the invention will now be described.
(32) Firstly, the engine 10 is started. In other words, the crankshaft 13 and the camshaft 15 are rotated by the combustion produced in the cylinders 11.
(33) In a preliminary step, the engine 10 operates in normal mode. In other words, no failure is detected.
(34) The crankshaft sensor 16 and the camshaft sensor 17 then respectively detect the teeth 131, 151, 152, 153 and the one or more free space(s) 132 of the toothed wheel 130, 150, opposite which they are placed, and generate signals 51, S2. The crankshaft sensor 16 transmits the signal 51 that it generates to the computer 20, and the camshaft sensor 17 transmits the signal S2 that it generates to the computer 20, in order to allow the computer 20 to determine the position of the engine 10.
(35) The computer 20 also determines the rotation speed of the crankshaft 13 when a tooth 131 is detected, in particular from the measurement of the duration since the detection of the preceding tooth 131. A speed curve is then generated from the different speeds determined using a method of the least squares type.
(36) Finally, the computer 20 determines the minimum speed V.sub.mini of rotation of the crankshaft 13 during an engine cycle 10 for each combustion top dead center TDC1, TDC2, TDC3, TDC4. Then, the computer 20 determines the angular position of the crankshaft 13 corresponding to the minimum speed V.sub.mini of rotation thus determined for each combustion top dead center TDC1, TDC2, TDC3, TDC4. Each angular position is then recorded in a non-volatile memory zone of the computer 20 as a reference angular position value.
(37) During the operation of the engine 10, the computer 20 also detects a failure of the signal originating from the crankshaft sensor 16. To this end, the computer 20 determines the number of teeth 131 detected during one revolution of the crankshaft 13, i.e. between two detections of the free space 132. If the number of detected teeth 131 is different, in particular lower or higher, from the number of teeth 131 that the toothed wheel 130 comprises, then the computer 20 detects a failure.
(38) The computer 20 then switches the operation of the engine 10 to a degraded mode. In this degraded mode, the computer 20 no longer uses the signal 51 generated by the crankshaft sensor 16 to determine the position of the engine 10, unlike the normal mode.
(39) During the degraded mode, and when the computer detects a signal originating from the crankshaft sensor, the crankshaft sensor 16 detects the teeth 131 and the one or more free space(s) 132 of the toothed wheel 130 and generates a signal 51. The crankshaft sensor 16 transmits the signal 51 that it generates to the computer 20.
(40) The computer 20 also determines the rotation speed of the crankshaft 10 when a tooth 131 is detected and generates a speed curve C from the different determined rotation speeds, as previously described.
(41) The computer 20 then determines the minimum speeds V.sub.mini of rotation of the crankshaft 13 during an engine cycle, as well as the angular positions of the crankshaft 13 corresponding to the determined minimum speeds V.sub.mini of rotation. The computer can define these speeds and the associated positions once per engine cycle, or between two consecutive top dead centers in order to determine these parameters, without this limiting the scope of the present invention.
(42) The computer 20 then compares the determined angular positions with the reference values. The computer 20 repeats these operations during a plurality of revolutions of the crankshaft 13, for example, around ten (that is approximately forty comparisons for a four-cylinder engine). If the difference between a determined angular position for each revolution of the crankshaft 13 and the corresponding reference value is consecutively below a position threshold, preferably of the order of 2°CRK, the computer 20 switches the operation of the engine 10 to normal mode.
(43) Preferably, the computer 20 comprises a counter, the value of which is incremented upon each crankshaft revolution 13 if the difference between the determined angular position upon one revolution of the crankshaft 13 and the considered reference value is below the position threshold. The switch to normal mode occurs when the value of the counter reaches a determined value, for example, forty.
(44) In the degraded mode, the computer 20 also determines the correlation coefficient R.sup.2 of the generated curve C in order to detect failures. To this end, the computer 20 compares the value of the determined coefficient with a speed dependent reference value. If the value of the coefficient is greater than this reference value, the operation of the engine 10 does not switch to normal mode.
(45) Similarly, if the computer 20 detects a failure during the degraded mode, in particular by counting the number of teeth 131 detected during one revolution of the crankshaft 13, the switch to normal mode is interrupted, and the previously described steps will be repeated when the failure has been eliminated.
(46) By virtue of these many tests, the switch to normal mode from the degraded mode is reliable. In other words, the switch to normal mode is only carried out if no failure has been detected by one of these tests. Moreover, this enables switching to normal mode after a limited number of revolutions of the crankshaft, for example, less than ten, which limits the operating duration of the engine 10 in degraded mode and thus limits polluting discharges.