Other Parts Discussed in Thread: SFRA
Hi there,
I am trying to understand how the SFRA tool works. In the guide spruhz5a on page 19 "(b) Using SFRA in open loop to get plant(H) frequency response" at some stage the duty ratio of the converter is perturbed. The following code is given:
//Add SFRA injection into the duty cycle for the open loop converter
Duty_pu=SFRA_F_INJECT(Duty_pu_DC);
//Update PWM value
EPwm1Regs.CMPA.half.CMPA=((long)(BUCK_PWM_PERIOD))* Duty_pu;
is the new CMPA value made of a DC value + a small signal sinusoidal variation? Where can I see what the function SFRA_F_INJECT(Duty_pu_DC) does?
Do you have any sample code for SFRA run on 28377D?
Thank you so much
Leo