Other Parts Discussed in Thread: CONTROLSUITE, TIDM-02002
Tool/software: Code Composer Studio
After the initialization (source code:D:\ti\controlSUITE\development_kits\TMDSHVRESLLCKIT_v1.0\HVLLC), PWM work work as show below:
SR PWM will turn off about 1.08us before HS when FEM = 65.
The trip zone configuration forces the SR signal on anytime the SR current is greater than the value of DACVAL.
// Configure ePWM Trip-Zone module
EPwm2Regs.TZCTL.bit.DCAEVT1 = TZ_FORCE_HI; // EPWM2A will go HIGH
EPwm3Regs.TZCTL.bit.DCAEVT1 = TZ_FORCE_HI; // EPWM3A will go HIGH
So,the time that SR PWM turn off before HS is less than 1.08us when FEM = 65.
But ,the time which in the Figure23 of "HVLLC-SWGuide.pdf" is abuot 2us.
I had noticed,the FEM CAN be changed by the GUI.
// assign GUI variable Textboxes to desired "setable" parameter addresses
varSetTxtList[0] = &Pgain;
varSetTxtList[1] = &Igain;
varSetTxtList[2] = &Dgain;
varSetTxtList[3] = &RED;
varSetTxtList[4] = &FED;
varSetTxtList[5] = &REM1;
varSetTxtList[6] = &FEM1;
varSetTxtList[7] = &REM2;
varSetTxtList[8] = &FEM2;
varSetTxtList[9] = &COMP1;
varSetTxtList[10] = &COMP2;
Maybe FEM is not equal to 65 in this case.
My questiones:
1) In a completed project, is FEM fixed or dynamically adjusted.
2) How to get the value of FEM (FEM = 65).

