MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

What Is Motor Control Blockset?

Siddharth Jawahar, MathWorks

Motor Control Blockset™ provides reference examples and blocks for developing field-oriented control algorithms for brushless motors. The examples show how to configure a controller model to generate compact and fast C code for any target microcontroller (with Embedded Coder®). You can also use the reference examples to generate algorithmic C code and driver code for specific motor control kits. 
The blockset includes Park and Clarke transforms, sliding mode and flux observers, a space-vector generator, and other components for creating speed and torque controllers. You can automatically tune controller gains based on specified bandwidth and phase margins for current and speed loops (with Simulink Control Design™). 
The blockset lets you create an accurate motor model by providing tools for collecting data directly from hardware and calculating motor parameters. You can use the parameterized motor model to test your control algorithm in closed-loop simulations.

Motor Control Blockset lets you design and implement motor control algorithms for permanent magnet synchronous motors. The product provides fully assembled reference examples for sensored and sensorless field-oriented control algorithms.

You can use these examples to verify control algorithms through closed-loop desktop simulation and then use Embedded Coder to generate code for implementation on a microcontroller. The examples show how to use Park and Clarke transforms, space vector generator, PI controllers, maximum torque per amp and other control blocks provided by the product to implement field-oriented control algorithms.

The product provides sensor decoders for Hall sensors, quadrature encoders, and resolvers.

Sliding mode and flux observer blocks are provided for implementing sensorless control.

Motor Control Blockset provides prebuilt instrumented tests to estimate stator resistance, dq-axis inductances, and other parameters of your motor.

You can use these parameters to compute initial control gains of the current and speed loops. You can further fine-tune these gains using the Field-Oriented Control Autotuner block.

You can create accurate motor models by using the estimated motor parameters with the provided motor modeling blocks.

You can then combine these motor models with the Average-Value Inverter block and your Field-Oriented Control algorithm to create closed-loop simulation models.

You can also simulate your control algorithm against higher-fidelity plant models developed with Simscape Electrical, for example, to model switching effects in the inverter.

Once the control algorithm has been verified in closed-loop desktop simulation, you can generate fast, compact code and deploy it to your target microcontroller.

You can use a host model to control the target application by setting the reference speed, adjusting controller parameters, and monitoring motor speed, phase currents, and other signals.

For more information, please visit the Motor Control Blockset product page on mathworks.com and download a trial to check out the reference examples.

Related Products

  • Motor Control Blockset

Feedback

Featured Product

Motor Control Blockset

  • Request Trial
  • Get Pricing

Up Next:

19:54
Motor Control Architecture for Multiple Production Programs

Related Videos:

24:59
AC Motor Control Architecture, Code Generation, and...
14:13
Application of Automatic Code Generation for Rapid and...
4:21
Using MATLAB and Arduino for Motor Control
46:35
Motor Control with Embedded Coder and TI’s C2000

View more related videos

MathWorks - Domain Selector

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: .

Select web site

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
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contact sales
  • Trial software

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Contact Sales
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

  • Select a Web Site United States
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Join the conversation