WO2015096953A1 - Method for assigning device identifiers in a bus system, master device, slave device, and bus system - Google Patents

Method for assigning device identifiers in a bus system, master device, slave device, and bus system Download PDF

Info

Publication number
WO2015096953A1
WO2015096953A1 PCT/EP2014/075930 EP2014075930W WO2015096953A1 WO 2015096953 A1 WO2015096953 A1 WO 2015096953A1 EP 2014075930 W EP2014075930 W EP 2014075930W WO 2015096953 A1 WO2015096953 A1 WO 2015096953A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
bus
bus interface
transceiver
device identifier
Prior art date
Application number
PCT/EP2014/075930
Other languages
German (de)
French (fr)
Inventor
Heiko Boeck
Thomas WANDEL
Original Assignee
Robert Bosch 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 Robert Bosch Gmbh filed Critical Robert Bosch Gmbh
Publication of WO2015096953A1 publication Critical patent/WO2015096953A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • 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
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Definitions

  • the present invention relates to a method for awarding
  • Device identifiers in a bus system with one master device and at least two slave devices. Furthermore, the present invention relates to a master device, a slave device and a bus system.
  • Bus systems are used today in a variety of different applications.
  • bus systems can be used in automation technology to couple the different sensors, actuators and controllers of an automation system in a data-communicative connection with each other.
  • Bus systems may, however, be e.g. also be used in vehicles to couple the individual control units in a vehicle with each other.
  • an ESP control device of a vehicle can be coupled to a central gateway of a vehicle via a CAN bus or a FlexRay bus.
  • the bus subscribers In order to communicate on a data bus of a bus system, the bus subscribers must be assigned unique device identifiers or identifiers by which data packets or messages on the data bus can be assigned to a corresponding sender.
  • Device identifiers are set to the individual bus participants by means of a PIN code, in which by means of simple switch or dip switch, a binary code representing the device identifier is set.
  • Dip switches are usually arranged directly on the board of the respective bus device and require installation space. Furthermore, the dip switches are difficult to reach or adjust due to their small size.
  • the device identifiers can already be specified during the production of a bus participant in hardware or in the firmware of the bus participant. However, this method is not very flexible and can not be used if several identical bus subscribers in a data bus are to be coupled together.
  • the present invention discloses a method having the features of claim 1, a master device having the features of claim 7, a slave device having the features of claim 9, and a bus system having the features of claim 11.
  • a method for assigning device identifiers in a bus system having a master device and at least two slave devices comprising the steps of transmitting a device identifier not assigned in the bus system by the master device to a slave device coupled to the master device, Check by the slave device to which the device identifier has been transmitted, whether the slave device is already on
  • Device identifier has been assigned, storing the received device identifier in the slave device to which the device identifier was transmitted as the assigned device identifier if the device has not yet been assigned to the slave device, transmitting the device identifier to another slave device through the device identifier Slave devices to which the device identifier has been transmitted when a device identifier has already been assigned to the slave device to which the device identifier was transmitted, the step of overruling being repeated by all slave devices to which a device identifier has already been assigned.
  • a master device for a bus system with a master bus interface, which is designed to couple the master device via the bus system directly to a slave device, and with a control device, which is designed for commissioning the bus system via the master bus interface only send messages, each having a not assigned in the bus system device identifier until each slave device in the bus system, a device identifier has been assigned. It is also provided:
  • a slave device for a bus system having a first slave bus interface and a second slave bus interface, wherein after the start of the slave device, the second slave bus interface is deactivated, with a computing device which is adapted to the second slave Enable bus interface after the computing device has received a device identifier via the first slave bus interface.
  • the finding underlying the present invention consists in the fact that it is difficult to operate a plurality of identical bus subscribers on a bus system if they are assigned a device identifier with one of the known methods.
  • the idea underlying the present invention is now to take this knowledge into account and provide a possibility to operate a multiplicity of identical slave devices on a bus system.
  • the present invention provides that the individual slave devices only when switching on or booting the bus system, a device identifier is assigned. Since the individual devices can not be individually addressed until the assignment of a device identifier, the method according to the invention uses the position of the individual slave devices in a series connection of the plurality of slave devices in the bus system.
  • a master device transmits a not yet assigned device identifier to one of the slave devices, which is coupled to the master device.
  • the slave device checks whether a device identifier has already been assigned to it. If this is not the case, the slave device stores the device identifier received from the master device.
  • the slave device transmits the device identifier to another slave device. This slave device then performs the same check as the first slave device.
  • this slave device If a device identifier has already been assigned to this slave device, this slave device also transmits the device identifier to another slave device.
  • the device identifier is used by all slave devices that already have one
  • the present method thereby makes it possible to provide a plurality of similar slave devices in a bus system with a device identifier identifying the position of the individual slave device.
  • the slave devices receive the device identifier via a first slave bus interface and transmit the device identifier to another slave device via a second slave bus interface. This makes it very easy to couple the individual slave devices in series. In a further embodiment is in slave devices, which still no
  • Device identifier the second slave bus interface disabled. This stops the transmission of a device identifier on a slave device that has not yet been assigned its own device identifier. This prevents two slave devices from assigning the same device identifier as their assigned one
  • Device identifier in a slave device the respective slave device its corresponding second slave bus interface. This makes it possible, after assigning a device identifier to a slave device, to forward further device identifiers through this slave device to other slave devices. In a further embodiment, the method steps are repeated until a device identifier has been assigned to all slave devices. This allows a bus system to be put into operation very easily.
  • the method is used in a CAN bus system or a CAN FD bus system and the slave devices each have a first CAN transceiver or a first CANFD transceiver for the first slave bus interface and a second CAN transceiver or a second CANFD transceiver for the second slave bus interface.
  • the present method enables the present method to be used in a variety of applications, e.g. in the automotive sector, use.
  • the first CAN transceiver and the second CAN transceiver in the respective slave device are coupled to one another such that data signals which are received at one of the CAN transceivers, to a computing device of the slave device and to the other CAN transceiver are forwarded to the output, wherein data signals are forwarded from the computing device of the slave device to the first CAN transceiver and to the second CAN transceiver for output.
  • the method comprises the step of arbitrating the access to the CAN data lines of the CAN bus system.
  • the data lines between the computing device and the first CAN transceiver and the second CAN transceiver are set to a positive reference voltage when no communication takes place on the data lines.
  • the arbitration is no longer carried out at the level of the bus lines but in each individual slave device.
  • a pull-up resistor can be used for this purpose.
  • bus system can also be referred to as CANFD, that is to say as "CAN
  • re-training of the device identifiers may be commanded by the master device 2 to all slave devices by transmitting a special data signal over the bus interface After receiving the special data signal, all slave devices will be brought In the initial state, the method according to the invention has to be carried out again for each slave device In the initial state, the forwarding of the device identifiers is deactivated by the computing device of the slave devices and the slave devices are ready new
  • Fig. 2 is a block diagram of one embodiment of a master device according to the invention.
  • FIG. 3 is a block diagram of an embodiment of a slave device according to the invention.
  • FIG. 4 shows a block diagram of an embodiment of a bus system according to the invention
  • Fig. 5 is a block diagram of another embodiment of an inventive
  • FIG. 1 shows a flow chart of an embodiment of a method according to the invention.
  • the method can i.a. be applied in a bus system 1, in which a master device 2 to a plurality of slave devices 3-1 - 3-n device identifiers 4 must assign.
  • a first step S1 the method provides for the transmission of a device identifier 4 not assigned in the bus system 1 by the master device 2 to a slave device 3-1-3-n coupled to the master device 2.
  • a second step S2 the slave device 3-1 - 3-n checks which of the
  • the slave device 3-1 - 3-n stores the received
  • the slave device 3-1-3-n, to which the device identifier 4 was transmitted has already been assigned a device identifier 4, the slave device 3-1-3-n, to which the device identifier 4 was transmitted, transmits the Device identifier 4 in step S4 to another slave device 3-1 - 3-n.
  • the method further provides that the step of transmission S4 is repeated by all slave devices 3-1-3-n to which a device identifier 4 has already been assigned.
  • the present method is based on the fact that the individual slave devices 3-1 - 3-n are activated in order and assigned a device identifier 4 in turn.
  • the slave devices 3-1-3-n themselves check whether they have already been initialized, that is to say whether a device identifier 4 has already been assigned to them.
  • the forwarding of the device identifier 4 by a slave device 3-1 - 3-n is done passively and automatically, i. that no active computing device or the like is necessary for forwarding.
  • the method provides that the slave devices 3-1 - 3-n receive the device identifier 4 via a first slave bus interface 10-1 - 10-n. Furthermore, the method provides that the slave devices 3-1 - 3-n transmit the device identifier 4 via a second slave bus interface 1 1 -1 - 1 1 -n to another slave device 3-1 - 3-n ,
  • the second slave bus interface 1 1 1 -1 -1 1 -n is deactivated.
  • Such slave devices 3-1 - 3-n can not forward the device identifier 4 via the second slave bus interface 1 1 -1 - 1 1 -n, if they have not received a device identifier 4.
  • the respective slave device 3-1-3-n has its corresponding second slave bus interface 1 1 -1 - 1 1 -n activated.
  • the individual slave devices 3-1 - 3-n can be initialized solely by the sequential over-centering of the device identifiers 4 by the master device 2.
  • the method steps S1-S4 are repeated until a device identifier 4 has been assigned to all slave devices 3-1-3-n. In such an embodiment, therefore, the master device 2 transmits a device identifier 4 for each slave device 3-1-3n.
  • the method is used in a CAN bus system 1.
  • the slave devices 3-1 - 3-n each have a first CAN transceiver 12-1 - 12-n for the first slave bus interface 10-1 - 10-n and a second CAN transceiver 13-1 - 13 -n for the second slave bus interface 1 1 -1 - 1 1 -n.
  • the first CAN transceiver 12-1 - 12-n and the second CAN transceiver 13-1 - 13-n in the respective slave device 3-1 - 3-n are coupled to each other in such a way that data signals which on one of the CAN transceivers 12-1 - 12-n, 13-1 - 13-n, to a computing device 14 of the slave device 3-1 - 3-n and to the other CAN transceiver 12-1 - 12 -n, 13-1 - 13-n for distribution.
  • the arbitration of the access to the CAN data lines of the CAN bus system 1 is provided, wherein for arbitration, the data lines between the computing device 14-1 - 14-n and the first CAN transceiver 12-1 - 12-n and the second CAN transceiver 13-1 - 13-n are set to a positive reference voltage when there is no communication on the data lines. This can be done, for example, by a pull-up resistor.
  • 2 shows a block diagram of an embodiment of a master device 2 according to the invention.
  • the master device 2 has a control device 16, which is coupled to a master bus interface 15.
  • the control device 16 can output a device identifier 4 via the master bus interface 15.
  • the bus system 1 is designed as a CAN bus system 1.
  • the master bus interface 15 is designed as a CAN bus interface 15.
  • the master device 2 may e.g. a higher level controller in an automobile that controls a number of slave devices 3-1-3-n.
  • the master device 2 may be a battery control device 2 in an electric vehicle including the
  • the slave device 3-1 has a computing device 14-1, which is coupled to a first slave bus interface 10-1 and to a second slave bus interface 1 1 -1.
  • the second slave bus interface 1 1 -1 is deactivated.
  • the computing device 14-1 is designed to receive a device identifier 4 via the first slave bus interface 10-1 and then to activate the second slave bus interface 1 1 -1. Only after activation can data be sent via the second slave bus interface 1 1 -1.
  • the activation of the second slave bus interface 1 1 - 1 may e.g. by means of a simple logical AND circuit of the signal input of the second slave bus interface 1 1 -1 and a device-internal activation signal, which is output by the computing device 14-1. This is shown in Fig. 5 in detail.
  • the bus system 1 is a CAN bus system 1 with a CAN bus as the data bus, as already explained above.
  • the first slave bus interface 10-1 and the second slave bus interface 1 1 -1 as CAN Bus interfaces 10-1 and 1 1 -1, each with a CAN transceiver 12-1, 13-1 formed (see Fig. 5).
  • the first slave bus interface 10-1 and the second slave bus interface 1 1 -1 are interconnected in one embodiment so that signals on the data lines of the CAN bus, on one of the slave bus interfaces 10-1, 1 1 -1, the computing device 14-1 and the other of the slave bus interfaces 1 1 -1, 10-1 are provided.
  • the slave devices 3-1 - 3-n in a series connection or daisy chain, in which the master device 2 and each slave device Device 3-1 - 3-n receives the data, which from other devices eg Master device 2 and slave devices 3-1 - 3-n are sent on the CAN bus.
  • FIG. 4 shows a block diagram of an embodiment of a bus system 1 according to the invention.
  • the bus system 1 of FIG. 4 is designed as a CAN bus system 1.
  • the bus system 1 has a master device 2, which is coupled via two CAN data lines CAN_H, CAN_L to the first slave bus interface 10-2 of the slave device 3-2.
  • the second slave bus interface 1 1 -2 of the slave device 3-2 is coupled to the first slave bus interface 10- 3 of the slave device 3-3.
  • the second slave bus interface 1 1 -3 of the slave device 3-3 is coupled to the first slave bus interface 10-n of the slave device 3-n. In this case, further slave devices between slave device 3-3 and slave device 3-n are indicated by three points.
  • the CAN bus of FIG. 4 has two data lines CAN_H and CAN_L. Since a CAN bus is a differential bus system, one of the two data lines carries the high signal and the other the low signal. Consequently, the abbreviation CAN_H stands for CAN HIGH and the abbreviation CAN_L stands for CAN LOW.
  • FIG. 5 shows a block diagram of a further embodiment of a bus system 1 according to the invention.
  • FIG. 5 only three slave devices 3-4, 3-5 and 3-n are shown, whereby further slave devices between slave device 3-5 and slave device 3-n are represented by three dots.
  • the slave devices 3-4 - 3-n all have the same structure. The structure of the slave devices is therefore explained as an example on slave device 3-4.
  • the data output RX of the first CAN transceiver 12-4 is connected to the input of the logical AND block 20-4 and to the input of the logical AND gate. Blocks 22-4 coupled.
  • the output of the logical AND block 20-4 is coupled to the data input CAN0_RX of the computing device 14-4.
  • the data output CAN0_TX of the computing device 14-4 is coupled to the input of the logical AND block 21 -4 and coupled to the input of the logical AND block 22-4.
  • the output of the logical AND block 21 -4 is coupled to the data input TX of the first CAN transceiver 12-4.
  • the second CAN transceiver 13-4 is coupled to the data lines CAN_H and CAN_L of the CAN bus between the slave device 3-4 and the next slave device of the series circuit, the slave device 3-5.
  • the data output RX of the second CAN transceiver 13-4 is coupled to the input of the logical AND block 20-4 and to the input of the logical AND block 21 -4.
  • an activation output EN_CAN1_TX of the computing device 14-4 is coupled to the input of the AND block 22-4 whose output is coupled to the data input TX of the second CAN transceiver 13-4.
  • the illustrated embodiment of the slave device 3-4 allows signals received from one of the two CAN transceivers 12-4, 13-4 to be automatically or passively transmitted to the other CAN transceiver, respectively.
  • a signal output from the computing device 14-4 may also be passively transmitted to the two CAN transceivers 12-4 and 13-4, respectively.
  • Arbitration of the data communication may be e.g. by a pull-up resistor (not shown) arranged at the TX and RX terminals of the two CAN transceivers 12-4, 13-4, respectively.
  • the CAN transceiver can also be activated by a reset or inhibit input.
  • the present invention has been described above with reference to preferred embodiments, it is not limited thereto, but modifiable in a variety of ways. In particular, the invention can be varied or modified in many ways without deviating from the gist of the invention.

