Patent ID: 8122159

Claim:
A system, comprising: electrical components arranged in a daisy chain and comprising: a first electrical component disposed at a first end of the daisy chain; and a second electrical component disposed at an opposite end of the daisy chain than the first end, each of the first and second electrical components comprising: an input port; an output port; and a common port, wherein the first electrical component is directly coupled to a master component; wherein the input port of the first electrical component is directly coupled to one of a supply voltage port of the master component or a ground port of the master component and the common ports of the first and second electrical components are coupled to the other one of the supply voltage of the master component or the ground port of the master component, wherein an address of the second electrical component is determined before addresses of the other of the electrical components are determined and the addresses of the electrical components determine a position of an electrical component with respect to the other of the electrical components in the daisy chain, wherein each of the first and second electrical components further comprises: a current detection circuit configured to measure an output current at the output port; a counter used to determine an address of the electrical component; a sensor circuit; and a control circuit directly coupled to the input port, the current detection circuit, the counter and the sensor circuit, and wherein the current detection circuit comprises: a first resistor; a second resistor; a first current source configured to provide a threshold current to the first resistor; a second current source coupled to the input port through a first switch and configured to provide a start current; and a comparator configured to compare the output current with the threshold current.