DE19702143B4 - Method for addressing additional components for electronic devices - Google Patents
Method for addressing additional components for electronic devices Download PDFInfo
- Publication number
- DE19702143B4 DE19702143B4 DE1997102143 DE19702143A DE19702143B4 DE 19702143 B4 DE19702143 B4 DE 19702143B4 DE 1997102143 DE1997102143 DE 1997102143 DE 19702143 A DE19702143 A DE 19702143A DE 19702143 B4 DE19702143 B4 DE 19702143B4
- Authority
- DE
- Germany
- Prior art keywords
- address
- additional components
- bus
- microcontroller
- same
- 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 - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Verfahren zum Adressieren von Zusatzkomponenten, von denen mehrere an ein elektronisches Gerät ansteckbar sind, dessen elektronische Komponenten über ein serielles BUS-System verbunden sind und das bei gleichzeitiger Sendung von gleichen BUS-Adressen einen Arbitration-Error meldet, wobei diese Zusatzkomponenten jeweils gleich aufgebaut sind, jeweils die gleiche BUS-Adresse besitzen und einen Mikrokontroller aufweisen, dadurch gekennzeichnet, dass im Mikrokontroller der Zusatzkomponenten jeweils eine andere Identifikations-Adresse eingegeben wird und beim Einstecken der Zusatzkomponenten diese zunächst als Master ihre BUS- und anschließend ihre Identifikations-Adresse senden und beim Auftreten eines Arbitration-Errors die eine "0" sendende Zusatzkomponente die gewünschte Adresse erhält und die eine "1" sendende Zusatzkomponente eine andere freie Adresse suchen muß.method for addressing additional components, several of which are connected to a electronic device are pluggable, its electronic components via a serial bus system are connected and the simultaneous transmission of the same bus addresses reports an arbitration error, these additional components in each case are the same, each having the same bus address and a microcontroller, characterized in that in the microcontroller of the additional components each have a different identification address is entered and when inserting the additional components this first as master her BUS- and afterwards her identification-address send and receive an "0" when an arbitration error occurs sending additional component receives the desired address and the a "1" sending add-on component is looking for another free address got to.
Description
Die Erfindung betrifft ein Verfahren zum Adressieren von Zusatzkomponenten, von denen mehrere an ein elektronisches Gerät ansteckbar sind, laut Oberbegriff des Patentanspruches.The The invention relates to a method for addressing additional components, several of which are attachable to an electronic device, according to the generic term of the claim.
Bei
einem durch ein BUS-System gesteuerten elektronischen Gerät ist es
oftmals erforderlich, Zusatzkomponenten an das Gerät anzustecken,
die jeweils identisch aufgebaut sind und denen aus Herstellungsgründen die
gleiche BUS-Adresse
eingegeben ist, denn die BUS-spezifische Adressierung reicht im
Allgemeinen nicht aus, um solche in großer Stückzahl hergestellten Zusatzkomponenten
individuell zu adressieren. Beim bekannten I2C-BUS
(beispielsweise beschrieben in Elektroniker Nr. 6, 1989, S. 59–65 bzw.
Bei
Prozesseinheiten, die über
Digitalsignal-Übertragungsstrecken
miteinander verbunden sind und die jeweils durch Mikroprozessoren
gesteuert werden, ist es bekannt, die Adressierung dieser Prozesseinheiten
hierarchisch aufzubauen, wobei die vollständige Adresse einer Prozesseinheit
aus zwei Bytes besteht und das erste Byte die Adresse einer Digitalgrundleitungsabschnittes
und das zweite Byte die Adresse der jeweiligen Prozesseinheit beinhaltet
(
Es ist Aufgabe der Erfindung, ein Verfahren zum Adressieren von Zusatzkomponenten, die an über ein BUS-System verwaltete elektronische Geräte ansteckbar sind, zu schaffen, das auch eine einfache Verwaltung dieser ansteckbaren Zusatzkomponenten über das geräteeigene BUS-System ermöglicht.It It is the object of the invention to provide a method for addressing additional components, the on over managed a BUS system electronic equipment are infectious, to create, which is also an easy administration This attachable additional components via the device's own BUS system allows.
Diese Aufgabe wird ausgehend von einem Adressierverfahren laut Oberbegriff des Patentanspruches durch dessen kennzeichnende Merkmale gelöst.These Task is based on an addressing method according to the preamble of claim solved by its characterizing features.
Beim erfindungsgemäßen Gerät ist das vorhandene BUS-System beispielsweise ein I2C-BUS. Im Mikrokontroller der einzelnen gleichartig aufgebauten Zusatzkomponenten wie Akkueinheiten ist jeweils eine zusätzliche Identifikationsnummer eingegeben, die zusammen mit der BUS-Adresse der Zusatzkomponente auslesbar ist. Auf diese Weise kann das BUS-System zwischen den jeweils gleich aufgebauten Zusatzkomponenten unterscheiden und es können damit auch die Zusatzkomponenten untereinander bzw. mit den anderen Komponenten des Geräts kommunizieren. Auf diese Weise ist es beispielsweise möglich, bei gleichzeitig in ein Gerät eingesteckten mehreren Akkueinheiten deren im Mikrokontroller gespeicherte Daten wie Ladezustand, Stromaufnahme und dergleichen abzufragen und dem Benutzer beispielsweise auf einem Bildschirm anzuzeigen. Auch eine automatische Steuerung der Akkueinheiten über das Gerät selbst ist damit möglich. Die Feststellung eines sogenannten Arbitration-Errors ermöglicht beim gleichzeitigen Suchen einer freien BUS-Adresse durch zwei gleichzeitig eingesteckte Akkueinheiten, daß nur eine davon die gewählte Adresse erhält während die andere Akkueinheit eine andere freie BUS-Adresse suchen muß.In the device according to the invention, the existing BUS system, for example, an I 2 C-BUS. In the microcontroller of each identically constructed additional components such as battery units an additional identification number is entered in each case, which can be read out together with the BUS address of the additional component. In this way, the BUS system can differentiate between the respectively identically constructed additional components and thus it is also possible for the additional components to communicate with each other or with the other components of the device. In this way, it is possible, for example, to query the data stored in the microcontroller, such as state of charge, current consumption and the like, at the same time plugged into a device several battery units and display the user, for example, on a screen. An automatic control of the battery units on the device itself is also possible. The detection of a so-called arbitration error allows simultaneous search of a free bus address by two simultaneously inserted battery units that only one of them receives the selected address while the other battery unit must search another free BUS address.
Die Erfindung wird im folgenden anhand schematischer Zeichnungen an einem Ausführungsbeispiel näher erläutert.The The invention will be described below with reference to schematic drawings an embodiment explained in more detail.
Während des
Fertigungsprozesses der in großer
Stückzahl
hergestellten Akkueinheiten wird jeweils im Zuge des Aufspielens
der Firmware (Steuerprogramme für
die Akkueinheit) auf den Mikrokontroller
Wenn
in das Gerät
die im Ausführungsbeispiel
gezeigten drei Akkueinheiten
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1997102143 DE19702143B4 (en) | 1997-01-22 | 1997-01-22 | Method for addressing additional components for electronic devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1997102143 DE19702143B4 (en) | 1997-01-22 | 1997-01-22 | Method for addressing additional components for electronic devices |
Publications (2)
Publication Number | Publication Date |
---|---|
DE19702143A1 DE19702143A1 (en) | 1998-07-23 |
DE19702143B4 true DE19702143B4 (en) | 2005-03-17 |
Family
ID=7818033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE1997102143 Expired - Fee Related DE19702143B4 (en) | 1997-01-22 | 1997-01-22 | Method for addressing additional components for electronic devices |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE19702143B4 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1339238A (en) * | 1999-01-11 | 2002-03-06 | 福纳克有限公司 | Digital communication method and system |
DE10052627A1 (en) * | 2000-10-24 | 2002-05-08 | Abb Patent Gmbh | Identification of electronic modules that are plugged into a base unit using memory data transmitted over bus |
LU90805B1 (en) * | 2001-07-20 | 2003-01-21 | Delphi Tech Inc | Method for assigning an address to an actuator to be controlled via a bus system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3806948A1 (en) * | 1988-03-03 | 1989-09-14 | Siemens Ag | METHOD FOR ADDRESSING PROCESSOR UNITS |
DE4023481A1 (en) * | 1990-07-24 | 1990-11-15 | Daniel Grenzendorf | Data transfer between assemblies, esp. of multiprocessor system - using individual and simultaneous multiple addressing, reduced size of physical address space |
DE4035459C1 (en) * | 1990-11-08 | 1992-05-14 | Messerschmitt-Boelkow-Blohm Gmbh, 8012 Ottobrunn, De |
-
1997
- 1997-01-22 DE DE1997102143 patent/DE19702143B4/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3806948A1 (en) * | 1988-03-03 | 1989-09-14 | Siemens Ag | METHOD FOR ADDRESSING PROCESSOR UNITS |
DE4023481A1 (en) * | 1990-07-24 | 1990-11-15 | Daniel Grenzendorf | Data transfer between assemblies, esp. of multiprocessor system - using individual and simultaneous multiple addressing, reduced size of physical address space |
DE4035459C1 (en) * | 1990-11-08 | 1992-05-14 | Messerschmitt-Boelkow-Blohm Gmbh, 8012 Ottobrunn, De |
Non-Patent Citations (4)
Title |
---|
I·2¶C-Interface für PC. In: Elektor, 3, 1992, S.12-16 * |
I2C-Interface für PC. In: Elektor, 3, 1992, S.12-16 |
Movable Bus Arbiter and Shared Bus Address. In: IBM Technical Disclosure Bulletin, Vol. 32, No. 8B, Jan. 1990, S.177-179 * |
PIOTROWSKI,Anton: IEC-Bus, Franzis-Verlag GmbH, München, 1987, 3. Aufl., S.37-46,90 * |
Also Published As
Publication number | Publication date |
---|---|
DE19702143A1 (en) | 1998-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69123952T2 (en) | Computer addressing device | |
DE3300260C2 (en) | ||
DE4404962C2 (en) | Method and arrangement for configuring functional units in a master-slave arrangement | |
WO2002015452A2 (en) | Address assignment method for at least one bus device that has recently been connected to a bus system | |
DE69324323T2 (en) | Multi-station communication bus system, as well as a master station and a slave station for use in such a system | |
DE3921744A1 (en) | COMMUNICATION METHOD FOR A INTRODUCTION DATA BUS OF MOTOR VEHICLES | |
EP0978047B1 (en) | Communication system with a master station and at least one slave station | |
DE4214303C2 (en) | Communication system | |
DE19722115C2 (en) | Addressing device and method | |
DE102006001983A1 (en) | Method and device for assigning addresses to a system having a plurality of generator units arranged in parallel | |
DE19702143B4 (en) | Method for addressing additional components for electronic devices | |
CH645491A5 (en) | METHOD FOR TESTING A DATA TRANSMISSION SYSTEM USING A TEST LOOP. | |
DE3782321T2 (en) | INPUT MANAGEMENT CIRCUIT FOR PROGRAMMABLE CONTROL. | |
EP1979793B1 (en) | Method and device for assigning addresses in a system comprising several generator units arranged in parallel | |
DE4026581C2 (en) | ||
DE4027349C2 (en) | Numerical control device | |
EP1676403B1 (en) | Method for serial allocation of addresses and monitoring the address allocation in a bus system | |
DE3937021C2 (en) | ||
DE69032078T2 (en) | Electronic arrangement with data transfer function | |
EP0191890B1 (en) | Apparatus for decoding code words | |
EP1477905B1 (en) | Design method and diagnostic method for an automation system | |
DE19952883A1 (en) | Bus system for multiple users in which one user transmits its address via bus and informs other users of change of state | |
EP0480331A2 (en) | Data processing system with display terminals | |
WO1997022057A1 (en) | Method of setting addresses in bus systems with parallel circuitry, and device for carrying out this method | |
EP1367498B1 (en) | Method and device for serial data transfer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OM8 | Search report available as to paragraph 43 lit. 1 sentence 1 patent law | ||
8110 | Request for examination paragraph 44 | ||
8364 | No opposition during term of opposition | ||
8339 | Ceased/non-payment of the annual fee |