DE102015014210B4 - Network management for a two-channel FlexRay network - Google Patents
Network management for a two-channel FlexRay network Download PDFInfo
- Publication number
- DE102015014210B4 DE102015014210B4 DE102015014210.0A DE102015014210A DE102015014210B4 DE 102015014210 B4 DE102015014210 B4 DE 102015014210B4 DE 102015014210 A DE102015014210 A DE 102015014210A DE 102015014210 B4 DE102015014210 B4 DE 102015014210B4
- Authority
- DE
- Germany
- Prior art keywords
- network
- channel
- management message
- network management
- controller
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
- H04L12/417—Bus networks with decentralised control with deterministic access, e.g. token passing
Abstract
Verfahren zum Betreiben eines FlexRay-Netzwerks (20), welches einen ersten Kanal (A) und einen zweiten Kanal (B) umfasst; wobei ein erstes Netzwerkgerät (12) mittels eines ersten Netzwerkcontrollers (12a) über den ersten Kanal kommuniziert und mittels eines zweiten Netzwerkcontrollers (12b) über den zweiten Kanal kommuniziert, und wobei ein zweites Netzwerkgerät (14) mittels eines dritten Netzwerkcontrollers (14a) über den ersten Kanal (A) kommuniziert und ein drittes Netzwerkgerät (16) mittels eines vierten Netzwerkcontrollers (16b) über den zweiten Kanal (B) kommuniziert; mit den Schritten:
- innerhalb eines ersten Netzwerkzeitintervalls Versenden einer ersten Netzwerkmanagementbotschaft (NM-PDU1) durch den dritten Netzwerkcontroller (14a) in Abhängigkeit davon, ob Daten des zweiten Netzwerkgeräts (14) vorhanden sind, welche in einem unmittelbar auf das erste Netzwerkzeitintervall nachfolgenden zweiten Netzwerkzeitintervall auf dem ersten Kanal (A) zu senden sind, und/oder Versenden einer zweiten Netzwerkmanagementbotschaft (NM-PDU2) durch den vierten Netzwerkcontroller (16b) in Abhängigkeit davon, ob Daten des dritten Netzwerkgeräts (16) vorhanden sind, welche in dem zweiten Netzwerkzeitintervall auf dem zweiten Kanal (B) zu senden sind, und
- Ermitteln durch das erste Netzwerkgerät (12), ob innerhalb des ersten Netzwerkzeitintervalls zumindest eine der ersten (NM-PDU1) und der zweiten Netzwerkmanagementbotschaft (NM-PDU2) versendet wurde, gekennzeichnet durch:
zumindest im Fall der Versendung einer der ersten und der zweiten Netzwerkmanagementbotschaft:
- synchrones Versenden einer dritten Netzwerkmanagementbotschaft (NM-PDU-Sync) durch den ersten Netzwerkcontroller (12a) und den zweiten Netzwerkcontroller (12b).
A method of operating a FlexRay network (20) comprising a first channel (A) and a second channel (B); wherein a first network device (12) communicates via the first channel by means of a first network controller (12a) and communicates via the second channel via a second network controller (12b), and wherein a second network device (14) communicates via the third network controller (14a) first channel (A) communicates and a third network device (16) communicates via a second network controller (16b) via the second channel (B); with the steps:
- within a first network time interval sending a first network management message (NM-PDU1) by the third network controller (14a) depending on whether data of the second network device (14) are present which in a second network time interval immediately following the first network time interval on the first Channel (A) are to be sent, and / or sending a second network management message (NM-PDU2) by the fourth network controller (16b) depending on whether data of the third network device (16) are present, which in the second network time interval on the second Channel (B) are to be sent, and
Determining, by the first network device (12), whether at least one of the first (NM-PDU1) and the second network management message (NM-PDU2) has been sent within the first network time interval, characterized by:
at least in the case of sending one of the first and second network management messages:
synchronously sending a third network management message (NM-PDU Sync) by the first network controller (12a) and the second network controller (12b).
Description
Die Erfindung betrifft ein Verfahren zum Betreiben eines FlexRay-Netzwerks gemäß dem Oberbegriff des Patentanspruchs 1. Weiterhin betrifft die Erfindung ein FlexRay-Netzwerk gemäß dem Oberbegriff des Patentanspruchs 10.The invention relates to a method for operating a FlexRay network according to the preamble of patent claim 1. Furthermore, the invention relates to a FlexRay network according to the preamble of patent claim 10.
FlexRay ist ein serielles, deterministisches und fehlertolerantes Feldbussystem für den Einsatz in Kraftfahrzeugen, insbesondere Elektrofahrzeugen oder Hybridfahrzeugen. FlexRay wurde entwickelt, um gegenüber dem CAN-Bus eine höhere Datenübertragungsrate sowie eine verbesserte Echtzeit-Fähigkeit und Ausfallsicherheit bereitzustellen. Aktuell wird FlexRay für den Einsatz in Kraftfahrzeugen lediglich auf einem Kanal (A-Kanal) verwendet. Der FlexRay-Standard sieht vor, dass zwei Kanäle, nämlich der erste Kanal (
Bei einer einkanaligen Ausführung sendet jedes Steuergerät eine auch PDU (Protocol Data Unit) genannte Botschaft für das Netzwerkmanagement, solange es noch einen Sendebedarf hat und hält damit alle weiteren Teilnehmer an dem Kanal des FlexRay-Busses aktiv. Wenn für eine definierte Zeit keine Netzwerkmanagementbotschaft mehr gesendet oder empfangen wurde, wird der FlexRay-Bus in einen Schlafzustand (BusSleep) überführt, das heißt alle an diesen Bus angeschlossenen Steuergeräte schalten ihre FlexRay-Kommunikation ab. Mit der Nutzung des zweiten FlexRay-Kanals (B-Kanal) ist daher eine Erweiterung des Netzwerkmanagements für einen Wechsel in den Schlafmodus erforderlich.In a single-channel implementation, each control unit transmits a PDU (Protocol Data Unit) called message for the network management, as long as it still has a need for transmission and keeps all other participants active on the channel of the FlexRay bus. If no network management message has been sent or received for a defined time, the FlexRay bus is put into a sleep state (BusSleep), ie all control units connected to this bus switch off their FlexRay communication. With the use of the second FlexRay channel (B-channel), therefore, an expansion of the network management for a change to the sleep mode is required.
In diesem Zusammenhang ist aus der
Weiterhin ist aus der
Überdies ist aus der
Aus AUTOSAR [Hrsg.]: Specification of FlexRay Network Management. AUTOSAR (online), ID 028, Release 4.2.2 ist die Definition der Funktionalität des FlexRay-Standards bekannt. Hierin wird das Format und die Funktion einer Netzwerkmanagementbotschaft dargestellt (Network Management Protocol Data Unit, NM-PDU), welche als „NM-Data PDU“ oder als „NM-Vote PDU“ vorliegen kann. In einer solchen „NM-Vote PDU“ kann ein Abstimmungs-Bit (Vote) gesetzt werden, welches anzeigt, dass ein Wachzustand des FlexRay-Netzwerks aufrechterhalten werden soll. Ergänzend offenbart AUTOSAR [Hrsg.]: Requirements on Network Management. AUTOSAR (online), ID 003, Release 4.2.1 den Anwendungsfall einer zweikanaligen FlexRay-Gerätegruppe mit einigen Ein-Kanal-Knoten, welche so eingerichtet ist, dass nur Zwei-Kanal-Knoten die Abschaltung beeinflussen.From AUTOSAR [ed.]: Specification of FlexRay Network Management. AUTOSAR (online), ID 028, Release 4.2.2 is the definition of the functionality of the FlexRay standard known. The format and function of a Network Management Protocol Data Unit (NM-PDU), which may be in the form of "NM-Data PDU" or "NM-Vote PDU", is represented here. In such a "NM Vote PDU", a voting bit (Vote) may be set indicating that a wake state of the FlexRay network is to be maintained. In addition AUTOSAR [Hrsg.] Reveals: Requirements on Network Management. AUTOSAR (online), ID 003, Release 4.2.1 describes the application of a two-channel FlexRay device group with some single-channel nodes, which is set up so that only two-channel nodes affect the shutdown.
Es ist Aufgabe der vorliegenden Erfindung, ein Verfahren zum Betreiben eines zweikanaligen FlexRay-Netzwerks sowie ein zweikanaliges FlexRay-Netzwerk bereitzustellen, welches eine zuverlässigere Datenübermittlung ermöglicht.It is an object of the present invention to provide a method for operating a dual-channel FlexRay network and a dual-channel FlexRay network, which enables a more reliable data transmission.
Diese Aufgabe wird gelöst durch ein Verfahren mit den Merkmalen des Patentanspruchs 1 sowie durch ein FlexRay-Netzwerk mit den Merkmalen des Patentanspruchs 10. Vorteilhafte Weiterbildungen der vorliegenden Erfindung sind Gegenstand der abhängigen Ansprüche. This object is achieved by a method having the features of patent claim 1 and by a FlexRay network having the features of patent claim 10. Advantageous developments of the present invention are the subject matter of the dependent claims.
Der Erfindung liegt die Erkenntnis zugrunde, dass es für einen zweikanaligen Betrieb eines FlexRay-Netzwerks erforderlich ist, dass beide FlexRay-Kanäle möglichst synchron (gleichzeitig) in den Schlafzustand überführt werden. Grundsätzlich ist erforderlich, dass entweder beide FlexRay-Kanäle aktiv oder beide FlexRay-Kanäle inaktiv sind. Ansonsten kann es vorkommen, dass Steuergeräte, welche an einem bereits in den Schlafmodus überführten FlexRay-Kanal angeschlossen sind, nicht mehr angesprochen werden können, was dann zu Inkonsistenzen in dem FlexRay-Netzwerk führt, mit der Folge, dass beispielsweise Einträge in Fehlerspeicher generiert werden oder Daten, die in mehreren Steuergeräten abzulegen sind, nur noch in einem Teil der entsprechenden Steuergeräte abgelegt werden können.The invention is based on the finding that it is necessary for a two-channel operation of a FlexRay network that both FlexRay channels are synchronized (simultaneously) into the sleep state as far as possible. Basically, it is necessary that either both FlexRay channels are active or both FlexRay channels are inactive. Otherwise, it is possible that control units which are connected to a FlexRay channel already transferred to sleep mode can no longer be addressed, which then leads to inconsistencies in the FlexRay network, with the result that, for example, entries are stored in error memory or data to be stored in several control units can only be stored in a part of the corresponding control units.
Die Erfindung geht aus von einem Verfahren zum Betreiben eines FlexRay-Netzwerks, welches einen ersten Kanal und einen zweiten Kanal umfasst, wobei ein erstes Netzwerkgerät mittels eines ersten Netzwerkcontrollers über den ersten Kanal kommuniziert und mittels eines zweiten Netzwerkcontrollers über den zweiten Kanal kommuniziert. Dabei kommuniziert ein zweites Netzwerkgerät mittels eines dritten Netzwerkcontrollers über den ersten Kanal und ein drittes Netzwerkgerät kommuniziert mittels eines vierten Netzwerkcontrollers über den zweiten Kanal.The invention is based on a method for operating a FlexRay network comprising a first channel and a second channel, wherein a first network device communicates via the first channel by means of a first network controller and communicates via the second channel by means of a second network controller. In this case, a second network device communicates by means of a third network controller via the first channel and a third network device communicates by means of a fourth network controller via the second channel.
Erfindungsgemäß wird das Verfahren weitergebildet durch innerhalb eines ersten Netzwerkintervalls Versenden einer ersten Netzwerkmanagementbotschaft durch den dritten Netzwerkcontroller in Abhängigkeit davon, ob Daten des zweiten Netzwerkgeräts vorhanden sind, welche in einem unmittelbar auf das erste Netzwerkzeitintervall nachfolgenden zweiten Netzwerkzeitintervall auf dem ersten Kanal zu senden sind, und/oder Versenden einer zweiten Netzwerkmanagementbotschaft durch den vierten Netzwerkcontroller in Abhängigkeit davon, ob Daten des dritten Netzwerkgeräts vorhanden sind, welche in dem zweiten Netzwerkintervall auf dem zweiten Kanal zu senden sind. Das erfindungsgemäße Verfahren umfasst weiterhin Ermitteln durch das erste Netzwerkgerät, ob innerhalb des ersten Netzwerkzeitintervalls zumindest eine der ersten und der zweiten Netzwerkmanagementbotschaft versendet wurde, und zumindest im Fall der Versendung einer der ersten und der zweiten Netzwerkmanagementbotschaft Versenden einer dritten Netzwerkmanagementbotschaft durch den ersten Netzwerkcontroller und den zweiten Netzwerkcontroller.According to the invention, the method is further developed by sending, within a first network interval, a first network management message by the third network controller depending on whether data of the second network device is present, which are to be transmitted on the first channel in a second network time interval immediately following the first network time interval, and / or sending a second network management message by the fourth network controller depending on whether there is data of the third network device to be sent in the second network interval on the second channel. The inventive method further comprises determining, by the first network device, whether at least one of the first and second network management messages has been sent within the first network time interval, and at least in the case of sending one of the first and second network management messages, sending a third network management message by the first network controller and the network controller second network controller.
Dabei erfolgt das Versenden der dritten Netzwerkmanagementbotschaft synchron, womit in diesem Zusammenhang im Wesentlichen gleichzeitig gemeint ist, mit anderen Worten mit einem im Hinblick auf die technischen Realisierungsmöglichkeiten minimierten gegenseitigen Zeitversatz.In this case, the sending of the third network management message takes place synchronously, which means substantially simultaneously in this context, in other words with a mutual time offset which is minimized with regard to the technical implementation possibilities.
Das erste Netzwerkzeitintervall und/oder das zweite Netzwerkzeitintervall kann durch einen sogenannten FlexRay-RepetitionCycle oder FlexRay-VoteCycle definiert sein, welcher eine vorgebbare Anzahl von FlexRay-Zyklen, welche jeweils aus einer Abfolge von einem statischen Segment, einem dynamischen Segment, einem Symbolfenster sowie der sogenannten NIT (Network Idle Time) umfasst. Mit dem Verfahren kann ein synchroner Übergang in den Schlafzustand (BusSleep) des zweikanaligen FlexRay-Netzwerks sichergestellt werden. Die Synchronität bezieht sich in diesem Zusammenhang immer auf den Wechsel des FlexRay-Netzwerks in den Schlafmodus und nicht auf eine Synchronisation der FlexRay-Zyklen beziehungsweise FlexRay-Rahmen (Frames) untereinander.The first network time interval and / or the second network time interval can be defined by a so-called FlexRay-RepetitionCycle or FlexRay-VoteCycle, which comprises a predefinable number of FlexRay cycles, each consisting of a sequence of a static segment, a dynamic segment, a symbol window and the so-called NIT (Network Idle Time). The method can ensure a synchronous transition to the sleep state (BusSleep) of the two-channel FlexRay network. In this context, synchronicity always refers to the change of the FlexRay network to sleep mode and not to a synchronization of the FlexRay cycles or FlexRay frames.
Außerdem erreicht man eine strikte Trennung der Funktions-Netzwerkmanagementbotschaften (erste Netzwerkmanagementbotschaft und zweite Netzwerkmanagementbotschaft) und der Synchronisations-Netzwerkmanagementbotschaften (dritte Netzwerkmanagementbotschaft). Weiterhin ist mit der Synchronisierung eines möglichen Wechsels des FlexRay-Netzwerks in den Schlafmodus lediglich ein Steuergerät in Form des ersten Netzwerkgeräts bezüglich des Netzwerkmanagements des zweikanaligen FlexRay-Netzwerks betroffen, wodurch sich für die restlichen Steuergeräte keine Notwendigkeit einer Änderung in ihrem Netzwerkmanagement-Verhalten zwischen einem einkanaligen und einem zweikanaligen FlexRay-Netzwerkbetrieb ergibt. In den Fällen, in denen der zweite FlexRay-Kanal lediglich optionales Feature ist, kann somit das betreffende Steuergerät ohne Modifikationen an einem erfindungsgemäßen zweikanaligen FlexRay-Netzwerk einkanalig angekoppelt werden. Bevorzugt kann vorgesehen sein, dass der erste Kanal und der zweite Kanal zur Erhöhung der Datenrate in Kanalbündelung betrieben werden, es kann jedoch auch vorgesehen sein, zumindest zeitabschnittsweise den ersten Kanal und den zweiten Kanal als redundante Kanäle zu betreiben.It also achieves a strict separation of the functional network management messages (first network management message and second network management message) and the synchronization network management messages (third network management message). Furthermore, with the synchronization of a possible change of the FlexRay network into the sleep mode, only one control device in the form of the first network device is concerned with the network management of the two-channel FlexRay network, whereby the remaining control devices have no need to change their network management behavior between one another single-channel and two-channel FlexRay network operation. In cases in which the second FlexRay channel is merely an optional feature, the respective control unit can thus be coupled in a single-channel manner without modifications to a two-channel FlexRay network according to the invention. It can preferably be provided that the first channel and the second channel are operated in channel bundling for increasing the data rate, but it can also be provided to operate the first channel and the second channel as redundant channels at least in sections.
Die Rolle des ersten Netzwerkgeräts, welches ermöglicht, dass beide FlexRay-Kanäle synchron in den Schlafmodus wechseln, kann von jedem an dem FlexRay-Netzwerk betriebenen Steuergerät übernommen werden, welches mittels jeweils eines Netzwerkcontrollers mit dem ersten Kanal und dem zweiten Kanal gekoppelt ist. Entsprechend einem der zentralen Entwurfsgedanken des FlexRay-Standards, nämlich der Ausfallsicherheit, ist es zweckmäßig, die Rolle des Synchronisations-Steuergeräts nicht fest zuzuweisen, beispielsweise durch eine spezielle Ausgestaltung eines zugehörigen Betriebsprogramms, sondern eine dynamische Übernahme der Funktion des ersten Netzwerkgeräts zu ermöglichen. Dies kann beispielsweise dadurch realisiert sein, dass dasjenige Steuergerät die Funktion des ersten Netzwerkgeräts übernimmt, welches bereits bei einem sogenannten Kaltstart, das heißt dem Inbetriebsetzen des FlexRay-Netzwerks, die Führung übernommen hatte. Die jeweiligen Netzwerkzeitintervalle (FlexRay-RepetitionCycles) können bevorzugt 16 FlexRay-Zyklen umfassen, wodurch in vorteilhafter Weise die Anzahl der Möglichkeiten beschränkt wird, wann das FlexRay-Netzwerk in den Schlafmodus wechseln kann.The role of the first network device, which allows both FlexRay channels to switch to sleep mode synchronously, can be taken over by any controller operated on the FlexRay network, which is coupled to the first channel and the second channel by means of a respective network controller. According to one of the central design ideas of the FlexRay standard, namely reliability, it is it is expedient to not permanently assign the role of the synchronization control device, for example by means of a special embodiment of an associated operating program, but to permit a dynamic adoption of the function of the first network device. This can be realized, for example, in that the control unit assumes the function of the first network device, which had already taken the lead during a so-called cold start, that is to say putting the FlexRay network into operation. The respective network time intervals (FlexRay-RepetitionCycles) may preferably comprise 16 FlexRay cycles, which advantageously limits the number of ways in which the FlexRay network can switch to sleep mode.
In einer vorteilhaften Weiterbildung umfasst das Verfahren Ermitteln durch den dritten Netzwerkcontroller, ob innerhalb des ersten Netzwerkzeitintervalls die dritte Netzwerkmanagementbotschaft über den ersten Kanal versendet wurde, und im Fall des ermittelten Versendens der dritten Netzwerkmanagementbotschaft, in einem vorgebbaren zeitlichen Bezug zu der ersten Netzwerkmanagementbotschaft Starten eines ersten Zeitgebers mit einer vorgebbaren Ablaufdauer, innerhalb dessen Ablaufens ein Wechsel des zweiten Netzwerkgeräts in einen Schlafmodus verhindert wird, und Ermitteln durch den vierten Netzwerkcontroller, ob innerhalb des ersten Netzwerkzeitintervalls die dritte Netzwerkmanagementbotschaft über den zweiten Kanal gesendet wurde, und im Fall des ermittelten Versendens der dritten Netzwerkmanagementbotschaft, in einem vorgebbaren zeitlichen Bezug zu der dritten Netzwerkmanagementbotschaft Starten eines zweiten Zeitgebers mit der vorgebbaren Ablaufdauer, innerhalb dessen Ablaufens ein Wechsel des dritten Netzwerkgeräts in den Schlafmodus verhindert wird.In an advantageous development, the method comprises determining by the third network controller whether the third network management message was sent over the first channel within the first network time interval, and in a predeterminable temporal reference to the first network management message starting a first network message in the case of the determined sending of the third network management message Timer with a predeterminable expiration time, within which expiration a change of the second network device is prevented in a sleep mode, and determining by the fourth network controller whether within the first network time interval, the third network management message has been sent via the second channel, and in the case of the determined sending of the third Network management message, in a predeterminable temporal relation to the third network management message Starting a second timer with the predeterminable expiration time, within which expires Switching the third network device into sleep mode is prevented.
Der vorgebbare zeitliche Bezug zu der dritten Netzwerkmanagementbotschaft kann bevorzugt dadurch gegeben sein, dass der jeweilige Zeitgeber unmittelbar nach dem vollständigen Erkennen der dritten Netzwerkmanagementbotschaft gestartet wird. Die dritte Netzwerkmanagementbotschaft kann somit von allen anderen angeschlossenen Steuergeräten, unabhängig davon, ob diese einkanalig oder zweikanalig an das FlexRay-Netzwerk angeschlossen sind, als „normale“ Netzwerkmanagementbotschaft in der Art der ersten Netzwerkmanagementbotschaft und der zweiten Netzwerkmanagementbotschaft erkannt werden und das Aufrechterhalten des Aktiv-Zustands des FlexRay-Netzwerks inklusive aller angeschlossenen Steuergeräte bewirken. Solange alle nicht mit der Synchronisation der beiden FlexRay-Kanäle befassten Steuergeräte zumindest alle Netzwerkmanagementbotschaften an einem der angeschlossenen FlexRay-Kanäle empfangen und senden ist dadurch sichergestellt, dass auch der jeweils andere FlexRay-Kanal ebenso aktiv bleibt.The predeterminable temporal relation to the third network management message can preferably be given by the fact that the respective timer is started immediately after the complete recognition of the third network management message. The third network management message can thus be recognized as a "normal" network management message in the manner of the first network management message and the second network management message by all other connected control units, whether they are connected to the FlexRay network with one channel or two channels, and the maintenance of the active network management message. State of the FlexRay network, including all connected ECUs. As long as all control units not involved in the synchronization of the two FlexRay channels at least receive and transmit all network management messages on one of the connected FlexRay channels, this ensures that the respective other FlexRay channel also remains active.
In einer weiteren vorteilhaften Ausführungsform umfasst das Verfahren beim Versenden der dritten Netzwerkmanagementbotschaft in einem vorgebbaren zeitlichen Bezug zu der dritten Netzwerkmanagementbotschaft das Starten eines dritten Zeitgebers mit der vorgebbaren Ablaufdauer, innerhalb dessen Ablaufens ein Wechsel des ersten Netzwerkgeräts in den Schlafmodus verhindert wird. Dadurch wird der Wechsel in den Schlafzustand sowohl des als Synchronisations-Steuergerät arbeitenden ersten Netzwerkgeräts als auch des zweiten Netzwerkgeräts und des dritten Netzwerkgeräts, welche insbesondere lediglich über einen einzigen Kanal mit dem FlexRay-Netzwerk gekoppelt sein können, sichergestellt. Bevorzugt erfolgt ein Wechsel des jeweiligen Netzwerkgeräts in den Schlafmodus, wenn der jeweilige Zeitgeber abgelaufen ist. Insbesondere kann vorgesehen sein, dass alle an dem FlexRay-Netzwerk angeschlossenen Netzwerkgeräte unabhängig ob der Anschluss an dem ersten Kanal, an dem zweiten Kanal oder an beiden Kanälen erfolgt, in den Schlafmodus wechseln, wenn ihre jeweiligen Zeitgeber abgelaufen sind. Es versteht sich von selbst, dass nicht angeschlossene Kanäle des jeweiligen Netzwerkgeräts keinen Zeitgeber starten können, nach dessen Ablauf ein Wechsel in den Schlafmodus erfolgen würde.In a further advantageous embodiment, the method when sending the third network management message in a predeterminable temporal relation to the third network management message comprises starting a third timer with the predeterminable expiry period, within the expiration of a change of the first network device is prevented in the sleep mode. This ensures the change to the sleep state of both the first network device operating as the synchronization control device and the second network device and of the third network device, which in particular can only be coupled to the FlexRay network via a single channel. Preferably, a change of the respective network device in the sleep mode, if the respective timer has expired. In particular, it can be provided that all the network devices connected to the FlexRay network, regardless of whether they are connected to the first channel, to the second channel or to both channels, change to sleep mode when their respective timers have expired. It goes without saying that unconnected channels of the respective network device can not start a timer after which a change to sleep mode would take place.
In einer weiteren vorteilhaften Ausführungsform umfasst das Verfahren Neustarten des jeweiligen Zeitgebers mit der vorgebbaren Ablaufdauer, wenn zumindest auf einem der jeweiligen Kanäle, über welche das jeweilige Netzwerkgerät kommuniziert, eine Netzwerkmanagementbotschaft ermittelt wird. Dabei ist es völlig unerheblich, ob es sich um eine „normale“ Netzwerkmanagementbotschaft handelt oder um eine zusätzlich durch das Synchronisations-Steuergerät eingefügte Netzwerkmanagementbotschaft handelt.In a further advantageous embodiment, the method comprises restarting the respective timer with the predefinable expiration time if a network management message is determined at least on one of the respective channels via which the respective network device communicates. It is completely irrelevant whether it is a "normal" network management message or is an additionally inserted by the synchronization controller network management message.
In einer weiteren vorteilhaften Ausführungsform umfasst das Verfahren innerhalb des ersten Netzwerkintervalls Versenden einer vierten Netzwerkmanagementbotschaft durch den ersten Netzwerkcontroller in Abhängigkeit davon, ob Daten des ersten Netzwerkgeräts vorhanden sind, welche in dem zweiten Netzwerkzeitintervall auf dem ersten Kanal zu senden sind. In einer weiteren vorteilhaften Ausführungsform kann das Verfahren innerhalb des ersten Netzwerkzeitintervalls Versenden einer fünften Netzwerkmanagementbotschaft durch den zweiten Netzwerkcontroller umfassen in Abhängigkeit davon, ob Daten des ersten Netzwerkgeräts vorhanden sind, welche in dem zweiten Netzwerkzeitintervall auf dem zweiten Kanal zu senden sind.In a further advantageous embodiment, within the first network interval, the method comprises sending a fourth network management message by the first network controller depending on whether there is data of the first network device to be transmitted on the first channel in the second network time interval. In a further advantageous embodiment, within the first network time interval, the method may include sending a fifth network management message by the second network controller depending on whether there is data of the first network device to be transmitted on the second channel in the second network time interval.
Auf diese Weise sendet das erste Netzwerkgerät (Synchronisations-Steuergerät) seine „normale“ Netzwerkmanagementbotschaft aufgrund seiner applikationsbedingten beziehungsweise funktionalen Vorgaben wie jedes andere FlexRay-Steuergerät in dem FlexRay-Netzwerk. Somit kann auf eine Änderung der Standard-Funktionalität verzichtet werden, was eine einfachere Implementierung der Synchronisationsfunktion ermöglicht. Denn gemäß der Erfindung sendet es nunmehr zusätzlich eine Netzwerkmanagementbotschaft zum Zweck der Synchronisation, die immer dann gleichzeitig auf beiden FlexRay-Kanälen gesendet wird, wenn in dem jeweils aktuellen FlexRay-RepetitionCycle mindestens eine „normale“ Netzwerkmanagementbotschaft auf einem FlexRay-Kanal gesendet oder empfangen wurde. Somit können alle der ursprünglichen applikationsbedingten beziehungsweise funktionalen Notwendigkeiten heraus erzeugten Netzwerkmanagementbotschaften weiterhin an ihren vorgesehenen Positionen und auf den entsprechenden Kanälen gesendet werden, ohne einen synchronen Wechsel beider FlexRay-Kanäle in den Schlafmodus zu behindern. In this way, the first network device (synchronization controller) sends its "normal" network management message due to its application-related or functional specifications like any other FlexRay controller in the FlexRay network. Thus, a change in the standard functionality can be dispensed with, which allows a simpler implementation of the synchronization function. Because according to the invention, it now additionally sends a network management message for the purpose of synchronization, which is always sent simultaneously on both FlexRay channels, if in the respective current FlexRay RepetitionCycle at least one "normal" network management message was sent or received on a FlexRay channel , Thus, all the network management messages generated from the original application or functional needs may continue to be sent at their designated locations and on the corresponding channels without hindering a synchronous change of both FlexRay channels to sleep mode.
In einer weiteren vorteilhaften Ausführungsform des Verfahrens ist die Position der dritten Netzwerkmanagementbotschaft in der Sendereihenfolge alle jeweiligen Netzwerkmanagementbotschaften innerhalb des ersten Netzwerkzeitintervalls die zuletzt gesendete. Indem die zur Synchronisation verwendete dritte Netzwerkmanagementbotschaft in den FlexRay-Ablaufplan (Schedule) an der letztmöglichen Position eingeplant wird, kann das erste Netzwerkgerät (Synchronisations-Steuergerät) alle Netzwerkmanagementbotschaften der übrigen Steuergeräte an dem FlexRay-Netzwerk berücksichtigten, um zu entscheiden, ob eine für die Synchronisation benötigte dritte Netzwerkmanagementbotschaft gesendet werden muss. Somit wird bevorzugt die dritte Netzwerkmanagementbotschaft an einer Position innerhalb des ersten Netzwerkzeitintervalls versendet, welche als letzte zulässige Position einer Netzwerkmanagementbotschaft vorgebbar ist. Die dritte Netzwerkmanagementbotschaft kann in einem statischen Segment eines FlexRay-Zyklus oder in einem dynamischen Segment eines FlexRay-Zyklus angeordnet sein. Alternativ kann vorgesehen sein, dass eine applikationsspezifische beziehungsweise funktional bedingte Netzwerkmanagementbotschaft nach der Art der ersten Netzwerkmanagementbotschaft oder der zweiten Netzwerkmanagementbotschaft, insbesondere wie die vierte Netzwerkmanagementbotschaft und die fünfte Netzwerkmanagementbotschaft, in einem statischen Segment des FlexRay-Zyklus angeordnet sein, wohingegen eine für den synchronen Wechsel in einen Schlafmodus benötigte dritte Netzwerkmanagementbotschaft in einem dynamischen Segment desselben FlexRay-Zyklus angeordnet ist.In a further advantageous embodiment of the method, the position of the third network management message in the transmission sequence is all the respective network management messages within the first network time interval that were sent last. By scheduling the third network management message used for synchronization into the FlexRay schedule at the last possible position, the first network device (synchronization controller) may consider all the network management messages of the other controllers on the FlexRay network to decide whether to apply a network management message the synchronization needed third network management message needs to be sent. Thus, preferably, the third network management message is sent at a position within the first network time interval, which can be predetermined as the last permissible position of a network management message. The third network management message may be arranged in a static segment of a FlexRay cycle or in a dynamic segment of a FlexRay cycle. Alternatively it can be provided that an application-specific or functionally related network management message in the manner of the first network management message or the second network management message, in particular as the fourth network management message and the fifth network management message, be arranged in a static segment of the FlexRay cycle, whereas one for the synchronous change in a sleep mode, the third network management message needed is located in a dynamic segment of the same FlexRay cycle.
Die Erfindung geht weiterhin aus von einem FlexRay-Netzwerk umfassend einen ersten Kanal und einen zweiten Kanal, und ein erstes Netzwerkgerät mit einem ersten Netzwerkcontroller und mit einem zweiten Netzwerkcontroller, welches dazu ausgelegt ist, mittels des ersten Netzwerkcontrollers über den ersten Kanal zu kommunizieren und mittels des zweiten Netzwerkcontrollers über den zweiten Kanal zu kommunizieren. Das FlexRay-Netzwerk umfasst weiterhin ein zweites Netzwerkgerät mit einem dritten Netzwerkcontroller, welches dazu ausgelegt ist, mittels des dritten Netzwerkcontrollers über den ersten Kanal zu kommunizieren, und ein drittes Netzwerkgerät mit einem vierten Netzwerkcontroller, welches dazu ausgelegt ist, mittels des vierten Netzwerkcontrollers über den zweiten Kanal zu kommunizieren.The invention is further based on a FlexRay network comprising a first channel and a second channel, and a first network device having a first network controller and a second network controller which is adapted to communicate via the first channel via the first channel and by means of the first network controller the second network controller to communicate over the second channel. The FlexRay network further comprises a second network device having a third network controller configured to communicate via the first channel via the third network controller, and a third network device having a fourth network controller configured to communicate via the fourth network controller second channel to communicate.
Erfindungsgemäß wird das FlexRay-Netzwerk dadurch weitergebildet, dass der dritte Netzwerkcontroller dazu ausgelegt ist, in Abhängigkeit davon, ob Daten des zweiten Netzwerkgeräts vorhanden sind, welche in einem unmittelbar auf das erste Netzwerkzeitintervall nachfolgenden zweiten Netzwerkzeitintervall auf dem ersten Kanal zu senden sind, eine erste Netzwerkmanagementbotschaft zu versenden und/oder der vierte Netzwerkcontroller dazu ausgelegt ist, in Abhängigkeit davon, ob Daten des dritten Netzwerkgeräts vorhanden sind, welche in dem zweiten Netzwerkzeitintervall auf dem zweiten Kanal zu senden sind, eine zweite Netzwerkmanagementbotschaft zu versenden. Dabei weist das erste Netzwerkgerät eine Netzwerkmanagementeinheit auf, welche dazu ausgelegt ist, zu ermitteln, ob innerhalb des ersten Netzwerkzeitintervalls zumindest eine der ersten und der zweiten Netzwerkmanagementbotschaft versendet wurde, und zumindest im Fall der Versendung einer der ersten und der zweiten Netzwerkmanagementbotschaft eine dritte Netzwerkmanagementbotschaft durch den ersten Netzwerkcontroller und den zweiten Netzwerkcontroller zu versenden.According to the invention, the FlexRay network is further developed in that the third network controller is designed to provide a first, depending on whether data of the second network device are present, which are to be transmitted on the first channel in a second network time interval immediately following the first network time interval Sending network management message and / or the fourth network controller is adapted to send a second network management message depending on whether there is data of the third network device to be sent on the second channel in the second network time interval. In this case, the first network device has a network management unit which is designed to determine whether at least one of the first and the second network management message has been sent within the first network time interval, and at least in the case of sending one of the first and the second network management message, a third network management message to send the first network controller and the second network controller.
Bevorzugt kann das FlexRay-Netzwerk weitere zweite Netzwerkgeräte und weitere dritte Netzwerkgeräte in beliebiger Kombination aufweisen. Weiterhin kann auch vorgesehen sein, mehr als ein erstes Netzwerkgerät an dem FlexRay-Netzwerk zu betreiben. In diesem Fall sind die mehreren ersten Netzwerkgeräte so ausgelegt, dass genau eines der mehreren ersten Netzwerkgeräte gemäß vorgebbarer Auswahlregeln als Synchronisations-Steuergerät ermittelt wird. In diesem Fall verhalten sich die übrigen der mehreren ersten Netzwerkgeräte im Hinblick auf die Versendung von Netzwerkmanagementbotschaften ebenso wie die zweiten Netzwerkgeräte und die dritten Netzwerkgeräte. Für den Fall, dass dasjenige der mehreren ersten Netzwerkgeräte, welches als Synchronisations-Steuergerät selektiert wurde, teilweise oder vollständig ausfällt, beispielsweise durch einen Ausfall eines seiner beiden Netzwerkcontroller, kann vorgesehen sein, dass die Rolle des Synchronisations-Steuergeräts von diesem ersten Netzwerkgerät aufgrund der vorgebbaren Auswahlregeln in der Reihenfolge als nächstes auszuwählendes erstes Netzwerkgerät übergeht. Auf diese Weise ist sichergestellt, dass auch die Funktionalität eines synchronisierten Übergangs in den Schlafmodus nicht von einer einzigen Komponente abhängig ist, deren Ausfall zu asynchronen Betriebszuständen hinsichtlich der beiden FlexRay-Kanäle führen würde.The FlexRay network may preferably have further second network devices and further third network devices in any combination. Furthermore, it can also be provided to operate more than one first network device on the FlexRay network. In this case, the plurality of first network devices are designed so that exactly one of the first plurality of network devices is determined according to prescribable selection rules as a synchronization control unit. In this case, the remaining ones of the first plurality of network devices behave with respect to the transmission of network management messages as well as the second network devices and the third network devices. In the event that the one of the plurality of first network devices, which has been selected as a synchronization controller, partially or completely fails, for example by a failure of one of his two Network controller, it can be provided that the role of the synchronization controller of this first network device on the basis of the preselected selection rules in the next sequence to be selected first network device passes. In this way, it is ensured that the functionality of a synchronized transition into the sleep mode is not dependent on a single component whose failure would lead to asynchronous operating states with respect to the two FlexRay channels.
Die für das erfindungsgemäße Verfahren beschriebenen Vorteile und Merkmale sowie Ausführungsformen gelten gleichermaßen für das entsprechende Netzwerk und umgekehrt. Folglich können für Verfahrensmerkmale entsprechende Vorrichtungsmerkmale und umgekehrt vorgesehen sein.The advantages and features and embodiments described for the method according to the invention apply equally to the corresponding network and vice versa. Consequently, device features corresponding to device features and vice versa may be provided.
Die vorstehend in der Beschreibung genannten Merkmale und Merkmalskombinationen sowie die nachfolgend in der Figurenbeschreibung genannten und/oder in den Figuren alleine gezeigten Merkmale und Merkmalskombinationen sind nicht nur in der jeweils angegebenen Kombination, sondern auch in anderen Kombinationen oder in Alleinstellung verwendbar, ohne den Rahmen der Erfindung zu verlassen. Es sind somit auch Ausführungen als von der Erfindung umfasst und offenbart anzusehen, die in den Figuren nicht explizit gezeigt oder erläutert sind, jedoch durch separierte Merkmalskombinationen aus den erläuterten Ausführungen hervorgehen und erzeugbar sind.The features and feature combinations mentioned above in the description as well as the features and feature combinations mentioned below in the description of the figures and / or in the figures alone can be used not only in the respectively specified combination but also in other combinations or in isolation, without the scope of To leave invention. Thus, embodiments are also included and disclosed by the invention, which are not explicitly shown or explained in the figures, however, emerge and can be produced by separated combinations of features from the embodiments explained.
Weitere Vorteile und Merkmale ergeben sich anhand der vorliegenden Beschreibung eines Ausführungsbeispiels unter Berücksichtigung der beigefügten Figuren. In den Figuren bezeichnen gleiche Bezugszeichen gleiche Merkmale und Funktionen.Further advantages and features will become apparent from the present description of an embodiment with reference to the accompanying figures. In the figures, like reference numerals designate like features and functions.
Es zeigen:
-
1 in vereinfachter schematischer Darstellung eine zeitliche Abfolge von gemäß einer bevorzugten Ausführungsform eines erfindungsgemäßen Verfahrens auf einem ersten und einem zweiten Kanal eines FlexRay-Netzwerks versendeten Netzwerkmanagementbotschaften, und -
2 in vereinfachter schematischer Darstellung ein bevorzugtes Ausführungsbeispiel eines erfindungsgemäßen FlexRay-Netzwerks.
-
1 in a simplified schematic representation of a temporal sequence of according to a preferred embodiment of a method according to the invention on a first and a second channel of a FlexRay network sent network management messages, and -
2 in a simplified schematic representation of a preferred embodiment of a FlexRay network according to the invention.
Eine beispielhafte zeitliche Abfolge von Netzwerkmanagementbotschaften (NM-PDU) ist in der
Alle an den beiden Kanälen
Eine bevorzugte Ausführungsform eines erfindungsgemäßen FlexRay-Netzwerks
Die erste Netzwerkmanagementbotschaft
Das zweite Netzwerkgerät
Somit wird beispielsweise vermieden, dass durch eine Eingabeaktion eines Benutzers der dritte Netzwerkcontroller
Das Ausführungsbeispiel dient lediglich der Erläuterung der Erfindung und ist für diese nicht beschränkend. Insbesondere die Anordnung der einzelnen Netzwerkgeräte
Somit wurde voranstehend ein FlexRay-Netzwerkmanagement für einen zweikanaligen FlexRay-Betrieb vorgestellt, durch welches sichergestellt ist, dass beide FlexRay-Kanäle synchron in einen Schlafmodus wechseln.Thus, a FlexRay network management for a two-channel FlexRay operation has been presented above, which ensures that both FlexRay channels switch synchronously into a sleep mode.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015014210.0A DE102015014210B4 (en) | 2015-11-04 | 2015-11-04 | Network management for a two-channel FlexRay network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015014210.0A DE102015014210B4 (en) | 2015-11-04 | 2015-11-04 | Network management for a two-channel FlexRay network |
Publications (2)
Publication Number | Publication Date |
---|---|
DE102015014210A1 DE102015014210A1 (en) | 2017-05-04 |
DE102015014210B4 true DE102015014210B4 (en) | 2019-04-25 |
Family
ID=58545801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102015014210.0A Active DE102015014210B4 (en) | 2015-11-04 | 2015-11-04 | Network management for a two-channel FlexRay network |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102015014210B4 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666179B (en) * | 2021-10-29 | 2023-06-27 | 西安微电子技术研究所 | FlexRay bus deviation correction value calculation method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060233193A1 (en) | 2003-05-20 | 2006-10-19 | Koninklijke Philips Electronics N.V. | Time-triggered communication system and method for the synchronized start of a dual-channel network |
US20060262814A1 (en) | 2003-05-20 | 2006-11-23 | Ungermann Joern | Time-triggered communication system and method for the synchronization of a dual-channel network |
DE102011003345A1 (en) | 2011-01-28 | 2012-08-02 | Continental Teves Ag & Co. Ohg | Network interconnection system for vehicle control devices and / or for vehicle control devices and synchronization method for operation of the network interconnection system |
-
2015
- 2015-11-04 DE DE102015014210.0A patent/DE102015014210B4/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060233193A1 (en) | 2003-05-20 | 2006-10-19 | Koninklijke Philips Electronics N.V. | Time-triggered communication system and method for the synchronized start of a dual-channel network |
US20060262814A1 (en) | 2003-05-20 | 2006-11-23 | Ungermann Joern | Time-triggered communication system and method for the synchronization of a dual-channel network |
DE102011003345A1 (en) | 2011-01-28 | 2012-08-02 | Continental Teves Ag & Co. Ohg | Network interconnection system for vehicle control devices and / or for vehicle control devices and synchronization method for operation of the network interconnection system |
Non-Patent Citations (3)
Title |
---|
AUTOSAR [Hrsg.]: In: AUTOSAR. München: Release 4.2 Overview and Revision History. Release 4.2.2. 31.7.2015 (ID 000). S.1-47. - Firmenschrift * |
AUTOSAR [Hrsg.]: In: AUTOSAR. München: Requirements on Network Management. Release 4.2.1. 31.10.2014 (ID 003). S.1-28. - Firmenschrift * |
AUTOSAR [Hrsg.]: In: AUTOSAR. München: Specification of FlexRay Network Management. Release 4.2.2. 31.7.2015 (ID 028). S.1-121. - Firmenschrift * |
Also Published As
Publication number | Publication date |
---|---|
DE102015014210A1 (en) | 2017-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1756986B1 (en) | Method for establishing a global time base in a timed communications system and associated communications system | |
EP2936747B1 (en) | Data transmission using a protocol exception state | |
EP1648116B1 (en) | Method for data transmission in a communication system | |
DE10211281B4 (en) | Method and device for synchronizing the cycle time of several buses and corresponding bus system | |
DE102005061392A1 (en) | Bus guardian for monitoring and controlling access to data bus, has serial peripheral interface approving access of controller to data bus only when communication offers normal functioning of controller | |
EP2090031B1 (en) | Method and arrangement for communication on an lin bus | |
WO2006111499A1 (en) | Method and device for synchronising two bus systems, and arrangement consisting of two bus systems | |
WO2013045323A1 (en) | Method for operating a communications assembly | |
EP1115220A2 (en) | Method and device for data exchange between at least two subscribers connected by a bus system | |
EP2936746A1 (en) | Data transmission protocol with protocol exception state | |
WO2020157086A1 (en) | Subscriber station for a serial bus system, and method for communicating in a serial bus system | |
DE602004012252T2 (en) | TIME-CONTROLLED COMMUNICATION SYSTEM AND METHOD FOR THE SYNCHRONIZED START OF A TWO-CHANNEL NETWORK | |
EP1509005B1 (en) | Method and apparatus for transmitting data over a bus-network using broadcast | |
EP3949285A1 (en) | Subscriber station for a serial bus system and method for communication in a serial bus system | |
DE102004050416A1 (en) | Method for synchronization in a redundant communication system | |
DE10065117A1 (en) | Method and communication system for exchanging data between at least two participants via a bus system | |
DE102018221958A1 (en) | Subscriber station for a serial bus system and method for communication in a serial bus system | |
DE102015014210B4 (en) | Network management for a two-channel FlexRay network | |
EP1495590A1 (en) | Network comprising an interconnecting network and several network nodes that are coupled to said interconnecting network | |
DE102009000581A1 (en) | Synchronization of two communication networks of an electronic data processing system | |
DE10325263A1 (en) | Ensuring maximum response times in complex or distributed secure and / or non-secure systems | |
EP1553732B1 (en) | Method and arrangement for starting a node in a communication system | |
WO2003081847A1 (en) | Use of membership-free slots for dynamically allocating bandwidth | |
DE10320316A1 (en) | Network node synchronous bus monitoring unit monitors data after initialization phase in which time slots are learnt |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R012 | Request for examination validly filed | ||
R016 | Response to examination communication | ||
R018 | Grant decision by examination section/examining division | ||
R020 | Patent grant now final | ||
R079 | Amendment of ipc main class |
Free format text: PREVIOUS MAIN CLASS: H04L0012707000 Ipc: H04L0045240000 |