Electric Motor Control

What Is Electric Motor Control?

Motor control algorithms regulate speed, torque, and other performance characteristics, often for precision positioning. Evaluating control algorithms using simulation is an effective way to determine the suitability of electric motor controller designs and reduce the time and cost of algorithm development before committing to expensive hardware testing.

An efficient workflow for motor control algorithm development electric motors involves:

  • Building accurate system models, often from libraries of electric motors and drives, power electronic components, sensors, and loads
  • Generating ANSI, ISO, or processor-optimized C code and HDL for real-time testing and implementation
  • Verifying and testing control algorithms using simulation and prototyping hardware.

For details on simulation, see Simulink®. To generate ANSI, ISO, or processor-optimized C code to implement motor control algorithms on processors, or generate HDL for FPGAs, see Embedded Coder® and HDL Coder™.

Examples and How To


Code Generation

Verification and Testing


See also: FPGA design and codesign, HDL Coder, power electronics control design, power electronics simulation, field-oriented control, BLDC motor control, Clarke and Park transforms, motor simulation for motor control design, Induction Motor Speed Control, Field-Weakening Control

Motor Control Blockset

Design and implement motor control algorithms

Panel Navigation