[go: up one dir, main page]

DE102008002738B4 - Method for detecting a faulty node - Google Patents

Method for detecting a faulty node Download PDF

Info

Publication number
DE102008002738B4
DE102008002738B4 DE102008002738A DE102008002738A DE102008002738B4 DE 102008002738 B4 DE102008002738 B4 DE 102008002738B4 DE 102008002738 A DE102008002738 A DE 102008002738A DE 102008002738 A DE102008002738 A DE 102008002738A DE 102008002738 B4 DE102008002738 B4 DE 102008002738B4
Authority
DE
Germany
Prior art keywords
node
bus
error
state change
operating state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
DE102008002738A
Other languages
German (de)
Other versions
DE102008002738A1 (en
Inventor
Holger Brunnberg
Martin Obermaier
Dariusz Krakowski
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Airbus Operations GmbH
Original Assignee
Airbus Operations GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to DE102008002738A priority Critical patent/DE102008002738B4/en
Application filed by Airbus Operations GmbH filed Critical Airbus Operations GmbH
Priority to BRPI0913886A priority patent/BRPI0913886A2/en
Priority to JP2011515403A priority patent/JP2011526110A/en
Priority to PCT/EP2009/058057 priority patent/WO2009156512A1/en
Priority to EP09769360.0A priority patent/EP2301200B8/en
Priority to RU2010152949/08A priority patent/RU2010152949A/en
Priority to CN2009801247070A priority patent/CN102077514A/en
Priority to CA2729489A priority patent/CA2729489A1/en
Publication of DE102008002738A1 publication Critical patent/DE102008002738A1/en
Application granted granted Critical
Publication of DE102008002738B4 publication Critical patent/DE102008002738B4/en
Priority to US12/978,859 priority patent/US9634859B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/4028Bus for use in transportation systems the transportation system being an aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

Verfahren zum Erkennen eines fehlerhaften Knotens (2), der an einen Bus (3) angeschlossen ist,
wobei der Knoten (2) in einem normalen Betriebszustand bei Erkennung eines Fehlers einen internen Fehlerzähler (FZ) inkrementiert,
wobei der Knoten (2) in einen isolierten Betriebszustand schaltet, in welchem der Knoten (2) keine Nachrichten über den Bus (3) austauscht, wenn der interne Fehlerzähler (FZ) des Knotens (2) einen vorgegebenen Fehler-Schwellenwert überschreitet,
wobei bei Erfüllung einer Bedingung der Knoten (2) von dem isolierten Betriebszustand in den normalen Betriebszustand schaltet und dieser Zustandswechsel erfasst wird, und
wobei der Knoten (2) als fehlerhaft erkannt wird, wenn eine Rate der erfassten Zustandswechsel eine einstellbare Wechselrate oder eine Anzahl der erfassten Zustandswechsel einen einstellbaren Zustandswechsel-Schwellenwert überschreitet.
Method for detecting a faulty node (2) connected to a bus (3),
the node (2) increments an internal error counter (FZ) in a normal operating state upon detection of a fault,
wherein the node (2) switches to an isolated operating state in which the node (2) does not exchange messages via the bus (3) when the internal error counter (FZ) of the node (2) exceeds a predetermined error threshold,
wherein upon fulfillment of a condition, the node (2) switches from the isolated operating state to the normal operating state and this state change is detected, and
wherein the node (2) is detected as defective if a rate of the detected state change exceeds an adjustable change rate or a number of the detected state change exceeds an adjustable state change threshold.

Figure 00000001
Figure 00000001

Description

Die vorliegende Erfindung betrifft ein Verfahren zum Erkennen eines fehlerhaften Knotens, der an einen Bus angeschlossen ist, und insbesondere ein Verfahren zum Erkennen eines fehlerhaften Knotens, der an einen CAN-Bus angeschlossen ist.The The present invention relates to a method for detecting a faulty node connected to a bus, and in particular a method for detecting a faulty node that is connected to a CAN bus is connected.

Die DE 39 28 537 A1 beschreibt ein Verfahren zur Fehlererkennung oder Fehlerlokalisation bei Datenübertragungen. Dabei wird ein fehlerhafter Knoten erkannt, der an ein Bus angeschlossen ist. Beim Erkennen eines Fehlers wird in einem normalen Betriebszustand ein interner Fehlerzähler inkrementiert. Der Knoten schaltet in einen isolierten Betriebszustand, in welchem der Knoten keine Nachrichten über den Bus austauscht, wenn der Fehlerzähler des Knotens einen vorgegebenen Fehlerschwellenwert überschreitet. Beim Erfüllen einer Bedingung schaltet der Knoten von dem isolierten Betriebszustand in den normalen Betriebszustand.The DE 39 28 537 A1 describes a method for error detection or error localization in data transmissions. This detects a faulty node connected to a bus. When an error is detected, an internal error counter is incremented in a normal operating state. The node enters an isolated operating state in which the node does not exchange messages over the bus when the node's error counter exceeds a predetermined error threshold. When a condition is met, the node switches from the isolated mode to the normal mode.

Die DE 10 2007 004 701 B4 beschreibt ein Verfahren zum Betreiben eines Mischers einer Heizungsanlage bei dem ein Zustandswechsel ausgewertet wird.The DE 10 2007 004 701 B4 describes a method for operating a mixer of a heating system in which a state change is evaluated.

Knoten bzw. Teilnehmer eines CAN-Buses (CAN: Controller Area Network) kommunizieren miteinander entsprechend einem CAN-Bus-Protokoll. Der CAN-Bus ist ein asynchrones, serielles Bussystem zur Vernetzung von Steuergeräten. Die Anzahl der angeschlossenen Teilnehmer bzw. Knoten hängt von den verwendeten Bustreiberbausteinen ab.node or participants of a CAN bus (CAN: Controller Area Network) communicate together according to a CAN bus protocol. The CAN bus is an asynchronous, serial bus system for networking ECUs. The number of connected Participant or node depends on the bus driver blocks used.

Der CAN-Bus ist multimasterfähig, d. h. jeder einzelne Knoten des Bussystems ist in der Lage, eine Kommunikation einzuleiten. Der CAN-Bus bedient sich der Zugriffstechnik CSMA/CD+CR (Carrier Sense, Multiple Access/Collision Detection + Collision Resolution). Der Buszugriff wird mittels einer Arbitrierung auf Basis auf Identifizieren der über den Bus übertragenen Nachrichten durchgeführt. Die Kommunikation zwischen den Knoten erfolgt mit Nachrichten bzw. Telegrammen, die auch als Frames bezeichnet werden. Bei einem CAN-Bus können vier verschiedene Arten von Frames bzw. Nachrichten übertragen werden. Neben Daten-Nachrichten zum Transport von Nachrichten unterscheidet man auch sogenannte Remote-Frames, Overload-Frames und Error-Frames. Ein Remote-Frame bzw. eine Remote-Nachricht dient zur Anforderung eines Daten-Frames von einem anderen Teilnehmer bzw. Knoten. Ein Overload-Frame dient als Zwangspause zwischen einem Daten- und einem Remoteframe. Ein Error-Frame signalisiert einen Knoten eines erkannten Fehlers bei der Datenübertragung.Of the CAN bus is multi-master capable, d. H. every single node of the bus system is capable of communication initiate. The CAN bus uses the access technology CSMA / CD + CR (Carrier Sense, Multiple Access / Collision Detection + Collision Resolution). The bus access is identified by means of an arbitration based on the over transferred the bus Messages performed. The communication between the nodes takes place with messages or Telegrams, which are also called frames. With a CAN bus can transmit four different types of frames or messages become. In addition to data messages for transporting messages is different You can also call so-called remote frames, overload frames and error frames. A remote frame or a remote message is used to request a data frame from another participant or node. An overload frame serves as a forced break between one Data and a remote frame. An error frame signals one Node of a detected error in the data transfer.

Ein Knoten bzw. ein CAN-Controller ist in der Lage, Fehler während der Übertragung zu erkennen. Beispielsweise können Bitfehler, Bit-Stuffing-Fehler, CRC-Fehler, Format-Fehler in einem Telegramm und Acknowledgement-Fehler festgestellt werden. Wird einer dieser Fehler von einem Knoten erkannt, benachrichtigt der Knoten die übrigen Knoten des Bussystems und den Absender des Telegramms bzw. der Nachricht indem der Knoten einen Error-Frame sendet. Nach Empfang eines Error-Frames werten alle Teilnehmer bzw. Knoten die empfangene Nachricht aus und beginnen ebenfalls einen Error-Frame zu senden.One Node or a CAN controller is capable of errors during transmission to recognize. For example, you can Bit error, bit stuffing error, CRC error, format error in one Telegram and acknowledgment errors are detected. Will one If this error is detected by a node, the node notifies the remaining Node of the bus system and the sender of the telegram or the message by the node sending an error frame. After receiving an error frame all participants or nodes evaluate the received message and also begin sending an error frame.

Fehlerhafte Nachrichten können durch externe Störquellen außerhalb des Bussystems oder durch Fehlfunktion eines CAN-Teilnehmers hervorgerufen werden. Um sicherzustellen, dass durch einen defekten Knoten, der nicht in der Lage ist Nachrichten richtig zu empfangen, das gesamte Netzwerk bzw. das gesamte Bussystem blockiert wird, ist in jedem Knoten bzw. jedem CAN-Controller des Bussystems ein Algorithmus implementiert mit dessen Hilfe sich der Knoten im Fehlerfall schrittweise von dem Busgeschehen zurückzieht. Stellt ein CAN-Controller bzw. ein Knoten fest, dass er als erster Netzteilnehmer bzw. Knoten einen Error-Frame gesendet hat, erhöht er einen internen Fehlerzähler TEC (Transmit Error Counter). Solange der Wert des Fehlerzählers unter einem Schwellenwert liegt, sendet der CAN-Controller im Fehlerfall Error-Frames. Der Schwellenwert für den Fehlerzähler liegt beispielsweise bei 127. Dieser Betriebsmodus stellt den normalen Betriebszustand des Knotens dar und wird auch als Error-Active-Betriebszustand bezeichnet. Liegt der Wert des Fehlerzähler TEC über den Schwellenwert von 127, geht der CAN-Controller in einen sogenannten Error-Passiv-Betriebsmodus über. In diesem Betriebsmodus sendet der CAN-Controller einen 6-Bit-Error-Frame mit einem rezessiven Signalpegel aus. Wenn der Fehlerzähler TEC einen Stand von 255 erreicht hat, wird der CAN-Controller in den sogenannten Bus-off-Betriebszustand geschaltet und nimmt nicht mehr an der Kommunikation über den CAN-Bus teil. In dem Bus-off-Betriebsmodus befindet sich der Knoten in einem isolierten Betriebszustand, in welchem der Knoten keine Nachrichten über den Bus austauscht. Aus dem Error-Passiv-Modus kann sich der CAN-Controller selbst befreien, da der Fehlerzähler dekrementiert wird, wenn ein anderer Teilnehmer bzw. Knoten einen Fehler zuerst erkannt hat.faulty Messages can by external sources of interference outside of the bus system or caused by malfunction of a CAN station. Around Ensure that there is a broken node that is not in able to receive messages correctly, the entire network or the entire bus system is blocked is in each node or each CAN controller of the bus system implemented an algorithm with its help, the node help in the event of an error step by step from the bus withdraws. Represents a CAN controller or a node determines that it is the first network node or node Error frame sent has increased he has an internal error counter TEC (Transmit Error Counter). As long as the value of the error counter is under is a threshold value, the CAN controller sends in the event of an error Error frames. The threshold for the error counter is for example at 127. This mode of operation represents the normal one Operating state of the node is and is also referred to as an error-active operating state. Lies the value of the error counter TEC over the threshold of 127, the CAN controller goes into a so-called Error-passive operating mode via. In this operating mode, the CAN controller sends a 6-bit error frame with a recessive one Signal level off. If the error counter TEC has a level of 255 has reached, the CAN controller in the so-called bus-off operating state switched and no longer takes over the communication over the CAN bus part. In the bus-off mode of operation is the node in an isolated operating state, in which the node no News about exchanges the bus. From the error-passive mode, the CAN controller can free yourself as the error counter is decremented if another participant or node fails first recognized.

1 zeigt ein Zustandsdiagramm zur Darstellung einer Ausnahme- bzw. Fehlerbehandlung innerhalb eines herkömmlichen CAN-Controllers. Der CAN-Controller verfügt über zwei Zähler bzw. Counter, nämlich einen TEC-Zähler (TEC: Transmitting Error Counter) und einen REC-Zähler (REC: Receiving Error Counter). Der CAN-Knoten übermittelt und empfängt Nachrichten bzw. Telegramme, die der Knoten auf ihre Richtigkeit überprüft. Im Falle eines Fehlers in einer übermittelten Nachricht zählt der interne Zähler TEC die Anzahl der erkannten Fehler mit, so dass der Knoten der in 1 dargestellten Zustände einnehmen kann. Befindet sich der Knoten in dem isolierten Betriebszustand (Bus-off), so nimmt der Knoten solange nicht an der Kommunikation teil, bis eine Bedingung für den Übergang in den normalen Betriegszustand (Error Active) erfüllt ist. Die Bedingung besteht beispielsweise in einem Auftreten aufeinanderfolgender rezessiver Bits auf den Datenbus. 1 shows a state diagram illustrating an exception or error handling within a conventional CAN controller. The CAN controller has two counters or counters, namely a TEC counter (TEC: Transmitting Error Counter) and a REC counter (REC: Receiving Error Counter). The CAN node transmits and receives messages or telegrams that the node checks for correctness. in case of a Error in a transmitted message counts the internal counter TEC the number of detected errors, so that the node of in 1 can take shown states. If the node is in the isolated operating state (bus-off), the node does not participate in the communication until a condition for the transition to the normal error state (Error Active) is fulfilled. The condition is, for example, an occurrence of successive recessive bits on the data bus.

Die in 1 dargestellte Fehlerbehandlung des CAN-Bus-Datenübertragungsprotokolls (Error Handling) stellt sicher, dass ein Minimum an Kommunikation stattfinden kann. Die Fehlerbehandlung sichert die Kommunikation eines funktionierenden CAN-Buses mit einem oder mehreren fehlerhaften Knoten.In the 1 illustrated error handling of the CAN bus data transmission protocol (error handling) ensures that a minimum of communication can take place. The error handling secures the communication of a functioning CAN bus with one or more faulty nodes.

Die in 1 dargestellte Fehlerbehandlung nach dem Stand der Technik weist jedoch einige Nachteile auf. Wie man aus 1 erkennen kann, kann ein fehlerhafter Knoten bzw. ein fehlerhafter Teilnehmer des Bussystems über einen längeren Zeitraum die Kommunikation über den Bus stören, ohne, dass sein Fehlverhalten aufgezeichnet oder angezeigt wird. Bei der herkömmlichen Fehlerbehandlung erfolgt weder eine Auswertung der Fehlerhäufigkeit, noch eine qualitative Bewertung des auftretenden Fehlers mit dessen möglichen Konsequenzen. Ein dauerhaft fehlerhafter Knoten kann die drei in 1 dargestellten Betriebszustände durchlaufen, ohne dass sein fehlerhaftes Verhalten rechtzeitig erkannt wird. Da für ein ständig fehlerhafter CAN-Bus-Knoten keine Fehlerauswertung durchgeführt wird, kann dieser Knoten auch nicht gezielt ausgetauscht werden. Da ein dauerhaft fehlerhafter CAN-Knoten nicht sofort erkannt werden kann, sind insbesondere bei sicherheitskritischen Anwendungen zusätzliche redundante Knoten vorgesehen. Befindet sich der CAN-Bus innerhalb eines Fahrzeugs erhöht sich durch die zusätzliche Anzahl von redundanten Knoten und somit das Gesamtgewicht des Fahrzeugs. Aufgrund des erhöhten Gesamtgewichts, erhöht sich der Kraftstoffverbrauch des Fahrzeugs. Ferner kann ein ständiges Fehlverhalten des CAN-Bus-Knotens zu einem Geräteausfall führen und die Verfügbarkeit des entsprechenden Bussystems vermindern.In the 1 However, the prior art error treatment illustrated has some disadvantages. How to get out 1 can detect, a faulty node or a faulty node of the bus system over a longer period disrupt the communication on the bus, without that his misconduct is recorded or displayed. In the conventional error handling neither an evaluation of the error rate, nor a qualitative assessment of the error occurring with its possible consequences. A permanently faulty node may be the three in 1 Run through the operating states shown without its erroneous behavior is detected in time. Since no error evaluation is carried out for a constantly faulty CAN bus node, this node can not be exchanged specifically. Since a permanently faulty CAN node can not be recognized immediately, additional redundant nodes are provided especially for safety-critical applications. If the CAN bus within a vehicle is increased by the additional number of redundant nodes and thus the total weight of the vehicle. Due to the increased total weight, the fuel consumption of the vehicle increases. Furthermore, a constant malfunction of the CAN bus node can lead to a device failure and reduce the availability of the corresponding bus system.

Es ist daher eine Aufgabe der vorliegenden Erfindung, ein Verfahren zu schaffen, das einen fehlerhaften Knoten eines Busses rechtzeitig erkennt.It is therefore an object of the present invention, a method to create a faulty node of a bus on time recognizes.

Diese Aufgabe wird erfindungsgemäß durch ein Verfahren mit den in dem Patentanspruch 1 angegebenen Merkmalen gelöst.These The object is achieved by a Method with the features specified in the patent claim 1 solved.

Die Erfindung schafft ein Verfahren zum Erkennen eines fehlerhaften Knotens, der an einen Bus angeschlossen ist,
wobei der Knoten in einem normalen Betriebszustand bei Erkennung eines Fehlers einen internen Fehlerzähler inkrementiert,
wobei der Knoten in einem isolierten Betriebszustand schaltet, in welchem der Knoten keine Nachrichten über den Bus austauscht, wenn der interne Fehlerzähler des Knotens einen vorgegebenen Schwellenwert überschreitet,
wobei bei Erfüllung einer Bedingung der Knoten von dem isolierten Betriebszustand in den normalen Betriebszustand schaltet und dieser Zustandswechsel erfasst wird, und
wobei der Knoten als fehlerhaft erkannt wird, wenn eine Rate der erfassten Zustandswechsel eine einstellbare Wechselrate oder eine Anzahl der erfassten Zustandswechsel einen Zustandswechsel-Schwellenwert überschreitet.
The invention provides a method for detecting a faulty node connected to a bus,
wherein the node increments an internal error counter in a normal operating state upon detection of a fault,
wherein the node switches to an isolated mode in which the node does not exchange messages over the bus when the internal error counter of the node exceeds a predetermined threshold,
wherein upon satisfaction of a condition, the node switches from the isolated operating condition to the normal operating condition and detecting this status change, and
wherein the node is detected as defective when a rate of the detected state changes exceeds an adjustable change rate or a number of the detected state changes exceeds a state transition threshold.

Bei einer Ausführungsform des erfindungsgemäßen Verfahrens wird ein Zustandswechselzähler inkrementiert, wenn ein Zustandwechsel von dem isolierten Betriebszustand in den normalen Betriebszustand erfasst wird.at an embodiment the method according to the invention becomes a state change counter incremented when a state change from the isolated operating state is detected in the normal operating state.

Bei einer Ausführungsform des erfindungsgemäßen Verfahrens ist in jedem Knoten ein Zustandswechselzähler vorgesehen.at an embodiment the method according to the invention a state change counter is provided in each node.

Bei einer alternativen Ausführungsform des erfindungsgemäßen Verfahrens ist für jeden Knoten ein zugehöriger Zustandswechselzähler in einem Master-Knoten vorgesehen.at an alternative embodiment the method according to the invention is for each node has an associated one State change counter provided in a master node.

Bei einer Ausführungsform des erfindungsgemäßen Verfahrens zeigt ein Knoten ein Zustandswechsel von dem isolierten Betriebszustand in dem normalen Betriebszustand mittels einer über den Bus gesendeten Nachricht oder über einen von dem Bus getrennten Kommunikationskanal dem Masterknoten an.at an embodiment the method according to the invention a node indicates a state change from the isolated operating state in the normal operating state by means of a message sent over the bus or over a communication channel separate from the bus to the master node.

Bei einer Ausführungsform des erfindungsgemäßen Verfahrens sendet der Knoten bei Erkennen eines Fehlers bei der Übertragung einer Nachricht über den Bus eine Fehlernachricht über den Bus aus.at an embodiment the method according to the invention sends the node upon detection of an error in the transmission a message about the bus an error message about the bus out.

Die Erfindung schafft ferner einen Knoten für einen Bus mit einem internen Fehlerzähler, der bei Erkennung eines Fehlers inkrementiert wird,
wobei der Knoten in einem normalen Betriebszustand in einen isolierten Betriebszustand schaltet, in dem der Knoten keine Nachrichten über den Bus austauscht, wenn der interne Fehlerzähler einen vorgegebenen Zähler-Schwellenwert überschreitet,
wobei bei Erfüllung einer Bedingung der Knoten von dem isolierten Betriebszustand zurück in den normalen Betriebszustand schaltet, wobei ein dem Knoten zugeordneter Zustandswechselzähler vorgesehen ist, der bei jedem Zustandswechsel des Knotens von dem isolierten Betriebszustand in dem normalen Betriebszustand inkrementiert wird,
wobei der Knoten als fehlerhaft erkannt wird, wenn der zugeordnete Zustandswechselzähler einen einstellbaren Zustandswechsel-Schwellenwert überschreitet.
The invention further provides a node for a bus having an internal error counter which is incremented upon detection of an error,
the node, in a normal operating state, switching to an isolated operating state in which the node does not exchange messages over the bus when the internal error counter exceeds a predetermined counter threshold,
wherein upon satisfaction of a condition, the node switches from the isolated operating state back to the normal operating state, wherein the node associated state change counter is provided, which is incremented at each state change of the node from the isolated operating state in the normal operating state,
wherein the node is identified as faulty if the associated state change counter exceeds an adjustable state change threshold.

Bei einer Ausführungsform des erfindungsgemäßen Knotens ist der Zustandswechselzähler in dem Knoten integriert.at an embodiment of the knot according to the invention is the state change counter integrated in the node.

Bei einer alternativen Form des erfindungsgemäßen Knotens ist der Zustandswechselzähler in einem Master-Knoten integriert, der über den Bus mit dem Knoten verbunden ist.at an alternative form of the node according to the invention is the state change counter in one Master node integrated, over the bus is connected to the node.

Bei einer Ausführungsform des erfindungsgemäßen Knotens ist der Knoten ein CAN-Knoten, der an einem CAN-Bus angeschlossen ist, welcher innerhalb eines Fahrzeugs verlegt ist.at an embodiment of the knot according to the invention the node is a CAN node connected to a CAN bus is, which is installed inside a vehicle.

Bei einer Ausführungsform des erfindungsgemäßen Knotens ist das Fahrzeug ein Luftfahrzeug.at an embodiment of the knot according to the invention the vehicle is an aircraft.

Die Erfindung schafft ferner ein Computerprogrammprodukt mit Programmbefehlen zur Durchführung eines Verfahrens zum Erkennen eines fehlerhaften Knotens, der an einen Bus angeschlossen ist, wobei der Knoten in einem normalen Betriebszustand bei Erkennung eines Fehlers einen internen Fehlerzähler inkrementiert,
wobei der Knoten in einen isolierten Betriebszustand schaltet, in welchem der Knoten keine Nachrichten über den Bus austauscht, wenn der interne Fehlerzähler des Knotens einen vorgegebenen Fehler-Schwellenwert überschreitet,
wobei bei Erfüllung einer Bedingung der Knoten von dem isolierten Betriebszustand in den normalen Betriebszustand schaltet und dieser Zustandswechsel erfasst wird, und
wobei der Knoten dann als fehlerhaft erkannt wird, wenn eine Rate des erfassten Zustandswechsels eine einstellbare Wechselrate oder eine Anzahl des erfassten Zustandswechsels einen einstellbaren Zustandswechsel-Schwellenwert überschreitet.
The invention further provides a computer program product having program instructions for performing a method of detecting a faulty node connected to a bus, the node incrementing an internal error counter in a normal operating state upon detection of a fault,
the node switching to an isolated mode in which the node does not exchange messages over the bus when the internal error counter of the node exceeds a predetermined error threshold,
wherein upon satisfaction of a condition, the node switches from the isolated operating condition to the normal operating condition and detecting this status change, and
wherein the node is detected as defective if a rate of the detected state change exceeds an adjustable change rate or a number of the detected state change exceeds an adjustable state change threshold.

Die Erfindung schafft ferner einen Datenträger, der ein derartiges Computerprogrammprodukt speichert.The The invention further provides a data carrier storing such a computer program product.

Im Weiteren werden bevorzugte Ausführungsformen des erfindungsgemäßen Verfahrens und des erfindungsgemäßen Busknotens unter Bezugnahme auf die beigefügten Figuren zur Erläuterung erfindungswesentlicher Merkmale beschrieben.in the Other preferred embodiments the process of the invention and the bus node according to the invention with reference to the attached Figures for explanation features essential to the invention described.

Es zeigen:It demonstrate:

1 ein Zustandsdiagramm zur Darstellung einer Fehlerbehandlung bei einem CAN-Bus nach dem Stand der Technik; 1 a state diagram illustrating an error handling in a CAN bus according to the prior art;

2 ein Blockdiagramm zur Darstellung einer Fehlerbehandlung bei einer ersten Ausführungsform des erfindungsgemäßen Verfahrens zum Erkennen eines fehlerhaften Knotens; 2 a block diagram illustrating an error treatment in a first embodiment of the method according to the invention for detecting a faulty node;

3 zeigt ein Blockdiagramm zur Darstellung einer Fehlerbehandlung bei einer weiteren Ausführungsform des erfindungsgemäßen Verfahrens zum Erkennen eines fehlerhaften Knotens; 3 shows a block diagram illustrating an error handling in another embodiment of the method according to the invention for detecting a faulty node;

4 zeigt ein Blockdiagramm zur Darstellung einer Fehlerbehandlung bei einer weiteren Ausführungsform des erfindungsgemäßen Verfahrens zum Erkennen eines fehlerhaften Knotens; 4 shows a block diagram illustrating an error handling in another embodiment of the method according to the invention for detecting a faulty node;

5 ein Zustandsdiagramm zur Darstellung des erfindungsgemäßen Verfahrens. 5 a state diagram for illustrating the method according to the invention.

2 zeigt ein Bussystem 1 gemäß einer ersten Ausführungsform der Erfindung. Mehrere Knoten 2-1, 2-1, 2-3 ... 2n sind an einen gemeinsamen Bus 3 angeschlossen. Darüber hinaus ist mindestens ein Master-Knoten 4 mit dem Bus 3 verbunden. Bei dem Bus 3 kann es sich beispielsweise um einen Feldbus, insbesondere um einen CAN-Bus handeln. Die Knoten 2-i werden beispielsweise durch CAN-Controller gebildet. Diese CAN-Controller können in beliebigen Geräten integriert sein. 2 shows a bus system 1 according to a first embodiment of the invention. Several nodes 2-1 . 2-1 . 2-3 ... 2n are on a common bus 3 connected. In addition, at least one master node 4 by bus 3 connected. At the bus 3 it may, for example, be a field bus, in particular a CAN bus. The knots 2-i are formed, for example, by CAN controllers. These CAN controllers can be integrated in any device.

Wie man in 2 erkennen kann, weist jeder Knoten einen internen Fehlerzähler FZ auf. In einem normalen Betriebszustand des Knotens 2 wird der zugehörige interne Fehlerzähler FZ des Knotens bei Erkennung eines Fehlers inkrementiert. Die Fehlererkennung kann auf verschiedenen Ebenen erfolgen. Auf Nachrichtenebenen ist beispielsweise eine Fehlererkennung mittels einer in der Nachricht übertragenen CRC-Prüfsumme (CRC: Cycle Redundancy Check) implementiert. Die Fehlererkennung kann auch auf der physikalischen Übertragungsebene vorgesehen sein. Wird bei der Übertragung einer Nachricht über den Bus ein Fehler erkannt, sendet bei einer möglichen Ausführungsform der Knoten 2 eine Fehlernachricht (Error Frame) über den Bus 3 aus und inkrementiert den integrierten Fehlerzähler FZ.How to get in 2 can recognize, each node has an internal error counter FZ. In a normal operating state of the node 2 the associated internal error counter FZ of the node is incremented upon detection of an error. The error detection can take place on different levels. At message levels, for example, an error detection is implemented by means of a CRC checksum transmitted in the message (CRC: Cycle Redundancy Check). The error detection can also be provided on the physical transmission level. If an error is detected during the transmission of a message over the bus, in one possible embodiment the node sends 2 an error message (error frame) over the bus 3 off and increments the integrated error counter FZ.

Überschreitet der integrierte Fehlerzähler FZ des Knotens 2 einen vorgegebenen Fehler-Schwellenwert, so schaltet der Knoten 2 in einen isolierten Betriebszustand (Bus-off), in welchem der Knoten 2 keine Nachrichten über den Bus 3 mit anderen Knoten austauscht, wie in 5 dargestellt. Bei einer möglichen Ausführungsform ist der Fehler-Schwellenwert vorgegeben und beträgt beispielsweise bei einem CAN-Bus 255. Bei einer alternativen Ausführungsform ist der Fehler-Schwellenwert einstellbar. Dabei können die Schwellenwerte für die verschiedenen Knoten je nach Anwendung gleich oder unterschiedlich eingestellt werden. Bei einer weiteren Ausführungsform werden die Schwellenwerte für die Fehlerzähler FZ der verschiedenen Knoten 2 von dem Master-Knoten 4 über den Bus 2 eingestellt, indem eine entsprechende Nachricht von dem Mater-Knoten 4 an den jeweiligen Knoten 2 übertragen wird. Bei einer weiteren Ausführungsform ist der Schwellenwert für den Fehlerzähler FZ jeweils über ein Interface an dem Knoten 2 direkt einstellbar.Exceeds the integrated error counter FZ of the node 2 a predetermined error threshold, the node switches 2 in an isolated operating state (bus-off), in which the node 2 no news on the bus 3 exchanges with other nodes, as in 5 shown. In one possible embodiment, the error threshold is predetermined and amounts to, for example, a CAN bus 255. In an alternative embodiment, the error threshold is adjustable. The thresholds for the various nodes can be set the same or different depending on the application. In another embodiment, the thresholds for the error counters FZ of the various nodes 2 from the master node 4 over the bus 2 set by sending an appropriate message from the Mater node 4 at the respective node 2 is transmitted. In a further embodiment, the threshold value for the error counter FZ is in each case via an interface at the node 2 directly adjustable.

Nach Überschreiten des Fehler-Schwellenwertes nimmt der jeweilige Knoten 2 nicht mehr an der Kommunikation teil und befindet sich in einem isolierten Betriebszustand. Ein Knoten 2, der sich in dem isolierten Betriebszustand (bus-off) befindet, nimmt solange nicht mehr an der Kommunikation teil, bis eine Bedingung für den Übergang bzw. den Zustandswechsel von dem isolierten Betriebszustand in den normalen Betriebszustand (Error Active) erfüllt wird. Dieser Zustandswechsel, bei dem der Knoten bzw. Teilnehmer von dem isolierten Betriebszustand zurück in den normalen Betriebszustand wechselt bzw. schaltet, wird bei dem erfindungsgemäßen Verfahren erfasst. Wenn ein fehlerhafter Knoten 2 immer wieder aus dem isolierten Betriebszustand zurück in einen normalen Betriebszustand kehrt, wird dies bei dem erfindungsgemäßen Verfahren erfasst. Dies kann auch durch weitere Knoten aufgenommen werden, sofern der verursachende Knoten 2 konstruktiv nicht in der Lage ist, diese Information anzuzeigen bzw. an weitere Knoten weiterzureichen.After exceeding the error threshold, the respective node decreases 2 no longer part of the communication and is in an isolated operating state. A knot 2 , which is in the isolated operating state (bus-off), no longer participates in the communication until a condition for the transition or the state change from the isolated operating state to the normal operating state (Error Active) is met. This state change, in which the node or subscriber changes from the isolated operating state back to the normal operating state or is switched, is detected in the inventive method. If a faulty node 2 repeatedly returns from the isolated operating state back to a normal operating state, this is detected in the inventive method. This can also be absorbed by additional nodes, provided the causative node 2 structurally is not able to display this information or pass it on to other nodes.

Bei dem erfindungsgemäßen Verfahren wird ein Knoten 2 als fehlerhaft erkannt, wenn eine Rate der erfassten Zustandswechsel eine einstellbare Wechselrate überschreitet. Bei einer alternativen Ausführungsform des erfindungsgemäßen Verfahrens wird ein Knoten 2 dann als fehlerhaft erkannt, wenn eine absolute Anzahl der erfassten Zustandswechsel einen einstellbaren Zustandswechsel-Schwellenwert überschreitet. Dazu wird bei einer Ausführungsform des erfindungsgemäßen Verfahrens für jeden zu überwachenden Knoten 2 ein zugehöriger Zu standswechselzähler ZWZ vorgesehen. Dieser Zustandswechselzähler ZWZ kann wie bei der in 2 dargestellten Ausführungsform beispielsweise in einem Master-Knoten 4 implementiert sein. Wie man aus 2 erkennen kann, enthält der Master-Knoten 4 mehrere Register bzw. Zählwerke, wobei für jeden der N zu überwachenden Knoten 2 des Bussystems 1 ein zugehöriger Zustandswechsel-Zähler ZWZ vorgesehen ist. Ein Zustandswechselzähler ZWZ eines Knotens 2 wird inkrementiert wenn ein Zustandswechsel des Knotens 2 von einem isolierten Betriebszustand in den normalen Betriebszustand erfasst wird. Die Zählwerte der Zustandswechselzähler ZWZ bzw. BOC-Counter (BOC: Bus-off-Counter) kann durch eine CPU bzw. einen Mikroprozessor innerhalb des Master-Knotens 4 ausgelesen und ausgewertet werden. Dazu führt die CPU des Master-Knotens 4 bei einer möglichen Ausführungsform ein entsprechendes Fehlerbehandlungs-Computerprogramm aus. Bei einer möglichen Ausführungsform zeigt ein Knoten 2 einen Zustandswechsel von dem isolierten Betriebszustand in den normalen Betriebszustand mit einer über den Bus 3 gesendeten Nachricht dem Master-Knoten 4 an. Bei einer möglichen Ausführungsform wird dabei eine Nachricht entsprechend dem Bus-Nachrichtensignalübertragungsprotokoll benutzt. Handelt es sich bei dem Bus 3 beispielsweise um einen CAN-Bus kann der Knoten 2 den aufgetretenen Zustandswechsel mittels eines Bits bzw. eines Flags innerhalb einer CAN-Nachricht anzeigen. Ein normalerweise nicht gesetztes Bit innerhalb der Nachricht wird durch den Knoten 2 bei einem erfassten Zustandswechsel gesetzt und zeigt dem Master-Knoten 4 als Flag den aufgetreten Zustandswechsel in dem Knoten 2 an.The method according to the invention becomes a node 2 detected as erroneous when a rate of the detected state change exceeds an adjustable change rate. In an alternative embodiment of the method according to the invention becomes a node 2 then detected as defective if an absolute number of the detected state change exceeds an adjustable state change threshold. For this purpose, in one embodiment of the method according to the invention for each node to be monitored 2 an associated To state change counter ZWZ provided. This state change counter ZWZ can as in the 2 illustrated embodiment, for example, in a master node 4 be implemented. How to get out 2 can recognize the master node contains 4 a plurality of registers, wherein for each of the N nodes to be monitored 2 of the bus system 1 an associated state change counter ZWZ is provided. A state change counter ZWZ of a node 2 is incremented when a state change of the node 2 is detected from an isolated operating condition to the normal operating condition. The count values of the state change counters ZWZ or BOC counters (BOC: Bus-off-Counter) can be controlled by a CPU or a microprocessor within the master node 4 be read out and evaluated. The CPU of the master node leads to this 4 in one possible embodiment, a corresponding error handling computer program. In one possible embodiment, a node is shown 2 a state change from the isolated operating state to the normal operating state with one via the bus 3 sent message to the master node 4 at. In one possible embodiment, a message corresponding to the bus message signal transmission protocol is used. Is it the bus 3 for example, to a CAN bus, the node 2 indicate the status change that has occurred by means of a bit or a flag within a CAN message. A normally not set bit within the message is passed through the node 2 is set at a detected state change and points to the master node 4 as a flag occurred state change in the node 2 at.

Bei einer alternativen Ausführungsform wird der Zustandwechsel nicht mittels einer über den Bus 3 gesendeten Nachricht angezeigt, sondern über einen getrennten Kommunikationskanal 5. 3 zeigt ein Ausführungsbeispiel, bei dem die Knoten 2 über eine von dem Bus 3 getrennten Kommunikationsverbindung 5 an den Masterknoten 4 angeschlossen sind. Die Knoten 2 sind in der Lage über eine von dem Bus 3 getrennt verlegte Steuer leitung 5 dem Master-Knoten 4 anzuzeigen, dass bei ihnen ein Zustandswechsel von dem isolierten Betriebszustand in den normalen Betriebszustand aufgetreten ist. Bei dem separaten Kommunikationskanal 5 kann es sich auch um einen weiteren Bus bzw. Feldbus handeln. Bei der in 3 dargestellten Ausführungsform ist der Kommunikationskanal 5 drahtgebunden. Bei einer alternativen Ausführungsform kann Kommunikationskanal 5 auch drahtlos implementiert sein. Dabei übertragen die Knoten 2 über eine drahtlose Schnittstelle eine Nachricht zu dem Masterknoten 4, die besagt, dass bei dem jeweiligen Knoten 2 ein Zustandswechsel aufgetreten ist. Bei der in 2 und 3 dargestellten Ausführungsformen sind die Zustandswechselzähler ZWZ in einem Masterknoten 4 implementiert und werden dort ausgewertet.In an alternative embodiment, the state change is not by means of one over the bus 3 sent message but via a separate communication channel 5 , 3 shows an embodiment in which the nodes 2 over one of the bus 3 separate communication connection 5 to the master node 4 are connected. The knots 2 are able to get over one from the bus 3 separately laid control line 5 the master node 4 indicate that a state change has occurred from the isolated operating state to the normal operating state. In the separate communication channel 5 it can also be another bus or fieldbus. At the in 3 illustrated embodiment is the communication channel 5 wired. In an alternative embodiment, communication channel 5 also be implemented wirelessly. The nodes transmit 2 via a wireless interface, a message to the master node 4 that says that at the respective node 2 a state change has occurred. At the in 2 and 3 The embodiments shown are the state change counters ZWZ in a master node 4 implemented and are evaluated there.

Bei der in 4 dargestellten Ausführungsform sind die Zustandswechselzähler ZWZ der verschiedenen Knoten 2 innerhalb der Knoten 2 implementiert. Ein Knoten 2 wird als fehlerhaft erkannt, wenn sein darin integrierter Zustandswechselzähler ZWZ einen einstellbaren Zustandswechselschwellenwert überschreitet. Erst bei Überschreiten dieses Zustandswechsel-Schwellenwertes sendet der Knoten 2 eine entsprechende Nachricht über den Bus 3 aus, um beispielsweise einen Nutzer über einen notwendigen Wartungsvorgang zu informieren wie in 5 gezeigt. Bei der in 4 dargestellten Ausführungsform sind alle Knoten 2 gleichberechtigt.At the in 4 In the illustrated embodiment, the state change counters ZWZ of the various nodes 2 inside the node 2 implemented. A knot 2 is recognized as faulty if its integrated state change counter ZWZ exceeds an adjustable state change threshold. Only when this state change threshold value is exceeded does the node send 2 an appropriate message over the bus 3 for example, to inform a user about a necessary maintenance procedure as in 5 shown. At the in 4 illustrated embodiment, all nodes 2 Equal rights.

Bei der in 4 dargestellten Ausführungsform ist es auch möglich, dass die Knoten 2 das Überschreiten ihres Zustandwechsel-Schwellenwertes über einen getrennten Kommunikationskanal anzeigen, der von dem Bus 3 getrennt verlegt ist. Bei einer alternativen Ausführungsform melden die Knoten 2-i, das Überschreiten des darin integrierten Zustandwechselzählers ZWZ über eine drahtlose Schnittstelle. Das über den getrennten Kommunikationskanal 5 übertragene Signal kann digital, analog oder diskret sein. Bei einer möglichen Ausführungsform werden die verschiedenen auftretenden Zustandswechsel nicht nur gezählt, sondern für eine spätere Auswertung auch aufgezeichnet. Die Aufzeichnung kann durch Abspeichern der Zählwerte der Zustandswechselzähler ZWZ zu verschiedenen Zeitpunkten erfolgen. Bei einer möglichen Ausführungsform weisen die Knoten 2-i hierzu einen auslesbaren Speicher auf, in dem die Zustandswechsel-Zählwerte über die Zeit aufgezeichnet werden. Diese Aufzeichnungen kann bei einer möglichen Ausführungsform in einem entsprechenden Nachrichtenaustausch über den Bus 3 ausgelesen werden. Bei einer alternativen Ausführungsform erfolgt das Auslesen der Aufzeichnungen über eine separaten Kommunikationskanal. Bei einer weiteren Ausführungsform werden die Aufzeichnungen in einem lokalen Datenträger abgelegt, der aus dem Knoten 2 entfernbar ist.At the in 4 In the embodiment shown, it is also possible that the nodes 2 indicate the crossing of its state transition threshold over a separate communication channel coming from the bus 3 is laid separately. In an alternative embodiment, the nodes report 2-i , the exceeding of the integrated therein state change counter ZWZ via a wireless interface. The via the separate communication channel 5 transmitted signal can be digital, analog or discrete. In one possible embodiment, the various state changes occurring are not only counted but also recorded for later evaluation. The recording can be done by storing the count values of the state change counters ZWZ at different times. In one possible embodiment, the nodes 2-i For this purpose, a readable memory in which the state change counts are recorded over time. These records may, in one possible embodiment, be in a corresponding message exchange over the bus 3 be read out. In an alternative embodiment, the read-out of the records takes place via a separate communication channel. In another embodiment, the records are stored in a local volume that is from the node 2 is removable.

Verschlechtert sich die Übertragungsqualität eines Knotens 2 aufgrund eines Fehlers, erhöht sich dessen Zustandswechselrate. Dadurch nimmt der Wert des zuständigen Zustandswechselzählers ZWZ des jeweiligen Knotens 2 zu. Überschreitet der Zustandwechselzählers ZWZ des Knotens 2 den konfigurierten Zustandswechselschwellenwert für diesen Knoten 2 kann beispielsweise der in 2 dargestellte Master-Knoten 4 einen Wartungshinweise bzw. eine Alarmmeldung abgeben, die auf den fehlerhaften Knoten 2 hinweist. Diese Wartungsnachricht bzw. dieser Wartungshinweise können über einen Netzwerk an einen entfernten Wartungsserver übertragen werden. Bei dem Netzwerk kann es sich um ein drahtgebundenes oder um ein drahtloses Netzwerk handeln.The transmission quality of a node deteriorates 2 due to an error, its state change rate increases. As a result, the value of the responsible state change counter ZWZ of the respective node decreases 2 to. Exceeds the state change counter ZWZ of the node 2 the configured state transition threshold for this node 2 For example, the in 2 illustrated master node 4 to issue a maintenance notice or an alarm message that refers to the faulty node 2 points. This maintenance message or these maintenance instructions can be transmitted via a network to a remote maintenance server. The network may be a wired or wireless network.

Durch die kontinuierliche Aufzeichnung eines Bus-Protokoll-Fehlers ist es möglich, einen auftretenden Fehler bzw. einen auftretenden fehlerhaften Knoten 2 eindeutig zu identifizieren.Due to the continuous recording of a bus protocol error, it is possible to detect an occurring error or a faulty node occurring 2 clearly identifiable.

Das erfindungsgemäße Verfahren erlaubt eine frühzeitige Erkennung von Störquellen in dem Bussystem 1, ohne dass diese funktionell eingeschränkt oder ganz abgeschaltet werden müssen. Somit ist trotz eines sich ankündigenden Fehlers der weitere Betrieb des Bussystems 1 uneingeschränkt möglich. Darüber hinaus kann eine entsprechende Wartungsarbeit eingeplant und zielgerecht durchgeführt werden.The inventive method allows early detection of sources of interference in the bus system 1 without having to be functionally restricted or switched off completely. Thus, despite an announcing error, the further operation of the bus system 1 unrestrictedly possible. In addition, a corresponding maintenance work can be planned and carried out in a targeted manner.

Aufgrund der frühzeitigen Erkennung von potentiell fehlerhaften Knoten kann in sicherheitskritischen Anwendungen die Anzahl der redundanten Knoten 2 vermindert werden. Ist das Bussystem in einem Fahrzeug eingebaut, verringert sich hierdurch das Gewicht des Fahrzeugs.Due to the early detection of potentially faulty nodes, the number of redundant nodes can be used in safety-critical applications 2 be reduced. If the bus system is installed in a vehicle, this reduces the weight of the vehicle.

Durch das frühzeitige Erkennen eines fehlerbehafteten CAN-Busteilnehmers bzw. eines Knotens 2 und dessen frühzeitige Reparatur bzw. Auswechslung wird die Verfügbarkeit des Bussystems 1 erhöht. Geräteausfälle, welche durch ein Fehlverhalten eines Knotens 1 verursacht werden, können somit verhindert werden. Bei Fehlverhalten von Geräten werden mit Hilfe des erfindungsgemäßen Verfahrens Wartungsarbeiten erheblich vereinfacht und beschleunigt.By the early detection of a faulty CAN bus participant or a node 2 and its early repair or replacement becomes the availability of the bus system 1 elevated. Device failures caused by a malfunction of a node 1 can be prevented, thus can be prevented. In case of misconduct of devices maintenance work is considerably simplified and accelerated by means of the method according to the invention.

11
Bussystembus system
22
Knotennode
33
Busbus
44
Master-KnotenMaster node
55
Kommunikationskanalcommunication channel

Claims (12)

Verfahren zum Erkennen eines fehlerhaften Knotens (2), der an einen Bus (3) angeschlossen ist, wobei der Knoten (2) in einem normalen Betriebszustand bei Erkennung eines Fehlers einen internen Fehlerzähler (FZ) inkrementiert, wobei der Knoten (2) in einen isolierten Betriebszustand schaltet, in welchem der Knoten (2) keine Nachrichten über den Bus (3) austauscht, wenn der interne Fehlerzähler (FZ) des Knotens (2) einen vorgegebenen Fehler-Schwellenwert überschreitet, wobei bei Erfüllung einer Bedingung der Knoten (2) von dem isolierten Betriebszustand in den normalen Betriebszustand schaltet und dieser Zustandswechsel erfasst wird, und wobei der Knoten (2) als fehlerhaft erkannt wird, wenn eine Rate der erfassten Zustandswechsel eine einstellbare Wechselrate oder eine Anzahl der erfassten Zustandswechsel einen einstellbaren Zustandswechsel-Schwellenwert überschreitet.Method for detecting a faulty node ( 2 ) connected to a bus ( 3 ), the node ( 2 ) in a normal operating state upon detection of an error, an internal error counter (FZ) is incremented, wherein the node ( 2 ) switches to an isolated operating state in which the node ( 2 ) no messages over the bus ( 3 ), if the internal error counter (FZ) of the node (FZ) 2 ) exceeds a predetermined error threshold, upon fulfillment of a condition the node ( 2 ) switches from the isolated operating state to the normal operating state and this state change is detected, and wherein the node ( 2 ) is detected as being erroneous if a rate of the detected state changes exceeds an adjustable change rate or a number of the detected state changes exceeds an adjustable state change threshold. Verfahren nach Anspruch 1, wobei ein Zustandswechselzähler (ZWZ) inkrementiert wird, wenn ein Zustandswechsel des Knotens (2) von dem isolierten Betriebszustand in den normalen Betriebszustand erfasst wird.Method according to claim 1, wherein a state change counter (ZWZ) is incremented when a state change of the node (ZWZ) 2 ) is detected from the isolated operating condition to the normal operating condition. Verfahren nach Anspruch 2, wobei in jedem Knoten (2) ein Zustandwechselzähler (ZWZ) vorgesehen wird.Method according to claim 2, wherein in each node ( 2 ) a state change counter (ZWZ) is provided. Verfahren nach Anspruch 1, wobei für jeden Knoten (2) ein zugehöriger Zustandswechselzähler (ZWZ) in einem Master-Knoten (4) vorgesehen wird.Method according to claim 1, wherein for each node ( 2 ) an associated state change counter (ZWZ) in a master node ( 4 ) is provided. Verfahren nach Anspruch 4, wobei ein Knoten (2) einen Zustandswechsel von dem isolierten Betriebszustand in den normalen Betriebszustand mittels einer über den Bus (3) gesendeten Nachricht oder über einen von dem Bus (3) getrennten Kommunikationskanal (5) dem Master-Knoten (4) anzeigt.Method according to claim 4, wherein a node ( 2 ) a state change from the isolated operating state to the normal operating state by means of a via the bus ( 3 ) or via one of the bus ( 3 ) separate communication channel ( 5 ) the master node ( 4 ). Verfahren nach Anspruch 1, wobei der Knoten (2) bei Erkennung eines Fehlers bei der Übertragung einer Nachricht über den Bus (3) eine Fehlernachricht über den Bus (3) aussendet.The method of claim 1, wherein the node ( 2 ) upon detection of an error in the transmission of a message over the bus ( 3 ) an error message over the bus ( 3 ). Knoten (2) für einen Bus (3) mit einem internen Fehlerzähler (FZ), der bei Erkennung eines Fehlers inkrementiert wird, wobei der Knoten (2) von einem normalen Betriebszustand in einen isolierten Betriebszustand schaltet, wenn der interne Fehlerzähler (FZ) einen vorgegebenen Fehler-Schwellenwert überschreitet, wobei bei Erfüllung einer Bedingung der Knoten (2) von dem isolierten Betriebszustand zurück in den normalen Betriebszustand schaltet, dadurch gekennzeichnet, dass ein dem Knoten (2) zugeordneten Zustandswechselzähler (ZWZ) vorgesehen ist, der bei jedem Zustandswechsel des Knotens (2) von dem isolierten Betriebszustand in den normalen Betriebszustand inkrementiert wird, wobei der Knoten (2) als fehlerhaft erkannt wird, wenn der zugeordnete Zustandswechselzähler (ZWZ) einen einstellbaren Zustandswechsel-Schwellenwert überschreitet.Node ( 2 ) for a bus ( 3 ) with an internal error counter (FZ), which is incremented upon detection of an error, the node ( 2 ) switches from a normal operating state to an isolated operating state when the internal error counter (FZ) exceeds a predetermined error threshold, wherein when a condition is fulfilled the node ( 2 ) switches from the isolated operating state back to the normal operating state, characterized in that a node ( 2 ) associated state change counter (ZWZ) is provided which at each state change of the node ( 2 ) is incremented from the isolated operating state to the normal operating state, wherein the node ( 2 ) is detected as being erroneous when the associated state change counter (ZWZ) exceeds an adjustable state change threshold. Knoten nach Anspruch 7, wobei der Zustandswechselzähler (ZWZ) in den Knoten (2) integriert ist oder in einem Masterknoten (4) integriert ist, der über den Bus (3) mit dem Knoten (2) verbunden ist.Node according to claim 7, wherein the state change counter (ZWZ) in the node ( 2 ) or in a master node ( 4 ) which is connected via the bus ( 3 ) with the node ( 2 ) connected is. Knoten nach Anspruch 7 oder 8, wobei der Knoten (2) ein CAN-Knoten ist, der an einen CAN-Bus angeschlossen ist, der innerhalb eines Fahrzeugs vorgesehen ist.A node according to claim 7 or 8, wherein the node ( 2 ) is a CAN node connected to a CAN bus provided inside a vehicle. Knoten nach Anspruch 9, wobei das Fahrzeug ein Luftfahrzeug ist.A node according to claim 9, wherein the vehicle is an aircraft is. Computerprogrammprodukt mit Programmbefehlen zur Durchführung des Verfahrens nach Anspruch 1 bis 6.Computer program product with program instructions for execution The method according to claims 1 to 6. Datenträger, der das Computerprogrammprodukt nach Anspruch 11 speichert.disk, which stores the computer program product of claim 11.
DE102008002738A 2008-06-27 2008-06-27 Method for detecting a faulty node Active DE102008002738B4 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
DE102008002738A DE102008002738B4 (en) 2008-06-27 2008-06-27 Method for detecting a faulty node
JP2011515403A JP2011526110A (en) 2008-06-27 2009-06-26 Fault node detection method
PCT/EP2009/058057 WO2009156512A1 (en) 2008-06-27 2009-06-26 Method for detecting a faulty node
EP09769360.0A EP2301200B8 (en) 2008-06-27 2009-06-26 Method for detecting a faulty node
BRPI0913886A BRPI0913886A2 (en) 2008-06-27 2009-06-26 method for detecting a defective node
RU2010152949/08A RU2010152949A (en) 2008-06-27 2009-06-26 METHOD FOR DETECTING A DEFECTIVE ASSEMBLY
CN2009801247070A CN102077514A (en) 2008-06-27 2009-06-26 Method for detecting defective nodes
CA2729489A CA2729489A1 (en) 2008-06-27 2009-06-26 Method for detecting a defective node
US12/978,859 US9634859B2 (en) 2008-06-27 2010-12-27 Method for detecting a defective node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102008002738A DE102008002738B4 (en) 2008-06-27 2008-06-27 Method for detecting a faulty node

