DE102007053625B3 - 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 - Google Patents

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 Download PDF

Info

Publication number
DE102007053625B3
DE102007053625B3 DE200710053625 DE102007053625A DE102007053625B3 DE 102007053625 B3 DE102007053625 B3 DE 102007053625B3 DE 200710053625 DE200710053625 DE 200710053625 DE 102007053625 A DE102007053625 A DE 102007053625A DE 102007053625 B3 DE102007053625 B3 DE 102007053625B3
Authority
DE
Germany
Prior art keywords
slave
master
action
execution
request
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
Application number
DE200710053625
Other languages
German (de)
Inventor
Eduard Pankratz
Tatjana Reinhardt
Jürgen Wöhler
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 DE200710053625 priority Critical patent/DE102007053625B3/en
Application granted granted Critical
Publication of DE102007053625B3 publication Critical patent/DE102007053625B3/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

Abstract

The method involves connecting a master (14) and a slave (16) to a single wire bus (12) of a bus system (10). The slave notifies an action to be developed to the master on externally received request. The master releases the execution of the action during fulfillment of defined conditions. The master issues the release of execution of the potential of the action before the notification of the request by the slave, when the defined conditions are fulfilled, where the action is requested externally.

Description

Die Erfindung betrifft ein Verfahren zum Datenaustausch in einem Bussystem mit einem Ein-Draht-Bus, an den ein Master und mindestens ein Slave angeschlossen sind.The The invention relates to a method for data exchange in a bus system with a one-wire bus to which a master and at least one slave are connected.

Derartige Bussysteme werden beispielsweise zur Vernetzung von miteinander korrespondierenden Teilnehmern eines Gesamtsystems verwendet. Die Kommunikation zwischen den Teilnehmern erfolgt dabei über eine Steuereinheit (Master), an den jeder Teilnehmer eine von extern erhaltene Anforderung (beispielsweise Aktivierung einer durch den Teilnehmer realisierbaren Funktion) meldet, um dann in einem nächsten Schritt der Datenkommunikation vom Master eine Freigabe zur Ausführung der Aktion zu erhalten. Derartige Master-Slave-Bussysteme sind weit verbreitet und sollen, je nach Anwendungsfall, kostenoptimiert sein. Ein Beispiel für eine derartige Busarchitektur ist die Vernetzung mehrerer Geräte, Schalter, Sensoren oder dergleichen in einem Fahrzeug. So können beispielsweise mehrere Bedieneinheiten und Fahrzeugkomponenten miteinander über eine Master-Slave-Busausbildung vernetzt sein.such Bus systems, for example, for networking of each other corresponding participants of an overall system used. The Communication between the participants takes place via a Control unit (master), to which each participant one from externally request received (for example activation of a by the Participants realizable function) reports, then in a next step the data communication from the master a release for the execution of To receive action. Such master-slave bus systems are widely used and should, depending on the application, be cost-optimized. An example for one such bus architecture is the networking of multiple devices, switches, Sensors or the like in a vehicle. So, for example several control units and vehicle components with each other via a Be networked master-slave bus training.

Beispiele für derartige Bussysteme sind z. B. aus US 2007/0186021 A1 und US 4,503,513 A bekannt.Examples of such bus systems are z. B. off US 2007/0186021 A1 and US 4,503,513 A known.

Wird bei einem derartigen System eine vernetzte Einheit, beispielsweise heizbare Heckscheibe eines Fahrzeuges, aktiviert, so ist es auch Bedienkomfortgründen wünschenswert, wenn eine optische Rückmeldung, dass die entsprechende Taste der zur beheizbaren Heckscheibe gehörenden Bedieneinheit gedrückt ist, erfolgt. Die Aktivierung der Heckscheibe ist aber abhängig von der Auslastung des Bordnetzes. Ist das Bordnetz bereits relativ stark belastet, so darf die Funktion "Beheizbare Heckscheibe Ein" nicht ausgeführt werden. Eine beispielsweise von einem Bediener gewünschte Aktion eines Slave muss also vom Master freigegeben werden, der im Falle der Freigabe diese Information an den Slave zurücksendet, woraufhin dieser die Aktion ausführen kann und auch eine optische Rückmeldung an den Bediener gibt. Dies erfordert Zeit, was den Fahrzeuginsassen oder allgemein die das System bedienende Person irritieren kann.Becomes in such a system a networked unit, for example heated rear window of a vehicle, activated, so it is Ease of use reasons desirable, if an optical feedback, that the corresponding button of the control unit belonging to the heated rear window is pressed, he follows. Activation of the rear window is dependent on the utilization of the electrical system. Is the electrical system already relative heavily loaded, the function "Heated rear window on" must not be executed. An example of an operator desired action of a slave must So be released by the master who in case of release this Return information to the slave, then he will do the action can and also a visual feedback to the operator. This requires time, what the vehicle occupants or In general, the person operating the system can be irritating.

