Field-oriented control is a popular means of controlling brushless motors used in automotive, industrial, aerospace, and consumer applications. Motor Control Blockset™ for Simulink® speeds up the development of a field-oriented controller enabling you to verify control algorithms using simulation and generate compact and efficient code for a microcontroller. In this series, watch as MathWorks engineers walk through a reference example of a field-oriented control algorithm simulation and code deployment to a TI C2000 microcontroller for a permanent magnet synchronous motor (PMSM). During the demonstration, learn how to use Motor Control Blockset to:
• Parameterize a PMSM model by running instrumented tests on a motor
• Model motor and inverter dynamics at different levels of fidelity
• Design a field-oriented controller, including current and torque/speed loops using a quadrature encoder or Hall sensor
• Show sensorless control using a flux observer
• Demonstrate field weakening control to exceed the rated speed of the motor
• Use automatic PID tuning to set the controller gains for current and speed loops
• Verify controller performance through closed-loop simulations
• Generate code for a TI C2000 microcontroller and operate the current loop of the PMSM at 20 kHz
Part 1: Field-Oriented Control: Calibrating Sensors, Estimating Parameters, and Modeling Learn how to use Motor Control Blockset to calibrate Hall sensors and quadrature encoders. See how to estimate motor parameters and model the motor and inverter with Simscape Electrical.
Part 2: Field-Oriented Control: Designing the Control Algorithm Learn how to use Motor Control Blockset to develop field-oriented control algorithms, including field weakening.