Publications (2)

Publication Number Publication Date
DE102008002738A1 DE102008002738A1 (en) 2010-01-07
DE102008002738B4 true DE102008002738B4 (en) 2010-03-11

Family

ID=41396516

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102008002738A Active DE102008002738B4 (en) 2008-06-27 2008-06-27 Method for detecting a faulty node

Country Status (9)

Country Link
US (1) US9634859B2 (en)
EP (1) EP2301200B8 (en)
JP (1) JP2011526110A (en)
CN (1) CN102077514A (en)
BR (1) BRPI0913886A2 (en)
CA (1) CA2729489A1 (en)
DE (1) DE102008002738B4 (en)
RU (1) RU2010152949A (en)
WO (1) WO2009156512A1 (en)

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012272977A1 (en) 2011-06-20 2014-01-16 Tandemseven, Inc. System and method for building and managing user experience for computer software interfaces
CN102420820B (en) * 2011-11-28 2016-06-08 杭州华三通信技术有限公司 Partition method in a kind of group system and device
CN103368786B (en) * 2012-04-10 2016-03-30 珠海格力电器股份有限公司 Method and device for testing controller local area network bus data
WO2014039032A1 (en) * 2012-09-05 2014-03-13 GM Global Technology Operations LLC Method and apparatus for isolating a fault-active controller in a controller area network
US9009523B2 (en) 2012-11-27 2015-04-14 GM Global Technology Operations LLC Method and apparatus for isolating a fault in a controller area network
US9524222B2 (en) 2013-09-16 2016-12-20 GM Global Technology Operations LLC Method and apparatus for fault detection in a controller area network
DE102014112103B4 (en) * 2013-09-16 2021-06-02 GM Global Technology Operations LLC (n. d. Ges. d. Staates Delaware) Method for isolating a fault in a controller area network
US9110951B2 (en) * 2013-09-16 2015-08-18 GM Global Technology Operations LLC Method and apparatus for isolating a fault in a controller area network
JP6187086B2 (en) * 2013-09-20 2017-08-30 富士通株式会社 Information processing apparatus, communication method, and communication program
BR112015008318A2 (en) 2013-09-23 2017-07-04 Farmobile Llc relay device, and server and agriculture data exchange systems
US9354965B2 (en) 2013-10-18 2016-05-31 GM Global Technology Operations LLC Method and apparatus for isolating a fault in a controller area network
CN104635549A (en) * 2013-11-07 2015-05-20 北汽福田汽车股份有限公司 Can bus error processing method and can controller
DE102014202826A1 (en) * 2014-02-17 2015-08-20 Robert Bosch Gmbh Subscriber station for a bus system and method for increasing the data rate of a bus system
CN104038366B (en) * 2014-05-05 2017-10-27 深圳市中博科创信息技术有限公司 Clustered node abatement detecting method and system
US10530605B2 (en) * 2015-08-06 2020-01-07 Tower-Sec Ltd. Means and methods for regulating can communication
JP6525825B2 (en) * 2015-08-31 2019-06-05 国立大学法人名古屋大学 Communication device
CN105159285B (en) * 2015-09-17 2017-09-12 北京汽车股份有限公司 CAN controller bus failure treating method and apparatus
WO2017127639A1 (en) * 2016-01-20 2017-07-27 The Regents Of The University Of Michigan Exploiting safe mode of in-vehicle networks to make them unsafe
CN105871623B (en) * 2016-05-18 2019-10-11 广州数控设备有限公司 A kind of sporadic method for diagnosing faults of fieldbus
EP3366626B1 (en) 2017-02-22 2021-01-06 Otis Elevator Company Elevator safety system and method of monitoring an elevator system
CN107257310B (en) * 2017-07-05 2020-04-24 北京东土科技股份有限公司 Implementation system based on industrial internet field layer broadband bus architecture
CN107528680B (en) * 2017-07-05 2020-09-22 北京东土科技股份有限公司 Real-time transmission method and device based on industrial Internet field layer bus architecture
CN111386540B (en) * 2017-11-29 2023-07-21 三菱电机株式会社 Maintenance planning system and maintenance planning method
CN108063687B (en) * 2017-12-12 2021-01-08 北京时代民芯科技有限公司 Method for judging fault node in CAN bus network
DE102018203705A1 (en) 2018-03-12 2019-09-12 Robert Bosch Gmbh Subscriber station for a serial bus system and method for data transmission in a serial bus system
EP3570500B1 (en) * 2018-05-15 2021-03-17 Volvo Car Corporation A communication network
CN110221619A (en) * 2019-05-29 2019-09-10 北京三快在线科技有限公司 Unmanned flight's equipment and method for synchronizing time therein, device and storage medium
US11175978B2 (en) 2019-07-31 2021-11-16 International Business Machines Corporation Detection of an error generated within an electronic device
CN110674149B (en) * 2019-09-12 2022-03-11 金蝶软件(中国)有限公司 Service data processing method and device, computer equipment and storage medium
CN112083710B (en) * 2020-09-04 2024-01-19 南京信息工程大学 Vehicle-mounted network CAN bus node monitoring system and method
US12381911B2 (en) * 2020-10-21 2025-08-05 Ay Innovative Co. Ltd. Counterattack method against hacked node in CAN bus physical layer, physical layer security method with can bus node ID auto-setting, and recording medium and system for performing the method
CN115484124A (en) * 2022-08-23 2022-12-16 中国电子科技集团公司第十研究所 CAN bus error recovery method, device and medium based on multi-device nodes
DE102022209301B4 (en) * 2022-09-07 2024-03-28 Volkswagen Aktiengesellschaft Method for transferring a control device to a safe system state
CN119628996A (en) * 2025-02-11 2025-03-14 天津云遥宇航科技有限公司 A method for handling CAN bus errors of satellite-borne payloads

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3928537A1 (en) * 1989-08-29 1991-03-07 Bosch Gmbh Robert Fault detection and location in data networks - using software based system to examine response signals within predetermined time
DE102007004701B4 (en) * 2007-01-31 2009-02-05 Robert Bosch Gmbh Method for operating a mixer of a heating system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4951281A (en) * 1987-11-30 1990-08-21 Furukawa Electric Co., Ltd. Multiplex transmission system
JPH057208A (en) * 1991-06-27 1993-01-14 Nec Corp Multi-processor system
JP3351104B2 (en) * 1994-06-23 2002-11-25 株式会社デンソー Vehicle communication system
JP2002185567A (en) 2000-12-12 2002-06-28 Hitachi Cable Ltd Network performance monitoring method
JP2002359625A (en) * 2001-05-31 2002-12-13 Aisin Seiki Co Ltd Control area network
DE10131135B4 (en) 2001-06-28 2007-02-01 Harman Becker Automotive Systems Gmbh Method for operating a network node
JP4052079B2 (en) * 2002-10-09 2008-02-27 日産自動車株式会社 Vehicle control device
US7315204B2 (en) * 2005-07-08 2008-01-01 National Semiconductor Corporation Class AB-D audio power amplifier
US7991351B2 (en) * 2007-02-28 2011-08-02 Kuban Paul A Extension of wired controller area networks to wireless personal area networks
JP4407752B2 (en) * 2008-01-10 2010-02-03 トヨタ自動車株式会社 FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3928537A1 (en) * 1989-08-29 1991-03-07 Bosch Gmbh Robert Fault detection and location in data networks - using software based system to examine response signals within predetermined time
DE102007004701B4 (en) * 2007-01-31 2009-02-05 Robert Bosch Gmbh Method for operating a mixer of a heating system