Abstract

The invention relates to a method for assigning device identifiers in a bus system having a master device and at least two slave devices, the method comprising the following steps: transmitting a device identifier not yet assigned in the bus system via the master device to a slave device coupled to the master device; checking by way of the slave device, to which the device identifier was transmitted, if a device identifier has already been assigned to the slave device; storing the received device identifier in the slave device, to which the device identifier was transmitted, as the assigned device identifier if a device identifier had not yet been assigned to the slave device; and transmitting the device identifier to another slave device by way of the slave device to which the device identifier had been transmitted, if a device identifier had already been allocated to the slave device to which the device identifier had been transmitted, wherein the step of transmitting is repeated by all slave devices to which a device identifier had already been assigned. The invention further relates to a master device, to a slave device, and to a bus system.

Description

Beschreibung Titel  Description title
VERFAHREN ZUR VERGABE VON GERÄTEIDENTIFIKATOREN IN EINEM BUSSYS- TEM, MASTER-GERÄT, SLAVE-GERÄT UND BUSSYSTEM  METHOD FOR ORDERING DEVICE IDENTIFIERS IN A BUS SYSTEM, MASTER DEVICE, SLAVE DEVICE AND BUS SYSTEM
Die vorliegende Erfindung bezieht sich auf ein Verfahren zur Vergabe von The present invention relates to a method for awarding
Geräteidentifikatoren in einem Bussystem mit einem Master-Gerät und mindestens zwei Slave-Geräten. Ferner bezieht sich die vorliegende Erfindung auf ein Master-Gerät, ein Slave-Gerät und ein Bussystem. Device identifiers in a bus system with one master device and at least two slave devices. Furthermore, the present invention relates to a master device, a slave device and a bus system.
Stand der Technik State of the art
Bussysteme werden heute in einer Vielzahl unterschiedlicher Anwendungen eingesetzt. Beispielsweise können Bussysteme in der Automatisierungstechnik eingesetzt werden, um die unterschiedlichen Sensoren, Aktoren und Steuerungen einer Automatisierungsanlage in datenkommunikativer Verbindung miteinander zu koppeln. Bus systems are used today in a variety of different applications. For example, bus systems can be used in automation technology to couple the different sensors, actuators and controllers of an automation system in a data-communicative connection with each other.
Bussysteme können aber z.B. auch in Fahrzeugen eingesetzt werden, um die einzelnen Steuergeräte in einem Fahrzeug miteinander zu koppeln. Beispielsweise kann ein ESP- Steuergerät eines Fahrzeugs mit einem zentralen Gateway eines Fahrzeugs über einen CAN-Bus oder einen FlexRay-Bus gekoppelt werden. Bus systems may, however, be e.g. also be used in vehicles to couple the individual control units in a vehicle with each other. For example, an ESP control device of a vehicle can be coupled to a central gateway of a vehicle via a CAN bus or a FlexRay bus.
Um auf einem Datenbus eines Bussystems kommunizieren zu können, müssen den Bus- teilnehmern eindeutige Gerätekennungen bzw. Identifikatoren zugewiesen werden, durch welche Datenpakete bzw. Botschaften auf dem Datenbus einem entsprechenden Absender zugeordnet werden können. In order to communicate on a data bus of a bus system, the bus subscribers must be assigned unique device identifiers or identifiers by which data packets or messages on the data bus can be assigned to a corresponding sender.
Heute sind mehrere Verfahren bekannt, den Teilnehmern einer Datenkommunikation auf einem Datenbus eindeutige Identifikatoren zuzuweisen. Beispielsweise können dieToday, several methods are known for assigning the participants of a data communication on a data bus unique identifiers. For example, the
Geräteidentifikatoren an den einzelnen Busteilnehmern mittels einer PIN-Kodierung eingestellt werden, bei welcher mittels einfacher Schalter bzw. Dip-Schalter ein binärer Kode, der den Geräteidentifikator darstellt, eingestellt wird. Dip-Schalter sind üblicherweise direkt auf der Platine des jeweiligen Busteilnehmers angeordnet und benötigen Bauraum. Ferner sind die Dip-Schalter auf Grund ihrer geringen Größe schwer zu erreichen bzw. einzustellen. Alternativ können die Geräteidentifikatoren bereits bei der Produktion eines Busteilnehmers in Hardware bzw. in der Firmware des Busteilnehmers festgelegt werden. Dieses Verfahren ist aber wenig flexibel und kann nicht angewendet werden, wenn mehrere glei- che Busteilnehmer in einem Datenbus miteinander gekoppelt werden sollen. Device identifiers are set to the individual bus participants by means of a PIN code, in which by means of simple switch or dip switch, a binary code representing the device identifier is set. Dip switches are usually arranged directly on the board of the respective bus device and require installation space. Furthermore, the dip switches are difficult to reach or adjust due to their small size. Alternatively, the device identifiers can already be specified during the production of a bus participant in hardware or in the firmware of the bus participant. However, this method is not very flexible and can not be used if several identical bus subscribers in a data bus are to be coupled together.
Offenbarung der Erfindung Die vorliegende Erfindung offenbart ein Verfahren mit den Merkmalen des Patentanspruchs 1 , ein Master-Gerät mit den Merkmalen des Patentanspruchs 7, ein Slave-Gerät mit den Merkmalen des Patentanspruchs 9 und ein Bussystem mit dem Merkmalen des Patentanspruchs 1 1. DISCLOSURE OF THE INVENTION The present invention discloses a method having the features of claim 1, a master device having the features of claim 7, a slave device having the features of claim 9, and a bus system having the features of claim 11.
Demgemäß ist vorgesehen: Accordingly, it is provided:
Ein Verfahren zur Vergabe von Geräteidentifikatoren in einem Bussystem mit einem Master-Gerät und mindestens zwei Slave-Geräten, mit den Schritten Übermitteln eines in dem Bussystem nicht vergebenen Geräteidentifikators durch das Master-Gerät an ein mit dem Master-Gerät gekoppeltes der Slave-Geräte, Überprüfen durch das Slave-Gerät, welchem der Geräteidentifikator übermittelt wurde, ob dem Slave-Gerät bereits ein A method for assigning device identifiers in a bus system having a master device and at least two slave devices, comprising the steps of transmitting a device identifier not assigned in the bus system by the master device to a slave device coupled to the master device, Check by the slave device to which the device identifier has been transmitted, whether the slave device is already on
Geräteidentifikator zugewiesen wurde, Speichern des empfangenen Geräteidentifikators in dem Slave-Gerät, welchem der Geräteidentifikator übermittelt wurde, als den zugewie- senen Geräteidentifikator, falls dem Slave-Gerät noch kein Geräteidentifikator zugewiesen wurde, Übermitteln des Geräteidentifikators an ein weiteres Slave-Gerät, durch das Slave- Geräte, welchem der Geräteidentifikator übermittelt wurde, wenn dem Slave-Gerät, welchem der Geräteidentifikator übermittelt wurde, bereits ein Geräteidentifikator zugewiesen wurde, wobei der Schritt des Übermitteins von allen Slave-Geräten wiederholt wird, denen bereits ein Geräteidentifikator zugewiesen wurde. Device identifier has been assigned, storing the received device identifier in the slave device to which the device identifier was transmitted as the assigned device identifier if the device has not yet been assigned to the slave device, transmitting the device identifier to another slave device through the device identifier Slave devices to which the device identifier has been transmitted when a device identifier has already been assigned to the slave device to which the device identifier was transmitted, the step of overruling being repeated by all slave devices to which a device identifier has already been assigned.
Ferner ist vorgesehen: It is also provided:
Ein Master-Gerät für ein Bussystem, mit einer Master-Busschnittstelle, welche dazu aus- gebildet ist, das Master-Gerät über das Bussystem direkt mit einem Slave-Gerät zu koppeln, und mit einer Steuereinrichtung, welche dazu ausgebildet ist, beim Inbetriebnehmen des Bussystems über die Master-Busschnittstelle lediglich Nachrichten auszusenden, welche jeweils einen in dem Bussystem nicht vergebenen Geräteidentifikator aufweisen, bis jedem Slave-Gerät in dem Bussystem ein Geräteidentifikator zugewiesen wurde. Ferner ist vorgesehen: A master device for a bus system, with a master bus interface, which is designed to couple the master device via the bus system directly to a slave device, and with a control device, which is designed for commissioning the bus system via the master bus interface only send messages, each having a not assigned in the bus system device identifier until each slave device in the bus system, a device identifier has been assigned. It is also provided:
Ein Slave-Gerät für ein Bussystem, mit einer ersten Slave-Busschnittstelle und mit einer zweiten Slave-Busschnittstelle, wobei nach dem Start des Slave-Geräts die zweite Slave- Busschnittstelle deaktiviert ist, mit einer Recheneinrichtung, welche dazu ausgebildet ist, die zweite Slave-Busschnittstelle zu aktivieren, nachdem die Recheneinrichtung über die erste Slave-Busschnittstelle einen Geräteidentifikator empfangen hat. A slave device for a bus system, having a first slave bus interface and a second slave bus interface, wherein after the start of the slave device, the second slave bus interface is deactivated, with a computing device which is adapted to the second slave Enable bus interface after the computing device has received a device identifier via the first slave bus interface.
Schließlich ist vorgesehen: Ein Bussystem mit einem erfindungsgemäßen Master-Gerät und mit einer Vielzahl von erfindungsgemäßen Slave-Geräten, wobei die Slave-Geräte in Serie derart angeordnet sind, dass jeweils eine zweite Slave-Busschnittstelle eines Slave-Geräts mit einer ersten Slave-Busschnittstelle eines weiteren Slave-Geräts gekoppelt ist, wobei das Master-Gerät mit der ersten Slave-Busschnittstelle des ersten Slave-Geräts der Serie gekoppelt ist und/oder wobei die zweite Slave-Busschnittstelle des letzten Slave-Geräts der Serie deaktiviert und/oder terminiert ist. Finally, it is provided: A bus system with a master device according to the invention and with a plurality of slave devices according to the invention, wherein the slave devices are arranged in series such that in each case a second slave bus interface of a slave device with a first slave bus interface coupled to a further slave device, wherein the master device is coupled to the first slave bus interface of the first slave device of the series and / or wherein the second slave bus interface of the last slave device of the series is disabled and / or terminated ,
Vorteile der Erfindung Advantages of the invention
Die der vorliegenden Erfindung zu Grunde liegende Erkenntnis besteht darin, dass es nur schwer möglich ist, mehrere gleiche Busteilnehmer an einem Bussystem zu betreiben, wenn diesen mit einem der Bekannten Verfahren eine Gerätekennung zugewiesen wird. Die der vorliegenden Erfindung zu Grunde liegende Idee besteht nun darin, dieser Erkenntnis Rechnung zu tragen und eine Möglichkeit vorzusehen, eine Vielzahl von gleichen Slave-Geräten an einem Bussystem zu betreiben. The finding underlying the present invention consists in the fact that it is difficult to operate a plurality of identical bus subscribers on a bus system if they are assigned a device identifier with one of the known methods. The idea underlying the present invention is now to take this knowledge into account and provide a possibility to operate a multiplicity of identical slave devices on a bus system.
Dazu sieht die vorliegende Erfindung vor, dass den einzelnen Slave-Geräten erst beim Einschalten bzw. Hochfahren des Bussystems ein Geräteidentifikator zugewiesen wird. Da die einzelnen Geräte bis zur Zuweisung eines Geräteidentifikators nicht individuell adressiert werden können, nutzt das erfindunsgemäße Verfahren die Position der einzelnen Slave-Geräte in einer Serienschaltung der Vielzahl von Slave-Geräten in dem Bussystem. For this purpose, the present invention provides that the individual slave devices only when switching on or booting the bus system, a device identifier is assigned. Since the individual devices can not be individually addressed until the assignment of a device identifier, the method according to the invention uses the position of the individual slave devices in a series connection of the plurality of slave devices in the bus system.
Erfindungsgemäß übermittelt ein Master-Gerät beim Hochfahren des Bussystems einen noch nicht vergebenen Geräteidentifikator an eines der Slave-Geräte, welches mit dem Master-Gerät gekoppelt ist. Das Slave-Gerät überprüft daraufhin, ob ihm bereits ein Geräteidentifikator zugewiesen wurde. Ist dies nicht der Fall, speichert das Slave-Gerät den Geräteidentifikator, welchen es von dem Master-Gerät erhalten hat. According to the invention, when the bus system is started up, a master device transmits a not yet assigned device identifier to one of the slave devices, which is coupled to the master device. The slave device then checks whether a device identifier has already been assigned to it. If this is not the case, the slave device stores the device identifier received from the master device.
Wurde dem Slave-Gerät aber bereits ein Geräteidentifikator zugewiesen, so übermittelt das Slave-Gerät den Geräteidentifikator an ein weiteres Slave-Gerät. Dieses Slave-Gerät führt daraufhin die gleiche Überprüfung durch, wie das erste Slave-Gerät. However, if a device identifier has already been assigned to the slave device, the slave device transmits the device identifier to another slave device. This slave device then performs the same check as the first slave device.
Wurde auch diesem Slave-Gerät bereits ein Geräteidentifikator zugewiesen, übermittelt dieses Slave-Gerät den Geräteidentifikator ebenfalls an ein weiteres Slave-Gerät. If a device identifier has already been assigned to this slave device, this slave device also transmits the device identifier to another slave device.
Der Geräteidentifikator wird dabei von allen Slave-Geräten, denen bereits ein The device identifier is used by all slave devices that already have one
Geräteidentifikator zugewiesen wurde, an ein weiteres Slave-Gerät übermittelt, bis allen Slave-Geräten ein Geräteidentifikator zugewiesen wurde. Das vorliegende Verfahren ermöglicht es dadurch, eine Vielzahl von gleichartigen Slave- Geräten in einem Bussystem mit einem Geräteidentifikator zu versehen, der die Position des einzelnen Slave-Geräts kennzeichnet. Device Identifier assigned to another slave device until all slave devices have been assigned a device identifier. The present method thereby makes it possible to provide a plurality of similar slave devices in a bus system with a device identifier identifying the position of the individual slave device.
Vorteilhafte Ausführungsformen und Weiterbildungen ergeben sich aus den Unteransprüchen sowie aus der Beschreibung unter Bezugnahme auf die Figuren. Advantageous embodiments and further developments emerge from the dependent claims and from the description with reference to the figures.
In einer Ausführungsform empfangen die Slave-Geräte den Geräteidentifikator über eine erste Slave-Busschnittstelle und übermitteln den Geräteidentifikator über eine zweite Sla- ve-Busschnittstelle an ein weiteres Slave-Gerät. Dies ermöglicht es, die einzelnen Slave- Geräte sehr einfach in Serie miteinander zu koppeln. In einer weiteren Ausführungsform ist bei Slave-Geräten, welche noch keinen In one embodiment, the slave devices receive the device identifier via a first slave bus interface and transmit the device identifier to another slave device via a second slave bus interface. This makes it very easy to couple the individual slave devices in series. In a further embodiment is in slave devices, which still no
Geräteidentifikator empfangen haben, die zweite Slave-Busschnittstelle deaktiviert. Dadurch wird die Übertragung eines Geräteidentifikators bei einem Slave-Gerät gestoppt, welchem noch kein eigener Geräteidentifikator zugewiesen wurde. Dies verhindert, dass zwei Slave-Geräte den gleichen Geräteidentifikator als den ihnen zugewiesenen Device identifier, the second slave bus interface disabled. This stops the transmission of a device identifier on a slave device that has not yet been assigned its own device identifier. This prevents two slave devices from assigning the same device identifier as their assigned one
Geräteidentifikator annehmen. Accept device identifier.
In einer Ausführungsform aktiviert nach dem Speichern des empfangenen In one embodiment, activated after saving the received
Geräteidentifikators in einem Slave-Gerät das jeweilige Slave-Gerät seine entsprechende zweite Slave-Busschnittstelle. Dadurch wird es möglich, nach dem Zuweisen eines Geräteidentifikators an ein Slave-Gerät weitere Geräteidentifikatoren durch dieses Slave- Gerät an weitere Slave-Geräte weiterzuleiten. In einer weiteren Ausführungsform werden die Verfahrensschritte wiederholt, bis allen Slave-Geräten ein Geräteidentifikator zugewiesen wurde. Dadurch kann ein Bussystem auf sehr einfache Weise in Betrieb genommen werden. Device identifier in a slave device, the respective slave device its corresponding second slave bus interface. This makes it possible, after assigning a device identifier to a slave device, to forward further device identifiers through this slave device to other slave devices. In a further embodiment, the method steps are repeated until a device identifier has been assigned to all slave devices. This allows a bus system to be put into operation very easily.
In einer Ausführungsform wird das Verfahren in einem CAN-Bussystem oder einem CAN FD-Bussystem verwendet und die Slave-Geräte weisen jeweils einen ersten CAN- Transceiver oder einen ersten CANFD-Transceiver für die erste Slave-Busschnittstelle und einen zweiten CAN-Transceiver oder einen zweiten CANFD-Transceiver für die zweite Slave-Busschnittstelle auf. Dies ermöglicht es, das vorliegende Verfahren in einer Vielzahl von Anwendung, z.B. im Automobilbereich, einzusetzen. In one embodiment, the method is used in a CAN bus system or a CAN FD bus system and the slave devices each have a first CAN transceiver or a first CANFD transceiver for the first slave bus interface and a second CAN transceiver or a second CANFD transceiver for the second slave bus interface. This enables the present method to be used in a variety of applications, e.g. in the automotive sector, use.
In einer weiteren Ausführungsform sind jeweils der erste CAN-Transceiver und der zweite CAN-Transceiver in dem jeweiligen Slave-Gerät derart miteinander gekoppelt, dass Datensignale, welche an einem der CAN-Transceiver empfangen werden, an eine Recheneinrichtung des Slave-Geräts und an den anderen CAN-Transceiver zur Ausgabe weiter- geleitet werden, wobei Datensignale von der Recheneinrichtung des Slave-Geräts an den ersten CAN-Transceiver und an den zweiten CAN-Transceiver zur Ausgabe weitergeleitet werden. Dies ermöglicht die passive Weiterleitung von Daten, welche auf der ersten Slave-Busschnittstelle empfangen werden, an die zweite Slave-Busschnittstelle und umgekehrt, ohne dass dazu eine dedizierte Logik bzw. Elektronik notwendig wäre, welche die Weiterleitung steuert. In einer Ausführungsform weist das Verfahren den Schritt Arbitrieren des Zugriffs auf die CAN-Datenleitungen des CAN-Bussystems auf. Dadurch wird vermieden, dass zwei Busteilnehmer gleichzeitig auf den CAN-Bus zugreifen. In einer weiteren Ausführungsform werden zum Arbitrieren die Datenleitungen zwischen der Recheneinrichtung und dem ersten CAN-Transceiver und dem zweiten CAN- Transceiver auf eine positive Referenzspannung gesetzt, wenn keine Kommunikation auf den Datenleitungen stattfindet. Dadurch wird die Arbitrierung nicht mehr auf der Ebene der Busleitungen durchgeführt sondern in jedem einzelnen Slave-Gerät. Beispielsweise kann hierfür ein Pull-Up Widerstand verwendet werden. In a further embodiment, in each case the first CAN transceiver and the second CAN transceiver in the respective slave device are coupled to one another such that data signals which are received at one of the CAN transceivers, to a computing device of the slave device and to the other CAN transceiver are forwarded to the output, wherein data signals are forwarded from the computing device of the slave device to the first CAN transceiver and to the second CAN transceiver for output. This allows the passive routing of data received on the first slave bus interface to the second slave bus interface and vice versa, without the need for dedicated logic or electronics controlling the routing. In one embodiment, the method comprises the step of arbitrating the access to the CAN data lines of the CAN bus system. This prevents two bus users from accessing the CAN bus at the same time. In a further embodiment, for arbitration, the data lines between the computing device and the first CAN transceiver and the second CAN transceiver are set to a positive reference voltage when no communication takes place on the data lines. As a result, the arbitration is no longer carried out at the level of the bus lines but in each individual slave device. For example, a pull-up resistor can be used for this purpose.
Das Bus-System kann in einer Ausführungsform auch als CANFD, also als„CAN In one embodiment, the bus system can also be referred to as CANFD, that is to say as "CAN
FlexibleDatarate" Bussystem ausgebildet sein. In einer weiteren Ausführungsform kann ein Neuanlernen der Gerateidentifikatoren durch das Master-Gerät 2 an alle Slave-Geräte durch das Übermitteln eines speziellen Datensignals über die Busschnittstelle kommandiert werden. Nach dem Erhalt des speziellen Datensignals bringen sich alle Slave-Geräte in den Initialzustand, so dass das erfindungsgemäße Verfahren für jedes Slave-Gerät erneut durchgeführt werden muss. Im Ini- tialzustand ist durch die Recheneinrichtung der Slave-Geräte die Weiterleitung der Geräteidentifikatoren deaktiviert und die Slave-Geräte sind bereit neue In a further embodiment, re-training of the device identifiers may be commanded by the master device 2 to all slave devices by transmitting a special data signal over the bus interface After receiving the special data signal, all slave devices will be brought In the initial state, the method according to the invention has to be carried out again for each slave device In the initial state, the forwarding of the device identifiers is deactivated by the computing device of the slave devices and the slave devices are ready new
Geräteidentifikatoren zu speichern, ohne diese sofort weiterzuleiten. Store device identifiers without forwarding them immediately.
Die obigen Ausgestaltungen und Weiterbildungen lassen sich, sofern sinnvoll, beliebig miteinander kombinieren. Weitere mögliche Ausgestaltungen, Weiterbildungen und Implementierungen der Erfindung umfassen auch nicht explizit genannte Kombinationen von zuvor oder im Folgenden bezüglich der Ausführungsbeispiele beschriebenen Merkmalen der Erfindung. Insbesondere wird dabei der Fachmann auch Einzelaspekte als Verbesserungen oder Ergänzungen zu der jeweiligen Grundform der vorliegenden Erfindung hinzu- fügen. The above embodiments and developments can, if appropriate, combine with each other as desired. Further possible refinements, developments and implementations of the invention also include combinations of features of the invention which have not been explicitly mentioned above or described below with regard to the exemplary embodiments. In particular, the person skilled in the art will also add individual aspects as improvements or additions to the respective basic form of the present invention.
Kurze Beschreibung der Zeichnungen Die vorliegende Erfindung wird nachfolgend anhand der in den schematischen Figuren der Zeichnungen angegebenen Ausführungsbeispiele näher erläutert. Es zeigen dabei: Fig. 1 ein Ablaufdiagramm einer Ausführungsform eines erfindungsgemäßen Verfahrens; BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be explained in more detail below with reference to the embodiments given in the schematic figures of the drawings. It shows: 1 shows a flow chart of an embodiment of a method according to the invention;
Fig. 2 ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Master- Geräts; Fig. 2 is a block diagram of one embodiment of a master device according to the invention;
Fig. 3 ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Slave- Geräts; 3 is a block diagram of an embodiment of a slave device according to the invention;
Fig. 4 ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Bussystems; 4 shows a block diagram of an embodiment of a bus system according to the invention;
Fig. 5 ein Blockdiagramm einer weiteren Ausführungsform eines erfindungsgemäßen Fig. 5 is a block diagram of another embodiment of an inventive
Bussystems.  Bus system.
In allen Figuren sind gleiche bzw. funktionsgleiche Elemente und Vorrichtungen - sofern nichts anderes angegeben ist - mit denselben Bezugszeichen versehen worden. In all figures, identical or functionally identical elements and devices have been provided with the same reference numerals, unless stated otherwise.
Ausführungsformen der Erfindung Embodiments of the invention
Fig. 1 zeigt ein Ablaufdiagramm einer Ausführungsform eines erfindungsgemäßen Verfahrens. 1 shows a flow chart of an embodiment of a method according to the invention.
Das Verfahren kann u.a. in einem Bussystem 1 angewendet werden, in dem ein Master- Gerät 2 einer Vielzahl von Slave-Geräten 3-1 - 3-n Geräteidentifikatoren 4 zuweisen muss. The method can i.a. be applied in a bus system 1, in which a master device 2 to a plurality of slave devices 3-1 - 3-n device identifiers 4 must assign.
In einem ersten Schritt S1 sieht das Verfahren das Übermitteln eines in dem Bussystem 1 nicht vergebenen Geräteidentifikators 4 durch das Master-Gerät 2 an ein mit dem Master- Gerät 2 gekoppeltes der Slave-Geräte 3-1 - 3-n vor. In a first step S1, the method provides for the transmission of a device identifier 4 not assigned in the bus system 1 by the master device 2 to a slave device 3-1-3-n coupled to the master device 2.
In einem zweiten Schritt S2 überprüft das Slave-Gerät 3-1 - 3-n, welchem der In a second step S2, the slave device 3-1 - 3-n checks which of the
Geräteidentifikator 4 übermittelt wurde, ob dem Slave-Gerät 3-1 - 3-n bereits ein Device identifier 4 has been transmitted, whether the slave device 3-1 - 3-n already on
Geräteidentifikator 4 zugewiesen wurde. In einem dritten Schritt S3 speichert das Slave-Gerät 3-1 - 3-n den empfangenen Device identifier 4 has been assigned. In a third step S3, the slave device 3-1 - 3-n stores the received
Gerateidentifikator 4 in dem Slave-Gerät 3-1 - 3-n, welchem der Gerateidentifikator 4 übermittelt wurde, als den zugewiesenen Gerateidentifikator 4, falls dem Slave-Gerät 3-1 - 3-n noch kein Geräteidentifikator 4 zugewiesen wurde. Device identifier 4 in the slave device 3-1 - 3-n, to which the device identifier 4 has been transmitted, as the assigned device identifier 4, if no device identifier 4 has been assigned to the slave device 3-1 - 3-n.
Schließlich, falls dem Slave-Gerät 3-1 - 3-n, welchem der Geräteidentifikator 4 übermittelt wurde, bereits ein Geräteidentifikator 4 zugewiesen wurde, übermittelt das Slave-Gerät 3- 1 - 3-n, welchem der Geräteidentifikator 4 übermittelt wurde, den Geräteidentifikator 4 in Schritt S4 an ein weiteres Slave-Gerät 3-1 - 3-n. Finally, if the slave device 3-1-3-n, to which the device identifier 4 was transmitted, has already been assigned a device identifier 4, the slave device 3-1-3-n, to which the device identifier 4 was transmitted, transmits the Device identifier 4 in step S4 to another slave device 3-1 - 3-n.
Das Verfahren sieht ferner vor, dass der Schritt des Übermitteins S4 von allen Slave- Geräten 3-1 - 3-n wiederholt wird, denen bereits ein Geräteidentifikator 4 zugewiesen wurde. The method further provides that the step of transmission S4 is repeated by all slave devices 3-1-3-n to which a device identifier 4 has already been assigned.
Das vorliegende Verfahren basiert darauf, dass die einzelnen Slave-Geräte 3-1 - 3-n der Reihe nach aktiviert werden und der Reihe nach einen Geräteidentifikator 4 zugewiesen bekommen. Dabei prüfen die Slave-Geräte 3-1 - 3-n selbst, ob sie bereits initialisiert wurden, also, ob ihnen bereits ein Geräteidentifikator 4 zugewiesen wurde. The present method is based on the fact that the individual slave devices 3-1 - 3-n are activated in order and assigned a device identifier 4 in turn. The slave devices 3-1-3-n themselves check whether they have already been initialized, that is to say whether a device identifier 4 has already been assigned to them.
In einer Ausführungsform erfolgt dabei das Weiterleiten des Geräteidentifikators 4 durch ein Slave-Gerät 3-1 - 3-n passiv und automatisch, d.h. dass keine aktive Recheneinrichtung oder dergleichen für das Weiterleiten notwendig ist. In einer Ausführungsform sieht das Verfahren vor, dass die Slave-Geräte 3-1 - 3-n den Geräteidentifikator 4 über eine erste Slave-Busschnittstelle 10-1 - 10-n empfangen. Ferner sieht das Verfahren vor, dass die Slave-Geräte 3-1 - 3-n den Geräteidentifikator 4 über eine zweite Slave-Busschnittstelle 1 1 -1 - 1 1 -n an ein weiteres Slave-Gerät 3-1 - 3-n übermitteln. In one embodiment, the forwarding of the device identifier 4 by a slave device 3-1 - 3-n is done passively and automatically, i. that no active computing device or the like is necessary for forwarding. In one embodiment, the method provides that the slave devices 3-1 - 3-n receive the device identifier 4 via a first slave bus interface 10-1 - 10-n. Furthermore, the method provides that the slave devices 3-1 - 3-n transmit the device identifier 4 via a second slave bus interface 1 1 -1 - 1 1 -n to another slave device 3-1 - 3-n ,
In einer weiteren Ausführungsform ist bei Slave-Geräten 3-1 - 3-n, welche noch keinen Geräteidentifikator 4 empfangen haben, die zweite Slave-Busschnittstelle 1 1 -1 - 1 1 -n deaktiviert. Solche Slave-Geräte 3-1 - 3-n können also den Geräteidentifikator 4 noch nicht über die zweite Slave-Busschnittstelle 1 1 -1 - 1 1 -n weiterleiten, wenn sie keinen Geräteidentifikator 4 erhalten haben. In einer Ausführungsform des Verfahrens ist vorgesehen, dass nach dem Speichern des empfangenen Geräteidentifikators 4 in einem Slave-Gerät 3-1 - 3-n das jeweilige Slave- Gerät 3-1 - 3-n seine entsprechende zweite Slave-Busschnittstelle 1 1 -1 - 1 1 -n aktiviert. So können alleine durch das sequentielle Übermitten der Geräteidentifikatoren 4 durch das Master-Gerät 2 die einzelnen Slave-Geräte 3-1 - 3-n initialisiert werden. In a further embodiment, in the case of slave devices 3-1-3-n, which have not yet received a device identifier 4, the second slave bus interface 1 1 -1 -1 1 -n is deactivated. Such slave devices 3-1 - 3-n can not forward the device identifier 4 via the second slave bus interface 1 1 -1 - 1 1 -n, if they have not received a device identifier 4. In one embodiment of the method, it is provided that after the received device identifier 4 has been stored in a slave device 3-1-3-n, the respective slave device 3-1-3-n has its corresponding second slave bus interface 1 1 -1 - 1 1 -n activated. Thus, the individual slave devices 3-1 - 3-n can be initialized solely by the sequential over-centering of the device identifiers 4 by the master device 2.
In einer Ausführungsform des Verfahrens werden die Verfahrensschritte S1 - S4 wiederholt, bis allen Slave-Geräten 3-1 - 3-n ein Geräteidentifikator 4 zugewiesen wurde. Das Master-Gerät 2 sendet in solch einer Ausführungsform also für jedes Slave-Gerät 3-1 - 3- n einen Geräteidentifikator 4 aus. In one embodiment of the method, the method steps S1-S4 are repeated until a device identifier 4 has been assigned to all slave devices 3-1-3-n. In such an embodiment, therefore, the master device 2 transmits a device identifier 4 for each slave device 3-1-3n.
In einer Ausführungsform wird das Verfahren in einem CAN-Bussystem 1 verwendet. Ferner weisen die Slave-Geräte 3-1 - 3-n jeweils einen ersten CAN-Transceiver 12-1 - 12- n für die erste Slave-Busschnittstelle 10-1 - 10-n und einen zweiten CAN-Transceiver 13-1 - 13-n für die zweite Slave-Busschnittstelle 1 1 -1 - 1 1 -n auf. Dabei sind jeweils der erste CAN-Transceiver 12-1 - 12-n und der zweite CAN-Transceiver 13-1 - 13-n in dem jeweiligen Slave-Gerät 3-1 - 3-n derart miteinander gekoppelt, dass Datensignale, welche an einem der CAN-Transceiver 12-1 - 12-n, 13-1 - 13-n empfangen werden, an eine Recheneinrichtung 14 des Slave-Geräts 3-1 - 3-n und an den anderen CAN-Transceiver 12-1 - 12-n, 13-1 - 13-n zur Ausgabe weitergeleitet werden. Schließlich werden Datensignale von der Recheneinrichtung 14-1 - 14-n des Slave-Geräts 3-1 - 3-n an den ersten CAN- Transceiver 12-1 - 12-n und an den zweiten CAN-Transceiver 13-1 - 13-n gleichzeitig zur Ausgabe weitergeleitet. Das Verfahren sieht also vor, dass Signale durch die einzelnen Slave-Geräte 3-1 - 3-n in beide Richtungen hindurchgeleitet werden, also zwischen bei- den Slave-Busschnittstellen 10-1 - 10-n und 1 1 -1 - 1 1 -n hin und her, und die Signale, welche ein Slave-Gerät 3-1 - 3-n selbst erzeugt, auf beiden Slave-Busschnittstellen 10-1 - 10-n, 1 1 -1 - 1 1 -n ausgegeben werden. In one embodiment, the method is used in a CAN bus system 1. Furthermore, the slave devices 3-1 - 3-n each have a first CAN transceiver 12-1 - 12-n for the first slave bus interface 10-1 - 10-n and a second CAN transceiver 13-1 - 13 -n for the second slave bus interface 1 1 -1 - 1 1 -n. In each case, the first CAN transceiver 12-1 - 12-n and the second CAN transceiver 13-1 - 13-n in the respective slave device 3-1 - 3-n are coupled to each other in such a way that data signals which on one of the CAN transceivers 12-1 - 12-n, 13-1 - 13-n, to a computing device 14 of the slave device 3-1 - 3-n and to the other CAN transceiver 12-1 - 12 -n, 13-1 - 13-n for distribution. Finally, data signals from the computing device 14-1 - 14-n of the slave device 3-1 - 3-n to the first CAN transceiver 12-1 - 12-n and to the second CAN transceiver 13-1 - 13- n forwarded simultaneously to the output. The method therefore provides that signals are passed through the individual slave devices 3-1-3n in both directions, ie between both slave bus interfaces 10-1-10-n and 1 1 -1 -1 1 -n back and forth, and the signals which a slave device 3-1 - 3-n itself generates are output on both slave bus interfaces 10-1 - 10-n, 1 1 -1 - 1 1 -n.
In einer Ausführungsform des Verfahrens ist das Arbitrieren des Zugriffs auf die CAN- Datenleitungen des CAN-Bussystems 1 vorgesehen, wobei zum Arbitrieren die Datenleitungen zwischen der Recheneinrichtung 14-1 - 14-n und dem ersten CAN-Transceiver 12- 1 - 12-n und dem zweiten CAN-Transceiver 13-1 - 13-n auf eine positive Referenzspannung gesetzt werden, wenn keine Kommunikation auf den Datenleitungen stattfindet. Dies kann z.B. durch einen Pull-Up Wiederstand erfolgen. Fig. 2 zeigt ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Master- Geräts 2. In one embodiment of the method, the arbitration of the access to the CAN data lines of the CAN bus system 1 is provided, wherein for arbitration, the data lines between the computing device 14-1 - 14-n and the first CAN transceiver 12-1 - 12-n and the second CAN transceiver 13-1 - 13-n are set to a positive reference voltage when there is no communication on the data lines. This can be done, for example, by a pull-up resistor. 2 shows a block diagram of an embodiment of a master device 2 according to the invention.
Das Master-Gerät 2 weist eine Steuereinrichtung 16 auf, die mit einer Master- Busschnittstelle 15 gekoppelt ist. Über die Master-Busschnittstelle 15 kann die Steuereinrichtung 16 einen Geräteidentifikator 4 ausgeben. The master device 2 has a control device 16, which is coupled to a master bus interface 15. The control device 16 can output a device identifier 4 via the master bus interface 15.
In einer Ausführungsform ist das Bussystem 1 als ein CAN-Bussystem 1 ausgebildet. Ferner ist die Master-Busschnittstelle 15 als eine CAN-Busschnittstelle 15 ausgebildet. In one embodiment, the bus system 1 is designed as a CAN bus system 1. Furthermore, the master bus interface 15 is designed as a CAN bus interface 15.
Das Master-Gerät 2 kann z.B. ein übergeordnetes Steuergerät in einem Automobil sein, welches eine Reihe von Slave-Geräten 3-1 - 3-n steuert. Beispielsweise kann das Master-Gerät 2 ein Batteriesteuergerät 2 in einem Elektrofahrzeug sein, welches die The master device 2 may e.g. a higher level controller in an automobile that controls a number of slave devices 3-1-3-n. For example, the master device 2 may be a battery control device 2 in an electric vehicle including the
Traktionsbatterie des Elektrofahrzeugs überwacht bzw. steuert. Traction battery of the electric vehicle monitors or controls.
Fig. 3 zeigt ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Slave- Geräts 3-1 . Das Slave-Gerät 3-1 weist eine Recheneinrichtung 14-1 auf, welche mit einer ersten Sla- ve-Busschnittstelle 10-1 und mit einer zweiten Slave-Busschnittstelle 1 1 -1 gekoppelt ist. Dabei ist insbesondere nach dem Start des Slave-Geräts 3-1 die zweite Slave- Busschnittstelle 1 1 -1 deaktiviert. Die Recheneinrichtung 14-1 ist dazu ausgebildet, über die erste Slave-Busschnittstelle 10-1 einen Geräteidentifikator 4 zu empfangen und daraufhin die zweite Slave- Busschnittstelle 1 1 -1 zu aktivieren. Erst nach der Aktivierung können Daten über die zweite Slave-Busschnittstelle 1 1 -1 gesendet werden. Die Aktivierung der zweiten Slave- Busschnittstelle 1 1 - 1 kann z.B. mittels einer einfachen logischen UND-Schaltung des Signaleingangs der zweiten Slave-Busschnittstelle 1 1 -1 und eines geräteinternen Aktivierungssignals erfolgen, welches von der Recheneinrichtung 14-1 ausgegeben wird. Dies ist in Fig. 5 im Detail dargestellt. 3 shows a block diagram of an embodiment of a slave device 3-1 according to the invention. The slave device 3-1 has a computing device 14-1, which is coupled to a first slave bus interface 10-1 and to a second slave bus interface 1 1 -1. In particular, after the start of the slave device 3-1, the second slave bus interface 1 1 -1 is deactivated. The computing device 14-1 is designed to receive a device identifier 4 via the first slave bus interface 10-1 and then to activate the second slave bus interface 1 1 -1. Only after activation can data be sent via the second slave bus interface 1 1 -1. The activation of the second slave bus interface 1 1 - 1 may e.g. by means of a simple logical AND circuit of the signal input of the second slave bus interface 1 1 -1 and a device-internal activation signal, which is output by the computing device 14-1. This is shown in Fig. 5 in detail.
In einer Ausführungsform ist das Bussystem 1 ein CAN-Bussystem 1 mit einem CAN-Bus als Datenbus, wie oben bereits erläutert. In einer solchen Ausführungsform sind die erste Slave-Busschnittstelle 10-1 und die zweite Slave-Busschnittstelle 1 1 -1 als CAN- Busschnittstellen 10-1 und 1 1 -1 mit jeweils einem CAN-Transceiver 12-1 , 13-1 ausgebildet (siehe Fig. 5). Die erste Slave-Busschnittstelle 10-1 und die zweite Slave- Busschnittstelle 1 1 -1 sind dabei in einer Ausführungsform so miteinander verschaltet, dass Signale auf den Datenleitungen des CAN-Busses, die auf einer der Slave- Busschnittstellen 10-1 , 1 1 -1 empfangen werden, der Recheneinrichtung 14-1 und der jeweils anderen der Slave-Busschnittstellen 1 1 -1 , 10-1 bereitgestellt werden. In one embodiment, the bus system 1 is a CAN bus system 1 with a CAN bus as the data bus, as already explained above. In such an embodiment, the first slave bus interface 10-1 and the second slave bus interface 1 1 -1 as CAN Bus interfaces 10-1 and 1 1 -1, each with a CAN transceiver 12-1, 13-1 formed (see Fig. 5). The first slave bus interface 10-1 and the second slave bus interface 1 1 -1 are interconnected in one embodiment so that signals on the data lines of the CAN bus, on one of the slave bus interfaces 10-1, 1 1 -1, the computing device 14-1 and the other of the slave bus interfaces 1 1 -1, 10-1 are provided.
So wird es möglich, trotz der anfänglichen Deaktivierung der zweiten Slave- Busschnittstelle 1 1 -1 die Slave-Geräte 3-1 - 3-n in einer Serienschaltung bzw. Daisy- Chain anzuordnen, in der das Master-Gerät 2 und jedes Slave-Gerät 3-1 - 3-n die Daten erhält, welche von anderen Geräten z.B. Master-Gerät 2 und Slave-Geräte 3-1 - 3-n auf dem CAN-Bus gesendet werden. Thus, despite the initial deactivation of the second slave bus interface 1 1 -1, it is possible to arrange the slave devices 3-1 - 3-n in a series connection or daisy chain, in which the master device 2 and each slave device Device 3-1 - 3-n receives the data, which from other devices eg Master device 2 and slave devices 3-1 - 3-n are sent on the CAN bus.
Fig. 4 zeigt ein Blockdiagramm einer Ausführungsform eines erfindungsgemäßen Bussys- tems 1. 4 shows a block diagram of an embodiment of a bus system 1 according to the invention.
Das Bussystem 1 der Fig. 4 ist als ein CAN-Bussystem 1 ausgebildet. Das Bussystem 1 weist ein Master-Gerät 2 auf, welches über zwei CAN-Datenleitungen CAN_H, CAN_L mit der ersten Slave-Busschnittstelle 10-2 des Slave-Geräts 3-2 gekoppelt ist. Die zweite Sla- ve-Busschnittstelle 1 1 -2 des Slave-Geräts 3-2 ist mit der ersten Slave-Busschnittstelle 10- 3 des Slave-Geräts 3-3 gekoppelt. Die zweite Slave-Busschnittstelle 1 1 -3 des Slave- Geräts 3-3 ist mit der ersten Slave-Busschnittstelle 10-n des Slave-Geräts 3-n gekoppelt. Dabei sind weitere Slave-Geräte zwischen Slave-Gerät 3-3 und Slave-Gerät 3-n durch drei Punkte angedeutet. The bus system 1 of FIG. 4 is designed as a CAN bus system 1. The bus system 1 has a master device 2, which is coupled via two CAN data lines CAN_H, CAN_L to the first slave bus interface 10-2 of the slave device 3-2. The second slave bus interface 1 1 -2 of the slave device 3-2 is coupled to the first slave bus interface 10- 3 of the slave device 3-3. The second slave bus interface 1 1 -3 of the slave device 3-3 is coupled to the first slave bus interface 10-n of the slave device 3-n. In this case, further slave devices between slave device 3-3 and slave device 3-n are indicated by three points.
Der CAN-Bus der Fig. 4 weist zwei Datenleitungen CAN_H und CAN_L auf. Da es sich bei einem CAN-Bus um ein differentielles Bussystem handelt transportiert eine der beiden Datenleitungen das hohe und die andere das niedrige Signal. Folglich steht die Abkürzung CAN_H für CAN HIGH und die Abkürzung CAN_L für CAN LOW. The CAN bus of FIG. 4 has two data lines CAN_H and CAN_L. Since a CAN bus is a differential bus system, one of the two data lines carries the high signal and the other the low signal. Consequently, the abbreviation CAN_H stands for CAN HIGH and the abbreviation CAN_L stands for CAN LOW.
Fig. 5 zeigt ein Blockdiagramm einer weiteren Ausführungsform eines erfindungsgemäßen Bussystems 1 . In Fig. 5 sind dabei lediglich drei Slave-Geräte 3-4, 3-5 und 3-n dargestellt, wobei weitere Slave-Geräte zwischen Slave-Gerät 3-5 und Slave-Gerät 3-n durch drei Punkte dargestellt werden. Die Slave-Geräte 3-4 - 3-n haben alle den gleichen Aufbau. Der Aufbau der Slave-Geräte wird daher exemplarisch an Slave-Gerät 3-4 erklärt. 5 shows a block diagram of a further embodiment of a bus system 1 according to the invention. In FIG. 5, only three slave devices 3-4, 3-5 and 3-n are shown, whereby further slave devices between slave device 3-5 and slave device 3-n are represented by three dots. The slave devices 3-4 - 3-n all have the same structure. The structure of the slave devices is therefore explained as an example on slave device 3-4.
Direkt mit den CAN-Datenleitungen CAN_H und CAN_L verbunden ist der erste CAN- Transceiver 12-4 der Datenausgang RX des ersten CAN-Transceivers 12-4 ist mit dem Eingang des logischen UND-Blocks 20-4 und mit dem Eingang des logischen UND-Blocks 22-4 gekoppelt. Der Ausgang des logischen UND-Blocks 20-4 ist mit dem Dateneingang CAN0_RX der Recheneinrichtung 14-4 gekoppelt. Der Datenausgang CAN0_TX der Recheneinrichtung 14-4 ist mit dem Eingang des logischen UND-Blocks 21 -4 gekoppelt und mit dem Eingang des logischen UND-Blocks 22-4 gekoppelt. Der Ausgang des logischen UND-Blocks 21 -4 ist mit dem Dateneingang TX des ersten CAN-Transceivers 12-4 gekoppelt. Connected directly to the CAN data lines CAN_H and CAN_L is the first CAN transceiver 12-4, the data output RX of the first CAN transceiver 12-4 is connected to the input of the logical AND block 20-4 and to the input of the logical AND gate. Blocks 22-4 coupled. The output of the logical AND block 20-4 is coupled to the data input CAN0_RX of the computing device 14-4. The data output CAN0_TX of the computing device 14-4 is coupled to the input of the logical AND block 21 -4 and coupled to the input of the logical AND block 22-4. The output of the logical AND block 21 -4 is coupled to the data input TX of the first CAN transceiver 12-4.
Der zweite CAN-Transceiver 13-4 ist mit den Datenleitungen CAN_H und CAN_L des CAN-Busses zwischen dem Slave-Gerät 3-4 und dem nächsten Slave-Gerät der Serienschaltung, dem Slave-Gerät 3-5 gekoppelt. Beim Slave-Gerät 3-4 ist der Datenausgang RX des zweiten CAN-Transceivers 13-4 mit dem Eingang des logischen UND-Blocks 20-4 und mit dem Eingang des logischen UND-Blocks 21 -4 gekoppelt. Schließlich ist ein Aktivierungsausgang EN_CAN1_TX der Recheneinrichtung 14-4 mit dem Eingang des UND- Blocks 22-4 gekoppelt, dessen Ausgang mit dem Dateneingang TX des zweiten CAN- Transceivers 13-4 gekoppelt ist. The second CAN transceiver 13-4 is coupled to the data lines CAN_H and CAN_L of the CAN bus between the slave device 3-4 and the next slave device of the series circuit, the slave device 3-5. In the slave device 3-4, the data output RX of the second CAN transceiver 13-4 is coupled to the input of the logical AND block 20-4 and to the input of the logical AND block 21 -4. Finally, an activation output EN_CAN1_TX of the computing device 14-4 is coupled to the input of the AND block 22-4 whose output is coupled to the data input TX of the second CAN transceiver 13-4.
Die dargestellte Ausführungsform des Slave-Geräts 3-4 ermöglicht es, dass Signale, welche von einem der zwei CAN-Transceiver 12-4, 13-4 empfangen werden, automatisch bzw. passiv auf den jeweils anderen CAN-Transceiver übermittelt werden. Außerdem kann ein Signal, welches von der Recheneinrichtung 14-4 ausgegeben wird, ebenfalls passiv bzw. automatisch an die zwei CAN-Transceiver 12-4 und 13-4 übertragen werden. The illustrated embodiment of the slave device 3-4 allows signals received from one of the two CAN transceivers 12-4, 13-4 to be automatically or passively transmitted to the other CAN transceiver, respectively. In addition, a signal output from the computing device 14-4 may also be passively transmitted to the two CAN transceivers 12-4 and 13-4, respectively.
Eine Arbitrierung der Datenkommunikation kann z.B. durch einen (nicht dargestellten) Pull-Up Widerstand erfolgen, der an den TX bzw. RX Anschlüssen der zwei CAN- Transceiver 12-4, 13-4 angeordnet wird. Arbitration of the data communication may be e.g. by a pull-up resistor (not shown) arranged at the TX and RX terminals of the two CAN transceivers 12-4, 13-4, respectively.
Alternativ zu der in Fig. 5 dargestellten Aktivierung des zweiten CAN-Transceivers durch eine UN D-Verknüpfung der Signalleitung mit dem Aktivierungssignal, kann der CAN- Transceiver auch durch einen Reset- bzw. Inhibit-Eingang aktiviert werden. Obwohl die vorliegende Erfindung anhand bevorzugter Ausführungsbeispiele vorstehend beschrieben wurde, ist sie darauf nicht beschränkt, sondern auf vielfältige Art und Weise modifizierbar. Insbesondere lässt sich die Erfindung in mannigfaltiger Weise verändern oder modifizieren, ohne vom Kern der Erfindung abzuweichen. As an alternative to the activation of the second CAN transceiver shown in FIG. 5 by a UN D connection of the signal line with the activation signal, the CAN transceiver can also be activated by a reset or inhibit input. Although the present invention has been described above with reference to preferred embodiments, it is not limited thereto, but modifiable in a variety of ways. In particular, the invention can be varied or modified in many ways without deviating from the gist of the invention.