Aufgabe der Erfindung ist es, die Rückmeldung eines Slave, dass eine extern erhaltene Anforderung ausgeführt werden kann, schneller erfolgt.task The invention is the feedback a slave that an externally received request is executed can be done faster.

Zur Lösung dieser Aufgabe wird mit der Erfindung ein Verfahren zum Datenaustausch in einem Bussystem vorgeschlagen, wie es im Anspruch angegeben ist.to solution This object is achieved with the invention, a method for data exchange proposed in a bus system, as indicated in the claim.

Die Freigabe der Ausführung der Aktion erfolgt nach der Erfindung seitens des Masters sozusagen im Voraus, so dass in dem Augenblick, in dem von extern die Anforderung, eine Aktion zu entfalten, erhalten wird, der Slave sogleich rückmelden kann, dass die Aktion ausgeführt wird. Somit erfolgen sowohl die Ausführung der Aktion als auch die Meldung, dass eine Aktion ausgeführt wird, wesentlich schneller.The Release of the execution The action takes place after the invention on the part of the master so to speak in advance, so that the moment in which the request from outside, to unfold an action is received, the slave immediately confirm can that the action is running becomes. Thus, both the execution of the action as well as the Message that executed an action becomes, much faster.

Mit der Erfindung ist es möglich, Verzögerungszeiten bei der Kommunikation zwischen Bediengeräten (Slave) und einem Master in einem Master-Slave-Bussystem zu minimieren, indem eine direkte Reaktion auf die Bedienung eines Slave erfolgen kann, da das Wissen über die nächsten möglichen Zustände des Bediengeräts (Slave) in diesem bereits vor der Bedienung des Bediengeräts vorliegen. Mit anderen Worten liegt also die Information, auf welche Tasten wie reagiert werden darf, im Bediengerät, also im Slave, vor, bevor der Bediener die Bedienfunktion ausführen will. Wenn dann die Funktion seitens des Bedieners ausgewählt und durchgeführt wird, wird in dem Bediengerät die Information, wie auf eine andere vom Bediengerät realisierbare Bedienfunktion reagiert wird, wenn sie denn angefordert wird, abgelegt.With the invention it is possible delay times during communication between operator panels (slave) and a master in a master-slave bus system minimize by giving a direct response to the operation of a Slave can be done because the knowledge about the next possible states of the HMI (Slave) in this already before the operation of the HMI device. In other words, the information lies on which keys how it is allowed to react, in the operating unit, ie in the slave, before, before the operator wants to perform the control function. If then the function selected by the operator and performed is in the HMI device the information, as on another from the operating unit realizable operating function responds, if so requested, filed.