Also Published As

Publication number Publication date
JP2011526110A (en) 2011-09-29
EP2301200B1 (en) 2016-06-08
EP2301200A1 (en) 2011-03-30
US20110188371A1 (en) 2011-08-04
WO2009156512A1 (en) 2009-12-30
EP2301200B8 (en) 2016-08-17
CA2729489A1 (en) 2009-12-30
CN102077514A (en) 2011-05-25
US9634859B2 (en) 2017-04-25
DE102008002738A1 (en) 2010-01-07
RU2010152949A (en) 2012-08-10
BRPI0913886A2 (en) 2017-06-20

Similar Documents

Publication Publication Date Title
DE102008002738B4 (en) Method for detecting a faulty node
EP1352326B1 (en) Method and device for monitoring a data processing and transmission
DE112010001370B4 (en) Signal transmission device for an elevator
EP2274655B1 (en) Method, system and bus coupler for exchanging data between an overlay network and an underlay network
DE19752792B4 (en) Device for self-diagnosis of essentially sporadic errors in serial transmission systems
EP3977682B1 (en) Error detection test device for a subscriber station of a serial bus system, and method for testing mechanisms for detecting errors in a communication in a serial bus system
EP2652911B1 (en) Wire breakage diagnosis
EP2637362B1 (en) Bus participant device for connection to a line-redundant, serial data bus and method for controlling the communication of a bus participant with a line-redundant, serial data bus
EP2836912B1 (en) Subscriber station for a bus system and method for transmitting messages between subscriber stations of a bus system
EP3295645B1 (en) Method and arrangement for decoupled transmission of data between networks
EP3881499A1 (en) Error frame screening unit for a subscriber station of a serial bus system and method for communication in a serial bus system
DE112015005253T5 (en) Controller Area Network (CAN) communication system and error information recording device
EP3744046B1 (en) Subscriber station for a serial bus system, and method for fault signalling for a message received in a serial bus system
EP1686732B1 (en) Method and system for transmitting protocol data units
WO2020234465A1 (en) Subscriber station for a serial bus system, and method for communicating in a serial bus system
DE602004007130T2 (en) ERROR IDENTIFICATION AND SUPPRESSION IN A TDMA-BASED NETWORK NODE
DE102008042503B4 (en) The packet communication system
DE102009016972B4 (en) Communication system for decentralized and self-sufficient monitoring and control of a subordinate bus system
DE102013204891B4 (en) Method for the reconstruction of measurement data
EP3987697B1 (en) Method for operating a communication network, communication network, and subscribers for a communication network
EP2501080A1 (en) Method for increasing the availability of a communication network
EP3492999A1 (en) Method of operating a communication system, communication system and communication participant
DE102012209093A1 (en) Subscriber station for bus system in vehicle has transmission device to send error portion to send transmitted massage of another subscriber station and to abort own message to be sent when transmitted message is incorrectly recognized
EP3627771A1 (en) Method for checking the behavior of bus units on a can fd-bus in line with specifications
DE102018221417A1 (en) Method and network distributor for reporting a fault in a communication network

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8364 No opposition during term of opposition
8327 Change in the person/name/address of the patent owner

Owner name: AIRBUS OPERATIONS GMBH, 21129 HAMBURG, DE

R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: H04L0012260000

Ipc: H04L0043000000