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.
Hi there,
I have designed and built a dc dc converter and I am controlling it using TMDSCNCD28377D. I am wondering if I can use the SFRA tool to measure some of the frequency responses of interest in my converter?
or does the SFRA tool only work on Texas instruments reference designs?
Thank you
Leo
Hi Leo,
You should be able to use the SFRA tool for your system. Please refer to the SFRA library documentation that describes how to incorporate that code in your software correctly. You can also refer to any TI reference software that supports SFRA.
Hrishi
Leo,
Please follow the SFRA library documentation to correctly add SFRA code to your project. You should be able to use the SFRA GUI with your project.
Hrishi
Hello Hrishi,
Thanks for your answer. So I need to add the lines of code I found in the guide SPRUHZ5A inside my code ISR routine? i.e. from SPRUHZ5A
(b) Using SFRA in open loop to get plant(H) frequency response:
interrupt void PWM_ISR(void)
{
....
//Read ADC and computer Fbk Value
Vout1_Read = (float32)Vout1R/(4096.0);
//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;
SFRA_F_COLLECT(&Duty_pu,&Vout1_Read);
.....
What I need to understand is what the function below does:
EPwm1Regs.CMPA.half.CMPA=((long)(BUCK_PWM_PERIOD))* Duty_pu;
SFRA_F_COLLECT(&Duty_pu,&Vout1_Read);
Thanks for your help again,
Leo