DE102007053667B4 - Method for data exchange in a bus system - Google Patents
Method for data exchange in a bus system Download PDFInfo
- Publication number
- DE102007053667B4 DE102007053667B4 DE200710053667 DE102007053667A DE102007053667B4 DE 102007053667 B4 DE102007053667 B4 DE 102007053667B4 DE 200710053667 DE200710053667 DE 200710053667 DE 102007053667 A DE102007053667 A DE 102007053667A DE 102007053667 B4 DE102007053667 B4 DE 102007053667B4
- Authority
- DE
- Germany
- Prior art keywords
- information
- data
- master
- slave
- slaves
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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
Verfahren zum Datenaustausch in einem Bussystem mit einem Ein-Draht-Bus, an dem ein Master (14) und mehrere Slaves (16) angeschlossen sind, wobei bei dem Verfahren von dem Master (14) zur Kommunikation mit den Slaves (16) ein Datenrahmen (18) auf den Bus (12) gelegt wird, wobei der Datenrahmen (18) versehen ist mit
– einem Headerabschnitt (20), der eine Startinformation mit Information über die Datenübertragungsrate enthält,
– einem Datenabschnitt, der eine Information über den oder die Slaves (16), welcher oder welche vom Master (14) angesprochen werden soll/sollen, und über die Länge der für den oder die Slaves (16) vorgesehenen Information enthält und der pro Slave (16) jeweils einen eigenen Bereich aufweist, in den der betreffende Slave (16) eine Information schreiben kann, so dass in jedem Datenrahmen (18) Informationen über sämtliche Slaves (16) vorliegen, und
– einem Checksummenabschnitt, der eine Checksumme und eine Checksummenprüfinformation enthält.Method for data exchange in a bus system with a single-wire bus, to which a master (14) and several slaves (16) are connected, wherein in the method of the master (14) for communication with the slaves (16) a data frame (18) is placed on the bus (12), wherein the data frame (18) is provided with
A header section (20) containing start information with information about the data transfer rate,
A data section containing information about the slave (s) (16) to be addressed by the master (14) and the length of the information intended for the slave (s) (16) and that per slave (16) each having its own area, in which the respective slave (16) can write information, so that in each data frame (18) information about all slaves (16) are present, and
A checksum section containing a checksum and checksum check information.
Description
Die Erfindung betrifft ein Verfahren für den Datenaustausch in einem mastergesteuerten Bussystem.The The invention relates to a method for data exchange in one master-controlled bus system.
Bussysteme
werden eingesetzt, um miteinander vernetzte Teilnehmer mit möglichst
geringem Aufwand an Kommunikationsleitungen miteinander zu verbinden.
Bei einem derartigen System handelt es sich um ein Bussystem. Die
einfachste Form eines Bussystems weist eine Ein-Draht-Busleitung
auf, an der ein Master und mehrere Slaves angeschlossen sind. Beispiele
für derartige
Bussysteme und deren Kommunikationsprotokollen finden sich in
Aus Kostengründen ist man daran interessiert, das Bussystem so einfach wie möglich zu halten. Ein Beispiel für ein recht einfaches Bussystem ist der LIN-Bus, der allerdings in seiner Übertragungsrate nach oben hin begrenzt ist.Out cost reasons One is interested in making the bus system as easy as possible hold. An example for a fairly simple bus system is the LIN bus, which, however, in its transmission rate is limited to the top.
Aufgabe der Erfindung ist es, bei einem einfachen Bussystem mit vergleichsweise niedriger zulässiger Übertragungsrate die Datenübertragungseffektivität zu steigern.task The invention is in a simple bus system with comparatively low permissible transmission rate to increase data transmission efficiency.
Zur Lösung dieser Aufgabe wird mit der Erfindung ein Verfahren nach Anspruch 1 zum Datenaustausch in einem Bussystem mit einem Ein-Draht-Bus, an dem ein Master und mehrere Slaves angeschlossen sind, vorgeschlagen.to solution This object is achieved with the invention, a method according to claim 1 for data exchange in a bus system with a single-wire bus, to which one master and several slaves are connected proposed.
Nach dem erfindungsgemäßen Datenübertragungsverfahren sind innerhalb jedes vom Master auf den Bus gelegten Datenrahmen Bereiche (Zeitfenster) vorgesehen, innerhalb derer bzw. in die die Teilnehmer Daten einschreiben können. Für jeden am Bus angeschlossenen Slave (Teilnehmer) ist ein derartiges Zeitfenster vorgesehen. Pro Datenrahmen kann also der Master einerseits Informationen an einen oder mehrere der Slaves versenden als auch gleichzeitig von diesen empfangen. Von sämtlichen Slaves liegen also in jedem Datenrahmen Informationen (z. B. Statusinformationen) vor. Hierdurch erhöht sich die Effektivität der Datenübertragung und des Datenaustausches.To the data transmission method according to the invention are within each data frame placed on the bus by the master Areas (time window) provided within or in which the participants Can write data. For everyone Bus connected slave (subscriber) is such a time window intended. On the one hand, the master can therefore provide information per data frame send to one or more of the slaves as well as simultaneously received by these. From all slaves So there is information in every data frame (eg status information) in front. This increases the effectiveness the data transmission and data exchange.
Darüber hinaus umfasst der Datenrahmen nach dem erfindungsgemäßen Verfahren einen Checksummenabschnitt, der eine Checksumme und von jedem Slave eine Checksummenprüfinformation enthält (ggf. von jedem Slave). Jeder Teilnehmer prüft dabei die Checksumme. Erst wenn sämtliche Teilnehmer die Checksumme als in Ordnung quittiert haben, ist der Datenaustausch des betreffenden Datenrahmens erfolgreich abgeschlossen. Andernfalls muss der Datenrahmen mit den jeweiligen Informationen nochmals auf den Bus gelegt werden.Furthermore the data frame comprises a checksum section according to the method of the invention, which contains a checksum and from each slave a checksum check information (possibly from each slave). Each participant checks the checksum. First if all participants the checksum have acknowledged as OK, is the data exchange the data frame concerned. Otherwise, must the data frame with the respective information again on the Bus to be laid.
In vorteilhafter Weiterbildung der Erfindung kann vorgesehen sein, hinter dem Headerabschnitt noch eine Information einzubinden, die Aufschluss darüber gibt, welches Datenprotokoll mit welcher Bedeutung versendet wird. So existieren Situationen, in denen der Master beispielsweise von sämtlichen Slaves Diagnosedaten abfragen will oder aber beispielsweise eine ”Broadcast”-Information an alle Teilnehmer senden will, ohne dass diese z. B. antworten müssen. Es kann auch sein, dass das Bussystem einen Teilnehmer (z. B. Sensor) aufweist, der nur recht selten angesprochen bzw. abgefragt wird; ein spezielles Datenübertragungsprotokoll würde dann einen solchen Teilnehmer mit einbinden. Diese unterschiedlichen Datenaustauschprotokolle können, wie gesagt, durch eine entsprechende, in den Datenrahmen eingebettete Kennungsinformation spezifiziert werden.In Advantageous development of the invention can be provided behind the header section to include information that Information about it specifies which data protocol is sent with which meaning. So there are situations in which the master, for example, of all Slaves wants to query diagnostic data or, for example, a "broadcast" information wants to send to all participants without this z. B. must answer. It it can also be that the bus system has a subscriber (eg sensor) which is rarely addressed or queried; a special data transfer protocol then would involve such a participant. These different ones Data exchange protocols can, as I said, by a corresponding, embedded in the data frame Identification information to be specified.
Die Erfindung wird nachfolgend anhand der Zeichnung näher erläutert. Im Einzelnen zeigen dabei:The The invention will be explained in more detail with reference to the drawing. in the Individuals show:
In
Das
untere Diagramm in
- 1010
- Bussystembus system
- 1212
- Ein-Draht-Bus, BusOne-wire bus, bus
- 1414
- Mastermaster
- 1616
- Slaveslave
- 1818
- Datenrahmendata frames
- 2020
- Headerabschnittheader section
- 2222
- DatenabschnittRelated Info
- 2424
- ChecksummenabschnittChecksum section
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200710053667 DE102007053667B4 (en) | 2007-11-08 | 2007-11-08 | Method for data exchange in a bus system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200710053667 DE102007053667B4 (en) | 2007-11-08 | 2007-11-08 | Method for data exchange in a bus system |
Publications (2)
Publication Number | Publication Date |
---|---|
DE102007053667A1 DE102007053667A1 (en) | 2009-05-14 |
DE102007053667B4 true DE102007053667B4 (en) | 2010-01-14 |
Family
ID=40530586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE200710053667 Active DE102007053667B4 (en) | 2007-11-08 | 2007-11-08 | Method for data exchange in a bus system |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102007053667B4 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7809872B2 (en) * | 2007-12-14 | 2010-10-05 | Infineon Technologies Ag | Master and slave device for communicating on a communication link with limited resource |
DE102008062865B4 (en) * | 2008-05-30 | 2016-09-22 | Continental Teves Ag & Co. Ohg | Serial peripheral interface interface with reduced number of connection lines |
DE102009005453A1 (en) * | 2009-01-21 | 2010-07-22 | Ags Elektronik Gmbh | Sensor bus system for use in building, has field units with signal input acting on switchable low impedance path, where path is activated in associated data segment depending on signal input, and data part with data segment for field units |
KR20130099023A (en) * | 2010-08-03 | 2013-09-05 | 콘티넨탈 테베스 아게 운트 코. 오하게 | Communication method with echo |
DE102013204891B4 (en) * | 2013-03-20 | 2021-03-25 | Robert Bosch Gmbh | Method for the reconstruction of measurement data |
DE102020100987A1 (en) | 2020-01-16 | 2021-07-22 | Beckhoff Automation Gmbh | Method for data communication between participants in an automation system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5495240A (en) * | 1990-12-08 | 1996-02-27 | Deutsche Itt Industries Gmbh | Master-slave data transmission system employing a flexible single-wire bus |
US6990540B2 (en) * | 2001-09-26 | 2006-01-24 | Robert Bosch Gmbh | Method and device for transmitting information on a bus system, and a bus system in which different information is uniquely assigned different information identifiers |
-
2007
- 2007-11-08 DE DE200710053667 patent/DE102007053667B4/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5495240A (en) * | 1990-12-08 | 1996-02-27 | Deutsche Itt Industries Gmbh | Master-slave data transmission system employing a flexible single-wire bus |
US6990540B2 (en) * | 2001-09-26 | 2006-01-24 | Robert Bosch Gmbh | Method and device for transmitting information on a bus system, and a bus system in which different information is uniquely assigned different information identifiers |
Also Published As
Publication number | Publication date |
---|---|
DE102007053667A1 (en) | 2009-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102007053667B4 (en) | Method for data exchange in a bus system | |
DE4223600C2 (en) | Multiprocessor computer system and method for transmitting control information and data information between at least two processor units of a computer system | |
CH632365A5 (en) | DATA EXCHANGE PROCESS BETWEEN MULTIPLE PARTNERS. | |
DE102006018871A1 (en) | Method for operating a data bus and data bus system | |
EP2795848A1 (en) | Subscriber station of a bus system and method for transferring messages between subscriber stations of a bus system | |
WO2015139892A1 (en) | Participant station for a bus system, and method for increasing the transmission capacity in a bus system | |
DE102014105207B4 (en) | Method for operating a communication network and communication network | |
DE102011103938B3 (en) | Method for operating a bus system for communication with a plurality of communication participants and motor vehicle | |
DE102007061724A1 (en) | Method for transmitting data in a cycle-based communication system | |
DE112008001963T5 (en) | Distribution device, communication system and communication method | |
DE3838152C2 (en) | ||
Schriewer et al. | Globale Diffusionsdynamik und kontextspezifische Aneignung:: Konzepte und Ansätze historischer Internationalisierungsforschung | |
DE10145219A1 (en) | Method and device for generating program interruptions for participants in a bus system and bus system | |
Bonacker et al. | Politischer Protest zwischen latenten Strukturen und manifesten Konflikten. Perspektiven soziologischer Protestforschung am Beispiel der (neuen) Friedensbewegung | |
DE102007045345A1 (en) | motor vehicle | |
AT500350B1 (en) | APPENDIX FOR TRANSFERRING DATA IN A SERIAL, BIDIRECTIONAL BUS | |
DE102008012730B3 (en) | Electronic control and diagnostic device for operating a valve unit | |
DE10216920A1 (en) | Checking monitoring function of bus system involves providing second time section after communications cycle in which no messages can be transmitted and in which monitoring function is checked | |
EP4273773A2 (en) | Platform apparatus for actively distributed quantitative collective knowledge | |
DE102007036888B3 (en) | Address allocation method for subscriber in bus system, involves sending request to subscriber over bus under modification of basic address by CPU, and assigning system address to subscriber by CPU when request is reported | |
DE102010044993A1 (en) | Method for data transmission and device for environment detection | |
WO2003047224A1 (en) | Method and device for debugging an xdsl line card | |
WO2011020660A1 (en) | Tachograph having an interface for an external data input device | |
WO2015078440A1 (en) | Platform device for passively distributed qualitative collective knowledge | |
DE102020213245A1 (en) | Method and device for generating a pseudo-random sequence of numbers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OP8 | Request for examination as to paragraph 44 patent law | ||
8364 | No opposition during term of opposition | ||
R081 | Change of applicant/patentee |
Owner name: BEHR-HELLA THERMOCONTROL GMBH, DE Free format text: FORMER OWNER: BEHR-HELLA THERMOCONTROL GMBH, 70469 STUTTGART, DE |