Skip to content

Microchip-MPLAB-Harmony/mc_apps_sam_c2x

Repository files navigation


title: Microchip MPLAB® Harmony 3 Motor Control Application Examples for SAM C2x family nav_order: 1 has_children: true has_toc: false

Microchip MPLAB® Harmony 3 Motor Control Application Examples for SAM C2x 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 exmaples 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

Folder Description
apps Demonstration applications for Motor Control

Documentation

Click here to view the online documentation of code examples hosted in this repository.

To view the documentation offline, follow these steps:

  • Download the publication as a zip file from here.
  • Extract the zip file into a folder.
  • Navigate to the folder and open index.html in a web browser of your choice.

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 ROLO Estimator 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 MHC. 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

License Latest release Latest release date Commit activity Contributors


Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter