主权项 |
1. A system for identification of electronic modules coupled to a data bus, the system comprising:
a data bus; a main power line; a backup power line; a first slave electronic module for communicating over the data bus, the first slave electronic module having a first resistor coupled in series with the main power line when the first slave electronic module is connected to the data bus, where during a normal operational mode the first slave electronic module is coupled to the main power line and during a backup mode the first slave electronic module is coupled to the backup power line; a second slave electronic module for communicating over the data bus, the second electronic module having a second resistor coupled in series with the main power line when the second slave electronic module is connected to the data bus, where during a normal operational mode the second slave electronic module is coupled to the main power line and during a backup mode the second slave electronic module is coupled to the backup power line; a master electronic module having a master current measurement circuit for determining an aggregate current level indicative of the total number of slave electronic modules on the main power line during the normal operational mode or on the backup power line during the backup mode; a first current measurement circuit in the first slave electronic module, the first current measurement circuit capable of measuring a first node current indicative of a number of other active slave electronic modules connected to the data bus and the main power line or the backup power line; a master data processor in the master electronic module for assigning a unique module identifier to the first slave electronic module based on the first node current and the aggregate current level, the unique module identifier indicating a respective position of the first slave electronic module on the data bus. |