主权项 |
1. An electrical circuit, comprising:
a comparator that receives a first signal at a first input pin, wherein the first signal is indicative of a current drawn from a power supply unit (PSU), wherein the PSU delivers power to an electronic component, wherein the comparator receives a second signal at a second input pin, wherein the second signal is indicative of a voltage provided by the PSU to the electronic component and is set to a predetermined threshold, wherein an output of the comparator changes if a difference exists between the first signal and second signal; and a variable gain amplifier that provides the first signal to the comparator, wherein a gain of the variable gain amplifier is set according to the predetermined threshold. |