Die Erfindung wird nachfolgend anhand eines Ausführungsbeispiels und unter Bezugnahme auf die Zeichnung näher erläutert. Im Einzelnen zeigen dabei:The Invention will be described below with reference to an embodiment and with reference to the drawing closer explained. In detail, they 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 einzel nen 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. This is followed by time slots (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 NEN. 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 nen 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.

Die eigentliche Besonderheit des Bussystems 10 besteht in der "Vormeldung" von Informationen seitens des Master 14 an die Slave 16 bzw. mindestens einen der Slave 16, wie diese bzw. dieser auf eine von extern erhaltene Anforderung, eine Aktion zu entfalten, reagieren darf. Für diesen Fall sei beispielsweise angenommen, dass mit Panel 3 eine Bedieneinheit gemeint ist, die in der Instrumententafel eines Fahrzeuges angeordnet ist und eine Taste zur Aktivierung der Heckscheibenheizung aufweist. Der Aktuator für die Heckscheibe kann dabei beispielsweise das Panel 7 sein.The real peculiarity of the bus system 10 consists in the "pre-notification" of information by the master 14 to the slave 16 or at least one of the slaves 16 How to respond to an externally received request to take action. For this case, for example, suppose that with panel 3 an operating unit is arranged, which is arranged in the dashboard of a vehicle and has a button for activating the rear window heating. The actuator for the rear window can, for example, the panel 7 be.

Der Master 14 führt in diesem Ausführungsbeispiel ein Energiemanagement durch und steuert das Zuschalten von von den Insassen eines Kraftfahrzeuges angeforderten Funktionen. Sollte aufgrund des aktuellen Energiebedarfs die Zuschaltung einer weiteren Funktion nicht möglich sein, so wird diese, obwohl von einem Bediener angefordert, durch den Master 14 nicht freigegeben. Konkret bedeutet das beispielsweise, dass die Aktivierung der Heckscheibenheizung nicht erfolgen kann, obwohl der Fahrzeuginsasse dies wünscht. Daher werden sämtliche Anforderungen, die beispielsweise das Panel 3 durch Tastendruck empfängt, zunächst dem Master 14 gemeldet, der daraufhin überprüft, ob die Funktion freigegeben werden kann. Diese Überprüfung erfordert eine gewisse Zeit, so dass zwischen dem Drücken einer Taste und der optischen Rückmeldung gegenüber dem Bediener, dass die angewählte Funktion auch ausgeführt wird, eine gewisse Zeit vergeht.The master 14 performs in this embodiment, an energy management and controls the connection of requested by the occupants of a motor vehicle functions. If, due to the current energy requirement, it is not possible to connect another function, it will be requested by an operator, even if it is requested by an operator 14 not released. Specifically, this means, for example, that the activation of the rear window heater can not be done, although the vehicle occupant desires. Therefore, all the requirements, for example, the panel 3 by pressing a button, first the master 14 which then checks whether the function can be released. This check requires a certain amount of time, so that a certain amount of time passes between the press of a key and the visual feedback to the operator that the selected function is also executed.

Um dies abzukürzen, schlägt die Erfindung vor, dass der Master in den betreffenden Slave (hier Panel 3) eine Information ablegt, die besagt, dass die Funktion "Heckscheiben Heizung Ein" ausgeführt werden kann bzw. die optische Rückmeldung gegenüber dem Bediener erfolgen kann, wenn die entsprechende Taste gedrückt wird. Somit ist für diese optische Rückmeldung gegenüber dem Bediener kein Datenaustausch zwischen dem Panel 3 und dem Master 14 mehr erforderlich, wodurch Zeit gespart wird und der Bediener unmittelbar eine Reaktion auf die Tastenbetätigung erhält. Wenn dann die Funktion ausgewählt worden ist, stellt sich für das Energiemanagement des Fahrzeuges, das vom Master 14 verwaltet wird, eine neue Situation dar, was zur Folge haben kann, dass bereits bei anderen Slave 16 vorliegende Freigaben für potentiell von diesen angeforderte Aktionen zurückgenommen bzw. modifiziert werden.To abbreviate this, the invention proposes that the master in the relevant slave (here panel 3 ) stores an information stating that the function "rear window heating on" can be carried out or the visual feedback can be given to the operator when the corresponding button is pressed. Thus, there is no data exchange between the panel for this visual feedback to the operator 3 and the master 14 more, thereby saving time and prompting the operator to respond to the key operation. If then the function has been selected, the energy management of the vehicle, that of the master 14 is managed, a new situation, which may already result in other slave 16 existing releases for potentially requested by these actions or modified.

33
Panelpanel
77
Panelpanel
1010
Bussystembus system
1212
Ein-Draht-BusOne-wire bus
1414
Mastermaster
1616
Slave, Masterslave, master
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 den ein Master (14) und mindestens ein Slave (16) angeschlossen sind, der eine von extern erhaltene Anforderung, eine Aktion zu entfalten, an den Master (14) meldet, der bei Erfüllung von definierten Voraussetzungen die Ausführung der Aktion freigibt, dadurch gekennzeichnet, dass der Master dann, wenn die definierten Voraussetzungen erfüllt sind, schon im Voraus vor dem Melden der Anforderung durch den mindestens einen Slave (16) gegenüber diesem die Freigabe der Ausführung der potentiell von extern angeforderten Aktion erteilt.Method for exchanging data in a bus system with a single-wire bus to which a master ( 14 ) and at least one slave ( 16 ), an externally received request to develop an action to the master ( 14 ), which releases the execution of the action on fulfillment of defined conditions, characterized in that the master, if the defined conditions are met, already in advance before reporting the request by the at least one slave ( 16 ) issued to it the release of the execution of the potentially externally requested action.
DE200710053625 2007-11-08 2007-11-08 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 Active DE102007053625B3 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE200710053625 DE102007053625B3 (en) 2007-11-08 2007-11-08 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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE200710053625 DE102007053625B3 (en) 2007-11-08 2007-11-08 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

Publications (1)

Publication Number Publication Date
DE102007053625B3 true DE102007053625B3 (en) 2009-08-06

Family

ID=40822369

Family Applications (1)

Application Number Title Priority Date Filing Date
DE200710053625 Active DE102007053625B3 (en) 2007-11-08 2007-11-08 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

Country Status (1)

Country Link
DE (1) DE102007053625B3 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110657557A (en) * 2019-09-11 2020-01-07 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4503513A (en) * 1980-08-04 1985-03-05 General Motors Corporation Radio receiver system including a control unit and a remote unit
US20070186021A1 (en) * 2006-02-03 2007-08-09 Standard Microsystems Corporation Method for a slave device to convey an interrupt and interrupt source information to a master device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4503513A (en) * 1980-08-04 1985-03-05 General Motors Corporation Radio receiver system including a control unit and a remote unit
US20070186021A1 (en) * 2006-02-03 2007-08-09 Standard Microsystems Corporation Method for a slave device to convey an interrupt and interrupt source information to a master device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110657557A (en) * 2019-09-11 2020-01-07 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor
CN110657557B (en) * 2019-09-11 2023-10-03 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor

Similar Documents

Publication Publication Date Title
EP2287689B1 (en) Apparatus and method for addressing a slave unit
EP0579934A1 (en) Multiprocessor computer system
DE19541637A1 (en) Multiplex communication system
EP1622039B1 (en) Method and apparatus for assigning addresses to users of a bus system
WO1999014643A1 (en) Device and method for controlling machines especially a power loom
DE19721740B4 (en) Control method for media access on a serial bus
DE102008017281A1 (en) Automatic bus address assignment via collision check
WO2003056764A1 (en) Cyclical time-based communication system, user in such a system and transmission method
DE112008002194T5 (en) Forwarding device, communication system and communication method
EP3298730B1 (en) Bus system and method for assigning addresses of bus components of a bus system
EP3669527B1 (en) Method for operating a sensor arrangement in a motor vehicle on the basis of a dsi protocol
EP3251469B1 (en) Method for operating devices in a lighting system
DE10152508B4 (en) A method of activating a system for controlling and / or regulating operations in a motor vehicle having a plurality of equal control devices
DE102021104422A1 (en) Method for operating a communication system, communication system and computing system
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
EP0509114B1 (en) Procedure for the transmission of data to a plurality of stations
EP2719128A1 (en) Method for operating a bus system for communication with a plurality of communication nodes, and motor vehicle
DE102007053667A1 (en) 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
WO2006128787A1 (en) Method for operating a bus system, bus system and bus user
DE102005026988B4 (en) Method for controlling the status of multiple consumers by means of control messages
DE102004002020A1 (en) Control software architecture for implementing a decentralized cooperative control of several electronic control devices that are connected via a network
DE102013020550B4 (en) Method and device for data communication in vehicles, in particular in motor vehicles
DE10329682B4 (en) Bus address assignment by means of a collision check
AT411806B (en) BUS SYSTEM FOR A NUMBER OF PARTICIPANTS
EP0849652B1 (en) Method for managing time-controlled operations and device for performing said method

Legal Events

Date Code Title Description
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