SPRACM9B June 2019 – November 2020 F29H850TU , F29H859TU-Q1 , TMS320F28384D , TMS320F28384S , TMS320F28386D , TMS320F28386S , TMS320F28388D , TMS320F28388S , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
C2000™ Software Frequency Response Analyzer (SFRA) Library and Compensation Designer in SDK Framework describes the SFRA tool and guides you on how to integrate it into the C2000 platform can be found at:
C:\ti\c2000\C2000Ware_DigitalPower_SDK_<version>\libraries\sfra\Doc
The embedded firmware is available as a library in the DigitalPower SDK at:
C:\ti\c2000\C2000Ware_DigitalPower_SDK_<version>\libraries\sfra
The SFRA GUIs are available as executable applications in the DigitalPower SDK at:
C:\ti\c2000\C2000Ware_DigitalPower_SDK_<version>\libraries\sfra\gui
Some example projects to understand SFRA are available at:
c:\ti\c2000\C2000Ware_DigitalPower_SDK_<version>\libraries\sfra\examples
In the ISR code, there are two functions that inject noise for SFRA and then collect the feedback data from the loop, they are:
The roles of these functions are self-explanatory from their names. They should be used in the sequence they are used in the code to collect the data in right sequence.
This tool provides the ability to study the D-axis or Q-axis current loops or the speed loop. The motor can be run at different speed/load conditions and at different bandwidths and the performance can be evaluated at each of these conditions. It can be seen that the controller can provide the designed bandwidth under all these conditions with a certain tolerance.
The implementation block diagram is given in Figure 11-1. The SFRA tool injects noise signal into the system at various frequencies and analyzes the system response and provides a Bode Plot of the actual physical system as seen during the test.