Arkadiy Turevskiy, MathWorks
Learn how to tune the gains of a PID controller for a buck converter. A buck converter steps down the input voltage to desired value and automatically compensates for changes in the source voltage and load current. This compensation is done by quickly switching power transistors on and off as needed using pulse-width modulation.
This example uses a buck converter modeled in Simscape Electrical™. Due to the presence of metal-oxide semiconductor field-effect transistors (MOSFETs) and pulse-width modulation, the model linearizes to zero. Learn how you can set up and run frequency response-based PID tuning, a new PID tuning method that is available in R2017b. The new method does not rely on model linearization to automatically tune PID controller gains. You will also see how the tuned controller performance is simulated to verify improved performance.