Nothing Special   »   [go: up one dir, main page]

DE102012221055A1 - Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium - Google Patents

Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium Download PDF

Info

Publication number
DE102012221055A1
DE102012221055A1 DE201210221055 DE102012221055A DE102012221055A1 DE 102012221055 A1 DE102012221055 A1 DE 102012221055A1 DE 201210221055 DE201210221055 DE 201210221055 DE 102012221055 A DE102012221055 A DE 102012221055A DE 102012221055 A1 DE102012221055 A1 DE 102012221055A1
Authority
DE
Germany
Prior art keywords
time
message
interval
reception
terminal
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.)
Withdrawn
Application number
DE201210221055
Other languages
German (de)
Inventor
Matthias Schueler
Dirk Wagner
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch 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
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Priority to DE201210221055 priority Critical patent/DE102012221055A1/en
Priority to KR1020130139167A priority patent/KR20140064646A/en
Priority to CN201310574768.5A priority patent/CN103825680A/en
Publication of DE102012221055A1 publication Critical patent/DE102012221055A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/205Arrangements for detecting or preventing errors in the information received using signal quality detector jitter monitoring
    • 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/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0094Bus
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The method involves determining a reception time (t-E1) at which the end device has received a message over a communication medium. An evaluation time (t-A1) is determined at which an evaluation of the message takes place by the end device. A difference between the evaluation time and reception time is imaged. The receiving of error-free message is determined as a function of the difference. The difference is compared with a predetermined time interval for determining reception of error-free message. Independent claims are included for the following: (1) a computing unit for executing the message reception checking method; and (2) a computer program with program code unit stored in a machine-readable storage medium.

Description

Die vorliegende Erfindung betrifft ein Verfahren zum Prüfen eines Botschaftsempfangs in einem Endgerät.The present invention relates to a method for checking message reception in a terminal.

Stand der TechnikState of the art

In modernen Fahrzeugen wird eine Vielzahl von Steuergeräten eingesetzt, die intensiv miteinander kommunizieren. Neben einer Standardkommunikation über ein sogenanntes Controller Area Network (CAN) werden zunehmend auch FlexRay-Netzwerke zum schnellen und sicheren Informationsaustausch eingesetzt. In modern vehicles, a large number of control units are used, which communicate intensively with each other. In addition to standard communication via a so-called Controller Area Network (CAN), FlexRay networks are increasingly being used for fast and secure information exchange.

Bei einem FlexRay-Bus handelt es sich um einen zeitgesteuerten Bus, der Nachrichten (Botschaften) zwischen einem ersten und einem zweiten Endgerät (z.B. Steuergerät) übertragen kann. Die Botschaften können in einem vorgegebenen Zeitraster (z.B.: alle 10 ms) oder ereignisbasiert (z.B. in Abhängigkeit von einer Drehzahl) verschickt werden.A FlexRay bus is a timed bus that can transfer messages between a first and a second terminal (e.g., controller). The messages may be sent in a predetermined time frame (e.g., every 10ms) or event based (e.g., depending on a speed).

Neben dem eigentlichen Botschaftsinhalt ist für das empfangende Endgerät besonders bei sicherheitskritischen Daten wichtig zu wissen, ob das sendende Endgerät noch korrekt arbeitet und aktuelle Daten versendet und ob die Übertragung fehlerfrei stattgefunden hat. In addition to the actual content of the message, it is important for the receiving terminal, in particular for security-critical data, to know whether the sending terminal is still working correctly and is sending the current data and whether the transmission took place without errors.

Die Endgeräte und der FlexRay-Bus arbeiten jeweils getaktet: Das sendende Endgerät stellt dabei mit jedem Taktimpuls eine Botschaft bereit, der FlexRay-Bus übernimmt mit jedem Taktimpuls eine vom sendenden Endgerät bereitgestellte Botschaft und übermittelt sie an das empfangende Endgerät. Das empfangende Endgerät schließlich wertet mit jedem Taktimpuls eine vom FlexRay-Bus übermittelte Botschaft aus.The terminals and the FlexRay bus work in each case clocked: The transmitting terminal provides a message with each clock pulse, the FlexRay bus takes over with each clock pulse provided by the sending terminal message and transmits it to the receiving terminal. Finally, the receiving terminal evaluates a message transmitted by the FlexRay bus with each clock pulse.

Auch bei gleicher Taktfrequenz liegt den Takten von FlexRay-Bus (genauer Bus-Treiber) und Endgeräten jeweils eine eigene Zeitbasis zugrunde, so dass die Taktimpulse der genannten Elemente regelmäßig zueinander versetzt sein können. Die Taktfrequenz und die jeweilige Zeitbasis zusammen geben die Zeiten vor, zu denen das jeweilige Element (FlexRay-Bus bzw. Endgerät) aktiv werden kann. Even with the same clock frequency, the clocks of the FlexRay bus (exact bus driver) and terminals each have their own time base, so that the clock pulses of said elements can be regularly offset from one another. The clock frequency and the respective time base together specify the times at which the respective element (FlexRay bus or terminal) can become active.

Im optimalen Fall sind die Zeitbasen so aufeinander abgestimmt, dass der FlexRay-Bus eine Botschaft gerade zu dem Zeitpunkt übernehmen und übermitteln kann, zu dem das sendende Endgerät die Botschaft bereitgestellt hat, und dass das empfangende Endgerät die Botschaft in dem Moment auswerten kann, in dem der FlexRay-Bus sie zur Verfügung stellen kann.Optimally, the time bases are matched to one another such that the FlexRay bus can accept and transmit a message just at the time the transmitting terminal provided the message, and that the receiving terminal can evaluate the message at the moment which the FlexRay bus can provide.

In der Realität sind die Zeitbasen jedoch so zueinander versetzt, dass es zu Verzögerungen (Latenzen) bei der Übertragung kommt. In reality, however, the time bases are offset from each other in such a way that there are delays (latencies) in the transmission.

