This technical guide introduces motor control fundamentals and implementation using HDSC motor control MCUs.

Motor Types Overview

Brushless DC (BLDC) Motors

  • Trapezoidal back-EMF
  • 6-step commutation
  • Simple control algorithm
  • Good for high-speed applications

Permanent Magnet Synchronous Motors (PMSM)

  • Sinusoidal back-EMF
  • Field Oriented Control (FOC)
  • Higher efficiency
  • Better for variable speed/torque

Control Algorithms

Trapezoidal Commutation

simplest BLDC control method with six switching states per cycle.

Field Oriented Control (FOC)

Advanced control for PMSM with independent torque and flux control.

HDSC Motor Control Features

Hardware Features

  • High-resolution PWM (1ns resolution)
  • Integrated gate drivers
  • Advanced timers with fault protection
  • Fast ADC for current sensing

Software Libraries

HDSC provides comprehensive motor control libraries:
  • Sensorless FOC for PMSM
  • Trapezoidal control for BLDC
  • Parameter identification tools
  • Auto-tuning utilities

Implementation Steps

  • Hardware Setup
  • Parameter Identification
  • Control Loop Tuning
  • Testing and Validation
  • LiTong's Motor Control Workbench tool automates parameter identification.