CPC G01R 21/133 (2013.01) [G01R 31/31727 (2013.01); G05B 13/02 (2013.01); G05B 15/02 (2013.01); G05F 1/66 (2013.01); G06F 30/3308 (2020.01); G06F 30/367 (2020.01); G06F 2119/06 (2020.01)] | 20 Claims |
1. A method of configuring a power meter comprising:
providing toggle data from a plurality of signals in a circuit for a plurality of clock cycles;
generating a plurality of feature vectors, each feature vector dependent upon the toggle data for a plurality of clock cycles in a first time window;
for each feature vector of the plurality of feature vectors, generating a target power usage value from power usage data for the circuit in a second time window; and
determining a power model based on the plurality of feature vectors and corresponding target power usage values, said determining including:
modeling a first power usage as a weighted sum of toggle data in a feature vector for a set of weight values;
determining values of the weight values to minimize a loss function that includes a difference between a power usage and the modelled power usage, and penalty function of the weight values;
selecting, as power proxy signals, a subset of signals of the plurality of signals corresponding to weight values with positive values, the subset of signals of the plurality of signals and the corresponding subset of weight values determined simultaneously; and
outputting identifiers of the power proxy signals in the circuit and the corresponding subset of weight values,
where the determined power model comprises a weighted sum of toggle data for the power proxy signals for the corresponding subset of weight values.
|