PID Control of a Brushless DC Motor
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.
Published: 12 Apr 2018
Related Products
Learn More
Featured Product
Simulink Control Design
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: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)