Auch die Hypothese der Takteinhaltung und damit die Regelmäßigkeit der Verschiebung sind nicht realistisch. Vielmehr tritt sogenannter Jitter auf, d.h. es kommt zu Genauigkeitsschwankungen bei der Einhaltung des Taktes durch die beteiligten Elemente. Selbst wenn beispielsweise ein empfangendes Endgerät und der FlexRay-Bus (wie oben beschrieben) optimal aufeinander eingestellt sind (so dass das empfangende Endgerät eine Nachricht prinzipiell genau zum Zeitpunkt auswerten könnte, zu dem der Takt des FlexRay-Busses die Übertragung vorgibt), kann das empfangende Endgerät die Nachricht nur dann auswerten, wenn der FlexRay-Bus die Botschaft auch wirklich bis spätestens zu dem dafür vorgesehenen Zeitpunkt zur Verfügung stellt: Bei einer Verzögerung hingegen kann die Botschaft vom empfangenden Endgerät erst zu dessen nächstem Taktimpuls ausgewertet werden. Ebenso kann der Auswertezeitpunkt im empfangenden Endgerät durch schwankende Rechenlast variieren. Entsprechendes gilt für das Zusammenspiel von FlexRay-Bus und sendendem Endgerät. Die genannten Störungen müssen im empfangenden Endgerät bei einer Entprellung der Botschaftszähler, d.h. bei der Überprüfung, ob eine Botschaft regelgemäß empfangen wurde bzw. ob der Botschaftsinhalt noch aktuell ist, berücksichtigt werden. Möchte man etwa eine Fehlerreaktion bei Ausbleiben einer Botschaft initiieren, so kann aufgrund des Jitter-Einflusses in der Übertragung und der schwankender Rechenlast im Empfänger die Fehlerreaktion erst nach zwei Zeittakten gestartet werden, um Fehlreaktionen (ungerechtfertigte Fehlerreaktionen) zu vermeiden. Weitere Toleranzen und Verzögerungen in der Signalkette, z.B. im sendenden Endgerät, sind hierbei noch nicht berücksichtigt. Also, the hypothesis of the clock compliance and thus the regularity of the shift are not realistic. Rather, so-called jitter occurs, i. it comes to accuracy fluctuations in the observance of the clock by the elements involved. Even if, for example, a receiving terminal and the FlexRay bus (as described above) are optimally set to each other (so that the receiving terminal could evaluate a message in principle exactly at the time at which the clock of the FlexRay bus specifies the transmission), Receiving terminal evaluate the message only if the FlexRay bus really provides the message until at the latest provided time: In a delay, however, the message from the receiving terminal can only be evaluated at its next clock pulse. Likewise, the evaluation time in the receiving terminal can vary due to fluctuating computing load. The same applies to the interaction of FlexRay bus and sending terminal. The said disturbances must be detected in the receiving terminal in the event of debouncing of the message counters, i. when checking whether a message has been received regularly or whether the message content is still up-to-date. If you want to initiate an error response in the absence of a message, so the error response can be started only after two clock cycles due to the jitter influence in the transmission and the fluctuating load in the receiver to avoid false reactions (unjustified error responses). Further tolerances and delays in the signal chain, e.g. in the sending terminal, are not considered here.

Die zunehmenden Sicherheitsanforderungen, besonders für Hybridfahrzeuge, verlangen eine immer schnellere Erkennung von Fehlerzuständen und das schnelle Auslösen vorgegebener Fehlerreaktionen. Hinzu kommt, dass wegen zunehmender Buslast Botschaften teilweise in langsamere Zeitraster verschoben werden und somit jeder Taktverlust bis zur Fehlererkennung kritischer wird.Increasing safety requirements, especially for hybrid vehicles, require ever faster detection of fault conditions and the rapid triggering of predetermined fault responses. In addition, because of increasing bus load, messages are sometimes shifted to slower time slots and thus any clock loss becomes more critical until fault detection.

Die vorliegende Erfindung hat daher die Aufgabe, eine Möglichkeit bereitzustellen, die es erlaubt, Wartezeiten bei der zuverlässigen Überwachung eines Kommunikationssystems zu reduzieren.The present invention therefore has the object to provide a way that allows to reduce waiting times in the reliable monitoring of a communication system.

Offenbarung der ErfindungDisclosure of the invention

Erfindungsgemäß wird ein Verfahren zum Prüfen eines Botschaftsempfangs in einem Endgerät mit den Merkmalen des Patentanspruchs 1 vorgeschlagen. Vorteilhafte Ausgestaltungen sind Gegenstand der Unteransprüche sowie der nachfolgenden Beschreibung.According to the invention, a method for checking a message reception in a terminal with the features of patent claim 1 proposed. Advantageous embodiments are the subject of the dependent claims and the following description.

Vorteile die ErfindungAdvantages of the invention

Die Erfindung führt zu einer Verkürzung der Erkennungsdauer, bis ein Defekt im Kommunikationssystem (d.h. im sendenden Endgerät oder im Kommunikationsmedium) von einem empfangenden Endgerät festgestellt werden kann. Es ist dabei nicht nötig, bis zu drei oder mehr ausbleibende Nachrichten abzuwarten. Vielmehr bedient sich die Erfindung für die Prüffunktion der Auswertung des Empfangszeitpunkts, d.h. des Zeitpunktes, zu dem die Botschaft bzw. Nachricht von dem Endgerät empfangen worden ist, und bestimmt die Differenz zum Auswertungszeitpunkt, d.h. zu dem Zeitpunkt, zu dem die Botschaft im Endgerät verarbeitet wird. Basierend auf dieser Differenz kann, insbesondere durch Schwellwertvergleich, erkannt werden, ob die Auswertung in einem zulässigen Zeitrahmen nach dem Empfang stattfindet oder nicht.The invention results in a shortening of the detection period until a defect in the communication system (i.e., in the transmitting terminal or in the communication medium) can be detected by a receiving terminal. It is not necessary to wait for three or more missed messages. Rather, the invention makes use of the test function of evaluating the time of reception, i. the time at which the message was received from the terminal and determines the difference at the time of evaluation, i. at the time the message is processed in the terminal. Based on this difference can be detected, in particular by threshold comparison, whether the evaluation takes place in a permissible time frame after receiving or not.

