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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.