Measurement correction method and apparatus for sensor, and server power supply
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsMingwei Wu, Hongrui Han
Life of this patent
Estimating the term…
Abstract
A measurement correction method and apparatus for a sensor, and a server power supply. The method is applied to a sensor comprising a shunt resistor and a differential amplifier, and comprises: performing compensation verification on the sensor in advance to obtain a compensation coefficient of the sensor (S1); obtaining a voltage signal output by the sensor (S2); and correcting the voltage signal according to an error value of the shunt resistor and the compensation coefficient to obtain a voltage correction signal for use in system optimization management (S3).
Claims18
A measurement correction method for a sensor, the measurement correction method is applied to the sensor comprising a shunt resistor and a differential amplification circuit, comprising:
- performing compensation verification on the sensor in advance to obtain a compensation coefficient of the sensor;
- acquiring a voltage signal outputted through the sensor;
- and
- correcting the voltage signal based on an error value of the shunt resistor and the compensation coefficient to obtain a voltage correction signal for using in system optimization management;
- wherein correcting the voltage signal based on the error value of the shunt resistor and the compensation coefficient to obtain the voltage correction signal comprises:
- correcting the voltage signal based on a preset voltage correction relational expression
- V
- o_real
- =
- (
- ADC
- Count
- -
- Rshunt
- Count
- )
- *
- S
- cale
- V
- Gain
- to obtain the voltage correction signal;
- wherein Vo_real is the voltage correction signal;
- ADCCount is a digital signal value corresponding to the voltage signal;
- RshuntCount is a digital signal value corresponding to the error value of the shunt resistor;
- and VGain is a gain value of the differential amplification circuit, Scale is the compensation coefficient.
A measurement correction apparatus for a sensor, comprising a memory, and at least one processor, wherein the memory stores a computer-readable instruction, and in response to the computer-readable instruction is executed by the at least one processor, cause the processor to:
- perform compensation verification on the sensor in advance to obtain a compensation coefficient of the sensor;
- acquire a voltage signal outputted through the sensor;
- and
- correct the voltage signal based on an error value of the shunt resistor and the compensation coefficient to obtain a voltage correction signal for using in system optimization management;
- wherein correct the voltage signal based on a preset voltage correction relational expression
- V
- o_real
- =
- (
- ADC
- Count
- -
- Rshunt
- Count
- )
- *
- S
- cale
- V
- Gain
- to obtain the voltage correction signal;
- wherein Vo_real is the voltage correction signal;
- ADCCount is a digital signal value corresponding to the voltage signal;
- RshuntCount is a digital signal value corresponding to the error value of the shunt resistor;
- and VGain is a gain value of the differential amplification circuit, Scale is the compensation coefficient.
Dependencies are inferred from the claim text.