Other Parts Discussed in Thread: SFRA, POWERSUITE, TIDM-HV-1PH-DCAC
Hi team,
Here's 3 issues from the customer may need your help:
1. SFRA_F32_inject is the injection of small signals, is the return value of the SFRA_F32_inject function the difference between the input value and the reference value? Why is this function used here instead of subtracting the difference directly?
2. There are sections of code for AD sampling in the voltageSourceInverterLCFltr_F28004x project:
#if SENSING_OPTION ==ADC_BASED_SENSING
calibrateOffset(&invIiOffset, k1, k2);
#endif
Why does the first variable of the function invIiOffset select invIiOffset? And how does the selection of different reference values for calibrateOffset affect the results of AD sampling?
3. Also, what is the basis for the value statement for CMPB in the following functions? The CMPB setting should be equal to TBPRD, why is the following setup statement? What is the 50/2 setting based on?
//
// set duty 0% initially
//
EPWM_setCounterCompareValue(INV_ISR_TRIG_PWM_BASE,EPWM_COUNTER_COMPARE_B,
EPWM_getTimeBasePeriod(INV_ISR_TRIG_PWM_BASE)-(50/2));
Could you help check this case? Thanks.
Best Regards,
Cherry