This article is the third in a three-part series. Part 1, Estimating the Frequency Response of a Power Electronics Model, introduces a six-step workflow for estimating the frequency response of an open-loop boost converter. Part 2, Estimating the Frequency Response of a Power Electronic Model: Sinestream vs. Pseudo-Random Binary Sequence (PRBS), compares frequency response estimation (FRE) for an open-loop buck converter with sinestream and with PRBS, focusing on estimation time, number of estimated frequency points, and estimation accuracy. Please refer to the Multiloop Control Design for Buck Converter example.
Switch-mode power electronics converters modeled with Simscape Electrical™ components often use a cascade PID control architecture, which offers fast output voltage response with controllable current dynamics. Since switch-mode converters are discontinuous and cannot be linearized analytically, before tuning the PID controller gains in the cascade configuration you can compute a linear time-invariant estimation of the plant model using Simulink Control Design™ tools for frequency response estimation (FRE).
In FRE, the transfer function of the plant model is estimated at discrete frequency points, starting from the injection of a signal of controllable amplitude and frequency to the model operating in steady state. The estimated plant transfer function can be used for tuning the controller gains to meet closed-loop performance requirements.
Using a buck converter as an example, this article describes a seven-step workflow for tuning the gains of a discrete PID controller in a cascade control configuration. This configuration typically consists of an inner current loop and an outer voltage loop. The workflow is completed first for the inner loop and then for the outer loop. The inner loop is designed first to ensure that the outer loop, with its lower bandwidth, has a minimal effect on the inner-loop stability margins.
Buck Converter Model
A buck converter is a power electronics topology that can supply a load with a DC voltage that is lower than the DC supply voltage. It is widely used in many applications with different power ratings, including consumer electronics products, electric automobiles, more-electric ships and aircraft, renewables, and LED drivers.
Figure 1 shows a switch-mode buck converter modeled with Simscape Electrical components to provide a voltage regulation from 48 V to 12 V. The switching frequency of the buck converter is 100 kHz. The PWM sample rate is 100 times faster than the switching frequency to provide a 1% duty cycle resolution. The cascaded control architecture is designed so that the inner loop regulates the inductor current and the outer loop regulates the output voltage. The output of the outer voltage loop provides the current reference signal to the inner current loop, which, in turn, provides the duty cycle signal to the PWM Generator block. To mimic a digital controller, sampling is included in the controller model. Since the inner and outer loops control similar dynamics, the sample time for both loops is set at 1e-5 seconds to match the switching period.