Claims

Ansprüche claims
1 . Verfahren zur Vergabe von Geräteidentifikatoren (4) in einem Bussystem (1 ) mit einem Master-Gerät (2) und mindestens zwei Slave-Geräten (3-1 - 3-n), mit den Schritten: 1 . Method for assigning device identifiers (4) in a bus system (1) with a master device (2) and at least two slave devices (3-1 - 3-n), comprising the steps of:
Übermitteln (S1 ) eines in dem Bussystem (1 ) nicht vergebenen Gerateidentifikators (4) durch das Master-Gerät (2) an ein mit dem Master-Gerät (2) gekoppeltes der Slave- Geräte (3-1 - 3-n); Transmitting (S1) a device identifier (4) not assigned in the bus system (1) by the master device (2) to a slave device (3-1-3-n) coupled to the master device (2);
Überprüfen (S2) durch das Slave-Gerät (3-1 - 3-n), welchem der Geräteidentifikator (4) übermittelt wurde, ob dem Slave-Gerät (3-1 - 3-n) bereits ein Geräteidentifikator (4) zugewiesen wurde; Speichern (S3) des empfangenen Geräteidentifikators (4) in dem Slave-Gerät (3-1 - 3-n), welchem der Geräteidentifikator (4) übermittelt wurde, als den zugewiesenen Checking (S2) by the slave device (3-1 - 3-n) to which the device identifier (4) has been transmitted, whether the slave device (3-1 - 3-n) has already been assigned a device identifier (4) ; Storing (S3) the received device identifier (4) in the slave device (3-1-3-n) to which the device identifier (4) has been transmitted as the assigned one
Geräteidentifikator (4), falls dem Slave-Gerät (3-1 - 3-n) noch kein Geräteidentifikator (4) zugewiesen wurde; Übermitteln (S4) des Geräteidentifikators (4) an ein weiteres Slave-Gerät (3-1 - 3-n), durch das Slave-Gerät (3-1 - 3-n), welchem der Geräteidentifikator (4) übermittelt wurde, wenn dem Slave-Gerät (3-1 - 3-n), welchem der Geräteidentifikator (4) übermittelt wurde, bereits ein Geräteidentifikator (4) zugewiesen wurde; wobei der Schritt des Übermitteins von allen Slave-Geräten (3-1 - 3-n) wiederholt wird, denen bereits ein Geräteidentifikator (4) zugewiesen wurde. Device identifier (4) if no device identifier (4) has been assigned to the slave device (3-1 - 3-n); Transmitting (S4) the device identifier (4) to another slave device (3-1 - 3-n) by the slave device (3-1 - 3-n) to which the device identifier (4) was transmitted when the slave device (3-1 - 3-n), to which the device identifier (4) has been transmitted, has already been assigned a device identifier (4); wherein the step of transmitting is repeated by all the slave devices (3-1 - 3-n) to which a device identifier (4) has already been assigned.
2. Verfahren nach Anspruch 1 , wobei die Slave-Geräte (3-1 - 3-n) den Geräteidentifikator (4) über eine erste Slave-2. The method of claim 1, wherein the slave devices (3-1 - 3-n) the device identifier (4) via a first slave
Busschnittstelle empfangen und über eine zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) an ein weiteres Slave-Gerät (3-1 - 3-n) übermitteln; wobei bei Slave-Geräten (3-1 - 3-n), welche noch keinen Geräteidentifikator (4) empfan- gen haben, die zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) deaktiviert ist. Receive bus interface and via a second slave bus interface (1 1 -1 - 1 1 -n) to another slave device (3-1 - 3-n) transmit; wherein in slave devices (3-1 - 3-n), which have not yet received a device identifier (4), the second slave bus interface (1 1 -1 - 1 1 -n) is disabled.
3. Verfahren nach Anspruch 2, wobei nach dem Speichern des empfangenen Geräteidentifikators (4) in einem Slave- Gerät (3-1 - 3-n) das jeweilige Slave-Gerät (3-1 - 3-n) seine entsprechende zweite Slave- Busschnittstelle (1 1 -1 - 1 1 -n) aktiviert. 3. The method of claim 2, wherein after storing the received device identifier (4) in a slave device (3-1 - 3-n), the respective slave device (3-1 - 3-n) its corresponding second slave Bus interface (1 1 -1 - 1 1 -n) activated.
4. Verfahren nach einem der Ansprüche 1 bis 3, wobei die Verfahrensschritte wiederholt werden, bis allen Slave-Geräten (3-1 - 3-n) ein Geräteidentifikator (4) zugewiesen wurde. 4. The method according to any one of claims 1 to 3, wherein the method steps are repeated until all slave devices (3-1 - 3-n) has been assigned a device identifier (4).
5. Verfahren nach einem der Ansprüche 1 bis 4, wobei das Verfahren in einem CAN-Bussystem (1 ) verwendet wird und die Slave-Geräte (3-1 - 3-n) jeweils einen ersten CAN-Transceiver (12-1 - 12-n) für die erste Slave-5. The method according to any one of claims 1 to 4, wherein the method is used in a CAN bus system (1) and the slave devices (3-1 - 3-n) each having a first CAN transceiver (12-1 - 12 -n) for the first slave
Busschnittstelle (10-1 - 10-n) und einen zweiten CAN-Transceiver (13-1 - 13-n) für die zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) aufweisen; und wobei jeweils der erste CAN-Transceiver und der zweite CAN-Transceiver in dem jeweili- gen Slave-Gerät (3-1 - 3-n) derart miteinander gekoppelt sind, dass Datensignale, welche an einem der CAN-Transceiver empfangen werden, an eine Recheneinrichtung (14-1 - 14-n) des Slave-Geräts (3-1 - 3-n) und an den anderen CAN-Transceiver zur Ausgabe weitergeleitet werden; und wobei Datensignale von der Recheneinrichtung (14-1 - 14-n) des Slave-Geräts (3-1 - 3-n) an den ersten CAN-Transceiver (12-1 - 12-n) und an den zweiten CAN-Transceiver (13-1 - 13-n) zur Ausgabe weitergeleitet werden. Bus interface (10-1 - 10-n) and a second CAN transceiver (13-1 - 13-n) for the second slave bus interface (1 1 -1 - 1 1 -n); and wherein in each case the first CAN transceiver and the second CAN transceiver in the respective slave device (3-1-3-n) are coupled to one another in such a way that data signals which are received at one of the CAN transceivers are connected to a computing device (14-1 - 14-n) of the slave device (3-1 - 3-n) and forwarded to the other CAN transceiver for output; and wherein data signals from the computing device (14-1 - 14-n) of the slave device (3-1 - 3-n) to the first CAN transceiver (12-1 - 12-n) and to the second CAN transceiver (13-1 - 13-n) for distribution.
6. Verfahren nach Anspruch 5, mit dem Schritt: 6. The method according to claim 5, comprising the step:
Arbitrieren des Zugriffs auf die CAN-Datenleitungen des CAN-Bussystems (1 ); wobei zum Arbitrieren die Datenleitungen zwischen der Recheneinrichtung (14-1 - 14-n) und dem ersten CAN-Transceiver (12-1 - 12-n) und dem zweiten CAN-Transceiver (13-1 - 13-n) auf eine positive Referenzspannung gesetzt werden, wenn keine Kommunikation auf den Datenleitungen stattfindet. Arbitrating the access to the CAN data lines of the CAN bus system (1); wherein for arbitration, the data lines between the computing device (14-1 - 14-n) and the first CAN transceiver (12-1 - 12-n) and the second CAN transceiver (13-1 - 13-n) to a positive Reference voltage can be set if no communication takes place on the data lines.
7. Master-Gerät (2) für ein Bussystem (1 ), mit einer Master-Busschnittstelle (15), welche dazu ausgebildet ist, das Master-Gerät (2) über das Bussystem (1 ) direkt mit einem Slave-Gerät (3-1 - 3-n) zu koppeln; mit einer Steuereinrichtung (16), welche dazu ausgebildet ist, beim Inbetriebnehmen des Bussystems (1 ) über die Master-Busschnittstelle (15) lediglich Nachrichten auszusenden, welche jeweils einen in dem Bussystem (1 ) nicht vergebenen Geräteidentifikator (4) auf- weisen, bis jedem Slave-Gerät (3-1 - 3-n) in dem Bussystem (1 ) ein Geräteidentifikator (4) zugewiesen wurde. 7. master device (2) for a bus system (1), with a master bus interface (15), which is adapted to the master device (2) via the bus system (1) directly to a slave device (3 To couple -1 to 3-n); with a control device (16), which is designed to send out only messages when commissioning the bus system (1) via the master bus interface (15), which each have a device identifier (4) not assigned in the bus system (1), until each slave device (3-1 - 3-n) in the bus system (1) has been assigned a device identifier (4).
8. Master-Gerät nach Anspruch 7, wobei das Bussystem (1 ) als ein CAN-Bus oder ein CANFD-Bus ausgebildet ist; und wobei die Master-Busschnittstelle (15) eine CAN-Busschnittstelle oder eine CANFD- Busschnittstelle ist. 8. master device according to claim 7, wherein the bus system (1) is designed as a CAN bus or a CANFD bus; and wherein the master bus interface (15) is a CAN bus interface or a CANFD bus interface.
9. Slave-Gerät (3-1 - 3-n) für ein Bussystem (1 ), mit einer ersten Slave-Busschnittstelle (10-1 - 10-n) und mit einer zweiten Slave- Busschnittstelle (10-1 - 10-n), wobei nach dem Start des Slave-Geräts (3-1 - 3-n) die zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) deaktiviert ist; mit einer Recheneinrichtung (14-1 - 14-n), welche dazu ausgebildet ist, die zweite Slave- Busschnittstelle (1 1 -1 - 1 1 -n) zu aktivieren, nachdem die Recheneinrichtung (14-1 - 14-n) über die erste Slave-Busschnittstelle (10-1 - 10-n) einen Geräteidentifikator (4) empfangen hat. 9. Slave device (3-1 - 3-n) for a bus system (1), with a first slave bus interface (10-1 - 10-n) and with a second slave bus interface (10-1 - 10) n), wherein after the start of the slave device (3-1 - 3-n), the second slave bus interface (1 1 -1 - 1 1 -n) is disabled; with a computing device (14-1 - 14-n), which is designed to activate the second slave bus interface (1 1 -1 - 1 1 -n) after the computing device (14-1 - 14-n) via the first slave bus interface (10-1 - 10-n) has received a device identifier (4).
10. Slave-Gerät (3-1 - 3-n) nach Anspruch 9, wobei das Bussystem (1 ) als ein CAN-Bus oder ein CANFD-Bus ausgebildet ist; und wobei die erste Slave-Busschnittstelle (10-1 - 10-n) und die zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) als CAN-Busschnittstellen oder CANFD-Busschnittstelle ausgebildet sind; wobei das Slave-Gerät (3-1 - 3-n) einen ersten CAN-Transceiver (12-1 - 12-n) für die erste Slave-Busschnittstelle (10-1 - 10-n) und einen zweiten CAN-Transceiver (13-1 - 13-n) für die zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -n) aufweist; und wobei der erste CAN-Transceiver und der zweite CAN-Transceiver und die Recheneinrichtung (14-1 - 14-n) in dem Slave-Gerät (3-1 - 3-n) derart miteinander gekoppelt sind, dass Datensignale, welche an einem der CAN-Transceiver empfangen werden, an die Recheneinrichtung (14-1 - 14-n) und an den anderen CAN-Transceiver zur Ausgabe wei- tergeleitet werden, und Datensignale von der Recheneinrichtung (14-1 - 14-n) an den ersten CAN-Transceiver (12-1 - 12-n) und an den zweiten CAN-Transceiver (13-1 - 13-n) zur Ausgabe weitergeleitet werden. 10. slave device (3-1 - 3-n) according to claim 9, wherein the bus system (1) is designed as a CAN bus or a CANFD bus; and wherein the first slave bus interface (10-1 - 10-n) and the second slave bus interface (1 1 -1 - 1 1 -n) are designed as CAN bus interfaces or CANFD bus interface; wherein the slave device (3-1 - 3-n) comprises a first CAN transceiver (12-1 - 12-n) for the first slave bus interface (10-1 - 10-n) and a second CAN transceiver ( 13-1 - 13-n) for the second slave bus interface (1 1 -1 - 1 1 -n); and wherein the first CAN transceiver and the second CAN transceiver and the computing device (14-1 - 14-n) in the slave device (3-1 - 3-n) are coupled to each other such that data signals which at a the CAN transceiver are received, forwarded to the computing device (14-1 - 14-n) and to the other CAN transceiver for output, and data signals from the computing device (14-1 - 14-n) to the first one CAN transceiver (12-1 - 12-n) and to the second CAN transceiver (13-1 - 13-n) forwarded for output.
1 1 . Bussystem (1 ), mit einem Master-Gerät (2) nach einem der Ansprüche 7 und 8; mit einer Vielzahl von Slave-Geräten (3-1 - 3-n) nach einem der Ansprüche 9 und 10; wobei die Slave-Geräte (3-1 - 3-n) in Serie derart angeordnet sind, dass jeweils eine zweite Slave-Busschnittstelle (1 1 -1 - 1 1 -(n-1 )) eines Slave-Geräts (3-1 - 3-n) mit einer ersten Slave-Busschnittstelle (10-2 - 10-n) eines weiteren Slave-Geräts (3-2 - 3-n) gekoppelt ist, wobei das Master-Gerät (2) mit der ersten Slave-Busschnittstelle (10-1 ) des ersten Slave- Geräts (3-1 ) der Serie gekoppelt ist und/oder wobei die zweite Slave-Busschnittstelle (1 1 - n) des letzten Slave-Geräts (3-n) der Serie deaktiviert und/oder terminiert ist. 1 1. Bus system (1), comprising a master device (2) according to one of Claims 7 and 8; with a plurality of slave devices (3-1 - 3-n) according to one of claims 9 and 10; wherein the slave devices (3-1 - 3-n) are arranged in series such that in each case a second slave bus interface (1 1 -1 - 1 1 - (n-1)) of a slave device (3-1 - 3-n) is coupled to a first slave bus interface (10-2 - 10-n) of a further slave device (3-2 - 3-n), the master device (2) being coupled to the first slave device Bus interface (10-1) of the first slave device (3-1) of the series is coupled and / or wherein the second slave bus interface (1 1 - n) of the last slave device (3-n) of the series deactivated and / or terminated.
PCT/EP2014/075930 2013-12-23 2014-11-28 Method for assigning device identifiers in a bus system, master device, slave device, and bus system WO2015096953A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102013227057.7A DE102013227057A1 (en) 2013-12-23 2013-12-23 Method for assigning device identifiers in a bus system, master device, slave device and bus system
DE102013227057.7 2013-12-23

