1 MPLAB® Harmony 3 Motor Control Application Examples for SAMC2x Family

MPLAB® Harmony 3 is an extension of the MPLAB® ecosystem for creating embedded firmware solutions for Microchip 32-bit SAM and PIC32 microcontroller and microprocessor devices. Refer to the following links for more information.

This repository contains the MPLAB® Harmony 3 Motor Control application examples for SAMC2x family. Users can use these examples as a reference for developing their own motor control applications. Refer to the following links for release notes and licensing information.

Contents Summary

FolderDescription
appsDemonstration applications for Motor Control.
docsContains documentation in html format for offline viewing (to be used only after cloning this repository onto a local machine). Use github pages of this repository for viewing it online.

Motor Control Application Examples

Configurable Motor Control Examples (MCC with Harmony QSpin Motor Control )

The following applications are provided to demonstrate the usage of Harmony QSpin to generate motor control application with Microchip's 32-bit MCUs.

NameDescriptionControl BoardInverter Board
PMSM FOC using PLL EstimatorSensorless Field Oriented Control of PMSM using PLL EstimatorATSAMC21 Motor Control DIMMCLV-48V-300W Development Board
PMSM FOC using Reduced Order Luenberger Observer with Field Weakening and MTPASensorless Field Oriented Control of PMSM using ROLO EstimatorATSAMC21 Motor Control DIMMCLV-48V-300W Development Board

Static Motor Control Examples

These applications contain static algorithm code and peripherals are configured using MCC. Configurations can be changed in userparam.h file.

NameDescriptionControl BoardInverter Board
ACIM Open Loop V/HzOpen Loop V/Hz Control of ACIMATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCHV-3 Support
BLDC Block Commutation using Hall SensorsBlock Commutation Control of BLDC motors using Hall SensorsATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support
PMSM FOC using Reduced Order Luenberger Observer with Single ShuntSensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Single Shunt Current SenseATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support