Jump to main content

##

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

- Microchip 32-bit MCUs for Motor Control Applications
- Microchip 32-bit MCUs
- Microchip 32-bit MPUs
- Microchip MPLAB X IDE
- Microchip MPLAB® Harmony
- Microchip MPLAB® Harmony Pages

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.

- Release Notes
- MPLAB® Harmony License

## Contents Summary

Folder | Description
--- | ---
apps | Demonstration applications for Motor Control.
docs | Contains 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.

Name | Description | Control Board | Inverter Board
--- | --- | --- | ---
PMSM FOC using PLL Estimator | Sensorless Field Oriented Control of PMSM using PLL Estimator | ATSAMC21 Motor Control DIM | MCLV-48V-300W Development Board
PMSM FOC using Reduced Order Luenberger Observer with Field Weakening and MTPA | Sensorless Field Oriented Control of PMSM using ROLO Estimator | ATSAMC21 Motor Control DIM | MCLV-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.

Name | Description | Control Board | Inverter Board
--- | --- | --- | ---
ACIM Open Loop V/Hz | Open Loop V/Hz Control of ACIM | ATSAMC21 Motor Control Plugin Module | dsPICDEM™ MCHV-3 Support
BLDC Block Commutation using Hall Sensors | Block Commutation Control of BLDC motors using Hall Sensors | ATSAMC21 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support
PMSM FOC using Reduced Order Luenberger Observer with Single Shunt | Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Single Shunt Current Sense | ATSAMC21 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support