6 Microchip MPLAB® Harmony 3 Release Notes

MPLAB® Harmony 3 Motor Control Release v3.11.0

Features

  • Harmony QSpin Updates
    • Motor Module GUI Update in QSpin
    • Enhanced graphical interface for improved usability and efficiency.
    • Revised and extended module documentation for better clarity
    • Added support for SAMC2x, PIC32CM MC, and SAMRH707 devices in QSpin
    • Position control is now available for SAME5x, SAME7x, SAMRH707, and PIC32MK MCM/MCA devices
  • New Stand-alone projects
    • Added a new example project using PIC32MK MCM for Field Oriented Control (FOC) with single shunt current reconstruction.
    • New example project using PIC32CM MC for sensorless block commutation (BC).

Known Issues

  • QSpin Pin Manager Issue

    When using QSpin, ensure you select the board from the drop-down menu before launching the Pin Manager. If the Pin Manager is

    launched before selecting the board, the configuration will fail. To avoid improper pin configuration, always select the board first.

Required MPLAB® Harmony v3 Modules

  • csp v3.20.0
  • bsp v3.21.0
  • x2c v1.5.0
  • harmony-services v1.5.0

MPLAB® Harmony 3 Motor Control Release v3.10.1

Bug Fixes

  • Rectify package yml files

Know Issues

  • None

Required MPLAB® Harmony v3 Modules

  • csp v3.17.0
  • bsp v3.16.1
  • x2c v1.4.0
  • harmony-services v1.3.1

MPLAB® Harmony 3 Motor Control Release v3.10.0

New Features

  • Adding SMO, Over modulation, and MTPA support in QSpin.
  • Adding ZS/MT Hybrid demo project for SAME54, PIC32MK MCF and PIC32MK MCM.
  • MISRA-C Compliance for motor control application files.

Know Issues

  • None

Required MPLAB® Harmony v3 Modules

  • csp v3.17.0
  • bsp v3.16.1
  • x2c v1.4.0
  • harmony-services v1.3.1

MPLAB® Harmony 3 Motor Control Release v3.9.0

New Features

  • Motor Control Plant Manager is renamed as QSpin Motor Control Configuration.
  • Added QSpin support for PMSM_FOC_Component for PIC32MK MCA devices.
  • Added QSpin support for MCHV3 development board.

Know Issues

  • None

Required MPLAB® Harmony v3 Modules

  • csp v3.13.1
  • bsp v3.14.0
  • x2c v1.3.0
  • dev_packs v3.13.1
  • mcc H3 Library v1.1.5

MPLAB® Harmony 3 Motor Control Release v3.8.1

Bug Fixes

  • Fix Package Plugin path (Apple Mac issue)

Know Issues

  • Same as v3.8.0

Required MPLAB® Harmony v3 Modules

  • csp v3.11.0
  • bsp v3.11.1
  • x2c v1.2.0
  • dev_packs v3.11.0
  • mcc v1.1.0

MPLAB® Harmony 3 Motor Control Release v3.8.0

New Features

  • Added Motor Control Plant support for PMSM_FOC_Component for SAM E70, SAM E54 and PIC32MK devices.

Know Issues

  • Same as v3.7.0

Required MPLAB® Harmony v3 Modules

  • csp v3.11.0
  • bsp v3.11.1
  • x2c v1.2.0
  • dev_packs v3.11.0
  • mcc v1.1.0

MPLAB® Harmony 3 Motor Control Release v3.7.0

New Features

  • SAMC2x and PIC32CM MC device support - Added Reduced Order Leuemberger Observer on SAMC21 and PIC32CM MC devices in PMSM_FOC component.
  • Added open loop support in encoder based FOC.
  • Supported user input for speed reference and current reference.

Know Issues

  • In pmsm_foc_encoder_pic32_mk projects, overcurrent fault occurs at higher speeds in reverse direction with field weakening mode enabled.
  • Isolated EDBG Card
    • If programming failure occurs with message "java.lang.RuntimeException:RDDI_DAP_OPERATION_FAILED", then reset the Isolated EDBG Card's configuration by Go to File -> Project Properties -> EDBG -> Reset.
    • Programming or debugging PIC32CM, SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_encoder_<device_family> applications running on dsPICDEM MCHV-3 requires increasing bandwidth of the quadrature encoder signal filter to maintain signal integrity of quadrature sensor signals at higher motor speeds. Without these modifications, motor operation may fail at higher speeds.
    • Reduce the capacitance value of C25, C26 and C27 from 100pF to 10pF 50V NPO 0805

