Sinusoidal Control of PMSM Motors with dsPIC30F DSC

This application note describes a method of driving a sensored Permanent Magnet Synchronous Motor (PMSM) with sinusoidal currents controlled by a dsPIC30F Digital Signal Controller (DSC). The motor control firmware uses the dsPIC30F peripherals while the mathematical computations are performed by the DSP engine. The firmware is written in C language with some subroutines in assembly to take advantage of the special DSP operations of the dsPIC30F.– Microcontroller

Application Features

  • Sinusoidal current generation for controlling PMSM motor phases using Space Vector Modulation (SVM)
  • Synchronization of sinusoidal voltages to PMSM motor position
  • Four-quadrant operation allowing forward, reverse and braking operation
  • Closed-loop speed regulation using digital Proportional Integral Derivative (PID) control
  • Phase advance operation for increased speed range
  • Fractional math operations performed by the DSP engine of the dsPIC DSC

Motor Control with Digital Signal Controllers
The dsPIC30F Motor Control family is specifically designed to control the most popular types of motors including AC Induction Motors (ACIM), Brushed DC Motors (BDC), Brushless DC Motors (BLDC) and Permanent Magnet Synchronous Motors (PMSM), to list a few.

Also check:

This application note demonstrates how the dsPIC30F2010 is used to control a sensored PMSMmotor with sinusoidal voltages. The design takes advantage of dsPIC30F peripherals specifically suited for motor control: Motor Control Pulse Width Modulation (MCPWM) and high-speed A/D Converter. The DSP engine of the dsPIC30F2010 supports the necessary fast mathematical operations. The dsPIC30F2010 family member is a 28-pin 16-bit DSC specifically designed for low-cost/high efficiency motor control applications. The dsPIC30F2010 provides these key features:

  • 30 MIPS processing performance
  • Six independent or three complementary pairs of dedicated Motor Control PWM outputs
  • Six-input, 1 Msps ADC with simultaneous sampling capability from up to four inputs
  • Multiple serial communications: UART, I2 C™ and SPI
  • Small package (6 mm x 6 mm QFN) for embedded control applications
  • DSP engine for fast response in control loops

Hardware Required
You will need the following hardware to implement the described motor control application:

  • PICDEM MCLV Development Board (Figure 1)
  • Hurst DMB0224C10002 BLDC Motor
  • 24 VDC Power Supply

Sinusoidal Control of PMSM Motors with dsPIC30F DSC

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s