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.

CCS/TIDM-1000: three-phase Vienna:V1Meas sampling problem

Part Number: TIDM-1000


Tool/software: Code Composer Studio

HI

I found a place I didn't understand when I read the program

VIENNA_v1Meas_pu = (((float32_t)(VIENNA_V1_FB_1 + VIENNA_V1_FB_2 +VIENNA_V1_FB_3 + VIENNA_V1_FB_4)) *VIENNA_ADC_PU_SCALE_FACTOR * 0.25f - VIENNA_v1MeasOffset_pu ) * 2.0f;

In this formula, 

1. What is the meaning of "Vienna_ v1MeasOffset_ Pu",?

2.Why do VIENNA_v1Meas_pu subtract VIENNA_v1MeasOffset_pu?

3.Why is this equation multiplied by two?

4. About the last displayed formula:

VIENNA_sine_mains1.v = VIENNA_v1Meas_pu;

VIENNA_guiVrms1_Volts = VIENNA_sine_mains1.vRms * VIENNA_V_MAX_SENSE_VOLTS;

Why VIENNA_sine_mains1.vRms * 454 to get VIENNA_guiVrms1_Volts?How does the value of 454 come from?

Looking forward to your reply