Required MPLAB® Harmony v3 Modules

  • csp v3.9.1
  • x2c v1.1.4
  • dev_packs v3.9.0
  • mhc v3.8.0

MPLAB® Harmony 3 Motor Control Release v3.6.1

Bug Fixes

  • Fixed issues to support XC32 compiler v3.00.

Know Issues

  • Same as v3.6.0

MPLAB® Harmony 3 Motor Control Release v3.6.0

  • PMSM_FOC Component
    Following features were added to PMSM_FOC component
  • Application Examples
    All motor control application examples were moved to product family specific motor control apps repositories.
    RepositoryProduct Family
    mc_apps_pic32mkMotor Control Application examples for PIC32MK Family
    mc_apps_sam_c2xMotor Control Application examples for SAM C2x Family
    mc_apps_sam_d5x_e5xMotor Control Application examples for SAM D5x/E5x Family
    mc_apps_sam_e7x_s7x_v7xMotor Control Application examples for SAM E7x/S7x/V7x Family
    mc_apps_sam_rh71Motor Control Application examples for SAM RH71 Family
    mc_apps_sam_rh707Motor Control Application examples for SAM RH707 Family
    mc_apps_pic32cm_mcMotor Control Application examples for PIC32CM MC Family

Know Issues

  • ATSAME54 Motor Control Plugin Module based demos may see noise coupling on the ADC channels resulting in motor instability/stall.
    • This issue can be resolved by ensuring that R1 (0 ohm) resistor is populated.
  • Isolated EDBG Card
    • If programming failure occurs with message "java.lang.RuntimeException:RDDI_DAP_OPERATION_FAILED", then reset the Isolated EDBG Card's configuration by Go to File -> Project Properties -> EDBG -> Reset.
    • Programming or debugging PIC32CM, SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_encoder_<device_family> applications running on dsPICDEM MCHV-3 requires increasing bandwidth of the quadrature encoder signal filter to maintain signal integrity of quadrature sensor signals at higher motor speeds. Without these modifications, motor operation may fail at higher speeds.
    • Reduce the capacitance value of C25, C26 and C27 from 100pF to 10pF 50V NPO 0805
  • pmsm_foc_rolo_1shunt may experience false over-current faults during alternate motor start command when operated in "TORQUE_MODE". Workaround - Reset the MCU before re-starting the motor in "TORQUE_MODE".
  • For any demos running on ATSAMC21 Motor Control PIM, if any failures are observed while trying to use X2CScope, these failures may occur due to shortage of CPU computation bandwidth. In such cases, enable "RAM_EXECUTE" mode which speeds up execution by executing certain functions from RAM memory instead of Flash memory.

Required MPLAB® Harmony v3 Modules

  • csp v3.8.3
  • x2c v1.1.3
  • dev_packs v3.8.0
  • mhc v3.6.5

MPLAB® Harmony 3 Motor Control Release v3.5.1

New Applications

The following table provides the list of algorithms added in this release.
AlgorithmDescriptionControl BoardInverter Board
pmsm_foc_rolo_pic32_cm_mcSensorless Field Oriented Control of PMSM using Reduced Order Luenberger ObserverPIC32CM MC 00 Motor Control Plugin Module

dsPICDEM™ MCLV-2 Support

dsPICDEM™ MCHV-3 Support

acim_vhz_pic32_cm_mcOpen Loop V/F Control of AC Induction MotorPIC32CM MC 00 Motor Control Plugin ModuledsPICDEM™ MCHV-3 Support
bldc_bc_hall_pic32_cm_mcBlock Commutation based control of BLDC motor using Hall SensorsPIC32CM MC 00 Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support

Updated Applications

ApplicationDescriptionControl BoardInverter BoardRevision History
pmsm_foc_encoder_lx7720_sam_rh71_ekSensored Field Oriented Control of PMSM using SAMRH71 MCU and LX7720 Motor Driver and Position decoderSAMRH71F20-EK Evaluation KitLX7720 Daughter Board

Regenerated demo applications using csp v3.8.1.

Added reverse direction capability.

Optimized Speed Controller response.

