主权项 |
1. A method of calibrating a device, said method comprising:
providing, via a reference component, a reference power signal based on a voltage instruction and a current instruction; sampling, via a sampling component, a voltage signal to obtain a sampled voltage value; sampling, via the sampling component, a current signal to obtain a sampled current value; generating, via a calibration component, a calibrated power signal based on the sampled voltage value and the sampled current value; generating, via a comparing component, an error signal based on the reference power signal and the calibrated power signal; and calibrating, via a feedback system including a proportional integral component and the calibration component, the gain of the sampled voltage and the sampled current based on the error signal. |