Hierzu lässt sich vorteilhaft ein Zeitintervall mit einer unteren und einer oberen Grenze festlegen, für das folgendes gilt: Liegt die Differenz unterhalb der unteren Grenze, kann die Funktionsfähigkeit festgestellt werden. Liegt die Differenz oberhalb der oberen Grenze, kann die Fehlerhaftigkeit festgestellt werden. Liegt die Differenz in dem Intervall, ist die Entscheidung nicht möglich und die Prüffunktion muss zu einem späteren Zeitpunkt, vorzugsweise im nächsten Taktintervall, erneut aufgerufen werden. In diesem nächsten Taktintervall liegt dann entweder eine neue Botschaft vor, oder es kann sicher auf eine fehlende Botschaft geschlossen werden, da die Zeit zwischen letzter empfangener Botschaft und aktuellem Auswertezeitpunkt deutlich über der oberen Grenze des zulässigen Zeitintervalls liegt. For this purpose, it is advantageous to define a time interval with a lower and an upper limit, for which the following applies: If the difference lies below the lower limit, the functionality can be determined. If the difference is above the upper limit, the defectiveness can be determined. If the difference lies in the interval, the decision is not possible and the test function must be called again at a later time, preferably in the next clock interval. In this next clock interval, there is either a new message, or it can be safely concluded that a missing message, since the time between last received message and current evaluation time is well above the upper limit of the permissible time interval.

Vorzugsweise wird die Zeit bis zum nächsten Aufruf der Prüffunktion verkürzt, wenn die Differenz zwischen Auswertungs- und Empfangszeitpunkt in dem Intervall liegt. Beispielsweise kann die Prüffunktion bereits nach einem halben Taktintervall erneut aufgerufen werden. Dadurch wird eine schnellere Erkennung eines Fehlers möglich. Preferably, the time to the next call of the check function is shortened if the difference between the evaluation and the reception time lies in the interval. For example, the test function can be called again after half a clock interval. This allows a faster detection of an error.

Die Zeitpunkte des Botschaftsempfangs und der Verarbeitung der Botschaft im Endgerät (entspricht etwa der Lage der Takte auf dem Bus und im Endgerät zueinander) werden bisher nicht ausgewertet. Für die Überwachung der Botschaften im Endgerät bedeutet dies, dass bei zeitbasierter Auswertung die Applikation der Entprellzeit um einen Zeittakt verlängert wird, um mögliche Jittereffekt abzufangen. In den Fällen, in denen die Lage der Zeittakte zueinander so ist, dass keine Jittereffekte auftreten können, wird hierdurch die Entprellzeit unnötigerweise um einen Takt verlängert. (Entprellung bedeutet, bei einem erkannten Fehler nicht sofort eine Fehlerreaktion zu starten, sondern noch eine gewisse Zeit (Entprellzeit)/Anzahl an Funktionsaufrufen abzuwarten. Verschwindet in dieser Zeit der Fehler wieder (z.B. es kommt doch wieder eine neue Botschaft), so wird keine Fehlerreaktion ausgelöst).The times of embassy reception and the processing of the message in the terminal (corresponds approximately to the location of the clocks on the bus and in the terminal to each other) are not yet evaluated. For the monitoring of the messages in the terminal, this means that with time-based evaluation, the application of the debounce time is extended by a time interval to intercept possible jitter effect. In cases where the timing of the clocks is such that no jitter effects can occur, the debounce time is unnecessarily extended by one clock. (Debouncing means not to immediately start an error reaction with a recognized error, but to wait for a certain amount of time (debounce time) / number of function calls If the error disappears during this time (eg a new message is coming), then nothing will happen Error reaction triggered).

Das Ergebnis der Erfindung ist, durch Auswertung der Botschaftsempfangs- und Verarbeitungszeiten im Endgerät (z.B. ein Steuergerät in einem Kraftfahrzeug) diesen zusätzlichen Entprelltakt auf die Fälle zu beschränken, in denen tatsächlich ein Jitterversatz auftreten kann. Hierdurch lässt sich für einen Großteil der Fälle die notwendige Entprellzeit um einen Zeittakt verringern.The result of the invention is, by evaluating the message reception and processing times in the terminal (e.g., a control unit in a motor vehicle), to limit this additional debouncing clock to those instances where jitter displacement may actually occur. As a result, the necessary debounce time can be reduced by one time cycle for a majority of cases.

Vorzugsweise wird ein Entscheidungstaktintervall bestimmt, in dem die Entscheidung, ob das Kommunikationssystem fehlerhaft ist oder nicht, stattfindet. Es kann sich dabei – in Abhängigkeit von der Differenz – um das aktuelle Taktintervall handeln, in dem die Differenz bestimmt worden ist, oder um ein unmittelbar anschließendes Taktintervall (jeweils auf die Endgerätetaktung bezogen.)Preferably, a decision tact interval is determined in which the decision as to whether the communication system is faulty or not takes place. Depending on the difference, this may be the current clock interval in which the difference was determined or an immediately following clock interval (in each case related to the terminal clocking).

Die Erfindung eignet sich besonders für die Verwendung bei Flexray-Bussen, da der FlexRay-Bus über eine Zeitbasis verfügt. Somit kann die Messung des Empfangszeitpunktes besonders einfach erfolgen. Die Erfindung ist jedoch auch bei anderen Bussystemen, z.B. CAN, vorteilhaft einsetzbar. Gegebenenfalls ist hierbei eine entsprechende Einrichtung des Endgeräts zum Feststellen des Empfangszeitpunkts nötig.The invention is particularly suitable for use with flexray buses because the FlexRay bus has a timebase. Thus, the measurement of the reception time can be done very easily. However, the invention is also applicable to other bus systems, e.g. CAN, can be used advantageously. Optionally, in this case a corresponding device of the terminal to determine the reception time is necessary.

