In accordance with some embodiments of the invention, a bus guardian monitors communication among a number of nodes and at least one cyclic time-triggered communication media access schedule for transmitting messages among the nodes. The bus guardian is able to learn about the schedule and can make use of learned knowledge with respect to at least one possible schedule violation during start-up of the communication.
The same reference numerals are used for corresponding parts in
In order to avoid unnecessary repetitions, the following description regarding the embodiments, characteristics and advantages of the present invention relates (unless stated otherwise) to the bus guardian 30 (cf.
The node 100 comprises basically five subsystems, namely a power supply unit or battery 50 with a voltage regulator 52 assigned to this power supply unit 50, a host unit 60, a communication controller 40, a bus driver 20 comprising a transceiver unit and being connected to a communication media 10, namely to a data bus comprising a first communication channel 12 and a redundant second communication channel 14 in order to transmit and/or to receive massages via the transceiver unit, and a bus guardian 30 on FlexRay protocol basis, in particular a so-called Bus Guardian without configuration parameter (BGwop); in this context, the BGwop 30 is embodied as a minimal bus guardian for time-triggered architecture (FlexRay communication systems or communication networks 200, 200′), wherein the bus guardian 30 does not require any configuration parameters or any further a priori knowledge.
The BGwop 30 is in general proposed to protect the communication media 10 from timing failures of the communication controller 40. To this aim, the BGwop 30 is connected to the communication controller 40 as well as to the bus driver 20. Beside this, the BGwop 30 is independent of the protocol communication controller.
In particular, the BGwop 30 monitors the communication media access schedule of the communication controller 40 in order to prevent the communication controller 40 from blocking the communication media 10 by temporarily or continuously sending messages (so-called “babbling idiot” failure); in order to maintain independence of the two redundant channels 12, 14, the node 100 may also comprise two bus drivers 20 and two BGwops 30.
If during start-up of the communication procedure the communication controller 40 succeeds to start up communication, i.e. is able to send appropriate communication elements, the communication controller 40 succeeds to integrate into a communication schedule, i.e. performs clock synchronization operation, or does not succeed to integrate into a communication schedule, for example due to wrong configuration.
In the latter case of not succeeding to integrate into a communication schedule, the communication controller 40 notices this failure by itself.
Consequently, the BGwop 30 can rely on that the first completely operated communication cycle either is correctly performed or is aborted by the communication controller 40. Thus, the BGwop 30 can learn about the communication schedule. After learning in the first complete communication cycle and with taking some FlexRay protocol configuration constraints for plausibility checks into account the BGwop 30 is able to perform its full operation and protect the communication media 10 from faulty access.
As can be taken from
The BGwop 30 puts out a control signal 302, namely a bus guardian enable (BGEN) input signal (HIGH active) to the transmitter unit of the bus driver 20 in order to enable and disable one or more output stages of the bus driver 20, in particular for disabling transmission in case of schedule violations SV1, SV2, SV3 (cf.
As can be further taken from
The host unit 60 is connected to the bus driver 20, to the BGwop 30 as well as to the communication controller 40. Beside this, the host unit 60 is designed for transmitting a control signal 602 to the bus driver 20 and receiving a status data signal 206 from the bus driver 20 (wherein neither said control signal 602 nor said status data signal 206 are related to the actual communication within the network 200); and transmitting a signal 406 to the communication controller 40 and receiving said signal 406 from the communication controller 40.
The power supply unit 50, namely the battery, is connected with ground GND and with the bus driver 20; the voltage regulator 52 is connected with the power supply unit 50, the host unit 60, the communication controller 40 and the bus driver 20.
The protocol of the FlexRay communication system 200 (cf.
A state diagram of the BGwop 30 is depicted in
In the following the states or modes [i], [ii], [iii], [iv] of the BGwop 30 are described in more detail:
Step [i] of waking up comprises enabling the bus driver 20, namely the transmitter unit of the bus driver 20. During said step [i] the first type SV1 of the possible schedule violations SV1, SV2, SV3 can be detected after a certain amount of negative edges of the transmit signal 423, for example after a maximum of 63 Wake-Up Symbols (WUS), and/or upon a negative edge of said transmit signal 423, while the receive signal 243 is on logical low state, and/or when said transmit signal 423 is on logical low state for longer than a certain timeout dWU.sub.0 of about or less than six microseconds, and/or when the clock unit 32 stops.
Step [ii] of starting up comprises the steps of enabling the transmitter unit of the bus driver 20, counting clock cycles in order to learn about the cycle time, and counting clock cycles until the first falling edge of said transmit signal 423, wherein in particular during the first cycle no dynamic frame is sent; in this context, a frame comprises all information transmitted in one slot with one identifier on one communication channel 12, 14 (in case of FlexRay protocol any further, in particular the second, communication channel 14 is redundant and thus optional).
During said step [ii] the second type SV2 of the possible schedule violations SV1, SV2, SV3 can be detected after a certain amount of negative edges of said transmit signal 423, for example after a maximum of sixteen static slots per Communication Controller (CC) 40, and/or upon a negative edge of said transmit signal 423, while said receive signal 243 is on logical low state, and/or when said transmit signal 423 is on logical low state for longer than a certain timeout of about 2.047 microseconds, and/or when the cycle time is longer than a certain timeout of about sixteen milliseconds, and/or when the clock unit 32 stops.
Step [iii] of guarding comprises the steps of enabling the transmitter unit of the bus driver 20, and counting clock cycles in order to supervise the cycle time.
During said step [iii] the third type SV3 of the possible schedule violations SV1, SV2, SV3 can be detected upon a certain, namely the Xcycleth, negative edge of the transmit signal 423, wherein Xcycle sets a protocol configuration constraint, and/or upon a negative edge of said transmit signal 423, while said receive signal 243 is on logical low state, and/or when said transmit signal 423 is on logical low state for longer than a certain timeout of about 2.047 microseconds, and/or when the cycle time deviates more than a certain margin from at least one cycle time learned during step [ii], and/or when a time span between respective falling edges of the arming signal 403 and of the transmit signal 423 deviates more than a certain margin from the time span learned during step [ii], and/or when the clock unit 32 stops.
The step [iv] of behaving fail silent comprises the steps of disabling the transmitter unit of the bus driver 20, and not monitoring the input signals except the reset signal 304.
Two embodiments of an x-by wire FlexRay communication system 200, 200′ are depicted in
A possible combination of linear bus topology according to
Number | Date | Country | Kind |
---|---|---|---|
04106746 | Dec 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2005/054208 | 12/13/2005 | WO | 00 | 6/20/2007 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2006/067673 | 6/29/2006 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20030067873 | Fuhrmann et al. | Apr 2003 | A1 |
20040081079 | Forest et al. | Apr 2004 | A1 |
20040081193 | Forest et al. | Apr 2004 | A1 |
20040090962 | Forest et al. | May 2004 | A1 |
20050141565 | Forest et al. | Jun 2005 | A1 |
20090125592 | Hartwich et al. | May 2009 | A1 |
Number | Date | Country |
---|---|---|
1355460 | Apr 2003 | EP |
1355456 | Oct 2003 | EP |
1355461 | Oct 2003 | EP |
2386804 | Mar 2002 | GB |
Number | Date | Country | |
---|---|---|---|
20100002594 A1 | Jan 2010 | US |