MathWorks Introduces Motor Control Blockset for Algorithm Development

Extends Simulink workflow and offers an on-ramp to Model-Based Design

Natick, Massachusetts, United States - (20 Aug 2020)

MathWorks introduces Motor Control Blockset, an add-on product for Simulink for designing and implementing motor control algorithms. Now, motor control engineers can use reference examples and Simulink blocks for developing field-oriented control algorithms to spin brushless motors. The blockset extends the set of Simulink products for motor control design, enabling engineers to test algorithms with each design change, generate fast and compact ANSI/ISO C code, and use simulation to validate software, reducing certification testing cycles.

“Instead of a process where handwritten code is not verified until actual motor testing, engineers can use simulation and code generation to catch errors earlier and speed up their motor control development projects,” said Arkadiy Turevskiy, product manager, MathWorks. “Motor Control Blockset strengthens our support for motor control design, where teams report reducing up to 50% of project time when using Simulink to design and implement digital control systems.”

MathWorks is working with motor control hardware providers to develop reference examples that support their motor control kits, starting with several Texas Instruments kits based on their C2000 real-time microcontrollers. Engineers using these kits can automatically estimate motor parameters, generate application code, and spin motors in minutes. Additionally, Motor Control Blockset can be used with Simulink Real-Time and Speedgoat real-time target machines for rapid control prototyping, including field-oriented control autotuning.

Motor Control Blockset includes:

  • Park, Clarke, space vector modulation, field weakening, maximum torque per amp, and other motor control algorithms optimized for generating fast, compact embedded code
  • Resolver decoder, Hall sensor decoder, Quadrature encoder decoder, and sliding mode observer for implementing sensored and sensorless motor control
  • Field-Oriented Control Autotuner block for automatically tuning current and speed loops of field-oriented control architectures
  • Instrumented tests to estimate motor parameters from experiments with motor hardware
  • Linear lumped-parameter average-value motor models for verifying control algorithms in closed-loop simulation
  • Reference applications showing how to quickly spin a motor with several motor control hardware kits

To learn more about Motor Control Blockset, visit

About MathWorks

MathWorks is the leading developer of mathematical computing software. MATLAB, the language of engineers and scientists, is a programming environment for algorithm development, data analysis, visualization, and numeric computation. Simulink is a block diagram environment for simulation and Model-Based Design of multidomain and embedded engineering systems. Engineers and scientists worldwide rely on these product families to accelerate the pace of discovery, innovation, and development in automotive, aerospace, electronics, financial services, biotech-pharmaceutical, and other industries. MATLAB and Simulink are also fundamental teaching and research tools in the world's universities and learning institutions. Founded in 1984, MathWorks employs more than 5000 people in 16 countries, with headquarters in Natick, Massachusetts, USA. For additional information, visit

MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.