Patent ID: 7180804

Claim:
A system for sensing a current, the system comprising: an operational amplifier including a first input terminal, a second input terminal, and a first output terminal, the first input terminal being biased to a predetermined voltage, the second input terminal and the first output terminal being directly connected; a switch coupled to the first output terminal and a first node, the switch being controlled by at least a first control signal; a comparator including a third input terminal, a fourth input terminal, and at least a second output terminal, the comparator being configured to receive a first input signal at the third input terminal and a second input signal at the fourth input terminal, the first input signal and the second input signal being associated with the first node and the predetermined voltage; a current generator coupled to a second node and configured to generate a first current, the first current flowing between the current generator and the second node; wherein: the first node and the second node are directly connected; a second current flows between the first node and the second node; the second node is coupled to a device configured to generate a third current; the third current flows between the device and the second node.