Know Issues

  • Isolated EDBG Card
    • This board is not supported in MPLABX v5.40. We recommend using MPLABX v5.45 or abovefor programming/debugging any PIC32CM_MC, SAM C/D2x, SAM D/E5x and SAM E/V/S7x applications dsPICDEM™ MCHV-3 High Voltage Development Board.
    • If programming failure occurs with message "java.lang.RuntimeException:RDDI_DAP_OPERATION_FAILED", then reset the Isolated EDBG Card's configuration by Go to File -> Project Properties -> EDBG -> Reset.
    • Programming or debugging PIC32CM, SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_encoder_<device_family> applications running on dsPICDEM MCHV-3 requires increasing bandwidth of the quadrature encoder signal filter to maintain signal integrity of quadrature sensor signals at higher motor speeds. Without these modifications, motor operation may fail at higher speeds.
    • Reduce the capacitance value of C25, C26 and C27 from 100pF to 10pF 50V NPO 0805
  • pmsm_foc_rolo_1shunt may experience false over-current faults during alternate motor start command when operated in "TORQUE_MODE". Workaround - Reset the MCU before re-starting the motor in "TORQUE_MODE".
  • For any demos running on ATSAMC21 Motor Control PIM, if any failures are observed while trying to use X2CScope, these failures may occur due to shortage of CPU computation bandwidth. In such cases, enable "RAM_EXECUTE" mode which speeds up execution by executing certain functions from RAM memory instead of Flash memory.

Required MPLAB® Harmony v3 Modules

  • csp v3.8.1
  • x2c v1.1.2
  • dev_packs v3.8.0
  • mhc v3.5.1

MPLAB® Harmony 3 Motor Control Release v3.5.0

New Features

FeatureDescriptionSupported Device Family
PMSM_FOC ComponentAn application library for Field Oriented Control (FOC) of Permanent Magnet Synchronous Motors (PMSM). This library can be configured using MPLAB Harmony Configurator (MHC) to auto-generate a fully functional application code which can drive a permanent magnet synchronous motor.PIC32MK, SAME7x

New Applications

The following table provides the list of algorithms added in this release.
AlgorithmDescriptionControl BoardInverter Board
pmsm_foc_encoder_pic32_mkSensored Field Oriented Control of PMSM using Quadrature EncoderPIC32MK MCM Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support
pmsm_foc_pll_estimator_pic32_mkSensorless Field Oriented Control of PMSM using PLL EstimatorPIC32MK MCM Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support
pmsm_foc_encoder_lx7720_sam_rh71_ekSensored Field Oriented Control of PMSM using SAMRH71 MCU and LX7720 Motor Driver and Position decoderSAMRH71F20-EK Evaluation KitLX7720 Daughter Board

Updated Applications

  • All demo applications were regenerated using csp v3.7.1.
  • Following table lists the applications which are updated beyond regeneration using csp v3.7.1.
ApplicationDescriptionControl BoardInverter BoardRevision History
pmsm_foc_encoder_pic32_mkSensored Field Oriented Control of PMSM using Quadrature EncoderPIC32MK Motor Control Plugin ModuledsPICDEM™ MCLV-2 SupportRegenerated low voltage demo (MCLV2) using PMSM_FOC component.
pmsm_foc_pll_estimator_pic32_mkSensorless Field Oriented Control of PMSM using PLL EstimatorPIC32MK Motor Control Plugin ModuledsPICDEM™ MCLV-2 SupportRegenerated low voltage demo (MCLV2) using PMSM_FOC component.
pmsm_foc_encoder_sam_e70Sensored Field Oriented Control of PMSM using Quadrature EncoderATSAME70 Motor Control Plugin ModuledsPICDEM™ MCLV-2 SupportRegenerated low voltage demo (MCLV2) using PMSM_FOC component.
pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuledsPICDEM™ MCLV-2 SupportRegenerated low voltage demo (MCLV2) using PMSM_FOC component.
pmsm_foc_rolo_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger ObserverATSAMC21 Motor Control Plugin Module

dsPICDEM™ MCLV-2 Support

dsPICDEM™ MCHV-3 Support

Implemented bug fix to use the most recent phase current measurement for current control.

Implemented bug fix in integral saturation logic (upper limit) of the PI compensator.

pmsm_foc_rolo_wm_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Windmilling CapabilityATSAMC21 Motor Control Plugin Module

dsPICDEM™ MCLV-2 Support

dsPICDEM™ MCHV-3 Support

Implemented bug fix to use the most recent phase current measurement for current control.

Implemented bug fix in integral saturation logic (upper limit) of the PI compensator.

pmsm_foc_rolo_fw_mtpa_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Field Weakening and MTPA CapabilityATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCLV-2 Support

