DE102006048073A1 - Device for sensing a fault current in a fieldbus system - Google Patents
Device for sensing a fault current in a fieldbus system Download PDFInfo
- Publication number
- DE102006048073A1 DE102006048073A1 DE102006048073A DE102006048073A DE102006048073A1 DE 102006048073 A1 DE102006048073 A1 DE 102006048073A1 DE 102006048073 A DE102006048073 A DE 102006048073A DE 102006048073 A DE102006048073 A DE 102006048073A DE 102006048073 A1 DE102006048073 A1 DE 102006048073A1
- Authority
- DE
- Germany
- Prior art keywords
- bus
- current
- bus line
- comparison
- value
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/08—Modifications for reducing interference; Modifications for reducing effects due to line faults ; Receiver end arrangements for detecting or overcoming line faults
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
- Dc Digital Transmission (AREA)
Abstract
Die Erfindung betrifft einen elektrischen Schaltkreis zum Betreiben eines Busses eines Feldbussystems mit Mitteln zum Sensieren eines Fehlerstromes, welche umfassen: erste Mittel zum Bestimmen eines ersten Stromes einer ersten Busleitung, zweite Mittel zum Bestimmen eines zweiten Stromes einer zweiten Busleitung und Mittel zum Detektieren eines Fehlers, basierend auf dem ersten Strom und dem zweiten Strom.The invention relates to an electrical circuit for operating a bus of a fieldbus system with means for sensing a fault current, comprising: first means for determining a first current of a first bus line, second means for determining a second current of a second bus line and means for detecting a fault, based on the first stream and the second stream.
Description
Die Erfindung betrifft einen elektrischen Schaltkreis zur Bestimmung eines Fehlers in einem Bussystem und ein entsprechendes Verfahren.The The invention relates to an electrical circuit for determination an error in a bus system and a corresponding method.
Zur Kommunikation zwischen elektronischen Steuergeräten sowie zur Steuerung und Überwachung von Sensoren und Aktuatoren in Kraftfahrzeugen werden heutzutage zunehmend Bussysteme, wie z.B. das Controller-Area-Network (CAN) verwendet, welches auch kurz als CAN-Bus bezeichnet wird. Dabei ist eine Übertragung von elektrischen Signalen zwischen einem sendenden und einem empfangenden Busteilnehmer vorgesehen, welche über elektrische Leitungen erfolgt. Derartige Leitungen können im Betrieb aufgrund mechanischer Belastung oder anderer Einflüsse beschädigt werden, was Fehler bei der Übertragung verursacht. Beschädigte Leitungen sollten in einem Bussystem nicht mehr verwendet werden, jedoch können herkömmliche Systeme nur in begrenztem Umfang Fehler auf den Leitungen eines Bussystems detektieren. Folglich kann nur eingeschränkt, z.B. durch Abschalten der beschädigten Strecke, auf einen detektierten Fehler reagiert werden. Herkömmliche Mechanismen zur Prüfung von Busleitungen sind außerdem auf die Messung der Spannung der Busleitungen beschränkt. Dies hat den wesentlichen Nachteil, dass Busleitungen, die aufgrund einer bestimmten Leitungslänge zum Schwingen neigen, nicht zuverlässig auf Fehler überwacht werden können. Das betrifft z.B. Kurzschlüsse zu Fremdspannungen (wie z.B. der Versorgungsspannung) oder Kurzschlüsse zur Masse.to Communication between electronic control units as well as for control and monitoring of sensors and actuators in motor vehicles are nowadays increasingly bus systems, such as e.g. the controller area network (CAN) used, which is also referred to as CAN bus for short. there is a transmission of electrical signals between a sending and a receiving one Bus participants provided, which takes place via electrical lines. Such lines can in Operation due to mechanical stress or other influences, what mistakes in the transfer caused. damaged Cables should no longer be used in a bus system, however, you can conventional Systems only to a limited extent errors on the lines of a Detect bus system. Consequently, only limited, e.g. by switching off the damaged track, to respond to a detected error. conventional Mechanisms for testing Bus lines are also available limited to measuring the voltage of the bus lines. This has the major disadvantage that bus lines due to a certain line length tend to swing, not reliably monitored for errors can be. This concerns e.g. Short circuits too External voltages (such as the supply voltage) or short circuits to Dimensions.
Es ist eine Aufgabe der vorliegenden Erfindung, existierende Verfahren und Vorrichtungen zur Erkennung von Fehlern in Bussystemen zu verbessern.It An object of the present invention is existing methods and to improve devices for detecting errors in bus systems.
Die Aufgabe wird erfindungsgemäß mittels einem elektrischen Schaltkreis zum Betreiben eines Busses eines Feldbussystems gelöst, welcher Mittel zum Bestimmen eines Fehlers, insbesondere eines Fehlerstromes, des Busses umfasst. Die Mittel zum Bestimmen des Fehlers beinhalten gemäß diesem Aspekt der Erfindung erste Mittel zum Bestimmen eines ersten Stromes einer ersten Busleitung, zweite Mittel zum Bestimmen eines zweiten Stromes einer zweiten Busleitung und Detektionsmittel zum Detektieren eines Fehlers basierend auf dem ersten und dem zweiten Strom. Die vorliegende Erfindung ist grundsätzlich für alle Mehrdrahtbusse einsetzbar, bei welchen Summenströme zu überwachen sind. Insbesondere für Bussysteme mit Zweidrahtleitungen ist die vorliegende Erfindung vorteilhaft. Hierzu gehört der CAN-Bus, aber auch der RS-485-Bus. Bei vielen Feldbussystemen, wie z.B. dem CAN-Bus ist eine Übertragung von Steuer- und Dateninformationen zwischen den Busteilnehmern über Zwei- oder Mehrdrahtbusleitungen vorgesehen, an denen die Busteilnehmer angekoppelt sind. Im ungestörten Betrieb fließt ein definierter Strom in eine erste Leitung des Busses (oder einen Teil des Busses) und über eine zweite Leitung des Busses fließt ein ebenso großer Strom wieder heraus. Dabei wird der Strom z.B. über eine Leitung in die eine Richtung geschickt und kehrt über einen Abschlusswiderstand auf die zweite Leitung zurück. Die vorliegende Erfindung schlägt vor, die beiden Ströme zu bestimmen und basierend auf dieser Messung einen Fehler des Busses zu detektieren. Im Unterschied zu herkömmlichen Verfahren wird somit keine Spannungsmessung in den Busleitungen vorgenommen. Statt dessen werden die Ströme auf den Leitungen gemessen. Dadurch wird insbesondere bei langen Busleitungen vermieden, dass aufgrund von Schwingungsneigungen der Busleitungen die Messungen unzuverlässig sind oder eine verhältnismäßig lange Zeit dauern. Zudem lassen sich bestimmte Fehler durch eine reine Spannungsmessung unter gewissen Randbedingungen nicht bestimmen.The The object is achieved by means of a electrical circuit for operating a bus of a fieldbus system solved, which means for determining an error, in particular a fault current, of the bus. The means for determining the error include according to this aspect of Invention first means for determining a first stream of a first bus line, second means for determining a second current a second bus line and detection means for detecting a Error based on the first and second currents. The present Invention is basically for all Multi-wire buses can be used in which total currents are to be monitored. Especially for bus systems with two-wire lines, the present invention is advantageous. This includes the CAN bus, but also the RS-485 bus. In many fieldbus systems, such as e.g. the CAN bus is a transmission of control and data information between the bus subscribers over two or multiwire bus lines are provided to which the bus subscribers are coupled. Im undisturbed Operation flows a defined current in a first line of the bus (or a Part of the bus) and over a second line of the bus flows an equally large current out again. In this case, the current is e.g. over a line into the one Direction sent and returns a terminator back to the second line. The present invention proposes before, the two streams to determine and based on this measurement an error of the bus to detect. In contrast to conventional methods thus becomes no voltage measurement in the bus lines made. Instead become the currents measured on the lines. This is especially true for long Bus lines avoided that due to vibration tendencies of the Bus lines the measurements are unreliable or a relatively long Take time. In addition, certain errors can be solved by a pure Do not determine voltage measurement under certain boundary conditions.
Die vorliegende Erfindung ist auf alle Bussysteme anwendbar, bei denen ein definierter Strom auf einer ersten Busleitung in die eine Richtung und in entgegengesetzter Richtung auf einer zweiten Busleitung fließt. Die Mittel zum Bestimmen der Ströme können beispielsweise vorteilhaft als Shunt-Widerstände ausgebildet und direkt in die jeweilige Busleitung gekoppelt sein. Die Spannung, die über den Widerständen abfällt, gibt den Strom durch die Busleitung wieder. Andere Möglichkeiten der Strombestimmung basieren auf induktiver Kopplung, wie z.B. Reed-Sensoren. Die Mittel zum Detektieren des Fehlers werden basierend auf dem jeweiligen Messverfahren durch Vergleich von auf den Strömen basierenden Spannungen implementiert. Beispielsweise können hier Komparatoren zum Einsatz kommen, welche die entsprechenden Spannungswerte vergleichen.The The present invention is applicable to all bus systems in which a defined current on a first bus line in one direction and flows in the opposite direction on a second bus line. The Means for determining the currents can For example, advantageously designed as a shunt resistors and directly be coupled in the respective bus line. The voltage that drops across the resistors gives the current through the bus line again. Other ways of determining current based on inductive coupling, e.g. Reed sensors. The means to detect the error are based on the respective Measuring method by comparison of currents based on the currents implemented. For example, you can here comparators are used, which are the corresponding ones Compare voltage values.
Gemäß einer weiteren vorteilhaften Ausgestaltung der vorliegenden Erfindung wird eine Treiberstufe zum Treiben einer Busleitung als Mittel zum Bestimmen eines Stromes der Busleitung ausgestaltet und genutzt. Gemäß diesem vorteilhaften Aspekt der Erfindung wird demnach keine eigene zusätzliche Komponente in die Busleitung geschaltet, wie z.B. der vorstehend erwähnte Shunt-Widerstand. Stattdessen wird ein Bestandteil einer Treiberstufe genutzt. Bei einer solchen Treiberstufe handelt es sich vorteilhaft um eine Komponente, die zum bestimmungsgemäßen Betrieb der Busleitung vorgesehen ist. Derartige Komponenten sind z.B. in sogenannten CAN-Transceivern anzutreffen, welche die Verbindung zwischen einem CAN-Controller für das Busprotokoll und den beiden oder einer Vielzahl von Busleitungen bereitstellt. Der Datenaustausch zwischen den Busteilnehmern wird über die vom CAN-Transceiver bereitgestellte Schnittstelle bewirkt. In anderen Bussystemen kommen ähnliche Komponenten vor. Diese können in gleicher Weise von den vorgenannten Vorteilen der vorliegenden Erfindung profitieren. Im Falle eines CAN-Busses beinhaltet der Sendeteil einen Treiber für jede Busleitung und einen Treibersteuerungsschaltkreis. Der sogenannte High-Side-Treiber ist mit der Versorgungsspannung des CAN-Transceivers gekoppelt und lässt Strom in die erste Busleitung hineinfließen. Ein sogenannter Low-Side-Treiber ist mit Masse gekoppelt und nimmt den Strom aus einer weiteren Busleitung auf. Allgemein sind bei derartigen Treiberstufen Komponenten direkt in den stromführenden Pfad der Busleitungen geschaltet. Gemäß diesem Aspekt der vorliegenden Erfindung werden diese Komponenten zur Bestimmung des Stromes genutzt. Dies ist beispielsweise möglich, indem die Spannung, welche über den Komponenten abfällt, zur Bestimmung des Stromes eingesetzt wird. Insbesondere kann bei einer vorteilhaften Ausgestaltung ein Treibertransistor der Treiberstufe als Mittel zum Bestimmen eines Stromes eingesetzt werden.According to a further advantageous embodiment of the present invention, a driver stage for driving a bus line is designed and used as a means for determining a current of the bus line. Accordingly, according to this advantageous aspect of the invention, no separate additional component is connected in the bus line, such as the abovementioned shunt resistor. Instead, a component of a driver stage is used. In such a driver stage is advantageously a component which is provided for the intended operation of the bus line. Such components can be found, for example, in so-called CAN transceivers, which provide the connection between a CAN controller for the bus protocol and the two or a plurality of bus lines. The data exchange between the bus participants is handled by the CAN transceiver provided interface causes. Other components have similar components in other bus systems. These may likewise benefit from the aforementioned advantages of the present invention. In the case of a CAN bus, the transmitting part includes a driver for each bus line and a driver control circuit. The so-called high-side driver is coupled to the supply voltage of the CAN transceiver and allows current to flow into the first bus line. A so-called low-side driver is coupled to ground and receives the power from another bus line. In general, in such driver stages components are connected directly in the current-carrying path of the bus lines. According to this aspect of the present invention, these components are used to determine the current. This is possible, for example, by using the voltage which drops across the components to determine the current. In particular, in an advantageous embodiment, a driver transistor of the driver stage can be used as means for determining a current.
Gemäß einer weiteren vorteilhaften Ausgestaltung wird eine Schutzdiode einer an eine Busleitung gekoppelten Treiberstufe zum Bestimmen des Stromes ein gesetzt. Der Vorteil einer solchen Anordnung besteht darin, dass die Schutzdioden aufgrund einer nicht-linearen Kennlinie die Messempfindlichkeit deutlich erhöhen können. Somit können bereits kleine Abweichungen von einem gewünschten Strom detektiert werden. Das Gleiche gilt für Transistoren, die sich wie Dioden verhalten oder andere elektrische Bauteile, die ein nicht-lineares Verhalten aufweisen. Die Diode oder der Transistor können zu diesem Zweck beispielsweise im Rückkopplungszweig einer Verstärkerschaltung, wie z.B. einem Spannungsfolger oder Ähnlichem, angeordnet werden.According to one Another advantageous embodiment, a protective diode of a Driver stage coupled to a bus line for determining the current a set. The advantage of such an arrangement is that the protection diodes due to a non-linear characteristic, the measurement sensitivity increase significantly can. Thus, you can even small deviations from a desired current can be detected. The same applies Transistors that behave like diodes or other electrical components, which have a non-linear behavior. The diode or the transistor can for this purpose, for example, in the feedback branch of an amplifier circuit, such as. a voltage follower or the like.
Eine weitere vorteilhafte Ausgestaltung sieht vor, dass in dem elektrischen Schaltkreis Vergleichsmittel zum Vergleichen von Spannungswerten vorgesehen sind, wobei die Spannungswerte auf dem ersten Strom und dem zweiten Strom basieren und die Vergleichsmittel ausgestaltet sind, um mindestens zwei getrennte Vergleichsoperationen auszuführen. Erfindungsgemäß ist also vorgesehen, dass eine Mehrzahl von Vergleichsoperationen ausgeführt werden können, die eine Zuordnung von Fehlern zu bestimmten Fehlertypen an den beiden Busleitungen ermöglichen. So können z.B. Kurzschlüsse jeder einzelnen Leitung gegenüber Masse oder Fremdspannungen sowie Kurzschlüsse zueinander oder Unterbrechungen der Leitungen ermittelt werden. Das gelingt dadurch, dass mehr als ein Vergleich stattfinden kann.A Further advantageous embodiment provides that in the electrical Circuit comparison means for comparing voltage values are provided, wherein the voltage values on the first stream and based on the second stream and designed the comparison means are to perform at least two separate comparison operations. According to the invention is thus provided that a plurality of comparison operations are performed can, an assignment of errors to specific error types to the enable both bus lines. So can e.g. shorts each individual line opposite Ground or external voltages as well as short circuits to each other or interruptions the lines are determined. This is achieved by more than a comparison can take place.
In einer vorteilhaften Ausgestaltung ist der elektrische Schaltkreis ausgestaltet, um das Bestimmen des Fehlers in Abhängigkeit des Sendezustandes des Busses vorzunehmen. Dadurch wird gewährleistet, dass ein vordefinierter Betriebszustand der Busleitungen gegeben ist, was die Bestimmung der spezifischen Fehler erleichtert. Beim CAN-Bus werden beispielsweise dominante und rezessive Buszustände unterschieden. Ein rezessiver Zustand liegt vor, wenn alle Treiber aller an den Bus angeschlossenen Busteilnehmer passiv sind. Der Bus weist dann ein spezifisches Potential der Leitungen auf. Wenn mindestens einer der Treiber eines Busteilnehmers aktiv ist, gilt dies als dominanter Zustand. Im dominanten Zustand liegt eine spezifische Potentialdifferenz zwischen den Busleitungen vor. Außerdem ist in diesem Betriebszustand ein definierter Stromfluss gegeben. Vorteilhaft ist eine Bestimmung des Fehlers in dem dominanten Sendebe trieb, weil sich in diesem Zustand die Ströme bestimmungsgemäß auf den Leitungen in der zuvor definierten Weise ausbreiten. Weichen der oder die Ströme auf den Leitungen von den Vorgaben ab, ist im dominanten Zustand die Bestimmung eines Fehlerstromes möglich.In An advantageous embodiment is the electrical circuit designed to determine the error in dependence to make the transmission state of the bus. This will ensure that given a predefined operating state of the bus lines is what facilitates the determination of specific errors. At the CAN bus, for example, a distinction between dominant and recessive bus states. A recessive state exists when all drivers are connected to the Bus connected bus participants are passive. The bus then points a specific potential of the lines. If at least one the driver of a bus participant is active, this is considered more dominant Status. In the dominant state there is a specific potential difference between the bus lines. In addition, in this operating condition given a defined current flow. A determination of the is advantageous Error in the dominant Sendebe drove because in this state the streams as intended on the Spread lines in the previously defined way. Switch the or the streams on the lines of the specifications, is in the dominant state the determination of a fault current possible.
Eine weitere vorteilhafte Ausgestaltung des elektrischen Schaltkreises sieht vor, dass in Reaktion auf einen Fehler des Busses eine oder mehrere defekte Busleitungen abgeschaltet werden. Diese Busleitungen werden für die weitere Datenübertragung nicht mehr verwendet. Stattdessen kann vorteilhaft vorgesehen sein, dass defekte Busleitungen, für welche ein Fehler detektiert wurde, durch funktionsfähige redundante Busleitungen ersetzt werden. Dieser Aspekt der vorliegenden Erfindung ist insbesondere für Mehrkanalbussysteme interessant, in denen eine Vielzahl von getrennten Bussen vorliegen.A further advantageous embodiment of the electrical circuit provides that in response to a fault of the bus one or several defective bus lines are switched off. These bus lines be for the further data transmission is not more used. Instead, it can advantageously be provided that defective bus lines, for which an error was detected, by operational redundant Bus cables are replaced. This aspect of the present invention is especially for Multichannel bus systems interesting in which a variety of separate Buses available.
Gemäß einem weiteren vorteilhaften Aspekt der vorliegenden Erfindung sind die Mittel zum Detektieren des elektrischen Schaltkreises ausgestaltet, um einen Kurzschluss einer der Busleitungen gegenüber Masse oder einen Kurzschluss einer der Busleitungen gegenüber einer Fremdspannung zu detektieren. Insbesondere ist von der erfindungsgemäßen Ausgestaltung des elektrischen Schaltkreises auch eine Detektion beider Fehler vorgesehen. Da erfindungsgemäß die Ströme auf den Busleitungen bestimmt werden, können durch Vergleich der Ströme nach ihren absoluten und relativen Werten bestimmte Fehlertypen des Bussystems unterschieden werden. Es kann also nicht nur festgestellt werden, dass überhaupt ein Fehler vorliegt, sondern dieser kann auch einem bestimmten Defekt zugeordnet werden. Dies ermöglicht eine flexible Reaktion auf den Fehler. Außerdem findet auf diese Weise bereits eine Diagnose des Bussystems statt.According to one Another advantageous aspect of the present invention are the Means for detecting the electrical circuit configured to a short circuit of one of the bus lines to ground or a short circuit one of the bus lines opposite to detect a foreign voltage. In particular, is of the embodiment of the invention the electrical circuit also a detection of both errors intended. Since according to the invention the currents on the Bus lines can be determined by comparing the currents to their absolute and relative values certain types of errors of the bus system be differentiated. So it can not only be determined that at all there is a mistake, but this can also be a specific defect be assigned. this makes possible a flexible reaction to the error. It also finds in this way already a diagnosis of the bus system instead.
Die Aufgabe der vorliegenden Erfindung wird ebenfalls durch ein Verfahren zum Bestimmen eines Fehlers in einem Mehrkanalbussystem gelöst, welches die Schritte beinhaltet: Bestimmen eines ersten Stromes einer ersten Busleitung, Bestimmen eines zweiten Stromes einer zweiten Busleitung, Vergleichen von Werten, die von dem ersten und dem zweiten Strom abgeleitet sind und Ausgeben eines Vergleichsergebnisses, welches einem Fehler auf den Busleitungen entspricht, wobei die erste Busleitung und die zweite Busleitung zwei Busleitungen einer gemeinsamen Busstrecke eines Bussystems sind. Gemäß dieser vorteilhaften Abfolge von Verfahrensschritten ist es möglich, allgemein die Fehler, die auf einer aus mindestens zwei elektrischen Leitungen bestehenden Busstrecke eines Mehrkanalbussystems auftreten können, zu bestimmen. So ist bei bestimmten Bussystemen, wie z.B. dem CAN-Bus, eine Übertragung von Steuer- und Dateninformation zwischen den Busteilnehmern vorgesehen. Im ungestörten Betrieb fließt ein definierter Strom in eine erste Leitung der Busstrecke hinein, und über eine zweite Leitung der Busstrecke fließt ein ebenso großer Strom heraus. Erfindungsgemäß wird diese Symmetrie ausgenutzt, um Kurzschlüsse oder Unterbrechungen der Busleitungen zu bestimmen.The object of the present invention is also solved by a method for determining a fault in a multi-channel bus system, comprising the steps of: determining a first Current of a first bus line, determining a second current of a second bus line, comparing values derived from the first and second currents, and outputting a comparison result corresponding to an error on the bus lines, wherein the first bus line and the second bus line are two bus lines a common bus of a bus system. According to this advantageous sequence of method steps, it is possible to generally determine the errors which can occur on a bus path of a multi-channel bus system consisting of at least two electrical lines. Thus, in certain bus systems, such as the CAN bus, a transfer of control and data information between the bus participants is provided. In undisturbed operation, a defined current flows into a first line of the bus path, and via a second line of the bus line, an equally large current flows out. According to the invention, this symmetry is exploited to determine short circuits or interruptions of the bus lines.
Gemäß einem weiteren vorteilhaften Aspekt der Erfindung umfasst der Schritt des Vergleichens mindestens einen ersten Vergleich und einen zweiten Vergleich, wobei der erste Vergleich dafür vorgesehen ist, einen ersten Fehlerzustand des Busses zu bestimmen und der zweite Vergleich dafür vorgesehen ist, einen zweiten Fehlerzustand des Busses zu bestimmen. Erfindungsgemäß betreffen der erste und der zweite Fehlerzustand unterschiedliche physikalische Defekte des Busses. Anhand der genannten vorteilhaften Ausgestaltung wird deutlich, dass das erfindungsgemäße Verfahren geeignet ist, eine Vielzahl unterschiedlicher Fehlersituationen auf einen Bus zu unterscheiden. So können die Busleitungen nicht nur auf das Über- oder Unterschreiten vorgegebener Pegel untersucht werden. Zusätzlich können Kurzschlüsse der beiden Busleitungen einzeln oder zueinander ermittelt werden. Durch die Messung von Strömen, die auf den Busleitungen geführt werden, werden zudem die Nachteile einer Spannungsmessung vermieden. Dies hat die positive Folge, dass auch lange Busleitungen, die ein Schwingverhalten aufweisen können, zuverlässig geprüft werden können. Insbesondere ein Kurzschluss gegen Masse kann erfindungsgemäß ebenfalls erkannt werden. Außerdem können einseitige Kurzschlüsse einer Busleitung zu einer Fremdspannung oder zur Masse, die zu Kommunikationsfehlern führen können, detektiert werden.According to one Another advantageous aspect of the invention comprises the step comparing at least a first comparison and a second comparison, being the first comparison for that is provided to determine a first error state of the bus and the second comparison for it is provided to determine a second error state of the bus. In accordance with the invention the first and the second error state different physical Defects of the bus. Based on the aforementioned advantageous embodiment it becomes clear that the method according to the invention is suitable a variety of different error situations on a bus to distinguish. So can the bus lines are not limited to exceeding or falling short of predetermined ones Levels are examined. additionally can short circuits the two bus lines individually or mutually determined. By the measurement of currents, which led on the bus lines In addition, the disadvantages of a voltage measurement are avoided. This has the positive consequence that even long bus lines, the one Can exhibit vibrational behavior, reliable checked can be. In particular, a short circuit to ground according to the invention also be recognized. Furthermore can one-sided short circuits a bus line to an external voltage or ground, leading to communication errors to lead can, be detected.
Gemäß einem weiteren vorteilhaften Aspekt der vorliegenden Erfindung wird bei dem ersten Vergleich eine erste Vergleichsspannung, welche auf dem Mittelwert der beiden Spannungen der Busleitungen basiert, mit einem zweiten Vergleichswert verglichen, welcher auf einer Kombination des Mittelwertes der Spannungen auf den Busleitungen und Spannungen basiert, die von den Strömen durch die erste und zweite Busleitung abgeleitet sind.According to one Another advantageous aspect of the present invention is at the first comparison, a first comparison voltage, which on the Average of the two voltages of the bus lines is based, with a compared second comparison value, which on a combination the mean value of the voltages on the bus lines and voltages based, that of the streams are derived by the first and second bus line.
Bei einem erfindungsgemäßen Schaltkreis können die Vorgänge bezüglich eines CAN-Busses wie folgt beschrieben werden: Bei einem Kurzschluss einer zweiten Busleitung nach Masse fließt der Strom von der ersten Busleitung über den Bus zur zweiten Busleitung und von dort direkt nach Masse. Damit nimmt der Strom nicht den regulären Weg über die Busleitungen. Ist ein ("zweites") Sensierungsmittel (z.B. Shunt-Widerstand) in die zweite Leitung gekoppelt, fließt weniger Strom über das zweite Sensierungsmittel. Aufgrund dessen verschiebt sich das Spannungsverhältnis dahingehend, dass eine zweite Vergleichsspannung am zweiten Sensierungsmittel einen niedrigeren Wert annimmt. Hierdurch wechselt der Ausgang des zweiten Vergleichsmittels von einem ersten Ausgangszustand in einen zweiten, z.B. von High nach Low. Ein analoger Vorgang ist zu beobachten, wenn ein Kurzschluss der ersten Busleitung gegen Masse vorliegt. Bei einem Kurzschluss der ersten Busleitung zu einer Fremdspannung fließt durch das erste Sensierungmittel, welches in die erste Busleitung gekoppelt ist, kein Strom. Über den Bus fließt von der Position des Kurzschlusses aus ein Fehlerstrom von der ersten Busleitung zur zweiten Busleitung und von dort über das zweite Sensierungsmittel gegen Masse zurück. Damit verschiebt sich das Spannungsverhältnis an den Vergleichsmitteln, so dass die zweite Vergleichsspannung einen höheren Wert annimmt. Hierdurch wechselt der Ausgang des ersten Vergleichsmittels von einem ersten logischen Zustand in einen zweiten, z.B. von High nach Low. Genauso verhält sich die Schaltung bei einem Kurzschluss der zweiten Busleitung zu einer Fremdspannung.at a circuit according to the invention, the operations in terms of of a CAN bus are described as follows: In the event of a short circuit in a second bus line to ground, the current flows from the first Bus line over the bus to the second bus line and from there directly to ground. With it takes the current is not the regular one Way over the bus lines. If a ("second") sensing agent (e.g. Shunt resistor) coupled to the second line, flows less Electricity over the second sensory agent. Because of this, the tension relationship shifts to a second comparison voltage on the second sensing means assumes lower value. This changes the output of the second one Comparing means from a first initial state to a second, e.g. from high to low. An analogous process can be observed if there is a short circuit of the first bus line to ground. In the event of a short circuit of the first bus line to an external voltage flows through the first sensing means coupled in the first bus line is, no electricity. about the bus flows from the position of the short circuit, a fault current from the first Bus line to the second bus line and from there via the second Sensierungsmittel back to earth. This shifts the stress ratio at the comparison means, so that the second comparison voltage assumes a higher value. hereby the output of the first comparison means changes from a first logical one Condition into a second, e.g. from high to low. The same is true the circuit at a short circuit of the second bus line to an external voltage.
Im rezessiven Zustand fließen weder durch das erste noch das zweite Sensierungsmittel Ströme. Die Sensierungsmittel sind so angeordnet, dass sie den Strom in den Busleitungen sensieren können. Hierfür können die Sensierungs mittel als Shunt-Elemente (Widerstand, Diode, Transistor, etc.) in die Leitungen geschaltet sein. Vorteilhaft ist die Anordnung zwischen den Treibern und den Anschlusspunkten für die Leitungen. Wie zuvor dargestellt, können die Sensierungsmittel auch als Teile der Treiberstufen realisiert werden, indem z.B. ein Spannungsabfall über einem Transistor der Treiberstufe ermittelt wird.in the recessive state flow neither by the first nor the second Sensierungsmittel streams. The Sensing agents are arranged so that they flow into the Can sense bus lines. For this purpose, the Sensing agent as shunt elements (resistor, diode, transistor, etc.) to be connected in the lines. The arrangement between is advantageous the drivers and the connection points for the cables. As before represented, can the Sensierungsmittel also realized as parts of the driver stages be replaced by e.g. a voltage drop across a transistor of the driver stage is determined.
Die vorliegende Erfindung wird nachfolgend beispielhaft anhand von Ausführungsbeispielen unter Bezugnahme auf die beigefügten Zeichnungen erläutert.The The present invention will now be described by way of example with reference to exemplary embodiments with reference to the attached Drawings explained.
Es zeigtIt shows
Zur
weiteren Verdeutlichung der Funktionsweise zeigt
Der
CAN-Bus kann zwei Zustände
einnehmen: einen rezessiven und einen dominanten Zustand. Der rezessive
Zustand liegt vor, wenn alle Treiber der am Bus angeschlossenen
Komponenten (typischerweise Transceiver) passiv sind, d.h. keiner der
Treiber im Sendezustand ist. In dieser Situation beträgt die Differenzspannung
zwischen den beiden Busleitungen etwa 0 V. Die möglichen Toleranzen der Spannung
im rezessiven Zustand sind standardisiert (ISO 11898). Demnach können die
Spannungspegel zwischen etwa –50
mV und +500 mV liegen. Der logische Pegel, welcher diesem Zustand
zugeordnet ist, ist als High-Pegel oder logisch "1" definiert.
Sobald mindestens ein Treiber am Bus in den aktiven Zustand wechselt,
wird der gesamte Bus als dominant bezeichnet. Die Differenzspannung
auf dem Bus liegt dann bei typischerweise 2,25 V, wobei auch diese
Spannung in einem definierten Bereich variieren kann. Demnach darf
die Spannung zwischen 1,5 V und 3 V annehmen. Dieser dominante Zustand
wird als logisch "0"- oder Low-Pegel
definiert. Die Dioden D1 und D2 sind die Schutzdioden des High-Side-Treibers
HS-D und des Low-Side-Treibers LS-D. Diese können bei entsprechender Kopplung
außerhalb
der Schaltung, also zwischen den Ausgängen der Schaltung und den
zu sensierenden Busleitungen CAN-H, CAN-L angeordnet sein. Bei dieser
vorteilhaften Ausgestaltung wird der Spannungsteiler aus R3, R4
und R5 dauerhaft mit Spannung versorgt. Hierdurch ergeben sich im
rezessiven Zustand definierte Referenzspannungen an den Komparatoreingängen, wodurch
eine Fehlersensierung auch im rezessiven Zustand ermöglicht wird.
Eine andere Anordnung ergibt sich aus
Claims (12)
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102006048073A DE102006048073A1 (en) | 2006-10-11 | 2006-10-11 | Device for sensing a fault current in a fieldbus system |
US12/311,638 US8294474B2 (en) | 2006-10-11 | 2007-08-04 | Device for sensing a fault current in a field bus system |
PCT/EP2007/006907 WO2008043404A1 (en) | 2006-10-11 | 2007-08-04 | Device for sensing a fault current in a field bus system |
CN200780037708.2A CN101523835B (en) | 2006-10-11 | 2007-08-04 | For responding to the device of the fault current in field bus system |
EP07786562A EP2080334A1 (en) | 2006-10-11 | 2007-08-04 | Device for sensing a fault current in a field bus system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102006048073A DE102006048073A1 (en) | 2006-10-11 | 2006-10-11 | Device for sensing a fault current in a fieldbus system |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102006048073A1 true DE102006048073A1 (en) | 2008-04-17 |
Family
ID=39154128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102006048073A Ceased DE102006048073A1 (en) | 2006-10-11 | 2006-10-11 | Device for sensing a fault current in a fieldbus system |
Country Status (5)
Country | Link |
---|---|
US (1) | US8294474B2 (en) |
EP (1) | EP2080334A1 (en) |
CN (1) | CN101523835B (en) |
DE (1) | DE102006048073A1 (en) |
WO (1) | WO2008043404A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008002946A1 (en) * | 2008-07-16 | 2010-01-21 | Lear Corporation Gmbh | Method for detecting an error on a data line |
DE102008052781A1 (en) * | 2008-10-22 | 2010-04-29 | Volkswagen Ag | Bus system e.g. controller area network-bus, for transmission of digital data messages e.g. data telegram, in automobile area, has part of bus nodes with microcontroller serving as signal control device for monitoring bus lines |
DE102011089397A1 (en) * | 2011-12-21 | 2013-06-27 | Bayerische Motoren Werke Aktiengesellschaft | Method and apparatus for monitoring an adaptive network |
DE102013213608A1 (en) * | 2013-05-03 | 2014-11-06 | Continental Teves Ag & Co. Ohg | Method for detecting insulation faults of a multi-wire interface |
DE102013012615A1 (en) * | 2013-07-24 | 2015-01-29 | Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, Hallstadt | Circuit module for separating subnetworks of a multi-voltage vehicle electrical system |
WO2018059658A1 (en) * | 2016-09-27 | 2018-04-05 | Siemens Aktiengesellschaft | Fault current circuit |
DE102015108315B4 (en) | 2014-05-27 | 2021-12-23 | GM Global Technology Operations LLC (n. d. Gesetzen des Staates Delaware) | SHORT CIRCUIT FAULT DETECTION IN A CONTROLLER AREA NETWORK |
DE102015108342B4 (en) | 2014-05-27 | 2023-08-03 | GM Global Technology Operations LLC (n. d. Gesetzen des Staates Delaware) | WIRE OPEN FAULT DETECTION AND DIAGNOSTICS IN A CONTROLLER AREA NETWORK |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8069356B2 (en) * | 2010-01-06 | 2011-11-29 | Apple Inc. | Accessory power management |
US8525522B2 (en) * | 2010-04-21 | 2013-09-03 | Schweitzer Engineering Laboratories Inc | Fault location in electric power delivery systems |
DE102012212123B4 (en) | 2012-07-11 | 2016-05-19 | Continental Automotive Gmbh | Device for the diagnosis of a circuit arrangement |
US10039878B2 (en) | 2013-05-07 | 2018-08-07 | Carefusion 303, Inc. | Method for reliable intermodule connection in an infusion system |
US9172235B2 (en) | 2013-06-03 | 2015-10-27 | Infineon Technologies Ag | Shutdown protection for bus line drivers |
US9417983B2 (en) * | 2013-06-03 | 2016-08-16 | Infineon Technologies Ag | Over-current detection for bus line drivers |
US9678131B2 (en) * | 2014-05-27 | 2017-06-13 | GM Global Technology Operations LLC | Method and apparatus for short fault isolation in a controller area network |
US9588563B2 (en) | 2014-05-30 | 2017-03-07 | Apple Inc. | Protocol for managing a controllable power adapter accessory |
KR101572940B1 (en) * | 2014-12-08 | 2015-11-30 | 현대자동차주식회사 | Method and system for restoring communication disruption using gateway |
CN104648281B (en) * | 2014-12-12 | 2017-01-25 | 深圳市美好幸福生活安全系统有限公司 | Non-contact signal receiving circuit and safety alarm device |
WO2016185514A1 (en) * | 2015-05-15 | 2016-11-24 | 三菱電機株式会社 | Attack detection device |
US10581622B2 (en) | 2015-05-26 | 2020-03-03 | Hitachi Automotive Systems, Ltd. | Communication device and communication system |
CN105071957B (en) * | 2015-07-28 | 2019-04-02 | 湖南三一智能控制设备有限公司 | CAN bus fault diagnosis method and system |
DE102015221848B4 (en) * | 2015-11-06 | 2023-08-31 | Volkswagen Aktiengesellschaft | Bus system and method for diagnosing a short circuit |
WO2017106500A1 (en) * | 2015-12-15 | 2017-06-22 | Respiratory Motion, Inc. | Evaluation of respiratory volume monitoring to detect respiratory compromise before pulse oximetry and eliminate false desaturation alarms |
US10754997B1 (en) * | 2017-05-30 | 2020-08-25 | The University Of Tulsa | Security data diode |
DE102017212544A1 (en) * | 2017-07-21 | 2019-01-24 | Robert Bosch Gmbh | Transceiver for a CAN bus system and method for detecting a short circuit with a CAN transceiver |
CN109738728B (en) * | 2019-01-17 | 2021-08-03 | 盛瑞传动股份有限公司 | EOL detection module and detection device |
WO2021174424A1 (en) * | 2020-03-03 | 2021-09-10 | 华为技术有限公司 | Can bus circuit and can bus communication method |
US11714576B2 (en) * | 2020-10-29 | 2023-08-01 | Micron Technology, Inc. | Memory bus drive defect detection |
CN112463428B (en) * | 2020-11-30 | 2024-03-26 | 深圳市道通科技股份有限公司 | Automobile bus fault diagnosis method and device and computing equipment |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19523031A1 (en) | 1995-06-08 | 1996-12-12 | Philips Patentverwaltung | System for transmitting data over a differential bus |
WO1996042159A1 (en) * | 1995-06-08 | 1996-12-27 | Philips Electronics N.V. | System for the fail-safe transmission of data via a differential bus |
DE19850672C2 (en) * | 1998-11-03 | 2003-07-31 | St Microelectronics Gmbh | Line fault test circuit for an electrical data transmission system |
US6400163B1 (en) * | 1999-09-08 | 2002-06-04 | Rolf Melcher | Circuit arrangement for monitoring an electronic switch controlling a load |
US7012597B2 (en) * | 2001-08-02 | 2006-03-14 | Seiko Epson Corporation | Supply of a programming current to a pixel |
DE10237696B3 (en) * | 2002-08-15 | 2004-04-15 | Infineon Technologies Ag | Transmission fault detection method, for two-wire differential signal transmission line, continually monitoring average voltage of the two line signals to detect any sudden jumps |
AU2003274634A1 (en) * | 2002-10-15 | 2004-05-04 | Powerdsine Ltd. | Direct current power pooling |
US7042690B2 (en) * | 2002-12-19 | 2006-05-09 | Texas Instruments Incorporated | Power-line, differential, isolation loss detector |
US7426374B2 (en) * | 2005-01-25 | 2008-09-16 | Linear Technology Corporation | Combination of high-side and low-side current sensing in system for providing power over communication link |
US7436290B2 (en) * | 2005-08-16 | 2008-10-14 | Infineon Technologies Ag | Sensor discrimination apparatus, system, and method |
US8159362B2 (en) * | 2005-10-18 | 2012-04-17 | Schweitzer Engineering Laboratories, Inc. | Method of detecting faults using graduated fault detection levels |
-
2006
- 2006-10-11 DE DE102006048073A patent/DE102006048073A1/en not_active Ceased
-
2007
- 2007-08-04 WO PCT/EP2007/006907 patent/WO2008043404A1/en active Application Filing
- 2007-08-04 US US12/311,638 patent/US8294474B2/en active Active
- 2007-08-04 CN CN200780037708.2A patent/CN101523835B/en active Active
- 2007-08-04 EP EP07786562A patent/EP2080334A1/en not_active Withdrawn
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008002946B4 (en) * | 2008-07-16 | 2010-04-08 | Lear Corporation Gmbh | Method for detecting an error on a data line |
US8049510B2 (en) | 2008-07-16 | 2011-11-01 | Lear Corporation Gmbh | Method for detecting a fault on a data line |
DE102008002946A1 (en) * | 2008-07-16 | 2010-01-21 | Lear Corporation Gmbh | Method for detecting an error on a data line |
DE102008052781A1 (en) * | 2008-10-22 | 2010-04-29 | Volkswagen Ag | Bus system e.g. controller area network-bus, for transmission of digital data messages e.g. data telegram, in automobile area, has part of bus nodes with microcontroller serving as signal control device for monitoring bus lines |
DE102008052781B4 (en) | 2008-10-22 | 2024-02-08 | Volkswagen Ag | Error detection in differential bus systems |
DE102011089397B4 (en) * | 2011-12-21 | 2020-12-17 | Bayerische Motoren Werke Aktiengesellschaft | Method for monitoring an adaptive network |
DE102011089397A1 (en) * | 2011-12-21 | 2013-06-27 | Bayerische Motoren Werke Aktiengesellschaft | Method and apparatus for monitoring an adaptive network |
US9400706B2 (en) | 2011-12-21 | 2016-07-26 | Bayerische Motoren Werke Aktiengesellschaft | Method and device for monitoring an adaptive network |
DE102013213608A1 (en) * | 2013-05-03 | 2014-11-06 | Continental Teves Ag & Co. Ohg | Method for detecting insulation faults of a multi-wire interface |
DE102013012615A1 (en) * | 2013-07-24 | 2015-01-29 | Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, Hallstadt | Circuit module for separating subnetworks of a multi-voltage vehicle electrical system |
US9975502B2 (en) | 2013-07-24 | 2018-05-22 | Brose Fahrzeugtelle GmbH & Co. Kommanditgesellschaft, Hallstadt | Circuit module for isolating components of a multi-voltage vehicle electrical system |
DE102015108315B4 (en) | 2014-05-27 | 2021-12-23 | GM Global Technology Operations LLC (n. d. Gesetzen des Staates Delaware) | SHORT CIRCUIT FAULT DETECTION IN A CONTROLLER AREA NETWORK |
DE102015108342B4 (en) | 2014-05-27 | 2023-08-03 | GM Global Technology Operations LLC (n. d. Gesetzen des Staates Delaware) | WIRE OPEN FAULT DETECTION AND DIAGNOSTICS IN A CONTROLLER AREA NETWORK |
WO2018059658A1 (en) * | 2016-09-27 | 2018-04-05 | Siemens Aktiengesellschaft | Fault current circuit |
Also Published As
Publication number | Publication date |
---|---|
US8294474B2 (en) | 2012-10-23 |
EP2080334A1 (en) | 2009-07-22 |
CN101523835A (en) | 2009-09-02 |
US20100033163A1 (en) | 2010-02-11 |
WO2008043404A1 (en) | 2008-04-17 |
CN101523835B (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102006048073A1 (en) | Device for sensing a fault current in a fieldbus system | |
DE19509133C2 (en) | Arrangement for monitoring two-wire bus lines | |
DE10349600B4 (en) | Method for checking line faults in a bus system and bus system | |
DE102008002946B4 (en) | Method for detecting an error on a data line | |
DE102014107756B4 (en) | Overcurrent detection for bus line drivers | |
EP3493479B1 (en) | Method for the supply of addressing streams through bus nodes of a serial data bus system and bus node for such a data bus system | |
DE102005016127B4 (en) | sensor system | |
DE102006030114B4 (en) | Safe input circuit with single-channel I / O connection for the input of a bus participant | |
DE4307794C2 (en) | Device for monitoring symmetrical two-wire bus lines and bus interfaces | |
EP1603282A1 (en) | Method for addressing subscribers of a bus system | |
DE10237696B3 (en) | Transmission fault detection method, for two-wire differential signal transmission line, continually monitoring average voltage of the two line signals to detect any sudden jumps | |
DE102015221848B4 (en) | Bus system and method for diagnosing a short circuit | |
EP3766214B1 (en) | Subscriber station for a serial bus system, and method for data transmission in a serial bus system | |
EP0887649A2 (en) | Procedure and circuit arrangement for testing for line faults in a two wire bus system | |
EP0890110B1 (en) | Process for testing the ground contact of parts of a networked system | |
DE102005040932A1 (en) | Field bus subscriber for use in communication system, has bus termination connectable with bus lines by using switch depending on availability of another subscriber at field bus output | |
EP1538453A1 (en) | Apparatus and method for fault diagnosis on digital outputs of a control element | |
DE102018114759A1 (en) | Differential bus driver device and method | |
EP1179921B1 (en) | Activity detection in a hub coupled to a pluality of nodes | |
EP1649435B1 (en) | Circuit arrangement comprising a multi-wire line for supplying current and emitting signals | |
DE19826388B4 (en) | Error processing circuit for a receiving station of a data transmission system | |
DE19813952C1 (en) | Signaling output stage for generating digital voltage signals on a bus system | |
EP1936895B1 (en) | Device for transmitting data within a electronic system | |
EP1093645B1 (en) | Bus-operational sensor device and corresponding test method | |
DE102005005466B4 (en) | Circuit arrangement for a signaling device for monitoring switching states of at least one switching contact |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R012 | Request for examination validly filed |
Effective date: 20130620 |
|
R002 | Refusal decision in examination/registration proceedings | ||
R003 | Refusal decision now final |