Siddharth Jawahar, MathWorks
Learn how to automatically tune gains of a cascaded PID controller that controls the inner voltage and the outer speed loop of a brushless DC motor with a trapezoidal back-EMF. The three-phase BLDC motor and three-phase power inverter have been modeled in Simscape Electrical™. The goal is to tune controller gains to provide fast and stable speed response from the motor. To do that, a Closed-Loop PID Autotuner block is used. This block injects an excitation signal during closed-loop plant operation to estimate plant frequency response. The obtained frequency response is used to automatically compute PID gains. See how to use the Closed-Loop PID Autotuner on the inner voltage loop first, and then on the outer speed loop. The computed PID gains are used to update parameters of the PID controller in the model. Controller performance is verified by running closed-loop simulation.
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.