DE10144316B4 - Bus system according to the master-slave principle - Google Patents
Bus system according to the master-slave principle Download PDFInfo
- Publication number
- DE10144316B4 DE10144316B4 DE2001144316 DE10144316A DE10144316B4 DE 10144316 B4 DE10144316 B4 DE 10144316B4 DE 2001144316 DE2001144316 DE 2001144316 DE 10144316 A DE10144316 A DE 10144316A DE 10144316 B4 DE10144316 B4 DE 10144316B4
- Authority
- DE
- Germany
- Prior art keywords
- message
- bus
- slave
- bus system
- master station
- 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.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/403—Bus networks with centralised control, e.g. polling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
Abstract
Bussystem mit einer Master-Station (1) und mindestens einer Slave-Station (2, 3), die zum bidirektionalen Austausch von Dateninformation und/oder Kommandoinformation unter Verwendung von Meldungsblöcken miteinander verbunden sind, wobei jeder Slave-Station (2, 3) eine Adresse eindeutig zugeordnet ist und der Informationsverkehr auf dem Bus durch die Master-Station (1) derart gesteuert wird, dass die Master-Station (1) zum Anfordern einer Antwortmeldung eine Anforderungsmeldung mit der Adresse einer Slave-Station, von der die Antwortmeldung angefordert wird, auf den Bus (12, 13, 42, 43, 22, 23, 32, 33) sendet, dass die Slave-Stationen (2, 3) den Bus (12, 13, 42, 43, 22, 23, 32, 33) überwachen, um mindestens die Adresseninformation von auf dem Bus (12, 13, 42, 43, 22, 23, 32, 33) befindlichen Meldungen zu prüfen und mit der eigenen Adresse zu vergleichen, dass die Slave-Station (2), von der die Antwortmeldung angefordert wird, den Empfang der Anforderungsmeldung durch Zurücksenden einer Echomeldung quittiert und dass diese quittierende Slave-Station...bus system with a master station (1) and at least one slave station (2, 3), for the bidirectional exchange of data information and / or command information using message blocks connected to each other, each slave station (2, 3) a Address is uniquely assigned and the information traffic is on the bus is controlled by the master station (1) such that the master station (1) to request a response message a request message with the address of a slave station, from which the response message is requested on the bus (12, 13, 42, 43, 22, 23, 32, 33) sends that the slave stations (2, 3) the Bus (12, 13, 42, 43, 22, 23, 32, 33) to monitor at least the Address information from on the bus (12, 13, 42, 43, 22, 23, 32, 33) and compare with the own address that the slave station (2), from the response message is requested, the receipt of the request message by resending an echo message acknowledged and that this acknowledgment slave station ...
Description
Die Erfindung betrifft einen nach dem Master-Slave-Prinzip arbeitenden Bus zum Übertragen von Daten und Kommandos zwischen einer Steuerstation, wie sie in der Literatur "Master" oder "Meister" genannt wird, und einer Vielzahl von Nebenstationen, wie sie in der Literatur "Slave", "Client" oder "Sklave" genannt werden.The The invention relates to a working according to the master-slave principle Bus to transfer of data and commands between a control station, as in the literature is called "master" or "master", and a variety of substations, as they are called in the literature "slave", "client" or "slave".
Ein
solcher Bus ist prinzipiell aus
Ein solcher Bus hat eine hohe Betriebssicherheit bei relativ geringem Datendurchsatz und ist daher beispielsweise für Mess-Systeme, in denen eine zentrale Steuerung von einzelnen Messaufnahmestationen Messwerte einsammelt, gut geeignet.One Such bus has a high reliability at relatively low Data throughput and is therefore, for example, for measuring systems in which a central control of individual measuring stations measured values collected, well suited.
Insbesondere,
wenn ein solcher Bus nach dem Master-Slave-Prinzip, wie zum Beispiel in der
Wenn in einem System aus Master-Station und Slave-Stationen die Master-Station eine an eine Slave-Station adressierte Aufforderung zum Ausführen einer Operation und zum Übermitteln des Operationsergebnisses sendet, wartet die Master-Station eine bestimmte Zeitspanne auf die angeforderte Information und bewertet das Ausbleiben der Information nach Ablauf der Zeitspanne als Fehler. In einem System, in dem unterschiedliche Operationen von unterschiedlichen Slave-Stationen unterschiedliche Bearbeitungszeit und somit Reaktionszeit auf die Aufforderung von der Master-Station haben, orientiert sich die bestimmte Zeitspanne, die als Maß für einen auf getretenen Fehler herangezogen wird, an der längstmöglichen Reaktionszeit. Bei Systemen mit großen Unterschieden zwischen den möglichen Reaktionszeiten führt dies zu störenden Verzögerungen, die dazu führen können, dass der von seinem prinzipiellen Konzept langsame Bus für das System zu langsam wird. Andererseits ist es oft erstrebenswert, einen sehr einfachen, sicheren und kostengünstigen Bus verwenden zu können.If in a system of master station and slave stations the master station a request addressed to a slave station for execution of a Operation and transfer of the operation result, the master station waits one certain period of time to the requested information and evaluated the absence of information after expiry of the period as an error. In a system where different operations of different Slave stations different processing time and thus reaction time to the Request from the master station, the specific one is oriented Time span as a measure of one is used on the error occurred, the longest possible Reaction time. For systems with large differences between the possible Reaction times leads this to disturbing delays that lead to can, that of its basic concept slow bus for the system too is slow. On the other hand, it is often desirable, a very simple, safe and inexpensive bus to be able to use.
Aufgabe der vorliegenden Erfindung ist es, ein Master-Slave-Bussystem bereitzustellen, das mit im Mittel kürzeren Verzögerungszeiten arbeitet.task the present invention is to provide a master-slave bus system, that with on average shorter delay times is working.
Diese Aufgabe wird erfindungsgemäß gelöst durch ein Bussystem mit einer Master-Station und eine oder mehrere Slave-Stationen, die zum bidirektionalen Austausch von Dateninformation und/oder Kommandoinformation unter Verwendung von Meldungsblöcken miteinander verbunden sind, wobei jeder Slave-Station eine Adresse eindeutig zugeordnet ist und der Informationsverkehr auf dem Bus durch die Master-Station derart gesteuert wird, dass die Master-Station zum Anfordern einer Antwortmeldung eine Anforderungsmeldung mit der Adresse einer Slave-Station, von der die Antwortmeldung angefordert wird, auf den Bus sendet. Alle Slave-Stationen überwachen den Bus, um mindestens die Adresseninformation von auf dem Bus befindlichen Meldungen zu prüfen und mit der eigenen Adresse zu vergleichen. Die Slave-Station, von der die Antwortmeldung angefordert wird, quittiert den Empfang der Anforderungsmeldung durch Zurücksenden einer Echomeldung und diese quittierende Slave-Station gibt daraufhin eine in der Anforderungsmeldung angeforderte Antwortmeldung auf den Bus. Die Echomeldung enthält eine Reaktionszeit-Information bezüglich der Zeitspanne, innerhalb der die Antwortmeldung voraussichtlich erfolgen wird.These The object is achieved by a bus system with a master station and one or more slave stations connected to the bidirectional exchange of data information and / or command information using message blocks connected to each other, each slave station an address is uniquely assigned and the information traffic on the bus through the master station like that that is controlled by the master station to request a response message a request message with the address of a slave station, from the response message is requested, sends to the bus. All Monitor slave stations the bus to at least the address information from on the bus Check messages and compare with your own address. The slave station, from the response message is requested, acknowledges receipt of the Request message by resending an echo message and this acknowledgment slave station are then a response message requested in the request message the bus. The echo message contains a reaction time information regarding the period of time, within the response message is expected to occur.
Die in der Echomeldung erhaltene Reaktionszeitinformation ermöglicht es der Master-Station oder einer ihr übergeordneten Steuerung, beispielsweise, in einer Warteschlange stehende parallel abzuarbeitende Aufgaben entsprechend der erforderlichen Zeitdauer so auszuwählen, dass die zur Verfügung stehenden Ressourcen optimal genutzt werden können.The Reaction time information obtained in the echo message makes it possible the master station or a higher-level control, for example, queued tasks to be performed in parallel to select according to the required period of time such that the available resources can be optimally utilized.
Insbesondere kann jedoch die Master-Station in einer Weiterbildung des erfindungsgemäßen Bussystems abhängig von in einer Echomeldung enthaltener Reaktionszeitinformation eine Fehlerzeitspanne festlegt, nach deren Ablauf das Ausbleiben der angeforderten Antwortmeldung als Fehler beurteilt wird.Especially However, the master station in a development of the bus system according to the invention dependent of reaction time information included in an echo message Defines the error period, after the expiration of the requested response message is assessed as an error.
Durch diese Maßnahme kann sichergestellt werden, dass die Zeitspanne bis zum Beurteilen, dass ein Fehler des vorgesehenen Ablaufes vorliegt, nur um das erforderliche Maß länger gewählt werden kann, als die erwartete Reaktionszeit. Falls die Master-Station im Fehlerfall mehrmals, beispielsweise insgesamt dreimal dieselbe Anforderungsmeldung auf den Bus gibt, kann sich die so gewonnene Zeit durch Aggregation schnell bemerkbar machen.By This measure can be ensured that the time until the assessment, that there is an error of the intended procedure, only to the required Measure be chosen longer can, as the expected reaction time. If the master station in the event of an error several times, for example a total of three times the same Request message on the bus, can be won Make time fast through aggregation.
Gemäß einer Weiterbildung der vorliegenden Erfindung werden die Meldungen seriell zwischen der Master-Station und den Slave-Stationen übertragen werden.According to one Further development of the present invention, the messages are serial transferred between the master station and the slave stations become.
Ein serieller Bus mit den Merkmalen der vorliegenden Erfindung kann besonders wirtschaftlich bei hoher Zuverlässigkeit und verbesserter Systemausnutzung erstellt werden.One serial bus with the features of the present invention can particularly economical with high reliability and improved system utilization to be created.
Vorzugsweise beginnt ein Anforderungsmeldungsblock mit einem Adressfeld zum Angeben der adressierten Slave-Stationen und ein Anforderungsmeldungsblock enthält außerdem ein Feld zum Angeben der Größe des Meldungsblocks, ein Kommandofeld und ein Datenfeld.Preferably A request message block begins with an address field to indicate the addressed slave stations and a request message block contains Furthermore a field for specifying the size of the message block, a command field and a data field.
Das Adressfeld zu Beginn eines Meldungsblocks vereinfacht den angeschlossenen Slave-Stationen das Beobachten der einzelnen Meldungsblöcke, um herauszufinden, ob sie selbst adressiert sind. Das Feld zum Angeben der Größe des Meldungsblocks, das vorzugsweise die Anzahl der Bytes des Meldungsblocks oder zumindest die Anzahl der verbleibenden Bytes des Meldungsblocks mit Beginn des Feldes zum Angeben der Größe des Meldungsblocks enthalten kann, ermöglicht ein einfaches Erkennen des Blockendes. Die Trennung zwischen Befehlsfeld und Datenfeld lässt die Slave-Stationen einerseits einfacher die Kommandoinformation erkennen. Es ermöglicht aber auch andererseits das Zurücksenden des Inhaltes des Kommandofeldes von der Slave-Station zur Master-Station. Dadurch wird der Master-Station einerseits ermöglicht, zu prüfen, ob die Slave-Station das Kommando richtig empfangen hat. Andererseits vereinfacht das Zurücksenden des Kommandos in dem Kommandofeld es der Master-Station, die zugehörigen Daten in einem Datenfeld dem vorangegangenen Befehl zuzuordnen.The Address field at the beginning of a message block simplifies the connected Slave stations watching the individual message blocks to find out if they are self-addressed. The field to specify the size of the message block, preferably the number of bytes of the message block or at least the number of remaining bytes of the message block at the beginning the field for specifying the size of the message block may contain a simple recognition of the end of the block. The separation between command field and data field leaves the slave stations on the one hand easier the command information detect. Allows but also on the other hand the resending the contents of the command field from the slave station to the master station. This allows the master station to check whether the Slave station has received the command correctly. On the other hand simplified the resend of the command in the command box of the master station, the associated data in a data field to the previous command.
In einer günstigen Ausgestaltung eines erfindungsgemäßen Bussystems enthält die Echomeldung die gesamte Information der Anforderungsmeldung mit einem zusätzlichen Feld für die Reaktionszeitinformation.In a cheap one Embodiment of a bus system according to the invention contains the echo message the entire information of the request message with an additional Field for the reaction time information.
Durch das Zurücksenden der gesamten Information der Anforderungsmeldung in der Echomeldung wird es der Master-Station ermöglicht, zu prüfen, ob die gesendete Anforderungsmeldung korrekt oder fehlerhaft empfangen worden ist. Das zusätzliche Einbinden eines Feldes für die Reaktionszeitinformation erleichtert die Zuordnung dieser Reaktionszeitinformation zu der entsprechenden Anforderungsmeldung.Sending back all the information of the request message in the echo message allows the master station to check whether the sent request message is correct or faulty has been received. The additional inclusion of a field for the reaction time information facilitates the assignment of this reaction time information to the corresponding request message.
Vorzugsweise ist das Feld für die Reaktionszeitinformation nach den Informationsblöcken der Anforderungsmeldung angehängt. Dadurch kann die Master-Station beim Empfangen einer solchen Meldung erst prüfen, ob die Anforderungsmeldung korrekt von der Slave-Station empfangen worden ist, um im Fehlerfall die Reaktionszeitinformation gegebenenfalls nicht mehr zu berücksichtigen.Preferably is the field for the reaction time information after the information blocks of Request message attached. This allows the master station to receive such a message first check whether the request message is correctly received by the slave station has been to in the event of an error, the reaction time information, if necessary no longer to be considered.
Vorzugsweise enthalten auf den Bus übertragene Meldungsblöcke ein Prüfinformationsfeld, dessen Inhalt aus dem restlichen Inhalt des Meldungsblocks herleitbar ist.Preferably included on the bus transferred message blocks a check information field, its content can be deduced from the remaining contents of the message block is.
In einem solchen Falle hat es sich als sinnvoll erwiesen, dass das Prüfinformationsfeld das letzte Feld eines Meldungsblocks ist.In In such a case, it has proved useful that the Prüfinformationsfeld the last field of a message block is.
Selbstverständlich wird eine solche Prüfinformation für jede Meldung gesondert ermittelt, so dass die Echomeldung die Prüfinformation der Echomeldung, nicht aber die Prüfinformation der vorausgehenden Anforderungsmeldung enthält.Of course it will such check information for every Message determined separately so that the echo message the check information the echo message, but not the check information of the preceding Request message contains.
In einer Weiterbildung eines erfindungsgemäßen Bussystems ist mindestens eine und vorzugsweise mehrere der Slave-Stationen ausgestaltet, die Master-Station durch eine Unterbrechungsmeldung über eine Unterbrechungsleitung von dem Vorliegen übertragungswürdiger Daten zu informieren.In a development of a bus system according to the invention is at least one and preferably several of the slave stations designed, the master station by an interrupt message via an interrupt line from the presence of transferable data to inform.
Durch eine solche Maßnahme können Slave-Stationen auch außerhalb des von der Master-Station oder einer der Master-Station übergeordneten Steuerung vorgesehenen Steuerablaufs Meldungen gesteuert durch die Master-Station auf den Bus zu geben. Insbesondere zum senden von Alarmmeldungen ist eine solche Möglichkeit sehr hilfreich.By such a measure can Slave stations also outside provided by the master station or one of the master station higher-level control Control flow messages controlled by the master station on the Bus to give. In particular for sending alarm messages is a such possibility very helpful.
Eine Weiterbildung eines solchen erfindungsgemäßen Bussystems sieht vor, dass die Master-Station bei vorliegender Unterbrechungsmeldung nacheinander in einer vorbestimmten Reihenfolge die Slave-Stationen mit einer Meldung des Typs "Abfrage auf Unterbrechungsanforderung" adressiert.A Development of such a bus system according to the invention provides that the master station successively in the event of an interrupt message in a predetermined order, the slave stations with a Message of type "Query on interrupt request "addressed.
Hierbei kann in einer Ausgestaltungsform eines solchen Bussystems die vorbestimmte Reihenfolge von der Reihenfolge der vorangehenden Buszugriffe der einzelnen Slave-Stationen abhängen.in this connection In one embodiment of such a bus system, the predetermined Order of the previous bus access order depend on individual slave stations.
Darüber hinaus kann gleichzeitig oder alternativ die vorbestimmte Reihenfolge von einer vorgegebenen Priorisierung abhängen.Furthermore may simultaneously or alternatively the predetermined order of depend on a given prioritization.
Das erfindungsgemäße Bussystem kann in allen Anwendungen eingesetzt werden, bei denen eine einfache und effiziente serielle Kommunikation zum Einsatz kommen soll. Dies kann beispielsweise in der Steuerungs- und Regeltechnik, Mess- und Prüftechnik sein. Anwendungen für ein solches Bussystem sind z.B. Komponententestsysteme, Kabeltestsysteme und andere funktionsintegrierte Systeme.The Bus system according to the invention Can be used in all applications where a simple and efficient serial communication is to be used. This can be used, for example, in the field of control engineering, measuring and control technology Testing Technology be. Applications for such a bus system are e.g. Component test systems, cable test systems and other functionally integrated systems.
Nachstehend wird die Erfindung anhand von Ausführungsbeispielen unter Bezugnahme auf die Figuren näher erläutert. Es zeigt:below The invention will be described with reference to embodiments with reference closer to the figures explained. It shows:
Nachstehend
wird erst unter Bezugnahme auf
Das
Bussystem gemäß dieser
Ausgestaltungsform der Erfindung stellt ein kommandoorientiertes Master-
Slave-Bussystem mit erweiterten Funktionen dar. Das System arbeitet
am effizientesten auf dem Data-Link-Layer in der zweiten Schicht
nach dem OSI-7-Schichtenmodel. Die einzelnen Slave-Stationen
Ein
Kommunikationszyklus besteht aus drei Kommunikationsblöcken:
Am
Anfang eines Kommunikationszyklus wird von der Master-Station
In
besonders günstigen
Ausgestaltungsformen erfindungsgemäßer Bussysteme, wie beispielsweise
in der in
Nachstehend
wird unter Bezugnahme auf die
In
einem in
Das zweite Feld und aufgrund der Länge von einem Byte das Byte 2 ist in einem Kommandoblock das Feld "Byteanzahl". In dem Feld Byteanzahl ist die Summe der Bytes die in diesem Block übertragen werden angegeben ohne die Prüfsumme. Die Anzahl der Bytes ist in diesem Beispiel auf einen maximalen Hexadezimalwert FDH (253) begrenzt.The second field and due to the length byte 2 byte 2 is the number of bytes in a command block. In the Bytes Count field is the sum of the bytes transferred in this block without the checksum. The number of bytes in this example is at a maximum Hexadecimal value FDH (253) limited.
Das dritte Feld, aufgrund der Länge von einem Byte also das Byte 3, ist in einem Kommandoblock das Feld "Kommando". Es können insgesamt 256 Kommandos (Aufgaben) definiert werden.The third field, due to the length of one byte, ie byte 3, the field "command" is in a command block. It can total 256 commands (tasks) can be defined.
Das
vierte Feld ist das Datenfeld und somit enthalten Byte 4 bis max.
Byte 250 Daten, beispielsweise Mess- und/oder Prüfdaten. Es können in
einem Kommandoblock zwischen Null und bis zu max. 250 Bytes Daten
an die Slave-Stationen
Das fünfte Feld und somit das letzte Byte ist das "CRC-8"-Feld oder Prüfsummenfeld und enthält eine reproduzierbare Prüfsumme des Kommandoblocks.The fifth Field and thus the last byte is the "CRC-8" field or checksum field and contains a reproducible checksum of the command block.
In
einem in
In dem Feld Byteanzahl ist jedoch selbstverständlich die Summe der Bytes die in diesem Echoblock übertragen werden angegeben (ohne die Prüfsumme). Entsprechend gibt das Prüfsummenfeld die Prüfsumme des Echoblocks an.In Of course, the byte number field is the sum of the bytes which are transmitted in this echo block are specified (without the checksum). The checksum field gives accordingly the checksum of the Echoblocks on.
Zusätzlich zu
den obengenannten Informationen wird beim Echoblock ein Feld "Reaktionszeit" eingefügt, das
bei einer Zeitauflösung
von 1 mS 16 Bit groß ist.
Dieser Wert "Reaktionszeit" stellt die maximale
Reaktionszeit dar, innerhalb der die adressierte Slave-Station
Aufgrund
des zwei Byte großen
Feldes Reaktionszeit ist, falls auf dem Bussystem für unterschiedliche Blocktypen
die gleiche Blocklänge
verwendet wird, ggf. das Feld Daten um diese zwei Byte kleiner als
im Kommandoblock. In diesem Fall, also wenn die Blocklänge wie
im Kommandoblock auf 253 Bytes begrenzt wäre, könnten in dem Feld Daten, also
in Byte 4 bis max. 248 im Echoblock nur die Daten 0 bis zu max.
248 an die Master-Station
In
einem in
In
der Antwortmeldung stellt im Datenblock das Adressbyte die Adresse
der sendenden Slave-Station
In Byteanzahl ist die Summe der Bytes angegeben, die in diesem Block übertragen werden (ohne Prüfsumme). Die Anzahl der Bytes ist im dargestellten Beispiel auf Hexadezimal FFH (255) begrenzt.In Byte count is the sum of the bytes transmitted in this block be (without checksum). The number of bytes in the example shown is in hexadecimal FFH (255) limited.
In Kommando wird das Kommando zurückgeschickt, das in diesem Buszyklus ausgeführt worden ist.In Command, the command is sent back, that's done in this bus cycle has been.
In
dem Feld Daten, also in Byte 4 bis max. 250 können, wie bereits für den Echoblock
erläutert,
im Datenblock 0 bis zu max. 250 Mess- und Prüfdaten an die Master-Station
Anstelle
der Reaktionszeit im Echoblock hat der Datenblock ein fünftes Feld "Fehlercode". Im Datenblock wird
ein 16 Bit Fehlercode in Hexadezimaldarstellung zur Master-Station
Das Feld CRC-8, also das letzte Byte, enthält auch im Datenblock die Prüfsumme.The Field CRC-8, ie the last byte, also contains the checksum in the data block.
Die
Kommandostruktur des beschriebenen Ausführungsbeispiels sieht vor,
dass für
die einzelnen Aufgaben unabhängig
von den einzelnen Slave-Stationen bis zu 255 Kommandos definiert
werden können.
Hierbei kann dasselbe Kommando in unterschiedlichen Slave-Stationen
unterschiedliche Bedeutungen haben. Das Kommando 00H sollte allerdings
fest zugeordnet sein und bei jeder Slave-Station
In
dem beschriebenen, besonders günstigen
Ausführungsbeispiel
ist ein Indexsystem verwendet. Über
ein solches Indexsystem (Slave-Klientenindex, Softwareversion) kann
die Master-Station
Ein
erfindungsgemäßes Bussystem
gemäß dem hier
beschriebenen Ausführungsbeispiel
sieht eine Selbsttestfunktion für
die Slave-Stationen vor. Mit dem Kommando Selbsttest wird beispielsweise
die Slave-Station
Bei Selbsttest kann hier z.B. der folgende Datenaufbau vorgesehen sein.at Self-test can be here, e.g. the following data structure can be provided.
Ab
Byte 14 können
Slave-Stations-spezifische Daten an die Master-Station
Daten
können
von der Master-Station
Das Bussystem gemäß diesem Ausführungsbeispiel wird als serielles Bussystem realisiert. Die Grundlage können Standard-UART, SPI-System, oder sonstige serielle Transportsysteme sein. Das Bussystem kann in alle Systeme integriert werden, die mit einer seriellen Schnittstelle kommunizieren z.B. PCs, Embedded Systeme, etc. Die Implementierung ist auf vielen erhältlichen Mikrocontrollern sehr einfach möglich. Die Realisierung ist sehr kostengünstig. Das Protokoll benötigt nur sehr wenig Steuerinformation(wenig Overhead). Die Länge der einzelnen Blöcke ist variabel konfigurierbar.The Bus system according to this embodiment is realized as a serial bus system. The foundation can be standard UART, SPI system, or other serial transport systems. The bus system Can be integrated into all systems with a serial port Interface communicate e.g. PCs, embedded systems, etc. The Implementation is very much on many available microcontrollers just possible. The Realization is very cost effective. The protocol is needed very little control information (little overhead). The length of the individual blocks is variably configurable.
Durch eine offene Kommandostruktur ist das Bussystem sehr flexibel. Durch Prüfsummenbildung in Datenblöcken ist die Datenübertragung kontrolliert. Je nach physikalischer Ausführungsvariante in der ersten Schicht können bis zu 255 Slave-Stationen an einem Bussystem betrieben werden. Eine physikalische Realisierung ist beispielsweise möglich unter Verwendung von RS232- oder RS485/422-Schnittstellen, TTY- oder CMOS-Halbleitertechnologie, CAN-Treiber, Standard-Bustreiber etc.By an open command structure, the bus system is very flexible. By checksum in data blocks is the data transfer controlled. Depending on the physical design variant in the first layer can Up to 255 slave stations can be operated on one bus system. A physical realization is possible for example under Use of RS232 or RS485 / 422 interfaces, TTY or CMOS semiconductor technology, CAN driver, standard bus driver Etc.
Nachfolgend
werden unter Bezugnahme auf die
Die
in der
Die
Master-Station
Der Aufbau dieser zweiten Ausgestaltungsform ist sehr einfach und diese physikalische Schicht ist demnach sehr kostengünstig realisierbar. Sie eignet sich besonders gut zur Übertragung von nicht zu großen Datenmengen über kürzere Entfernungen.Of the Structure of this second embodiment is very simple and this physical layer is therefore very cost feasible. It is suitable especially good for transmission not too large amounts of data over shorter distances.
In
dem Ausführungsbeispiel
nach
Aufgrund
der differentiellen Signalübertragung
auf diesem Bussystem können
mit Hilfe einer solchen Busanordnung gemäß
In
der Ausgestaltungsform nach
Da
die Busausgangstreiber
Wenn in den vorstehend beschriebenen Ausführungsbeispielen jeweils neben einer Master-Station zwei Slave-Stationen dargestellt sind, so sollte das nicht einschränkend sondern lediglich erläuternd verstanden werden. Ein erfindungsgemäßes Bussystem kann mit einer Slave-Station oder mehreren Slave- Stationen betrieben werden. In dem vorstehend beschriebenen Ausführungsbeispiel ist die Anzahl bei bidirektionalem Datenverkehr auf 31 Stationen beschränkt. Durch Änderung der Blockstruktur kann dies aber auch erweitert werden.If in the embodiments described above, respectively a master station two slave stations are shown, so should not restrictive but merely explanatory be understood. An inventive bus system can with a Slave station or multiple slave stations are operated. In the above described embodiment is the number of bidirectional traffic at 31 stations limited. By change but this can also be extended in the block structure.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2001144316 DE10144316B4 (en) | 2001-09-10 | 2001-09-10 | Bus system according to the master-slave principle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE2001144316 DE10144316B4 (en) | 2001-09-10 | 2001-09-10 | Bus system according to the master-slave principle |
Publications (2)
Publication Number | Publication Date |
---|---|
DE10144316A1 DE10144316A1 (en) | 2003-04-03 |
DE10144316B4 true DE10144316B4 (en) | 2006-03-02 |
Family
ID=7698350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE2001144316 Expired - Lifetime DE10144316B4 (en) | 2001-09-10 | 2001-09-10 | Bus system according to the master-slave principle |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE10144316B4 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011122074A1 (en) | 2010-12-20 | 2012-06-21 | Dmos Gmbh | Bus system for communication field, has bus coupler whose energy consumption is reduced by switching subscriber circuits to sleep state based on syntactic or semantic evaluation of bus line regarding ongoing current communications |
CN116021160B (en) * | 2022-12-29 | 2023-10-27 | 中国电力科学研究院有限公司 | Method and system for controlling laser etching equipment through metering field handheld equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0051332B1 (en) * | 1980-10-31 | 1984-04-11 | Koninklijke Philips Electronics N.V. | Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations |
DE4226876C2 (en) * | 1992-08-13 | 1997-08-28 | Rohde & Schwarz | Serial bus system |
US5742186A (en) * | 1995-04-28 | 1998-04-21 | Victor Company Of Japan, Ltd. | Asynchronous serial communication channel network |
-
2001
- 2001-09-10 DE DE2001144316 patent/DE10144316B4/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0051332B1 (en) * | 1980-10-31 | 1984-04-11 | Koninklijke Philips Electronics N.V. | Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations |
DE4226876C2 (en) * | 1992-08-13 | 1997-08-28 | Rohde & Schwarz | Serial bus system |
US5742186A (en) * | 1995-04-28 | 1998-04-21 | Victor Company Of Japan, Ltd. | Asynchronous serial communication channel network |
Also Published As
Publication number | Publication date |
---|---|
DE10144316A1 (en) | 2003-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69433882T2 (en) | Device for transmitting data | |
DE10026918B4 (en) | Virtual network adapter | |
DE102005053103B4 (en) | Method and system for transmitting cyclic and acyclic data | |
EP1632865B1 (en) | Databus interface for a controller and controller with a databus interface | |
DE102004052075A1 (en) | Node for a bus network, bus network and method for configuring the network | |
DE69829429T2 (en) | Data communication system and used in this electronic control unit | |
WO2018077528A1 (en) | Detection of manipulations in a can network by checking can identifiers | |
EP1548986B1 (en) | Bus system for an airplane | |
DE10144316B4 (en) | Bus system according to the master-slave principle | |
DE102011004358B3 (en) | Method for transmitting data over a synchronous serial data bus | |
EP3044912A1 (en) | Method for the provision and transmission of data, in particular with a link to a vehicle | |
WO2011138061A1 (en) | Method and device for securing data packets to be transmitted via an interface | |
DE10340806B3 (en) | Universal asynchronous receiver/transmitter (UART)-based field bus systems interface for e.g. microprocessors associated with sensors, includes comparator to detect user conflict or short circuit | |
EP4018603B1 (en) | Method for detecting the position of at least one bus subscriber | |
EP4018600B1 (en) | Method for recognising the position of a bus subscriber | |
DE102004054016A1 (en) | Control unit for controlling and / or regulating at least one vehicle function | |
DE4005087C1 (en) | Connector unit for domestic power installation - has adaptor for specific function allowing data transmission via bus and data lines | |
BE1026569B1 (en) | Control and data transmission system to support various communication protocols and an adapter module | |
EP2651079B1 (en) | Electrical installation arrangement | |
EP3032779B1 (en) | Method for determining signal quality in a can protocol based network | |
DE10243319B4 (en) | Secure data transmission | |
EP1642422B1 (en) | Adaptation of a vehicle network to modified requirements | |
EP1515237B1 (en) | Interface for a UART-based bus system | |
WO2017016744A1 (en) | Integrated circuit for operating on a bus, and method for operating the integrated circuit | |
DE102007013995B4 (en) | signal distributor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OP8 | Request for examination as to paragraph 44 patent law | ||
8364 | No opposition during term of opposition | ||
R071 | Expiry of right |