SPRACO3 October 2019 INA240 , LMG5200 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
The SFRA tool runs only on C2000 MCU platform to study the frequency response analysis of any control loop that it controls. It consists of an embedded firmware part that runs on the MCU and a graphical user interface part (GUI) that runs on the development computer.
C2000™ Software Frequency Response Analyzer (SFRA) Library and Compensation Designer in SDK Framework describes the SFRA tool and guides you into integrating it into the C2000 platform. This can be found at: \ti\c2000\C2000Ware_MotorControl_SDK_<version>\libraries\sfra\Doc.
The embedded firmware is available as a library in the MotorControl SDK at: \ti\c2000\C2000Ware_MotorControl_SDK_<version>\libraries\sfra
The SFRA GUIs are available as executable applications in the MotorControl SDK at: \ti\c2000\C2000Ware_MotorControl_SDK_<version>\libraries\sfra\gui
Some example projects to understand SFRA are available at: \ti\c2000\C2000Ware_MotorControl_SDK_<version>\libraries\sfra\examples
In the ISR code, there are two functions as follows that inject noise for SFRA and then collect the feedback data from the loop.
The roles of these functions are self-explanatory from their names. They should be used in the code to collect the data in right sequence.
NOTE
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 32. 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.