Implemented bug fix to use the most recent phase current measurement for current control.

Implemented bug fix in integral saturation logic (upper limit) of the PI compensator.

acim_vhz_sam_c21Open Loop V/F Control of AC Induction MotorATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCHV-3 SupportImplemented bug fix in integral saturation logic (upper limit) of the PI compensator.
pmsm_foc_rolo_1shuntSensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Single Shunt Current SenseATSAMC21 Motor Control Plugin ModuledsPICDEM™ MCLV-2 SupportImplemented bug fix in integral saturation logic (upper limit) of the PI compensator.

Know Issues

  • Isolated EDBG Card (board revision #02-10824-R1) is not supported in MPLABX v5.40. We recommend using MPLABX v5.35 for programming/debugging any SAM C/D2x, SAM D/E5x and SAM E/V/S7x applications dsPICDEM™ MCHV-3 High Voltage Development Board.
  • MPLAB X IDE v5.35 fails to program ATSAME70 Motor Control Plugin Module on dsPICDEM™ MCHV-3High Voltage Development Board. In order to resolve this issue, implement the following change in dap_cortex-m7.py, located at C:\Program Files (x86)\Microchip\MPLABX\v5.35\packs\Microchip\SAME70_DFP\4.2.59\scripts\
    • Goto line # 2, replace <span style="color:red; font-family:courier" >“comm_speed=8000000” </span> with <span style="color:green; font-family:courier">“comm_speed=2000000” </span>
  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_encoder_<device_family> applications running on dsPICDEM MCHV-3 requires increasing bandwidth of the quadrature encoder signal filter to maintain signal integrity of quadrature sensor signals at higher motor speeds. Without these modifications, motor operation may fail at higher speeds.
    • Reduce the capacitance value of C25, C26 and C27 from 100pF to 10pF 50V NPO 0805
  • pmsm_foc_rolo_1shunt may experience false over-current faults during alternate motor start command when operated in "TORQUE_MODE". Workaround - Reset the MCU before re-starting the motor in "TORQUE_MODE".
  • For any demos running on ATSAMC21 Motor Control PIM, if any failures are observed while trying to use X2CScope, these failures may occur due to shortage of CPU computation bandwidth. In such cases, enable "RAM_EXECUTE" mode which speeds up execution by executing certain functions from RAM memory instead of Flash memory.

Required MPLAB® Harmony v3 Modules

  • csp v3.7.1
  • x2c v1.0.1
  • dev_packs v3.7.0
  • mhc v3.5.0

MPLAB® Harmony 3 Motor Control Release v3.4.1

Updated Applications

  • The following table provides the list of applications updated in this release.
ApplicationDescriptionSupported Plug In Module dsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 SupportRevision History
pmsm_foc_encoder_pic32_mkSensored Field Oriented Control of PMSM using Quadrature EncoderPIC32MK Motor Control Plugin ModuleYesYes

PWM to Control Frequency was made 1:1 in Low Voltage Demo (MCLV-2).

Added High Voltage Support (MCHV-3).

pmsm_foc_pll_estimator_pic32_mkSensorless Field Oriented Control of PMSM using PLL EstimatorPIC32MK Motor Control Plugin ModuleNoYesAdded High Voltage Support (MCHV-3).

Know Issues

  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_rolo_1shunt may experience false over-current faults during alternate motor start command when operated in "TORQUE_MODE". Workaround - Reset the MCU before re-starting the motor in "TORQUE_MODE".
  • For any demos running on ATSAMC21 Motor Control PIM, if any failures are observed while trying to use X2CScope, these failures may occur due to shortage of CPU computation bandwidth. In such cases, kindly enable "RAM_EXECUTE" mode which speeds up execution by executing certain functions from RAM memory instead of Flash memory

Required MPLAB® Harmony v3 Modules

  • csp v3.5.0
  • dev_packs v3.5.0
  • mhc v3.3.0

MPLAB® Harmony 3 Motor Control Release v3.4.0

New Algorithms

The following table provides the list of algorithms added in this release.
AlgorithmDescription Supported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 Support
pmsm_foc_encoder_pic32_mkSensored Field Oriented Control of PMSM using Quadrature EncoderPIC32MK Motor Control Plugin ModuleNoYes
pmsm_foc_pll_estimator_pic32_mkSensorless Field Oriented Control of PMSM using PLL EstimatorPIC32MK Motor Control Plugin ModuleNoYes
pmsm_foc_smo_sam_e70Sensorless Field Oriented Control of PMSM using Sliding Mode ObserverATSAME70 Motor Control Plugin ModuleNoYes
pmsm_foc_rolo_1shuntSensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Single Shunt Current SenseATSAMC21 Motor Control Plugin ModuleNoYes

Updated Algorithms

  • The following table provides the list of algorithms updated in this release.
AlgorithmDescriptionSupported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 SupportRevision History
pmsm_foc_encoder_sam_e70Sensored Field Oriented Control of PMSM using PDECATSAME70 Motor Control Plugin ModuleYesYes

Added motor start/stop Capability without resetting the MCU.

Added Field Weakening support on low voltage application (MCLV-2).

Added MCHV-3 support (without Field Weakening).

pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesYes

Reduced dead-time in High Voltage demo (MCHV-3) to improve open loop to closed loop transition.

Resolved bug in Field Weakening operation in reverse direction.

pmsm_foc_encoder_sam_e54Sensored Field Oriented Control of PMSM using Quadrature EncoderATSAME54 Motor Control Plugin ModuleYesYes

Added Field Weakening support on low voltage application (MCLV-2).

Added MCHV-3 Support (without field weakening support).

pmsm_foc_encoder_position_sam_e54FOC based Position Control of PMSM using Quadrature EncoderATSAME54 Motor Control Plugin ModuleYesYes

Replaced the PI type Compensator in the position loop with P type Compensator.

Added MCHV-3 Support.

pmsm_foc_pll_estimator_sam_e54Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME54 Motor Control Plugin ModuleYesYes

Unswapped PWMH and PWML output in TCC0 configuration.

Update PWM Duty Cycle Update implementation to accomodate for unswapping of the PWMH and PWML.

Over-current fault was made recoverable i.e. Motor can be re-started after an over-current fault without resetting the MCU.

pmsm_foc_rolo_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger ObserverATSAMC21 Motor Control Plugin ModuleYesYesOver-current fault was made recoverable i.e. Motor can be re-started after an over-current fault without resetting the MCU.
pmsm_foc_rolo_wm_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Windmilling CapabilityATSAMC21 Motor Control Plugin ModuleYesYes

Over-current fault was made recoverable i.e. Motor can be re-started after an over-current fault without resetting the MCU.

Fixed Speed Filter implementation to make it direction agnostic.

Know Issues

  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.
  • pmsm_foc_rolo_1shunt may experience false over-current faults during alternate motor start command when operated in "TORQUE_MODE". Workaround - Reset the MCU before re-starting the motor in "TORQUE_MODE".
  • For any demos running on ATSAMC21 Motor Control PIM, if any failures are observed while trying to use X2CScope, these failures may occur due to shortage of CPU computation bandwidth. In such cases, kindly enable "RAM_EXECUTE" mode which speeds up execution by executing certain functions from RAM memory instead of Flash memory

Required MPLAB® Harmony v3 Modules

  • csp v3.5.0
  • dev_packs v3.5.0
  • mhc v3.3.0

MPLAB® Harmony 3 Motor Control Release v3.3.1

Updated Algorithms

  • The following table provides the list of algorithms updated in this release.
AlgorithmDescriptionSupported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 SupportRevision History
pmsm_foc_pll_estimator_sam_e54Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME54 Motor Control Plugin ModuleYesYesAdded Windmilling (On-the-fly Startup) Support
pmsm_foc_rolo_fw_mtpa_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Field Weakening and MTPA CapabilityATSAMC21 Motor Control Plugin ModuleNoYesFixed error in MTPA calculation
pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesYesAdded Bi-directional Support

Know Issues

  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.

Required MPLAB® Harmony v3 Modules

  • csp v3.3.0
  • dev_packs v3.3.0
  • mhc v3.3.0

MPLAB® Harmony 3 Motor Control Release v3.3.0

New Algorithms

The following table provides the list of algorithms added in this release.
AlgorithmDescription Supported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 Support
pmsm_pfc_foc_pll_estimator_sam_e70PFC and Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesNo
pmsm_foc_rolo_fw_mtpa_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Field Weakening and MTPA CapabilityATSAMC21 Motor Control Plugin ModuleNoYes
bldc_bc_hall_sam_c21Block Commutation based control of BLDC motor using Hall SensorsATSAMC21 Motor Control Plugin ModuleNoYes
pmsm_foc_pll_estimator_sam_e54Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME54 Motor Control Plugin ModuleYesYes
pmsm_foc_encoder_sam_e54Sensored Field Oriented Control of PMSM using Quadrature EncoderATSAME54 Motor Control Plugin ModuleNoYes
pmsm_foc_encoder_position_sam_e54FOC based Position Control of PMSM using Quadrature EncoderATSAME54 Motor Control Plugin ModuleNoYes

Updated Algorithms

  • The following table provides the list of algorithms updated in this release.
AlgorithmDescriptionSupported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 SupportRevision History
pmsm_foc_rolo_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger ObserverATSAMC21 Motor Control Plugin ModuleYesYesRegenerated application with csp v3.3.0.
pmsm_foc_rolo_wm_sam_c21nsorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Windmilling CapabilityATSAMC21 Motor Control Plugin ModuleYesYesRegenerated application with csp v3.3.0.
acim_vhz_sam_c21Open Loop V/F Control of AC Induction MotorATSAMC21 Motor Control Plugin ModuleYesNoRegenerated application with csp v3.3.0.
pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesYesRegenerated application with csp v3.3.0. Temporarily removed Field Weakening Support, to be added in future release.
pmsm_foc_encoder_sam_e70Sensored Field Oriented Control of PMSM using PDECATSAME70 Motor Control Plugin ModuleNoYesRegenerated application with csp v3.3.0 and added ability to spin the motor in both directions.

Know Issues

  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.

Required MPLAB® Harmony v3 Modules

  • csp v3.3.0
  • dev_packs v3.3.0
  • mhc v3.3.0

MPLAB® Harmony 3 Motor Control Release v3.2.0

New Algorithms

The following table provides the list of algorithms added in this release.
AlgorithmDescription Supported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 Support
pmsm_foc_rolo_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger ObserverATSAMC21 Motor Control Plugin ModuleYesYes
pmsm_foc_rolo_wm_sam_c21Sensorless Field Oriented Control of PMSM using Reduced Order Luenberger Observer with Windmilling CapabilityATSAMC21 Motor Control Plugin ModuleYesYes
acim_vhz_sam_c21Open Loop V/F Control of AC Induction MotorATSAMC21 Motor Control Plugin ModuleYesNo

Updated Algorithms

  • The following table provides the list of algorithms updated in this release.
AlgorithmDescriptionSupported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 SupportRevision History
pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesYesRegenerated application with csp v3.2.0.
pmsm_foc_encoder_sam_e70Sensored Field Oriented Control of PMSM using PDECATSAME70 Motor Control Plugin ModuleNoYesRegenerated application with csp v3.2.0 and added ability to spin the motor in both directions.

Know Issues

  • MPLAB X IDE v5.15 fails to program ATSAME70 Motor Control Plugin Module on dsPICDEM™ MCHV-3High Voltage Development Board. In order to resolve this issue, implement the following change in dap_cortex-m7.py, located at C:\Program Files (x86)\Microchip\MPLABX\v5.15\packs\Microchip\SAME70_DFP\3.0.10\scripts\
    • Goto line # 197, replace <span style="color:red; font-family:courier" >dap.Connect(True, 8000000L)</span> with <span style="color:green; font-family:courier">dap.Connect(True, 2000000L)</span>
  • Programming or debugging SAM C/D2x or SAM D/E5x MCU, using Isolated EDBG Card (board revision #02-10824-R1) on dsPICDEM™ MCHV-3 High Voltage Development Board may inhibit MCU from executing instructions if the MCU is reset by pressing on board 'Reset' switch or power cycling the board. Refer to the Isolated EDBG Debugger Product Change Notice for details of hardware modification needed to resolve this issue.

Required MPLAB® Harmony v3 Modules

  • csp v3.2.0
  • dev_packs v3.2.0
  • mhc v3.2.0

MPLAB® Harmony 3 Motor Control Release v3.1.0

New Algorithms

The following table provides the list of algorithms added in this release.
AlgorithmDescription Supported Plug In ModuledsPICDEM™ MCHV-3 SupportdsPICDEM™ MCLV-2 Support
pmsm_foc_pll_estimator_sam_e70Sensorless Field Oriented Control of PMSM using PLL EstimatorATSAME70 Motor Control Plugin ModuleYesYes
pmsm_foc_encoder_sam_e70Sensored Field Oriented Control of PMSM using PDECATSAME70 Motor Control Plugin ModuleNoYes

Know Issues

  • None

Required MPLAB® Harmony v3 Modules

  • csp v3.1.0
  • dev_packs v3.1.0
  • mhc v3.1.0