Publications (1)

Publication Number Publication Date
WO2015096953A1 true WO2015096953A1 (en) 2015-07-02

Family

ID=52014040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2014/075930 WO2015096953A1 (en) 2013-12-23 2014-11-28 Method for assigning device identifiers in a bus system, master device, slave device, and bus system

Country Status (3)

Country Link
DE (1) DE102013227057A1 (en)
FR (1) FR3015720A1 (en)
WO (1) WO2015096953A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3736081A1 (en) * 1987-10-24 1989-05-03 Licentia Gmbh Method and device for setting the addresses of subscribers connected to a bus
DE102005014124A1 (en) * 2005-03-22 2006-09-28 E.G.O. Elektro-Gerätebau GmbH Address dynamic allocation method for heating device for hob, involves accepting received address, and connecting bus line at slave unit in dependent of acceptance criteria formed in slave-unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3736081A1 (en) * 1987-10-24 1989-05-03 Licentia Gmbh Method and device for setting the addresses of subscribers connected to a bus
DE102005014124A1 (en) * 2005-03-22 2006-09-28 E.G.O. Elektro-Gerätebau GmbH Address dynamic allocation method for heating device for hob, involves accepting received address, and connecting bus line at slave unit in dependent of acceptance criteria formed in slave-unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JAN POLFLIET ET AL: "CAN for energy efficiency in cars", 13 March 2012 (2012-03-13), XP055168754, Retrieved from the Internet <URL:http://www.can-cia.org/fileadmin/cia/files/icc/13/polfliet.pdf> [retrieved on 20150210] *

