2.1K Downloads
Updated 26 Sep 2023
About
The Electric Motor Control reference application by Speedgoat, is aiming to provide you with a starting point to electric motor controls development using Model-Based Design. The reference application is packed with a set of exercises that show you how to best combine the power of Speedgoat real-time solutions with Simulink, Simscape Electrical and Motor Control Blockset, among other MathWorks products, for motor control design and testing. Download the reference application and discover the process of developing a digital controller based on field-oriented control (FOC) algorithm, from the initial design stages, to prototyping and final deployment and testing.
The reference application leverages the Speedgoat HIL Demo Kit and the Electric Motor Control Kit. The latter features a small 100W Maxon PMSM motor with integrated Hall Sensor and Encoder, and the Speedgoat 1.4 kW Three-phase Inverter that supports switching frequencies up to 50kHz. These kits seamless operate with the cost-effective IO397 FGPA I/O Module, which supports PWM generation and capture, with time resolution as low as 5ns, as well quadrature encoding and decoding.
Learn How To
  • Create accurate motor models and fine-tune controller gains by collecting data from hardware
  • Monitor and control your real-time application directly from Simulink® models or with instrument panel apps
  • Configure your controller model to generate compact and fast C code for any target microcontroller
  • Automatically run test-cases and prove that your embedded motor controller meets requirements using Hardware-in-the-Loop testing
Getting Started
  1. Open MATLAB and open Simulink Project File
  2. Click in 'Getting Started' project shortcut
  3. Follow steps in the documentation
Test System Setup
Watch Demo
https://youtu.be/sS4Vctnzndw
Learn More
Download

Cite As

Speedgoat Application Engineering Team (2024). Electric Motor Control Reference Application (https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v8.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2020a to R2023b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
8.0.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v8.0.0

7.0.2.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v7.0.2

7.0.1.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v7.0.1

7.0.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v7.0.0

6.0.1

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v6.0.1

6.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v6.0.0

5.0.3.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v5.0.3

5.0.2

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v5.0.2

5.0.1

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v5.0.1

5.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v5.0.0

4.0.1

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v4.0.1

4.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v4.0.0

3.0.1

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v3.0.0

2.0.6

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v2.0.6

2.0.5

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v2.0.5

2.0.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v2.0.0

1.3.0

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v1.3.0

1.2.2

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v1.2.2

1.2.1

See release notes for this release on GitHub: https://github.com/Speedgoat-Application-Engineering-Team/Electric-Motor-Control/releases/tag/v1.2.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.