Microchip Motor Design Control
Microchip Motor Design Control
September 2008
www.microchip.com/motor
Discover Microchip’s Comprehensive Motor Control Solutions
Why chose Microchip for your next motor control
design? Our 8-bit Microcontrollers and 16-bit
Digital Signal Controllers contain innovative Mixed-Signal Power
on-chip peripherals designed specifically for motor
control. With motor control devices from
MOSFET or IGBT
Torque
8 to 100 pins, we have the perfect part for every 8-bit PIC®
Speed Microcontroller
application.
Driver
Input or 16-bit
Motor
dsPIC® Digital
Got a tight schedule? We provide free motor Direction
Signal
control software with application notes and Position Controller
schematics for most motor control algorithms to
shorten your development cycle. Our development
tools are specifically designed for motor control to Sensors
promote rapid prototyping of custom applications. Feedback • Speed
• Shaft Position
We offer technical training classes, web seminars • Rotation Direction
• Current
to quickly familiarize engineers with our devices
and the latest motor control algorithms.
Microchip can provide these products and Microchip provides everything a motor control design
resources for motor control applications: engineer needs: low-risk product development, lower total
■ 8 and 16-bit microcontrollers and digital signal system cost, faster time to market, outstanding technical
controllers support and dependable delivery and quality.
■ MOSFET gate drivers Don’t see what you need? Please ask! Just because you
■ Analog and Interface products don’t see it here doesn’t mean that it is not available. As a
■ Motor control development tools and reference leader in motor control, Microchip is continuously designing
design hardware new motor control devices and creating new types of motor
■ Motor control algorithms and software control support software.
■ Motor control training and technical support
www.microchip.com/motor 3
16-bit Product Family with Advanced Peripherals
Advanced Motor Control often does not require DSP but benefits greatly from the DSP resources found on the dsPIC®
Digital Signal Controllers (DSCs). For example, our sensorless field-oriented control algorithm makes use of the single
cycle MAC with data saturation, zero overhead looping and barrel shifting to achieve stunning performance.
Ib
The dsPIC DSC’s 10-bit A/D module samples the motor ID α,β
Iβ
A,B,C
www.microchip.com/motor 5
Motor Control Application Notes by Motor Type
Motor Type App. Note Description
AN822 Stepper Motor Micro-stepping with PIC18C452
Stepper Motor AN906 Stepper Motor Control Using the PIC16F684
AN907 Stepper Motor Fundamentals
AN696 PIC18CXXX/PIC16CXXX DC Servomotor Applications
Brushed DC Motor AN893 Low-Cost Bi-directional Brushed DC Motor Control Using the PIC16F684
AN905 Brushed DC Motor Fundamentals
AN857 Brushless DC Motor Control Made Easy
AN885 Brushless DC (BLDC) Motor Fundamentals
AN899 Brushless DC Motor Control Using PIC18FXX31 MCU’s
AN901 Sensorless Control of BLDC Motor Using dsPIC30F6010
AN992 Sensorless Control of BLDC Motor Using dsPIC30F2010
AN957 Sensored Control of BLDC Motor Using dsPIC30F2010
BLDC and PMSM AN970 Using the PIC18F2431 for Sensorless BLDC Motor Control
AN1017 Sinusoidal Control of PMSM Motors with dsPIC30F
AN1083 Sensorless Control of BLDC with Back-EMF Filtering
AN1078 Dual Shunt Sensorless FOC for PMSM
AN1160 Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function
AN1175 Sensorless Brushless DC Motor Control with PIC16
AN1208 Integrated Power Factor Correction and Sensorless Field-Oriented Control System
AN843 Speed-Control of 3-Phase Induction Motor Using PIC18 Microcontrollers
AN887 AC Induction Motor Fundamentals
AN889 VF Control of 3-Phase Induction Motors Using PIC16F7X7 Microcontrollers
AN900 Controlling 3-Phase AC Induction Motors Using the PIC18F4431
AN908 Using the dsPIC30F for Vector Control of an ACIM
AC Induction Motor
AN955 VF Control of 3-Phase Induction Motor Using Space Vector Modulation
AN967 Bidirectional VF Control of Single and 3-Phase Induction Motor Using Space Vector Modulation
AN984 Introduction to ACIM Control Using the dsPIC30F
AN1162 Sensorless Field Oriented Control (FOC) of an ACIM
AN1206 Sensorless Field Oriented Control (FOC) of an ACIM Using Field Weakening
AN1106 Power Factor Correction on dsPIC®DSC
Other
AN1229 Meeting IEC 60730 Class B Compliance with dsPIC®DSC
I²C™
dsPIC30F3010 28/44 24 1024 1024 5 4 2 6 ch Yes 6 ch, 4 S/H 1 1 1 1 – SP, SO, 44-pin ML
dsPIC30F4012 28/44 48 2048 1024 5 4 2 6 ch Yes 6 ch, 4 S/H 1 1 1 1 1 SP, SO, 44-pin ML
*These tables represents a sampling of device solutions recommended for motor control design. Microchip’s broad portfolio of 8-bit microcontrollers, 16-bit digital signal
controllers, analog and interface products, serial EEPROMs and related development systems contains hundreds of products that could potentially be used for motor control
design, depending upon the application requirements.
www.microchip.com/motor 7
Product Tables (Continued)
dsPIC33F Motor Control and Power Conversion Family
Output
ADC CodeGuard™
RTCC
UART
I²C™
PMP
Flash RAM DMA Timer Input Compare/ MC 16-bit Analog
CAN
SPI
Device Pins QEI 10-/12-bit* Security Pkg Code
KB KB # Ch 16-bit Capture Standard PWM DAC Comparators
1.1/0.5 Msps Segments
PWM
dsPIC33FJ64MC506 64 64 8 8 9 8 8 8 ch 1 1 ADC, 16 ch – – 3 2 2 2 – – 1 PT
dsPIC33FJ64MC706 64 64 16 8 9 8 8 8 ch 1 2 ADC, 16 ch – – 3 2 2 2 – – 1 PT
dsPIC33FJ64MC508 80 64 8 8 9 8 8 8 ch 1 1 ADC, 18 ch – – 3 2 2 2 – – 1 PT
*dsPIC33 devices feature one or two user-selectable 1.1 Msps 10-bit ADC (4 S&H) or 500 ksps 12-bit ADC (1 S&H).
www.microchip.com/motor 9
Motor Control Tuning GUIs DMCI Data Input Sliders and Variable Assignment
These software plug-in tools included with MPLAB®IDE
assist with the development of motor control
applications:
■ AN901 BLDC Tuning Interface – Provides a
graphical method to configure the motor parameters
associated with the AN901 application.
■ AN908 ACIM Tuning Interface – Provides a
graphical method to adjust the control loop
parameters associated with the AN908 application.
■ Data Monitor and Control Interface (DMCI) –
Provides a graphical method to input and adjust
software motor parameters. Plots can be used to
show a time history of control variables so that
the motor dynamic response can by analyzed. This
tool is useful for tweaking software parameters and
visualizing historical data during debug sessions.
■ Real-Time Data Monitor (RTDM) – Make a change
to a software parameter and see the effect
immediately without stopping the motor. A serial
USB or UART cable supports bi-directional data
transfers between the host PC and the MCU/DSC.
DMCI Graphical Data Display
www.microchip.com/motor 11
Support Purchase
Microchip is committed to supporting its customers
in developing products faster and more efficiently. We microchip microchipDIRECT is a
web-based purchasing
maintain a worldwide network of field applications
engineers and technical support ready to provide product
DIRECT
www.microchipdirect.com
site that gives you
24-hour-a-day access to
and system assistance. In addition, the following service all Microchip devices and
areas are available at www.microchip.com: tools, including pricing, ordering, inventory and support.
■ Support link provides a way to get questions You can buy the products you need on an easily opened
answered fast: http://support.microchip.com Microchip line of credit.
■ Sample link offers free evaluation samples of any
Microchip device: http://sample.microchip.com
■ Training link offers webinars, registration for local
seminars/workshops and information on annual
MASTERs events held throughout the world:
www.microchip.com/training
■ Forum link provides access to knowledge base and
peer help: http://forum.microchip.com
www.microchip.com/motor
Microchip Technology Inc. • 2355 W. Chandler Blvd. • Chandler, AZ 85224-6199
Information subject to change. The Microchip name and logo, the Microchip logo, dsPIC, MPLAB and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
CodeGuard, dsPICDEM, In-Circuit Serial Programming, ICSP, PICDEM and PICtail are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned
herein are property of their respective companies. © 2008, Microchip Technology Incorporated. All Rights Reserved. Printed in the U.S.A. 9/08 DS00896F
*DS00896F*
Mouser Electronics
Authorized Distributor
Microchip:
AC300024