In einer ersten Alternative speichert z.B. der FlexRay-Treiberbaustein im Endgerät zusätzlich zur Botschaft den Empfangszeitpunkt in seiner eigenen Zeitbasis mit ab. Zur Umrechnung in die Endgerätezeitbasis wird vom Endgerät der Versatz der Zeitbasen verwendet. Der Versatz kann im Betrieb bestimmt werden. In a first alternative, e.g. the FlexRay driver block in the terminal in addition to the message the time of reception in its own time base from. For conversion into the terminal time base, the terminal uses the offset of the time bases. The offset can be determined during operation.

In einer zweiten Alternative holt sich z.B. der FlexRay-Treiberbaustein im Endgerät beim Empfang einer Botschaft die aktuelle Endgerätezeit in der Endgerätezeitbasis und speichert diese zusätzlich zur Botschaft ab.In a second alternative, e.g. the FlexRay driver module in the terminal when receiving a message the current terminal time in the terminal time base and stores this in addition to the message.

In einer dritten Alternative triggert der z.B. FlexRay- oder ein CAN-Treiberbaustein im Endgerät beim Empfang einer Botschaft das Endgerät und dieses speichert den Empfangszeitpunkt in der Endgerätezeitbasis ab. In a third alternative, the e.g. FlexRay or a CAN driver module in the terminal when receiving a message the terminal and this stores the time of reception in the terminal time base.

Eine erfindungsgemäße Recheneinheit, z.B. ein Steuergerät eines Kraftfahrzeugs, ist, insbesondere programmtechnisch, dazu eingerichtet, ein erfindungsgemäßes Verfahren durchzuführen.An arithmetic unit according to the invention, e.g. a control device of a motor vehicle is, in particular programmatically, configured to perform a method according to the invention.

Auch die Implementierung des Verfahrens in Form von Software ist vorteilhaft, da dies besonders geringe Kosten verursacht, insbesondere wenn ein ausführendes Steuergerät noch für weitere Aufgaben genutzt wird und daher ohnehin vorhanden ist. Geeignete Datenträger zur Bereitstellung des Computerprogramms sind insbesondere Disketten, Festplatten, Flash-Speicher, EEPROMs, CD-ROMs, DVDs u.a.m. Auch ein Download eines Programms über Computernetze (Internet, Intranet usw.) ist möglich. The implementation of the method in the form of software is also advantageous, since this causes particularly low costs, in particular if an executing control device is still used for further tasks and therefore exists anyway. Suitable data carriers for the provision of the computer program are, in particular, floppy disks, hard disks, flash memories, EEPROMs, CD-ROMs, DVDs, and the like. It is also possible to download a program via computer networks (Internet, intranet, etc.).

Weitere Vorteile und Ausgestaltungen der Erfindung ergeben sich aus der Beschreibung und der beiliegenden Zeichnung.Further advantages and embodiments of the invention will become apparent from the description and the accompanying drawings.

Es versteht sich, dass die vorstehend genannten und die nachfolgend noch zu erläuternden Merkmale nicht nur in der jeweils angegebenen Kombination, sondern auch in anderen Kombinationen oder in Alleinstellung verwendbar sind, ohne den Rahmen der vorliegenden Erfindung zu verlassen. It is understood that the features mentioned above and those yet to be explained below can be used not only in the particular combination indicated, but also in other combinations or in isolation, without departing from the scope of the present invention.

Die Erfindung ist anhand eines Ausführungsbeispiels in der Zeichnung schematisch dargestellt und wird im Folgenden unter Bezugnahme auf die Zeichnung ausführlich beschrieben.The invention is illustrated schematically with reference to an embodiment in the drawing and will be described in detail below with reference to the drawing.

Kurze Beschreibung der ZeichnungenBrief description of the drawings

1 zeigt schematisch den Ablauf einer bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens. 1 schematically shows the sequence of a preferred embodiment of the method according to the invention.

Ausführungsform(en) der ErfindungEmbodiment (s) of the invention

In 1 wird eine bevorzugte Ausführungsform eines erfindungsgemäßen Verfahrens anhand eines Zeitschemas illustriert. In dem Schema sind einzelne nummerierte Taktintervalle 10 entlang der Zeit t aufgetragen. Ein oberer Zeitstrahl 100 zeigt die Zeitbasis eines hier als FlexRay-Bus ausgebildeten Kommunikationsmediums (enthält die FlexRay-Treiberbausteine auf den Endgeräten), ein unterer Zeitstrahl 200 zeigt die Zeitbasis des Rechnerkerns eines hier als Steuergerät ausgebildeten (empfangenden) Endgeräts. Kommunikationsmedium und Endgerät sind Teil eines Kommunikationssystems, welches üblicherweise zumindest noch ein weiteres, sendendes Endgerät aufweist.In 1 a preferred embodiment of a method according to the invention is illustrated by means of a timing diagram. In the scheme are individual numbered clock intervals 10 plotted along time t. An upper timeline 100 shows the time base of a here as FlexRay bus formed communication medium (contains the FlexRay driver blocks on the terminals), a lower timeline 200 shows the time base of the computer core of a here designed as a control unit (receiving) terminal. Communication medium and terminal are part of a communication system, which usually has at least one further, transmitting terminal.

