Motor Control Workshop using dsPIC® Digital Signal Controllers (DSC) Dual Core Devices

This workshop class is for those aiming for a clear understanding of 3-phase brushless permanent magnet motors and their control at the fundamental level. (May 2022)

rate limit

Code not recognized.

About this course

This workshop class is for those aiming for a clear understanding of 3-phase brushless permanent magnet motors and their control at the fundamental level. BLDC (Brushless DC) and permanent magnet synchronous motor (PMSM) designs are reviewed along with the classic control algorithms used for each. The material covers the dsPIC33xx architecture and motor control peripherals, along with an in-depth look at the Microchip demo board, MCLV-2. The workshop will also provide two hands-on labs using a dsPIC33CH128MP508, which will cover sensored BLDC (six step) control, sensorless BLDC (six step) control and sensorless PMSM (Field Oriented) control. An additional introduction will be presented for using and debugging a Dual Core device. These labs will also use a new high-speed "X2CScope" virtual oscilloscope for tuning and control purposes. This class provides a foundation from which further motor control refinements and control techniques can be explored with confidence.

Curriculum71 min

  • Syllabus
  • Introduction
  • Introduction 1 min
  • Tools Used In This Class 1 min
  • Prerequisites 1 min
  • Architecture
  • Architecture Overview 2 min
  • Cores & I/O's 2 min
  • Shared Peripherals 3 min
  • Memory Configuration 2 min
  • Debugging 1 min
  • Peripherals for Motor Control 4 min
  • X2C Scope
  • Overview 1 min
  • Highlights 1 min
  • Working with X2C Scope 2 min
  • Communication Between the Cores
  • Overview 1 min
  • Configuration 1 min
  • Code 3 min
  • Hardware Configurations For The LABs
  • Configurations 1 min
  • Primary Program - Blinking LED
  • Downloads For This Chapter
  • Overview 1 min
  • The MPLAB Project 4 min
  • Forced Commutation
  • Downloads For This Chapter
  • Overview of a BLDC Motor 5 min
  • LAB2 Overview 1 min
  • Working With 2 Cores 1 min
  • Prepare Primary Core 2 min
  • Prepare Secondary Core 3 min
  • Make, Program and Get It Running 2 min
  • Six Step Sensorless Algorithm - Sensor Based Commutation
  • Downloads For This Chapter
  • What's Next 1 min
  • Sensing Rotor Position 4 min
  • Lab 3: Running a Sensored BLDC Motor 6 min
  • Summary 1 min
  • Six Step Sensorless Algorithm - Sensorless
  • Downloads for this Chapter
  • Why Sensorless? 1 min
  • Back EMF (Back Electromotive Force) 1 min
  • Working With Back EMF 2 min
  • Majority Filter 1 min
  • Running a Sensorless BLDC Motor - Software 5 min
  • Testing 2 min
  • Summary 1 min
  • Your Feedback
  • We need your Feedback

About this course

This workshop class is for those aiming for a clear understanding of 3-phase brushless permanent magnet motors and their control at the fundamental level. BLDC (Brushless DC) and permanent magnet synchronous motor (PMSM) designs are reviewed along with the classic control algorithms used for each. The material covers the dsPIC33xx architecture and motor control peripherals, along with an in-depth look at the Microchip demo board, MCLV-2. The workshop will also provide two hands-on labs using a dsPIC33CH128MP508, which will cover sensored BLDC (six step) control, sensorless BLDC (six step) control and sensorless PMSM (Field Oriented) control. An additional introduction will be presented for using and debugging a Dual Core device. These labs will also use a new high-speed "X2CScope" virtual oscilloscope for tuning and control purposes. This class provides a foundation from which further motor control refinements and control techniques can be explored with confidence.

Curriculum71 min

  • Syllabus
  • Introduction
  • Introduction 1 min
  • Tools Used In This Class 1 min
  • Prerequisites 1 min
  • Architecture
  • Architecture Overview 2 min
  • Cores & I/O's 2 min
  • Shared Peripherals 3 min
  • Memory Configuration 2 min
  • Debugging 1 min
  • Peripherals for Motor Control 4 min
  • X2C Scope
  • Overview 1 min
  • Highlights 1 min
  • Working with X2C Scope 2 min
  • Communication Between the Cores
  • Overview 1 min
  • Configuration 1 min
  • Code 3 min
  • Hardware Configurations For The LABs
  • Configurations 1 min
  • Primary Program - Blinking LED
  • Downloads For This Chapter
  • Overview 1 min
  • The MPLAB Project 4 min
  • Forced Commutation
  • Downloads For This Chapter
  • Overview of a BLDC Motor 5 min
  • LAB2 Overview 1 min
  • Working With 2 Cores 1 min
  • Prepare Primary Core 2 min
  • Prepare Secondary Core 3 min
  • Make, Program and Get It Running 2 min
  • Six Step Sensorless Algorithm - Sensor Based Commutation
  • Downloads For This Chapter
  • What's Next 1 min
  • Sensing Rotor Position 4 min
  • Lab 3: Running a Sensored BLDC Motor 6 min
  • Summary 1 min
  • Six Step Sensorless Algorithm - Sensorless
  • Downloads for this Chapter
  • Why Sensorless? 1 min
  • Back EMF (Back Electromotive Force) 1 min
  • Working With Back EMF 2 min
  • Majority Filter 1 min
  • Running a Sensorless BLDC Motor - Software 5 min
  • Testing 2 min
  • Summary 1 min
  • Your Feedback
  • We need your Feedback