主权项 |
1. An integrated circuit, comprising:
a plurality of electronic components; a voltage regulator, connected to the plurality of electronic components, and comprising:
a voltage regulator controller, connected to an input power supply, that receives an input supply voltage and generates a control voltage; anda voltage driver having a gate terminal connected to an output of the voltage regulator controller for receiving the control voltage, a source terminal connected to the input power supply for receiving the input supply voltage, and a drain terminal connected to the plurality of electronic components for providing a regulated voltage thereto; and a power consumption measurement module, connected to the gate terminal of the voltage driver, wherein the power consumption measurement module comprises:
an analog-to-digital converter (ADC), that receives and samples the control voltage and generates a plurality of digital control voltage samples;an averaging module, connected to the ADC, that receives and averages the plurality of digital control voltage samples and generates averaged control voltage data; anda current profiling module, connected to the averaging module, that receives the averaged control voltage data and determines an average current, wherein the average current represents power consumption of the integrated circuit. |