Wie einleitend erläutert, arbeiten sowohl FlexRay-Bus als auch Steuergerät getaktet, so dass einzelne Prozessschritte, wie z.B. Nachrichtenübertragung, in 1 erstmalig zum Zeitpunkt tE,0 = "1", und Nachrichtenverarbeitung, in 1 erstmalig zum Zeitpunkt tA,0 = "7", in Taktintervallen ablaufen. Die an einen FlexRay-Bus angeschlossenen Endgeräte werden nach einem "Time Division Multiple Access (TDMA)"-Schema verwaltet. Jeder FlexRay-Treiberbaustein auf den Endgeräten wird mit demselben Takt synchronisiert und wartet ab, bis er mit dem Schreiben auf den Bus an der Reihe ist.As explained in the introduction, both the FlexRay bus and the control unit work in a clocked fashion, so that individual process steps, such as message transmission, in 1 for the first time at time t E, 0 = "1", and message processing, in 1 for the first time at time t A, 0 = "7", proceed in clock intervals. The terminals connected to a FlexRay bus are managed according to a Time Division Multiple Access (TDMA) scheme. Each FlexRay driver block on the terminals is synchronized with the same clock and waits until it is its turn to write on the bus.

Für die nicht-ereignisbasierte (also die herkömmliche zeitbasierte) Übertragung von Botschaften wird ein Zeitraster T0 festgelegt, welches den Abstand zwischen zwei regelmäßig übertragenen (bspw. von einem weiteren Steuergerät) Botschaften definiert. Dieses Zeitraster (tE,0, tE,1, ...) wird üblicherweise in Abhängigkeit von der jeweiligen Botschaft appliziert, bspw. können sicherheitskritische Botschaften häufiger übermittelt und weniger sicherheitskritische Botschaften seltener übermittelt werden. In demselben Zeitraster (tA,0, tA,1, ...) findet auch die Verarbeitung der Botschaften in dem Steuergerät statt. Zweckmäßigerweise läuft auch der Aufruf der Prüffunktion grundsätzlich in den Taktintervallen der Nachrichtenverarbeitung ab. For the non-event-based (ie the conventional time-based) transmission of messages, a time interval T 0 is defined, which defines the distance between two regularly transmitted messages (for example from another control device). This time grid (t E, 0 , t E, 1 ,...) Is usually applied as a function of the respective message, for example safety-critical messages can be transmitted more frequently and less safety-critical messages can be transmitted less frequently. In the same time frame (t A, 0 , t A, 1 ,...), The processing of the messages also takes place in the control unit. Expediently, the invocation of the check function basically also runs in the clock intervals of the message processing.

Aufgrund der eigenständigen Zeitbasen des FlexRay-Busses, hier genauer des Treiberbausteins der Kommunikationsschnittstelle des Steuergeräts, und des Steuergeräts, hier genauer des Rechnerkerns des Steuergeräts, kann eine mehr oder weniger große Taktintervallverschiebung ∆0(< T0) zwischen Empfangszeitpunkt tE,1 und Verarbeitungszeitpunkt tA,1 auftreten. Due to the independent time bases of the FlexRay bus, in this case more precisely the driver component of the communication interface of the control unit, and of the control unit, more precisely the computer core of the control unit, a more or less large clock interval shift Δ 0 (<T 0 ) between reception time t E, 1 and Processing time t A, 1 occur.

Bedingt durch Jitter auf dem Bus kann im Normalbetrieb die maximale Zeit T0,max zwischen zwei Botschaften T0,max = T0 + TJitter,max betragen, wobei TJitter,max eine maximal mögliche Jitterzeit (in der Figur als TJ bezeichnet) ist.Due to jitter on the bus, the maximum time T 0, max between two messages T 0, max = T 0 + T jitter, max may be in normal operation, where T jitter, max denotes a maximum possible jitter time (designated T J in the figure) ).

In bevorzugter Ausführungsform kann zusätzlich eine Rechenlaufzeit TLaufzeit (in der Figur als TL bezeichnet) zwischen dem Empfang und der Verarbeitung der Botschaften im Empfangssteuergerät berücksichtigt werden. Bedingt durch Rechenlastschwankungen ergibt sich ein weiterer Jitter und die Rechenlaufzeit liegt zwischen TLaufzeit,min und TLaufzeit,max. Somit ergibt sich im Normalbetrieb eine maximal zu erwartende Verzugszeit ∆tx.max zwischen Botschaftsempfang und Auswertung von ∆tx.max = T0,max + TLaufzeit,max. In a preferred embodiment, in addition a computing time T term (referred to in the figure as T L ) between the reception and the processing of the messages in the reception control unit are taken into account. Due to computational load fluctuations, there is another jitter and the computing time is between T runtime, min and T runtime, max . Thus, in normal operation, a maximum expected delay time Δt x.max between message reception and evaluation of Δt x.max = T 0, max + T runtime, max .

Bei der bisherigen Botschaftsüberwachung ohne Zeitmessung muss zur Berücksichtigung der Jittereffekte immer der Ausfall einer Botschaft abgewartet werden, da die Lage der Takte zueinander nicht bekannt ist. Somit ergibt sich vom letzten gültigen Botschaftseingang bis zur Erkennung eines Botschaftsausfalls je nach Lage der Bus- und Steuergerätetakte zueinander eine Verzugszeit zwischen minimal ∆tx.Fehler = 2·T0 + TLaufzeit,min und maximal ∆tx.Fehler = 3·T0 + TLaufzeit,max.In the previous embassy monitoring without time measurement, the failure of a message must always be awaited to take account of the jitter effects, since the position of the clocks to each other is not known. Thus, from the last valid message input to the detection of a message failure depending on the position of the bus and control unit clocks to each other results in a delay time between minimally Δt x.Error = 2 · T 0 + T runtime, min and maximum Δt x.Error = 3 · T 0 + T runtime, max .

Die Erfindung schafft eine Möglichkeit, diese Verzugszeit durch eine Zeitüberwachung zu reduzieren. Hierzu werden die Zeitpunkte des Botschaftsempfangs und der Verarbeitung gemessen und zusätzlich zur Botschaft abgespeichert.The invention provides a way to reduce this delay time by time monitoring. For this purpose, the times of message receipt and processing are measured and stored in addition to the message.

