Slave device, bus system, and methods
Abstract
A method and slave devices are disclosed in which an address assignment to slave devices takes place with the aid of a collision detection. The slave device receives an initialization signal, transmits an identifier over a bus in response to the initialization signal, checks whether a collision occurs on the bus when transmitting the identifier, and if a collision occurs, places the slave device into an inactive state, and if no collision occurs, receives an address for the slave device after the transmission of the identifier.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, by a slave device, an initialization signal; transmitting, by the slave device, in response to the initialization signal, an identifier of the slave device over a bus; checking, by the slave device, whether, when transmitting the identifier, a collision occurs on the bus, wherein the bus has a dominant level or a recessive level, and wherein a collision is present on the bus if, when transmitting the identifier, the recessive level is placed on the bus by the slave device as a result of transmitting the identifier and the dominant level is detected as being present on the bus while transmitting the identifier on the bus; and if a collision occurs, placing, by the slave device, the slave device into an inactive state, and if no collision occurs, receiving, by the slave device, an address for the slave device after the transmission of the identifier.
- Claim 2Depends on #1
The method as claimed in claim 1, wherein checking whether a collision is present on the bus comprises establishing that a collision is present if a level detected on the bus does not correspond to a value expected on the bus, wherein the value expected on the bus is based on the transmitted identifier.
- Claim 3Depends on #1
The method as claimed in claim 1, wherein the bus has a dominant level or a recessive level, and wherein a collision on the bus is present if, when transmitting the identifier, the recessive level is placed on the bus by the slave device as a result of transmitting the identifier and the dominant level is detected by the slave device as being present on the bus while transmitting the identifier on the bus.
- Claim 4Depends on #3
The method as claimed in claim 3, wherein the method further comprises transmitting a further identifier by a further slave device in response to the initialization signal, and wherein the collision is present on the bus if the further slave device places the dominant level on the bus in response to the initialization signal.
- Claim 5Depends on #1
The method as claimed in claim 1, wherein checking whether a collision occurs on the bus takes place based on a signal on a transmit line of the slave device.
- Claim 6Depends on #1
The method as claimed in claim 1, wherein the slave device is arranged in a slave cluster in which multiple slave devices share one bus interface.
- Claim 7Depends on #5
The method as claimed in claim 5, wherein the slave device uses a push-pull driver to transmit the identifier, wherein a first one of a push transistor or a pull transistor of the push-pull driver is weaker than a second one of the push transistor or the pull transistor.
- Claim 8Depends on #1
The method as claimed in claim 1, wherein checking whether a collision occurs on the bus takes place based on a signal on a receive line of the slave device.
- Claim 9Depends on #1
The method as claimed in claim 1, the method further comprising transmitting the initialization signal by a master device and transmitting the address by the master device.
- Claim 10Depends on #1
The method as claimed in claim 1, wherein the method of claim 1 is repeated at least until an address is assigned to the slave device.
- Claim 11Independent Claim
A slave device, comprising: a communication circuit configured to transmit signals to a bus and receive signals from the bus, wherein the communication circuit is further configured to receive an initialization signal and transmit an identifier of the slave device over the bus in response to the initialization signal; at least one processor configured to check whether a collision occurs on the bus when the identifier is transmitted over the bus, wherein the bus has a dominant level or a recessive level, wherein a collision is present on the bus if, when transmitting the identifier, the recessive level is placed on the bus by the slave device as a result of transmitting the identifier and the dominant level is detected by the at least one processor as being present on the bus while transmitting the identifier on the bus, wherein if a collision occurs, the at least one processor is configured to place the slave device into an inactive state, and wherein if no collision occurs, the at least one processor is configured to receive an address for the slave device after the transmission of the identifier.
- Claim 12Depends on #11
The slave device as claimed in claim 11, wherein the at least one processor is configured to check whether a collision is present on the bus by establishing that a collision is present if a level on the bus does not correspond to a value expected on the bus, wherein the value expected on the bus is based on the transmitted identifier.
- Claim 13Depends on #11
The slave device as claimed in claim 11, wherein a collision is present on the bus if a further slave device places the dominant level on the bus in response to the initialization signal while the recessive level is placed on the bus by the slave device.
- Claim 14Depends on #11
The slave device as claimed in claim 11, wherein checking whether a collision is present on the bus takes place based on a signal on a transmit line of the slave device.
- Claim 15Depends on #14
The slave device as claimed in claim 14, wherein the slave device is arranged in a slave cluster in which multiple slave devices share one bus interface.
- Claim 16Depends on #14
The slave device as claimed in claim 14, wherein the slave device further comprises a push-pull driver for transmitting the identifier, wherein a first one of a push transistor or a pull transistor of the push-pull driver is weaker than a second one of the push transistor or the pull transistor.
- Claim 17Depends on #11
The slave device as claimed in claim 11, wherein checking whether a collision is present takes place based on a signal on a receive line of the slave device.
- Claim 18Independent Claim
A system comprising: a slave device comprising: a communication circuit configured to transmit signals to a bus and receive signals from the bus, wherein the communication circuit is further configured to receive an initialization signal and transmit an identifier of the slave device over the bus in response to the initialization signal; and at least one processor configured to check whether a collision occurs on the bus when the identifier is transmitted over the bus, wherein the bus has a dominant level or a recessive level, wherein a collision is present on the bus if, when transmitting the identifier, the recessive level is placed on the bus by the slave device as a result of transmitting the identifier and the dominant level is detected as being present on the bus while transmitting the identifier over the bus, and wherein, if a collision occurs, the at least one processor is configured to place the slave device into an inactive state, and wherein, if no collision occurs, the at least one processor is configured to receive an address for the slave device after the transmission of the identifier; and a master device configured to transmit the initialization signal and the address.
- Claim 19Depends on #18
The system as claimed in claim 18, further comprising: multiple slave devices, wherein the master device is configured to transmit the initialization signal again after transmitting the address, until an address is assigned to all of the multiple slave devices.
- Claim 20Depends on #11
The slave device of claim 11, wherein if no collision occurs, the at least one processor is further configured to mute the slave device.
Technical Overview & Description
FIELD The present disclosure relates to slave devices, bus systems and corresponding methods. BACKGROUND Bus systems enable communication between multiple bus participants. One exemplary application is represented by sensor systems in which multiple sensors communicate as slave devices with a control unit as the master device, for example in an automobile system. In some applications it is necessary here to assign unique addresses to the different sensors, so that the control unit can operate the sensors individually over a common bus. In some conventional approaches such addresses are permanently assigned to slaves such as sensors, often at the completion of their production or in the context of a configuration when a bus system is set up. Appropriately preconfigured slave devices are thus used in this case. This is relatively inflexible, in addition to which, in cases in which multiple sensors share a single physical interface, can only be done with considerable effort. SUMMARY A method as claimed in claim 1 , a slave device as claimed in claim 11 , and a bus system as claimed in claim 16 are provided. The subsidiary claims define further embodiments. According to one exemplary embodiment, a method is provided, including: in a slave device, receiving an initialization signal, transmitting, in response to the initialization signal, an identifier of the slave device over a bus, checking whether, when transmitting the initialization identifier, a collision occurs on the bus, if a collision occurs, placing the slave device into an inactive state, and if no collision occurs, receiving an address for the slave device after the transmission of the identifier. According to a further exemplary embodiment, a slave device is provided, including: a communication circuit for transmitting signals to a bus and for receiving signals from a bus, wherein the slave device is configured for: receiving an initialization signal, transmitting an identifier of the slave device, over a bu
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (27)
| Patent | Title | Year | Citations |
|---|