Also Published As

Publication number Publication date
DE102013227057A1 (en) 2015-06-25
FR3015720A1 (en) 2015-06-26

Similar Documents

Publication Publication Date Title
EP3669550B1 (en) Method for operating a sensor assembly in a motor vehicle on the basis of a dsi protocol
EP2948857A1 (en) Bus node and bus system and method for identifying the bus nodes of the bus system
WO2011012262A1 (en) Device and method for addressing a slave unit
EP2204014B1 (en) Communication method and master-slave system for a field bus configured according to the AS-interface standard
DE102013008308A1 (en) System and method for addressing devices that are connected to a bus system, in particular a LIN bus
EP3955529A1 (en) Unit for a bus system, master / slave bus system with a plurality of units and method for addressing units of a bus system
DE102019114303B3 (en) Method for detecting network participants in an automation network and automation network
EP3251469B1 (en) Method for operating devices in a lighting system
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
EP2719128B1 (en) Method for operating a bus system for communication with a plurality of communication nodes, and motor vehicle
DE102021104422A1 (en) Method for operating a communication system, communication system and computing system
DE102008004798A1 (en) User configuring arrangement for use in bus linked system of industrial switchgear, has module requested by master to begin configuration process, included in bus, where module provides information about configuration of users in bus
EP3047635B1 (en) Field bus coupler for connecting modules to a field bus and method for addressing such modules
EP2241062B1 (en) Group master communication system and method for serially transmitting data in automation systems
EP4018603B1 (en) Method for detecting the position of at least one bus subscriber
WO2015096953A1 (en) Method for assigning device identifiers in a bus system, master device, slave device, and bus system
EP4057596A1 (en) Addressable master slave system and method for addressing of slave units
DE102013227048A1 (en) Method for assigning device identifiers in a bus system, master device, slave device and bus system
EP4035314A1 (en) Slave device, bus system, and methods
WO2005107173A1 (en) Device for allocating addresses in a standardized field bus system
DE102017117225B3 (en) Communication system with bus and coding line
EP3841688B1 (en) Media converter and method for operating a media converter
EP3632054B1 (en) Determination of nodes of a local data bus
EP2911309B1 (en) Radio and method of transmitting information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14808899

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14808899

Country of ref document: EP

Kind code of ref document: A1