METHOD AND DEVICE FOR MONITORING AND CONTROLLING A VEHICLE ENGINE
20240375669 ยท 2024-11-14
Inventors
Cpc classification
B60W50/045
PERFORMING OPERATIONS; TRANSPORTING
G06F11/0739
PHYSICS
B60W10/04
PERFORMING OPERATIONS; TRANSPORTING
F02D41/26
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
G06F11/0796
PHYSICS
B60W50/029
PERFORMING OPERATIONS; TRANSPORTING
B60W2050/0292
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60W50/029
PERFORMING OPERATIONS; TRANSPORTING
B60W50/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
The invention relates to a method for monitoring a vehicle engine comprising an electronic engine control unit, comprising a multicore computer (C), a first module (L1), a second module (L2), and a third module (L3) that is designed to implement a safety procedure command at the request of the second module or if a failure of the first module is detected, the first module being designed to run on a first core (C1) of the computer, the second module being designed to run on a second core (C2) of the computer, the electronic engine control unit comprising a fourth module (LM) that is designed, in a redundant manner, to provide the main functions for driving the engine of the vehicle, and to run under the monitoring of the second module and on the second core, the third module arbitrating between a command produced by the first module and a command produced by the fourth module.
Claims
1. A method for monitoring and controlling a vehicle engine implemented in an electronic engine control unit, comprising a multicore computer (C), a first module (L1) that is designed, on its own, nominally and in full, to provide the functions for driving the engine of the vehicle, a second module (L2) that is designed to monitor the correct operation of the first module (L1) and to command a safety procedure if a failure of the first module (L1) is detected, and a third module (L3) that is designed to monitor the correct operation of the multicore computer (C) and to implement said safety procedure command at the request of the second module (L2) or if a failure of the first module (L1) is detected by its own means, characterized in that: the first module (L1) is designed to run on a first core (C1) of the multicore computer (C), the second module (L2) is designed to run on a second core (C2) of the multicore computer (C) that is different to the first core (C1), the electronic engine control unit comprises a fourth module (LM) that is designed, in a redundant and simplified manner, to provide the main functions for driving the engine of the vehicle, and is furthermore designed to run under the monitoring of the second module (L2) and on the second core (C2), the third module (L3) arbitrating between a command produced by the first module (L1) and a command produced by the fourth module (LM); and in that the arbitration between a command produced by the first module (L1) and a command produced by the fourth module (LM) comprises the following steps: evaluation of a first condition (T1): a command produced by the first module (L1) is close to, or equal to, a command produced by the fourth module (LM), evaluation of a second condition (T2): the monitoring of the second module (L2) by the third module (L3) has not detected any error, if the first condition (T1) and the second condition (T2) are both true, the command produced by the first module (L1) is applied to the engine, if the first condition (T1) is false and the second condition (T2) is true, the command produced by the fourth module (LM) is applied to the engine, if the first condition (T1) is false and the second condition (T2) is false, a safety procedure is commanded, and if the first condition (T1) is true and the second condition (T2) is false, a safety procedure is commanded.
2. The monitoring and control method as claimed in claim 1, wherein the first module (L1) is implemented by an application software layer, the second module (L2) is implemented by an application software layer, the third module (L3) is implemented by a hardware module, and the fourth module (LM) is implemented by an application software layer.
3. An electronic unit for monitoring and controlling a vehicle engine, comprising: a multicore computer (C), a first module (L1) that is designed, on its own, nominally and in full, to provide the functions for driving the engine of the vehicle, a second module (L2) that is designed to monitor the correct operation of the first module (L1) and to command a safety procedure if a failure of the first module (L1) is detected, and a third module (L3) that is designed to monitor the correct operation of the multicore computer (C) and to implement said safety procedure command at the request of the second module (L2) or if a failure of the first module (L1) is detected by its own means, characterized in that: the first module (L1) is designed to run on a first core (C1) of the multicore computer (C), the second module (L2) is designed to run on a second core (C2) of the multicore computer (C) that is different to the first core (C1), the electronic engine control unit comprises a fourth module (LM) that is designed, in a redundant and simplified manner, to provide the main functions for driving the engine of the vehicle, and is furthermore designed to run under the monitoring of the second module (L2) and on the second core (C2), the third module (L3) arbitrating between a command produced by the first module (L1) and a command produced by the fourth module (LM), and in that the third module (L3) is configured so that the arbitration between a command produced by the first module (L1) and a command produced by the fourth module (LM) comprises the following steps: evaluation of a first condition (T1): a command produced by the first module (L1) is close to, or equal to, a command produced by the fourth module (LM), evaluation of a second condition (T2): the monitoring of the second module (L2) by the third module (L3) has not detected any error, if the first condition (T1) and the second condition (T2) are both true, the command produced by the first module (L1) is applied to the engine, if the first condition (T1) is false and the second condition (T2) is true, the command produced by the fourth module (LM) is applied to the engine, if the first condition (T1) is false and the second condition (T2) is false, a safety procedure is commanded, and if the first condition (T1) is true and the second condition (T2) is false, a safety procedure is commanded.
4. The monitoring and control unit as claimed in claim 3, wherein the first module (L1) is a software layer, the second module (L2) is a software layer, the third module (L3) is a hardware module, and the fourth module (LM) is a software layer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The invention will be understood better from reading the following description, given solely by way of example, with reference to the appended figures, in which:
[0024]
[0025]
[0026]
DESCRIPTION OF THE EMBODIMENTS
[0027] With reference to
[0028] For the present description, a safety procedure has the same definition as that given above for the prior art, that is to say can be effected according to at least three levels, summarized as follows:
[0029] A first level called limp mode allows all of the functions of the engine but imposes a maximum speed or rpm.
[0030] A second level called stop mode stops the engine and therefore immobilizes the vehicle. Such a safety procedure is typically commanded after the second module L2 or the third module L3 has detected a failure. The safety procedure is typically commanded by the second module L2. This command is verified and, where applicable, is repeated by the third module L3 in the event of an actuation fault.
[0031] A third level called safety reset mode resets the computer C. Such a safety procedure is commanded by the third module L3 either upon detection by its own means or at the request of the second module L2. The aim here is to attempt to remedy transient software errors while at the same time putting the engine and the vehicle into a safe state.
[0032] Furthermore, as illustrated in
[0033] Here, the term simplified is understood to mean that only the main functions are undertaken. The engine control algorithm will be simpler, to the detriment of performance. For example, fewer adjustable parameters will be used (fewer calibrations), again to the detriment of performance. In a combustion engine, it will be possible, for example, to remove a certain number of injection strategies (regeneration, multi-injection, etc.) as is already known and carried out in limp home mode, a MIL (malfunction indicator lamp) warning light imperatively having to be turned on so that the driver quickly takes the vehicle to the garage. Furthermore, each of the retained functions is not necessarily developed with the same level of detail as in the first application software module L1, but only so as to be able to control the engine. The simplification of the strategy implemented by the fourth module LM makes it possible to circumvent a potential problem that would be implemented in the first module L1. This simplification avoids having the same software bug and above all consumes fewer data and puts less load on the computer. This strategy runs on another core of the multicore computer of the electronic engine control unit in a safe environment of ISO 26262 type that is, for example, known by those skilled in the art.
[0034] The term redundant is understood to mean that the fourth module LM is able to produce engine commands that are redundant in relation to those produced by the first application software module L1.
[0035] The fourth module LM is, for example, an application software module, and in the interest of operational safety is able to run in connection with the second application software module L2 and on the second core C2. The redundant fourth module LM therefore advantageously does not run on the same core C1 as the first application L1.
[0036] The invention also adds an arbitration module L3D. This arbitration module L3D is integrated into the third hardware module L3 and therefore allows it to provide the arbitration.
[0037] The function of the arbitration module L3D consists either of choosing, from the engine commands redundantly produced by the first application software module L1, on the one hand, and by the fourth module LM, on the other hand, those which seem the most reliable, have to be retained and are applied effectively to the engine, or if there is no arbitration, when such a choice proves to be dangerous, of not applying a command and instead requesting a safety procedure.
[0038] According to another feature, the arbitration between a command produced by the first application software module L1 and a command produced by the fourth module LM is carried out according to the following synopsis, more particularly illustrated in
[0039] This synopsis comprises, more particularly illustrated in the top part of
[0040] This first condition T1 is true if a command produced by the first application software module L1 is close to, or equal to, a command produced by the fourth application software module LM, which is represented by the conditional box L1 =LM in
[0041] Otherwise, T1 is false as indicated. The second application module L2 is responsible for comparing L1 against LM and processes the first condition T1.
[0042] The second condition T2 is true if the monitoring of the second application software module L2 by the third hardware module L3 has not detected any error, that is to say that the second application software module L2 is operating correctly because the third hardware module L3 has not detected an error on its part (for example memory access violation, scheduling and timing of the processes, etc.), which is shown in
[0043] Then, depending on the values of the two conditions T1 and T2, a plurality of cases are possible, as shown in the bottom part of
[0044] Now, therefore, more particularly with reference to the bottom part of
[0045] According to a second case, still with reference to
[0046] According to a third case, still with reference to
[0047] According to a fourth case, still with reference to
[0048] The invention adds, in relation to the prior art, the second case as described above, in which a certain amount of mobility is possible, which makes it possible, for example, to mobilize the vehicle to a garage for repair, whereas a safety procedure with immobilization would have been imposed according to the prior art.
[0049] The invention has been illustrated and described in detail in the drawings and the preceding description. The latter should be considered to be illustrative and given by way of example and not to limit the invention just to this description. Numerous embodiment variants are possible.