Patent ID: 7518436

Claim:
A circuit for current clamping, comprising: a current difference circuit including a plurality of current mirrors and a first current source, wherein the current difference circuit is arranged to provide an output current such that the output current is proportional to a difference between a first current and a second current, such that the output current is clamped, wherein: the current difference circuit is arranged such that providing the output current includes: providing the first current to a first node; providing the second current to the first node; mirroring the first current to provide a first mirrored current; mirroring the second current to provide a second mirrored current; providing the first mirrored current to a second node; providing the second mirrored current to the second node; providing a third current to the second node, wherein the third current corresponds to a current limit of one side of the at least one side of the clamping; and providing, to the first node, a fifth current by rectifying a fourth current at the second node, wherein the output current is provided at the first node.