The invention relates to a method of communication between two electronic control units applicable to the automotive domain.
Communication between two or more automotive electronic control units is, for example, conducted by means of a communication interface using the CAN (controller area network) type communication protocol. The sending of messages from one electronic control unit to the other is conducted via a CAN bus, contained in a cable (called CAN line) linking the two electronic control units.
The main advantage of this communication protocol is that it enables several messages to be sent via a single CAN line to one or more electronic control units and containing, for example, parameters or commands for actuators of a system (engine, vehicle). In practice, previously, several wired communication lines were necessary, that is to say, as many wired lines as actuators to be controlled.
Other advantages of this CAN protocol are known (high message transmission speed, ease of diagnostic, etc.), and it is now widely used in the automotive world.
However, the major drawback in the use of a single CAN line containing messages specific to a number of actuators or containing a number of parameters, is that, when this communication interface is defective, no message can be sent, or received. The actuators of the system (engine, vehicle) whose operation depends on this communication then become inoperative. Even though this situation is rare, the CAN lines being increasingly reliable, the consequences of such a failure can be dramatic and can cause, for example, the untimely stopping of the vehicle when it is running.
A simple solution to this problem, known from the prior art EP 1 359 057 A2 and WO 85/03825 A1 is to duplicate this communication interface, that is to say, to use two CAN lines in parallel between the two automotive electronic control units. One is redundant and operates only when the other is defective, as described in the prior art EP 1 359 057 A2. Alternatively, the two communication interfaces can be used in permanent switch-over mode, that is to say, one or the other communication interface is selected according to its message transmission quality level at a given instant, as described in the prior art WO 85/03825 A1. The operation of a CAN line, the communication between the two electronic control units and the normal operation of the vehicle are therefore ensured, even in case of failure or a drop in the message transmission quality of one of the two CAN lines.
Unfortunately, given the high cost of a CAN line, and the low probability of a failure, this redundant device which offers no additional functionality other than in the event of a failure of one of the two CAN lines, is not used.
The present invention therefore proposes to remedy this problem by ensuring the communication between the two electronic control units in the event of a defective CAN line while benefiting from an additional functionality due to the presence of a second CAN line.
The aims of the invention are achieved by means of a method of communication between at least two automotive electronic control units, comprising two communication interfaces between the electronic control units enabling messages to be sent via one or the other of the communication interfaces, said electronic control units each comprising a microcontroller linked to the communication interfaces managing the sending and receiving of the messages via these communication interfaces according to a given priority level, transmission speed and recurrence, and comprising:
Advantageously in the case of a method of communication between two electronic control units, the transmission speed between the two electronic control units, established in step 3, is two times greater than that of a single communication interface.
The invention also proposes that if, during step 1, the diagnostic system of a microcontroller diagnoses a communication interface as defective, then during step 3, the scheduling by the message scheduler of the sending of the messages is done via the non-defective communication interface.
Similarly, when an interface is defective, step 4 consists in the selection of the non-defective communication interface by means of the logic switch in order to send the messages scheduled by the message scheduler. Then, during step 5, the messages are sent via the non-defective communication interface.
In one embodiment, when a communication interface is defective, the scheduling of the messages performed in step 3 includes the establishment of a new priority for the messages by the message scheduler.
In a second embodiment, when a communication interface is defective, the scheduling of the messages performed in step 3 includes the establishment of a new reduced transmission speed for the messages by the message scheduler.
In a third embodiment, the priority of the messages is modified via the recurrence of the messages.
Generally, the communication interfaces consist of CAN-type buses.
The invention also relates to any communication device implementing the method presenting any one of the preceding characteristics.
Thus, the invention applies to any electronic control unit including the communication device according to the invention.
Other features and advantages of the invention will become apparent from reading the following description, given as a nonlimiting example, and from studying the appended drawings in which:
a is a schematic representation illustrating a first example of the sending of messages according to the invention,
b is a schematic representation illustrating a second example of the sending of messages according to the invention.
A communication device between two automotive electronic control units is illustrated in
For this, each microcontroller 5 is equipped with a message scheduler 6 (cf.
Each microcontroller 5 comprises, for the sending of the messages over each communication interface 3, 4, two transmitters 6a, 6c, then for the receiving of the messages, two receivers 6b, 6d. Each communication interface 3, 4 of CAN bus type consists of a pair of cables wound one over the other (cf.
Each microcontroller 5 is also provided with a diagnostic system 8 (cf.
According to the invention, each microcontroller 5 also includes a logic switch (cf.
The method of communication between the two electronic control units 1, 2 is illustrated in
If it detects no failed communication interface 3, 4, the message scheduler 6 schedules the successive sending of the messages over one or the other of the communication interfaces 3, 4 (cf.
This scheduling may be arbitrary or follow a precise logic: for example, the messages may be scheduled so as not to sporadically overload the communication interfaces 3, 4. As illustrated in
When the scheduling is finished, the logic switch 7, controlled by the message scheduler 6, selects one or the other of the communication interfaces 3, 4 (cf.
If the diagnostic system 8 detects a communication interface 3, 4 as defective, it notifies the message scheduler 6 thereof. The latter proceeds with a new scheduling of the messages (cf.
A variant of the invention consists in setting up a new message transmission speed (cf.
Furthermore, certain urgent or important messages, which were sent previously with a higher transmission speed, such as the diagnostic messages, must continue to be sent as a priority. The lowering of the transmission speed is therefore compensated by reassigning a new priority to the message (cf.
Once this scheduling is performed, the logic switch 7 controlled by the message scheduler 6 selects the communication interface 3, 4 which has not failed (cf.
The method of communication between two electronic control units therefore comprises the following steps:
If, during step 2, the diagnostic system reveals a defective communication interface 3, 4, then the communication method includes the following new steps, instead of steps 3, 4, 5:
The invention therefore makes it possible to maintain the communication between two automotive electronic control units, even when one of the two communication interfaces is defective, and to benefit from the presence of the two communication interfaces during normal operating conditions, by sending two times more messages than with a single communication interface with no risk of overload.
Obviously, the invention is not limited to the embodiment described and represented which has been given purely as an example.
This invention can be applied to a number of electronic control units, for example to three interconnected electronic control units, or to all the electronic control units present on one and the same communication network.
Number | Date | Country | Kind |
---|---|---|---|
09 00647 | Feb 2009 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2010/000512 | 1/28/2010 | WO | 00 | 8/23/2011 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2010/091787 | 8/19/2010 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4627045 | Olson et al. | Dec 1986 | A |
5153874 | Kohno | Oct 1992 | A |
5784547 | Dittmar et al. | Jul 1998 | A |
6202115 | Khosrowpour | Mar 2001 | B1 |
7257629 | Manzardo | Aug 2007 | B2 |
7616560 | Fuehrer et al. | Nov 2009 | B2 |
20090044041 | Armbruster et al. | Feb 2009 | A1 |
Number | Date | Country |
---|---|---|
1 069 733 | Jan 2001 | EP |
1 359 057 | Nov 2003 | EP |
1763454 | Jul 2008 | EP |
8503825 | Aug 1985 | WO |
WO 2007017787 | Feb 2007 | WO |
Entry |
---|
Fault tolerant TTCAN networks, Muller et al., Robert Bosch GmbH, 2002. |
International Search Report, dated Mar. 9, 2010, from corresponding PCT application. |
Number | Date | Country | |
---|---|---|---|
20110301805 A1 | Dec 2011 | US |