The Electric Motor Control reference example by Speedgoat aims to provide you with a starting point for electric motor control development using Model-Based Design. It consists 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 example 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 example 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 seamlessly operate with the cost-effective IO397 Simulink® Programmable FPGA I/O Module, which supports PWM generation and capture, with time resolution as low as 5ns, and quadrature encoding and decoding.