This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: ADC Calibration for Vienna Rectifier

Part Number: TMS320F28379D

Tool/software:

we are trying to calibrate the ADC for our customized board,  we took the reference from pfc3phvienna_F2837x code given by TI.  We are giving the input as 115Volt Vrms , 400Hz in all three phases but we are getting the actually reading as V1 = 118VRMS, V2 = 119vRMS, V3 = 117vRMS, in debug  window of CCS, attaching the reference kindly check. 

So we check the adc calibration formula given by pfc3phvienna_F2837x  code as mention below :

VIENNA_v1MeasOffset_pu = VIENNA_k1 * (VIENNA_v1MeasOffset_pu) +VIENNA_k2 * (VIENNA_V1_FB_1 + VIENNA_V1_FB_2 +VIENNA_V1_FB_3 + VIENNA_V1_FB_4)* 0.25f * VIENNA_ADC_PU_SCALE_FACTOR;

the k1  = 0.998 and k2  = 0.001999;

So our doubt is how we can find our k1 and k2 value to get the correct calibrated output as 115vrms for all the phases.

In sensing circuit we are using the R = 33 ohm and C = 0.1uf. So how we can calculate the K1 and k2 value for these RC values.

Kindly suggest how we can processed and expect K1 and K2 is there anything we have to modify.