Video length is 27:50

Field-Oriented Control Made Easy

Overview

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 by helping you to verify control algorithms using simulation and generate compact and efficient code for a microcontroller. In this session, MathWorks engineers will walk you through a reference example of field-oriented control algorithm simulation and code deployment to a TI C2000 microcontroller for a permanent magnet synchronous motor (PMSM).  During the demonstration, we will show how Motor Control Blockset can be used 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 Texas Instruments C2000 microcontroller and operate the current loop of the PMSM at 20 kHz

Recorded: 9 Jun 2020