Die Verzugszeit ∆tx = tx.Auswertung – tx,Empfang ist im Normalbetrieb kleiner als ∆tx,max.The delay time Δt x = t x . Evaluation - t x, reception in normal operation is less than Δt x, max .

Ausgehend von diesen Überlegungen lassen sich beim Aufrufen der Prüffunktion folgende Fälle unterscheiden: a) ∆tx < T0 + TLaufzeit,min – TJitter,max Based on these considerations, the following cases can be distinguished when invoking the check function: a) Δt x <T 0 + T runtime, min - T jitter, max

In diesem Fall kann bereits im momentanen Auswertungstaktintervall sicher erkannt werden, dass die verarbeitete Botschaft aktuell ist. Das momentane Auswertungstaktintervall wird daher zum Entscheidungstaktintervall (d.h. zu dem Taktintervall, in dem entschieden wird, ob das Kommunikationssystem korrekt oder fehlerhaft arbeitet. b) T0 + TLaufzeit,min – TJitter,max < ∆tx < T0 + TLaufzeit,max + TJitter,max In this case, it can already be reliably detected in the current evaluation cycle interval that the processed message is current. The current evaluation clock interval therefore becomes the decision clock interval (ie, the clock interval in which it is decided whether the communication system is operating correctly or erroneously. b) T 0 + T runtime, min - T jitter, max <Δt x <T 0 + T runtime, max + T jitter, max

In diesem Fall kann im momentanen Auswertungstaktintervall noch nicht sicher erkannt werden, ob die verarbeitete Botschaft aktuell ist. Die Prüffunktion wird zu einem späteren Zeitpunkt erneut aufgerufen. Es handelt sich dabei zweckmäßigerweise spätestens um das unmittelbar nächste Auswertungstaktintervall. Zur Beschleunigung der Entscheidung kann die Prüffunktion jedoch auch unabhängig von dem Auswertungstaktintervall, beispielsweise bereits nach einem halben Auswertungstaktintervall, erneut aufgerufen werden. c) ∆tx > T0 + TLaufzeit,max + TJitter,max In this case, it is not yet possible to reliably determine in the current evaluation cycle interval whether the processed message is current. The audit function will be called again at a later time. Expediently, this is at the latest the immediately next evaluation cycle interval. However, to speed up the decision, the test function can also be called again independently of the evaluation clock interval, for example, after only half an evaluation clock interval. c) Δt x > T 0 + T runtime, max + T jitter, max

In diesem Fall kann im momentanen Auswertungstaktintervall sicher erkannt werden, dass die verarbeitete Botschaft nicht aktuell ist. Ein sendendes Endgerät und/oder das Kommunikationsmedium arbeiten nicht fehlerfrei. Das momentane Auswertungstaktintervall wird daher zum Entscheidungstaktintervall. In this case, it can be reliably detected in the current evaluation cycle interval that the processed message is not up-to-date. A sending terminal and / or the communication medium do not work properly. The current evaluation clock interval therefore becomes the decision clock interval.

Ein Botschaftsausfall wird somit schon bei Überschreiten der Schwelle T0 + TLaufzeit,max + TJitter,max erkannt. A message failure is thus already detected when the threshold T 0 + T delay, max + T jitter, max is exceeded.

Bei einem Botschaftstakt von 10ms und einem gesamten Jitter von ±1ms lässt sich somit schon ab der 11. ms, d.h. bei Gleichverteilung des Zeitversatzes zwischen Empfangszeit und Auswertezeit in 90% der Fälle, ein Botschaftsausfall bei der ersten ausgefallenen Botschaft erkennen. Die verbliebenen unklaren Fälle können sicher beim nächsten Taktaufruf geklärt werden.With a message clock of 10ms and a total jitter of ± 1ms, it is possible to start from the 11 ms, i. with equal distribution of the time offset between reception time and evaluation time in 90% of cases, recognize a message failure at the first failed message. The remaining unclear cases can be clarified safely at the next clock call.

Claims (17)

