SPRUIK4A September 2018 – June 2019 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 , TMS320F28075 , TMS320F28075-Q1 , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Texas Instruments' software frequency response analyzer (SFRA) library is designed to enable frequency response analysis on digitally controlled power converters using software only and without the need for an external frequency response analyzer. The optimized library can be used in high frequency power conversion applications to identify the plant, the closed loop and the open loop gain characteristics of a closed loop power converter, which can be used to get stability information such as gain margin, phase margin and open loop gain crossover frequency, to evaluate the control loop performance.
NOTE
This documentation pertains to the SFRA Library released in the C2000WARE-DIGITALPOWER-SDK framework. At the time of authoring of this document, only the single precision floating point format of the library is available inside the SDK framework, the fixed-point version is not yet ported to the new software framework. For the fixed-point version of the library, see controlSUITE and the C2000™ Software Frequency Response Analyzer (SFRA) Library and Compensation Designer User's Guide.
Consider a digitally controlled closed loop power converter, as shown in Figure 1, where:
The key objectives of the compensator in a closed loop system can be summarized as:
Whether or not the system meets the objectives can be determined by knowing the open loop transfer function (GH), as shown in Equation 1 and Equation 2.
A Bode plot of the open loop transfer function GH is frequently used for this purpose and quantities such as gain margin (GM), phase margin (PM) and open loop gain crossover frequency (Folg_cf) are often used to comment on the stability and robustness of a closed loop power converter.
The closed loop transfer function (GH/(1+GH)) provides an idea of the tracking that is how good the system is able to track to the reference commanded.
The SFRA library can enable measurements of the GH, GH/(1+GH) and H frequency response by software. This data can be used to:
As the frequency response of GH and H carry information of the plant, the data can be used to comment on the health of the power stage by periodically measuring the frequency response.
The SFRA library is based on sinusoidal injection principle, where the assumption is that the injection amplitude causes very small deviation to the normal operating point of the converter. The SFRA library can be integrated into the control code of the power converter, this document details the steps to do so. All computations for the GH, H and CL calculations are done on the MCU and the entire arrays of the GH, H and CL magnitude and phase response are stored on the controller. For visualization purpose, a GUI is also provided with the tool. This GUI can be used to start a frequency response sweep, observer progress of the SFRA sweep and analyze the GH, H and CL plots generated after the FRA sweeps.
Once integrated into the code, the SFRA library can be used to design or fine tune the controller. For this, a typical flow of using SFRA library is:
NOTE
Optionally, the SFRA GUI can output data to an excel file.
In summary, TI’s software frequency response analyzer along with the Compensation Designer provides a methodology to tune power supplies in a systematic way and enables quick and easy frequency response analysis for power converters without the need of external connections and equipment, as shown in Figure 2. Since no external connections are used, the SFRA can be run repeatedly to periodically assess the health of the power converter and get diagnostic information.