DE102007053667A1 - Method for data exchange in bus system, involves applying data frame on bus for communication of master with slave, where data frame is provided with header section which contains starting information - Google Patents

Method for data exchange in bus system, involves applying data frame on bus for communication of master with slave, where data frame is provided with header section which contains starting information Download PDF

Info

Publication number
DE102007053667A1
DE102007053667A1 DE200710053667 DE102007053667A DE102007053667A1 DE 102007053667 A1 DE102007053667 A1 DE 102007053667A1 DE 200710053667 DE200710053667 DE 200710053667 DE 102007053667 A DE102007053667 A DE 102007053667A DE 102007053667 A1 DE102007053667 A1 DE 102007053667A1
Authority
DE
Germany
Prior art keywords
slave
data frame
master
bus
data
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.)
Granted
Application number
DE200710053667
Other languages
German (de)
Other versions
DE102007053667B4 (en
Inventor
Eduard Pankratz
Tatjana Reinhardt
Michael Röttger
Johannes Gremme
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Behr Hella Thermocontrol GmbH
Original Assignee
Behr Hella Thermocontrol GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Behr Hella Thermocontrol GmbH filed Critical Behr Hella Thermocontrol GmbH
Priority to DE200710053667 priority Critical patent/DE102007053667B4/en
Publication of DE102007053667A1 publication Critical patent/DE102007053667A1/en
Application granted granted Critical
Publication of DE102007053667B4 publication Critical patent/DE102007053667B4/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/4013Management of data rate on the bus

Abstract

The method involves applying a data frame on a single-wire bus (12) for communication of a master (14) with a slave (16). The data frame is provided with a header section which contains starting information with information about data transmission rate. A checksum section is provided with a checksum and checksum test 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 Slave angeschlossen sind.bus systems are used to connect with each other networked participants as possible little effort to connect communication lines with each other. Such a system is a bus system. The The simplest form of a bus system has a single-wire bus line on, on which a master and several slaves are connected.

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 zum Datenaustausch in einem Bussystem mit einem Ein-Draht-Bus, an dem ein Master und mehrere Slave angeschlossen sind, vorgeschlagen, wobei bei dem Verfahren

  • – von dem Master zur Kommunikation mit den Slave ein Datenrahmen auf den Bus gelegt wird, wobei der Datenrahmen versehen ist mit einem Headerabschnitt, der eine Startinformation mit Information über die Datenübertragungsrate enthält, mit einem Datenabschnitt, der eine Information über den oder die Slave, welcher oder welche vom Master angesprochen werden soll/sollen, und über die Länge der für den oder die Slave vorgesehenen Information und für jeden Slave einen Bereich aufweist, in den der betreffende Slave eine Information schreiben kann, und mit einem Checksummenab schnitt, der eine Checksumme und eine Checksummenprüfinformation enthält.
To solve this problem, a method for data exchange in a bus system with a single-wire bus to which a master and a plurality of slaves are connected, proposed by the invention, wherein the method
  • A data frame is placed on the bus by the master for communication with the slaves, the data frame being provided with a header section containing start information with information about the data transmission rate, with a data section containing information about the slave or slaves or which should / should be addressed by the master, and over the length of the information provided for the slave or slaves and for each slave has an area in which the slave concerned can write information, and with a Checksummenab cut, a checksum and contains a checksum check information.

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 Slave 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. Of all the 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 Slave 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 Slave wants to query diagnostic data or, for example, a "broadcast" information to all Participants want to send without these 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:

1 ein Blockschaltbild für ein Ein-Draht-Bussystem mit acht Teilnehmern und einer Steuereinheit und 1 a block diagram for a single-wire bus system with eight participants and a control unit and

2 Diagramme über den Zeitverlauf eines Datenrahmens. 2 Diagrams over the time course of a data frame.

In 1 ist sehr schematisch ein Bussystem 10 mit einem Ein-Draht-Bus 12 gezeigt, an den ein Master 14 und in diesem Ausführungsbeispiel acht Slave 16 angeschlossen sind.In 1 is very schematically a bus system 10 with a one-wire bus 12 shown to a master 14 and in this embodiment eight slaves 16 are connected.

2 zeigt im oberen Teil ganz allgemein die einzelnen Abschnitte eines Datenrahmens 18, der zur Kommunikation mit den Slave 16 vom Master 14 aus auf den Bus 12 gelegt wird. Der Datenrahmen 18 weist einen Headerabschnitt 20 auf, der eine Startinformation (synchbrake) und eine Information über die Datenübertragungsrate enthält (synchfield). Im Anschluss daran weist der Datenrahmen 18 einen Datenabschnitt 22 auf, der ein Feld (reserve ID) für den Typus von Datenprotokoll und ein Feld mit einer Information über den Slave 16, der vom Master 14 angesprochen wird, und über die Länge der für den Slave 16 bestimmten Information enthält. Im Anschluss daran folgen Zeitfenster (Bereiche) für die Daten des Master 14 an den Slave 16 und für die Slave 16 selbst, die in die Zeitfenster Daten einschreiben können. Dabei ist für jeden Slave 16 des Bussystems 10 ein eigenes Zeitfenster bzw. ein eigener Bereich im Datenrahmen 18 vorgesehen, innerhalb dessen der betreffende Slave 16 "seine" Daten für den Master 14 einschreibt. Am Ende des Datenrahmens 18 befindet sich ein Checksummenabschnitt 24, der eine Checksumme umfasst, die vom Master 14 ausgesendet wurde. In jedem Slave 16 wird nun aufgrund interner Daten und der vom betreffenden Slave 16 empfangenen bzw. ausgesandten Daten ebenfalls eine Checksumme gebildet. Wenn die von den einzelnen Slave 16 gebildeten Checksummen sämtlich identisch sind mit der Checksumme des Master 14, wird eine Checksummenprüfinformation auf den Bus 12 gelegt und der Datenrahmen ist abgeschlossen. 2 shows in the upper part in general the individual sections of a data frame 18 who is in communication with the slave 16 from the master 14 out on the bus 12 is placed. The data frame 18 has a header section 20 on, which contains a start information (synchbrake) and information about the data transfer rate (synchfield). Following this, the data frame points 18 a data section 22 on, a field (reserve ID) for the type of data protocol and a field with information about the slave 16 from the master 14 is addressed, and over the length of the slave 16 contains certain information. Following there ran follow time windows (areas) for the data of the master 14 to the slave 16 and for the slave 16 even those who can write data into the time slots. It is for each slave 16 of the bus system 10 a separate time window or a separate area in the data frame 18 provided within which the relevant slave 16 "his" data for the master 14 enrolls. At the end of the data frame 18 there is a checksum section 24 that includes a checksum from the master 14 was sent out. In every slave 16 will now be based on internal data and the slave concerned 16 received or sent data also formed a checksum. If that of the individual slave 16 The checksums formed are all identical to the checksum of the master 14 , a checksum check information is put on the bus 12 and the data frame is complete.

Das untere Diagramm in 2 zeigt den Fall eines Datenrahmens für ein Bussystem 10 mit einem Master und zwei Slave.The lower diagram in 2 shows the case of a data frame for a bus system 10 with a master and two slaves.

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)