Verfahren zum Prüfen eines Botschaftsempfangs in einem Endgerät (200) mit folgenden Schritten: Bestimmen eines Empfangszeitpunkts (tE,0), zu dem das Endgerät eine Botschaft über ein Kommunikationsmedium (100) empfangen hat; Bestimmen eines Auswertungszeitpunkts (tA,0), zu dem durch das Endgerät eine Auswertung der Botschaft erfolgt; Bilden einer Differenz (∆tx) zwischen Auswertungs- und Empfangszeitpunkt; und Bestimmen in Abhängigkeit von der Differenz (∆tx), ob der Botschaftsempfang fehlerfrei ist.Method for checking message reception in a terminal ( 200 comprising the steps of: determining a reception time (t E, 0 ) to which the terminal sends a message via a communication medium ( 100 ) has received; Determining an evaluation time (t A, 0 ) to which the terminal evaluates the message; Forming a difference (Δt x ) between the evaluation and the reception time; and determining, depending on the difference (Δt x ), whether the message reception is error-free. Verfahren gemäß Anspruch 1, wobei das Bestimmen in Abhängigkeit von der Differenz (∆tx), ob der Botschaftsempfang fehlerfrei ist, ein Vergleichen der Differenz (∆tx) mit einem vorgegebenen Zeitintervall aufweisend eine untere und eine obere Intervallgrenze umfasst.The method of claim 1, wherein determining in dependence on the difference (Δt x ) whether the message reception is error free comprises comparing the difference (Δt x ) with a predetermined time interval comprising a lower and an upper interval limit. Verfahren gemäß Anspruch 2, wobei sich die obere Intervallgrenze des vorgegebenen Intervalls zumindest als eine Summe aus einer Taktlänge des Kommunikationsmediums (100), einer maximalen Rechenlaufzeit für eine Botschaft und einer maximalen Jitterzeit berechnet.Method according to claim 2, wherein the upper interval limit of the predetermined interval is at least a sum of one cycle length of the communication medium ( 100 ), a maximum computation time for a message and a maximum jitter time. Verfahren gemäß Anspruch 2 oder 3, wobei die Botschaft dem Endgerät (200) über einen Bus (100) übermittelt wird und das vorgegebene Intervall ein abgeschlossenes Intervall ist, dessen Länge mindestens das Doppelte einer maximalen Jitterzeit auf dem Bus und/oder in dem Endgerät ist. Method according to claim 2 or 3, wherein the message is sent to the terminal ( 200 ) via a bus ( 100 ) and the predetermined interval is a closed interval whose length is at least twice a maximum jitter time on the bus and / or in the terminal. Verfahren gemäß einem der Ansprüche 2 bis 4, wobei bestimmt wird, dass der Botschaftsempfang fehlerfrei ist, wenn die Differenz (∆tx) kleiner als die untere Intervallgrenze ist.A method according to any one of claims 2 to 4, wherein it is determined that the reception message is error-free, if the difference (.DELTA.t x) is less than the lower interval limit. Verfahren gemäß einem der Ansprüche 2 bis 5, wobei bestimmt wird, dass der Botschaftsempfang nicht fehlerfrei ist, wenn die Differenz (∆tx) größer als die obere Intervallgrenze ist.A method according to any one of claims 2 to 5, wherein it is determined that the message reception is not error free if the difference (Δt x ) is greater than the upper interval limit. Verfahren gemäß einem der vorstehenden Ansprüche, wobei eine Fehlerroutine eingeleitet wird, wenn der Botschaftsempfang nicht fehlerfrei ist.Method according to one of the preceding claims, wherein an error routine is initiated when the message reception is not error-free. Verfahren gemäß einem der vorstehenden Ansprüche, wobei das Verfahren zu einem späteren Zeitpunkt erneut durchgeführt wird, wenn die Differenz (∆tx) in dem vorgegebenen Zeitintervall liegt.Method according to one of the preceding claims, wherein the method is carried out again at a later time when the difference (Δt x ) lies in the predetermined time interval. Verfahren nach Anspruch 8, wobei der spätere Zeitpunkt spätestens ein unmittelbar folgender Verarbeitungstakt des Endgeräts ist. The method of claim 8, wherein the later time is at the latest an immediately following processing clock of the terminal. Verfahren gemäß einem der vorstehenden Ansprüche, wobei das Bestimmen in Abhängigkeit von der Differenz (∆tx), ob der Botschaftsempfang fehlerfrei ist, folgende Schritte umfasst: Bestimmen eines Entscheidungstaktintervalls (tA,0, tA,1) in Abhängigkeit von der Differenz (∆tx); Entscheiden, in dem Entscheidungstaktintervall (tA,0, tA,1), ob der Botschaftsempfang fehlerfrei ist. Method according to one of the preceding claims, wherein the determination as a function of the difference (Δt x ) whether the message reception is error-free comprises the following steps: determining a decision clock interval (t A, 0 , t A, 1 ) as a function of the difference (Δt x ); Decide, in the decision clock interval (t A, 0 , t A, 1 ), whether the message reception is error-free. Verfahren gemäß Anspruch 10, wobei der Auswertungszeitpunkt in einem Auswertungstaktintervall liegt, und wobei das Bestimmen des Entscheidungstaktintervalls umfasst: Feststellen, dass die Differenz (∆tx) nicht in einem vorgegebenen Zeitintervall liegt, und Festlegen des Entscheidungstaktintervalls als Auswertungstaktintervall; oder Feststellen, dass die Differenz (∆tx) in dem vorgegebenen Zeitintervall liegt, und Festlegen des Entscheidungstaktintervalls als das unmittelbar auf das Auswertungstaktintervall folgende Taktintervall.The method of claim 10, wherein the evaluation time is in an evaluation clock interval, and wherein determining the decision clock interval comprises: determining that the difference (Δt x ) is not within a predetermined time interval and setting the decision clock interval as the evaluation clock interval; or determining that the difference (Δt x ) is within the predetermined time interval, and setting the decision clock interval as the clock interval immediately following the evaluation clock interval. Verfahren gemäß Anspruch 11, wobei das Endgerät feststellt, dass die Differenz (∆tx) nicht im vorgegebenen Zeitintervall liegt, und wobei das Verfahren weiterhin umfasst: Bestimmen, dass der Botschaftsempfang nicht fehlerfrei ist, wenn festgestellt wird, dass die Differenz (∆tx) größer als die obere Intervallgrenze des vorgegebenen Zeitintervalls ist und/oder Bestimmen, dass der Botschaftsempfang fehlerfrei ist, wenn festgestellt wird, dass die Differenz (∆tx) kleiner als die untere Intervallgrenze des vorgegebenen Zeitintervalls ist.The method of claim 11, wherein the terminal determines that the difference (Δt x ) is not within the predetermined time interval, and wherein the method further comprises: determining that the message reception is not error free if it is determined that the difference (Δt x ) is greater than the upper interval limit of the predetermined time interval and / or determining that the message reception is error-free if it is determined that the difference (Δt x ) is less than the lower interval limit of the predetermined time interval. Verfahren gemäß einem der vorstehenden Ansprüche, wobei das Kommunikationsmedium ein FlexRay-Bus oder ein CAN-Bus ist.Method according to one of the preceding claims, wherein the communication medium is a FlexRay bus or a CAN bus. Verfahren gemäß Anspruch 13, wobei das Bestimmen des Empfangszeitpunktes (tE,0) umfasst: Berechnen des Empfangszeitpunktes (tE,0) in der Endgerät-Zeitbasis durch einen FlexRay-Treiberbaustein aus einem vom FlexRay-Treiberbaustein in der FlexRay-Zeitbasis gespeicherten Empfangszeitpunkt der Botschaft und aus einem Zeitbasenversatz zwischen der FlexRay-Zeitbasis und der Endgerät-Zeitbasis; oder Berechnen des Empfangszeitpunktes (tE,0) in der Endgerät-Zeitbasis durch das Endgerät aus einem von einem FlexRay-Treiberbaustein in der FlexRay-Zeitbasis gespeicherten Empfangszeitpunkt der Botschaft und aus einem Zeitbasenversatz zwischen der FlexRay-Zeitbasis und der Endgerät-Zeitbasis, oder Veranlassen, durch einen FlexRay- oder CAN-Treiberbaustein, des Endgeräts zum Bestimmen des Empfangszeitpunktes (tE,0) beim Empfang der Botschaft. The method of claim 13, wherein determining the reception time point (t E, 0) comprises: calculating the reception time point (t E, 0) in the terminal-time basis by a FlexRay driver block from a stored from the FlexRay driver block in the FlexRay time base reception time the message and a time base offset between the FlexRay time base and the terminal time base; or calculating the reception time (t E, 0 ) in the terminal time base by the terminal from a reception time of the message stored by a FlexRay driver module in the FlexRay time base and a time base offset between the FlexRay time base and the terminal time base, or Initiated by a FlexRay or CAN driver block, the terminal to determine the time of receipt (t E, 0 ) upon receipt of the message. Recheneinheit, die dazu eingerichtet ist, ein Verfahren nach einem der vorstehenden Ansprüche durchzuführen.Arithmetic unit which is adapted to carry out a method according to one of the preceding claims. Computerprogramm mit Programmcodemitteln, die eine Recheneinheit veranlassen, ein Verfahren nach einem der Ansprüche 1 bis 14 durchzuführen, wenn sie auf der Recheneinheit, insbesondere nach Anspruch 15, ausgeführt werden. Computer program with program code means which cause a computer unit to carry out a method according to one of claims 1 to 14 when executed on the computer, in particular according to claim 15. Maschinenlesbares Speichermedium mit einem darauf gespeicherten Computerprogramm gemäß Anspruch 16.A machine-readable storage medium having a computer program stored thereon according to claim 16.
DE201210221055 2012-11-19 2012-11-19 Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium Withdrawn DE102012221055A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE201210221055 DE102012221055A1 (en) 2012-11-19 2012-11-19 Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium
KR1020130139167A KR20140064646A (en) 2012-11-19 2013-11-15 Method for testing of receiving a message in a terminal
CN201310574768.5A CN103825680A (en) 2012-11-19 2013-11-18 Method for testing of receiving message in terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE201210221055 DE102012221055A1 (en) 2012-11-19 2012-11-19 Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium

Publications (1)

Publication Number Publication Date
DE102012221055A1 true DE102012221055A1 (en) 2014-05-22

Family

ID=50625570

Family Applications (1)

Application Number Title Priority Date Filing Date
DE201210221055 Withdrawn DE102012221055A1 (en) 2012-11-19 2012-11-19 Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium

Country Status (3)

Country Link
KR (1) KR20140064646A (en)
CN (1) CN103825680A (en)
DE (1) DE102012221055A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515929B (en) * 2015-12-01 2019-12-10 电子科技大学 Computing method for data transmission reliability lower limit of FlexRay bus network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010049002A (en) * 1999-11-30 2001-06-15 서평원 Method of Testing Continuity in the ISUP Transit Call
US7474625B2 (en) * 2003-05-20 2009-01-06 Nxp B.V. Time-triggered communication system and method for the synchronized start of a dual-channel network

Also Published As

Publication number Publication date
KR20140064646A (en) 2014-05-28
CN103825680A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
EP2751956B1 (en) Method and apparatus for the verification of the correct function of a serial data transmission
DE112015005263B4 (en) Communication system and device
DE112008004193B4 (en) VEHICLE ELECTRONIC CONTROL SYSTEM, VEHICLE ELECTRONIC CONTROL UNIT AND VEHICLE CONTROL SYNCHRONIZATION METHOD
DE112012006919B4 (en) A communication device and method for predicting idle times of a bus based on usage state information
DE4103566A1 (en) SYSTEM AND METHOD FOR CONTROLLING MULTIPLEX COMMUNICATIONS BETWEEN MASTER STATION AND RECEIVING STATIONS
DE102006017302B4 (en) Method and system for controlling a signal transmission of an electric pedal
DE102019200994A1 (en) A DATA COMMUNICATION METHOD FOR A VEHICLE
DE102013218075A1 (en) Device and measuring method for determining the internal delay time of a CAN bus connection unit
DE102016220197A1 (en) Method for processing data for an automated vehicle
EP2040965A1 (en) Method for synchronizing components of a motor vehicle brake system, and electronic brake control system
EP1220104A2 (en) Method and communication system to exchange data between at least two subcribers in a bus system
EP2742642B1 (en) Measured value transmitting device
WO2020030441A1 (en) Method for monitoring the communication of a bus system of a vehicle
DE10225556A1 (en) Networked system earthing testing method, especially for a motor vehicle CAN bus system, in which voltage levels are measured in an idle state and compared with threshold values, over a given and then a longer period if necessary
EP1866714B1 (en) Method and device for monitoring a process action
DE102012221055A1 (en) Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium
DE112016006679B4 (en) Control device and recovery processing method for control device
DE102013213088A1 (en) Monitoring circuit with a signature watchdog
EP0458781B1 (en) Process for monitoring a computer network
EP2435915B1 (en) Reducing the response time in a system for monitoring a function computer
EP2338248B1 (en) Method for operating a communication system with a plurality of nodes and communication system therefor
WO2000052579A1 (en) Monitoring unit for an mproved data transmission security in the master slave bus system
DE102016005928B4 (en) Monitoring device and method for determining a reset duration of a reset of a control unit of a motor vehicle
EP3761179B1 (en) Method for testing the function of a processor by a watchdog
DE102009000584A1 (en) Diagnosis of the synchronization of two communication networks of an electronic data processing system

Legal Events

Date Code Title Description
R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee