TIDUF67 April 2024
Texas Instruments' software frequency response analyzer (SFRA) library is designed to enable frequency response analysis on 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.
Consider a digitally controlled closed loop power converter, as shown in Figure 4-37, where:
Whether or not the system meets the objectives can be determined by knowing the open loop transfer function (GH), as shown in Equation 50 and Equation 51.
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.
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:
In summary, TI’s software frequency response analyzer provides a methodology to tune power converters in a systematic way and enables quick and easy frequency response analysis for power converters without the need of external connections and equipment. 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.