Verfahren zum Datenaustausch in einem Bussystem mit einem Ein-Draht-Bus, an dem ein Master (14) und mehrere Slave (16) angeschlossen sind, wobei bei dem Verfahren von dem Master (14) zur Kommunikation mit den Slave (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 Slave (16), welcher oder welche vom Master (14) angesprochen werden soll/sollen, und über die Länge der für den oder die Slave (16) vorgesehenen Information und für jeden Slave (16) einen Bereich aufweist, in den der betreffende Slave (16) eine Information schreiben kann, und – einem Checksummenabschnitt, der eine Checksumme und eine Checksummenprüfinformation enthält.Method for exchanging data in a bus system with a single-wire bus to which a master ( 14 ) and several slaves ( 16 ), wherein in the method of the master ( 14 ) for communication with the slave ( 16 ) a data frame ( 18 ) on the bus ( 12 ), the data frame ( 18 ) is provided with - a header section ( 20 ) containing start information with information about the data transmission rate, - a data section containing information about the slave (s) ( 16 ), which or which of the master ( 14 ), and the length of the slave (s) ( 16 ) and for each slave ( 16 ) has an area into which the relevant slave ( 16 ) can write an information, and - a checksum section containing a checksum and checksum check information.
DE200710053667 2007-11-08 2007-11-08 Method for data exchange in a bus system Active DE102007053667B4 (en)

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 true DE102007053667A1 (en) 2009-05-14
DE102007053667B4 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008062865A1 (en) * 2008-05-30 2009-12-03 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
DE102011079688A1 (en) * 2010-08-03 2012-04-05 Continental Teves Ag & Co. Ohg Communication method with echo
DE102008057061B4 (en) * 2007-12-14 2012-10-11 Infineon Technologies Ag A master and slave communication device for communicating on a communication link with a limited resource
DE102013204891A1 (en) * 2013-03-20 2014-09-25 Robert Bosch Gmbh Method for the reconstruction of measured data
DE102020100987A1 (en) 2020-01-16 2021-07-22 Beckhoff Automation Gmbh Method for data communication between participants in an automation system

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008057061B4 (en) * 2007-12-14 2012-10-11 Infineon Technologies Ag A master and slave communication device for communicating on a communication link with a limited resource
DE102008062865A1 (en) * 2008-05-30 2009-12-03 Continental Teves Ag & Co. Ohg Serial peripheral interface interface with reduced number of connection lines
US9042274B2 (en) 2008-05-30 2015-05-26 Continental Teves Ag & Co. Ohg Serial peripheral interface having a reduced number of connecting lines
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
DE102011079688A1 (en) * 2010-08-03 2012-04-05 Continental Teves Ag & Co. Ohg Communication method with echo
DE102013204891A1 (en) * 2013-03-20 2014-09-25 Robert Bosch Gmbh Method for the reconstruction of measured data
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

Also Published As

Publication number Publication date
DE102007053667B4 (en) 2010-01-14

Similar Documents

Publication Publication Date Title
DE102007053667B4 (en) Method for data exchange in a bus system
DE2165667C3 (en) Time division multiplex transmission equipment
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.
DE10147445A1 (en) Method and device for transmitting information on a bus system and bus system
DE102007051657A1 (en) Communication system with a CAN bus and method for operating such a communication system
DE69829429T2 (en) Data communication system and used in this electronic control unit
EP2795848B1 (en) Subscriber station of a bus system and method for transferring messages between subscriber stations of a bus system
EP3120506A1 (en) Participant station for a bus system, and method for increasing the transmission capacity in a bus system
DE102011103938B3 (en) Method for operating a bus system for communication with a plurality of communication participants and motor vehicle
AT412315B (en) INSTALLATION FOR THE TRANSFER OF DATA
DE10307424A1 (en) Data switching device and multiplex communication systems
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
DE102008012730B3 (en) Electronic control and diagnostic device for operating a valve unit
AT500350B1 (en) APPENDIX FOR TRANSFERRING DATA IN A SERIAL, BIDIRECTIONAL BUS
DE2539533C3 (en) Circuit arrangement for data transmission in time division multiplex data switching systems
DE3110614C2 (en) Telecontrol device with several area networks
DE102010044993A1 (en) Method for data transmission and device for environment detection
DE102007053625B3 (en) Data exchanging method for e.g. single wire bus system, involves issuing release of execution of potential of action by master before notification of request by slave, when defined conditions are fulfilled
EP3703333B1 (en) Method, apparatus and system for processing at least one information item in a safety system
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
EP1497954B1 (en) Method and device for padding data segments with a fill pattern and subsequent overwriting with information, in addition to corresponding bus system
DE102017117225B3 (en) Communication system with bus and coding line
WO2003047224A1 (en) Method and device for debugging an xdsl line card
DE3621105A1 (en) METHOD FOR TRANSMITTING INFORMATION BETWEEN SELF-PARTICIPANTS OF A SYSTEM THROUGH A SERIAL INTERFACE AND ARRANGEMENT FOR IMPLEMENTING THE METHOD

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