Jump to main content

##

# 1 MPLAB® Harmony 3 Motor Control Application Examples for SAM D5x/E5x 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 SAMD5x/E5x 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.

## 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 | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support dsPICDEM™ MCHV-3 Support
PMSM FOC using Quadrature Encoder | Sensored Field Oriented Control of PMSM using Quadrature Encoder | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support dsPICDEM™ MCHV-3 Support
PMSM FOC using ZS/MT Hybrid Estimator | Sensorless Field Oriented Control of PMSM using ZS/MT Hybrid Estimator | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support
PMSM FOC Position Control using Quadrature Encoder | Sensored Position Control PMSM using Quadrature Encoder | ATSAME54 Motor Control DIM | MCLV-48V-300W Development Board
PMSM FOC using sliding mode observer | Sensorless Field Oriented Control of PMSM using sliding mode observer | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support dsPICDEM™ MCHV-3 Support

### 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
--- | --- | --- | ---
PMSM FOC Control using Hall Sensor | Sensored field oriented control of PMSM using Hall Sensor | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support
PMSM FOC Control with PLL estimator and Hall Start-up | Sensored field oriented control of PMSM using Hall Sensor with PLL estimator and Hall Start-up | ATSAME54 Motor Control Plugin Module | dsPICDEM™ MCLV-2 Support