Motor Control Interface PICtail? Plus Daughter Board User's Guide

Motor Control Interface
PICtail™ Plus Daughter Board
User’s Guide
© 2007 Microchip Technology Inc.
DS51674A
Note the following details of the code protection feature on Microchip devices:
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
•
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•
Microchip is willing to work with the customer who is concerned about the integrity of their code.
•
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, KEELOQ, KEELOQ logo, microID, MPLAB, PIC,
PICmicro, PICSTART, PRO MATE, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Linear Active Thermistor, Migratable
Memory, MXDEV, MXLAB, SEEVAL, SmartSensor and The
Embedded Control Solutions Company are registered
trademarks of Microchip Technology Incorporated in the
U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi,
MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select
Mode, Smart Serial, SmartTel, Total Endurance, UNI/O,
WiperLock and ZENA are trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2007, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
DS51674A-page ii
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. Introduction
1.1 Overview ........................................................................................................ 7
1.2 Interface Card Features ................................................................................. 8
1.3 Interface Card Setup ...................................................................................... 9
Chapter 2. Hardware Overview
2.1 Hardware Components ................................................................................ 11
2.2 Hardware Functionality ................................................................................. 12
2.3 Jumpers ........................................................................................................ 16
2.4 Test Points ................................................................................................... 18
Appendix A. Board Layout and Schematics
A.1 Board Layout ................................................................................................ 21
A.2 Schematics .................................................................................................. 22
Appendix B. Bill of Materials (BOM)
B.1 Bill of Materials ............................................................................................. 25
Index ............................................................................................................................. 29
Worldwide Sales and Service .................................................................................... 30
© 2007 Microchip Technology Inc.
DS51674A-page iii
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
DS51674A-page iv
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. For the latest documentation
available, refer to our web site (www.microchip.com).
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB® IDE on-line help.
Select the Help menu, and then Topics to open a list of available on-line help files.
INTRODUCTION
This chapter contains general information that is useful to know before using the Motor
Control Interface PICtail Plus Daughter Board.
Items discussed in this chapter include:
•
•
•
•
•
•
•
•
About This Guide
Conventions Used in this Guide
Warranty Registration
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
ABOUT THIS GUIDE
This document describes how to use the Motor Control Interface PICtail Plus Daughter
Board as a development tool to emulate and debug firmware on a target board. The
manual layout is as follows:
• Chapter 1. “Introduction” – This chapter introduces the Motor Control Interface
PICtail Plus Daughter Board and provides a brief description of the hardware.
• Chapter 2. “Hardware Overview” – This chapter describes the Motor Control
Interface PICtail Plus Daughter Board hardware.
• Appendix A. “Board Layout and Schematics” – This appendix illustrates the
Motor Control Interface PICtail Plus Daughter Board layout and provides
hardware schematic diagrams.
• Appendix B. “Bill of Materials (BOM)” – This appendix provides a list of the
components used in the Motor Control Interface PICtail Plus Daughter Board.
© 2007 Microchip Technology Inc.
DS51674A-page 1
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description
Arial font:
Italic characters
Represents
Referenced books
Emphasized text
A window
A dialog
A menu selection
A field name in a window or
dialog
A menu path
MPLAB® IDE User’s Guide
...is the only compiler...
the Output window
the Settings dialog
select Enable Programmer
“Save project before build”
A dialog button
A tab
A number in Verilog format,
where N is the total number of
digits, R is the radix and n is a
digit.
A key on the keyboard
Click OK
Click the Power tab
4‘b0010, 2‘hF1
Italic Courier New
Sample source code
Filenames
File paths
Keywords
Command-line options
Bit values
Constants
A variable argument
Square brackets [ ]
Optional arguments
Curly brackets and pipe
character: { | }
Ellipses...
Choice of mutually exclusive
arguments; an OR selection
Replaces repeated text
#define START
autoexec.bat
c:\mcc18\h
_asm, _endasm, static
-Opa+, -Opa0, 1
0xFF, ‘A’
file.o, where file can be
any valid filename
mcc18 [options] file
[options]
errorlevel {0|1}
Initial caps
Quotes
Underlined, italic text with
right angle bracket
Bold characters
N‘Rnnnn
Text in angle brackets < >
Courier New font:
Plain Courier New
Represents code supplied by
user
DS51674A-page 2
Examples
File>Save
Press <Enter>, <F1>
var_name [,
var_name...]
void main (void)
{ ...
}
© 2007 Microchip Technology Inc.
Preface
WARRANTY REGISTRATION
It is recommended that you complete the enclosed Warranty Registration Card and
mail it promptly. Sending in the Warranty Registration Card entitles users to receive
new product updates. Interim software releases are available at the Microchip web site.
RECOMMENDED READING
This user's guide describes how to use the Motor Control Interface PICtail Plus
Daughter Board. Other useful documents are listed below. The following Microchip
documents are available and recommended as supplemental reference resources.
Explorer 16 Development Board User’s Guide (DS51589)
Consult this document for details on how to use the Explorer 16 Development Board kit
for 16-bit digital signal controller families, which include the dsPIC33F General Purpose
and Motor Control devices.
dsPICDEM™ MC1L 3-Phase Low Voltage Power Module User’s Guide
(DS70097)
This document provides details on how to use the 3-Phase Low Voltage Power Module
for a wide variety of low voltage AC and DC motor control applications using the dsPIC
digital signal controller.
dsPICDEM™ MC1H 3-Phase High Voltage Power Module User’s Guide
(DS70096)
This document provides details on how to use the 3-Phase High Voltage Power Module
for a wide variety of high voltage AC and DC motor control applications using the dsPIC
digital signal controller.
dsPIC33F Family Data Sheet (DS70165)
Consult this document for detailed information on dsPIC33F digital signal controllers.
Reference information found in this data sheet includes:
•
•
•
•
Device memory map
Device pinout and packaging information
Device electrical specifications
List of peripherals included on the device
dsPIC30F/33F Programmer’s Reference Manual (DS70157)
This manual is a software developer’s reference for all of Microchip’s 16-bit digital
signal controllers. It describes the instruction set detail and also provides general
information to assist in developing software for dsPIC devices.
Readme Files
For the latest information on using other tools, read the tool-specific Readme files in
the Readmes subdirectory of the MPLAB IDE installation directory. The Readme files
contain update information and known issues that may not be included in this user’s
guide.
© 2007 Microchip Technology Inc.
DS51674A-page 3
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers and other language
tools. These include the MPLAB C18 and MPLAB C30 C compilers; MPASM™
and MPLAB ASM30 assemblers; MPLINK™ and MPLAB LINK30 object linkers;
and MPLIB™ and MPLAB LIB30 object librarians
• Emulators – The latest information on Microchip in-circuit emulators.This
includes the MPLAB ICE 2000, MPLAB ICE 4000 and REAL ICE™ in-circuit
emulator
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debugger, MPLAB ICD 2
• MPLAB® IDE – The latest information on Microchip MPLAB IDE, the Windows®
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB SIM simulator, MPLAB IDE Project Manager
and general editing and debugging features
• Programmers – The latest information on Microchip programmers. These include
the MPLAB PM3 and PRO MATE® II device programmers and the PICSTART®
Plus and PICkit™ 1 development programmers
DS51674A-page 4
© 2007 Microchip Technology Inc.
Preface
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
•
•
•
•
Distributor or Representative
Local Sales Office
Field Application Engineer (FAE)
Technical Support
Customers should contact their distributor, representative or FAE for support. Local
sales offices are also available to help customers. A listing of sales offices and
locations is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com.
DOCUMENT REVISION HISTORY
Revision A (June 2007)
This is the initial released version of this document.
© 2007 Microchip Technology Inc.
DS51674A-page 5
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
NOTES:
DS51674A-page 6
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Chapter 1. Introduction
The Motor Control Interface PICtail Plus Daughter Board acts as an interface between
Microchip’s Explorer 16 Development Board and the 3-phase power modules.
This chapter introduces and provides an overview of the Motor Control Interface PICtail
Plus Daughter Board. Topics covered include:
• Overview
• Interface Card Features
• Interface Card Setup
1.1
OVERVIEW
The Motor Control Interface PICtail Plus Daughter Board is a bridge board that
connects the Explorer 16 Development Board to the 3-phase power modules, and is
used in motor control applications involving the dsPIC33F family of motor control
devices.
Figure 1-1 shows the Motor Control Interface PICtail Plus Daughter Board. It draws
power at 9V from the Explorer 16 Development Board and carries control signals from
the Explorer 16 Development board to the 3-phase power modules. In addition, it
carries feedback signals of the motor from the 3-phase power modules to the Explorer
16 Development Board. Test points are provided on the card to monitor and measure
different analog signals to and from the motor.
FIGURE 1-1:
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER
BOARD
DS51674A-page 7
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
1.2
INTERFACE CARD FEATURES
1.2.1
Input/Output Control
The following connectors carry the input and output control and feedback signals to and
from the Motor Control Interface PICtail Plus Daughter Board. For details, refer to
Figure 2-1.
•
•
•
•
120-pin Signal Connector (J9)
37-pin D-Type Signal Connector (J2)
Quadrature Encoder Interface Connector (J3)
Hall Sensor Interface Connector (J5)
1.2.2
Test Points
There are 25 test points (TP1 to TP25) available on the Motor Control Interface PICtail
Plus Daughter Board to monitor and probe various motor control signals. For details,
refer to Figure 2-4.
1.2.3
Board Power
The Motor Control Interface PICtail Plus Daughter Board takes input power at 9V DC
from the Explorer 16 Development Board through the 120-pin signal connector (J9).
This input is regulated by the voltage regulator (VR1) for providing a 5V regulated
output to drive the various signals, required by the 3-phase power modules or to pull
up inputs to the Motor Control Interface PICtail Plus Daughter Board.
DS51674A-page 8
© 2007 Microchip Technology Inc.
Introduction
1.3
INTERFACE CARD SETUP
Figure 1-2 shows the Motor Control Interface PICtail Plus Daughter Board connected
to the Explorer 16 Development Board, 3-Phase Low Voltage Power Module, MPLAB
ICD 2 and Brushless DC (BLDC) Motor.
FIGURE 1-2:
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER BOARD SETUP
2
3
1
4
TABLE 1-1:
INTERFACE CARD SETUP
No.
Description
1
Motor Control Interface PICtail Plus Daughter Board
2
3-Phase Low Voltage Power Module
3
MPLAB ICD 2
4
Explorer 16 Development Board
5
BLDC Motor
© 2007 Microchip Technology Inc.
5
DS51674A-page 9
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
NOTES:
DS51674A-page 10
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Chapter 2. Hardware Overview
This chapter describes the following topics for the Motor Control Interface PICtail Plus
Daughter Board:
•
•
•
•
2.1
Hardware Components
Hardware Functionality
Jumpers
Test Points
HARDWARE COMPONENTS
Figure 2-1 shows the hardware elements of the Motor Control Interface PICtail Plus
Daughter Board.
FIGURE 2-1:
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER BOARD
HARDWARE COMPONENTS
© 2007 Microchip Technology Inc.
DS51674A-page 11
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
TABLE 2-1:
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER
BOARD HARDWARE COMPONENTS
No.
2.2
Description
1
120-pin Signal Connector (J9)
2
37-pin D-Type Signal Connector (J2)
3
5V Voltage Regulator (VR1)
4
Octal Buffer/Line Driver (U1)
5
Quadrature Encoder Interface (QEI) Connector (J3)
6
Hall Sensor Interface Connector (J5)
7
25 Test Points (TP1 - TP25)
HARDWARE FUNCTIONALITY
The functionality of the hardware elements and circuits in the Motor Control Interface
PICtail Plus Daughter Board are described in the following sections.
2.2.1
120-pin Signal Connector (J9)
The 120-pin Signal Connector carries signals from the I/O pins of the dsPIC device to
the Motor Control Interface PICtail Plus Daughter Board. It also carries the feedback
signals from the motor through the Motor Control Interface PICtail Plus Daughter Board
to the input pins of the dsPIC device.
The 120-pin Signal Connector handles the following signals:
• 9V DC input to the Motor Control Interface PICtail Plus Daughter Board
• PWM signals from the dsPIC device to the Motor Control Interface PICtail Plus
Daughter Board
• Voltage feedback signals from the Motor Control Interface PICtail Plus Daughter
Board to the analog channels
• Current feedback signals from the Motor Control Interface PICtail Plus Daughter
Board to the analog channels
• Encoder pulse from the Motor Control Interface PICtail Plus Daughter Board to
the dsPIC Quadrature Encoder Interface (QEI) module input pins
• Hall sensor feedback from the Motor Control Interface PICtail Plus Daughter
Board to the dsPIC Input Capture module input pins
• Fault signal communication
2.2.2
37-pin D-Type Signal Connector (J2)
The 37-pin D-type Signal Connector connects the Motor Control Interface PICtail Plus
Daughter Board to the 3-phase power modules. The Signal connector (J2) handles the
following signals to or from the Motor Control Interface PICtail Plus Daughter Board:
•
•
•
•
PWM signals to the 3-phase power modules
Voltage feedback signals from the 3-phase power modules
Current feedback signals from the 3-phase power modules
Fault signal communication
2.2.3
5V Voltage Regulator (VR1)
An LM2940 5V Voltage Regulator (VR1) takes an input of 9V DC and provides a 5V
DC regulated output to drive the various interface signals.
DS51674A-page 12
© 2007 Microchip Technology Inc.
Hardware Overview
2.2.4
Octal Buffer/Line Driver (U1)
A 74AC244 Octal Buffer and Line Driver with a 3-STATE Outputs device drives the
dsPIC PWM and Output Compare outputs to the Motor Control Interface PICtail Plus
Daughter Board. This device can handle an output current of up to 24 mA, as well as
the PWM signals and Change Notification signals.
Note:
2.2.5
Pull down resistors (1 KΩ or 4.7 KΩ) are provided at all the input pins of the
line driver (U1) on the Motor Control Interface PICtail Plus Daughter Board.
This is because the LCD on the Explorer 16 Development Board is
connected in parallel with some of the PWM pins.
Quadrature Encoder Interface (QEI)
When an incremental encoder senses the speed and position of the rotor, the QEI
signals QA, QB, and QZ are taken as feedback from the encoder. These QEI signals
are routed to the Motor Control Interface PICtail Plus Daughter Board. They are also
taken as feedback to the dsPIC device through the input pins.
Note:
FIGURE 2-2:
Figure 2-2 shows that the Explorer 16 Development Board has a 10 KΩ
potentiometer (R6), which is connected to the analog channel AN5. This
channel is also used for the QEI phase B input (QB). If the motor system
involves an encoder feedback and QEI is to be used, the R12 resistor must
be unsoldered and removed. The R24 resistor must be removed if index
pulse (QZ) is used for the QEI. After removing R12, the potentiometer (R6)
cannot be used any more. Removing R24 disconnects the temperature
sensor to dsPIC.
EXPLORER 16 DEVELOPMENT BOARD
10 KΩ Potentiometer (R6)
Resistor (R12)
Resistor (R24)
© 2007 Microchip Technology Inc.
DS51674A-page 13
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
2.2.6
Hall Sensor Interface
The output of the Hall Effect Sensors is taken as feedback from the Motor Control
Interface PICtail Plus Daughter Board through the Hall Interface circuit. These signals
are carried to the Input Capture pins IC1, IC2 and IC3 of the dsPIC device through the
120-pin Signal Connector (J9).
Three test points – Hall A, Hall B, and Hall C – are available on the Motor Control Interface PICtail Plus Daughter Board to monitor the three Hall Sensor output signals.
2.2.7
Low-Pass Filtering Circuit
To aid in monitoring the PWM signals, there are three low-pass filters provided on the
Motor Control Interface PICtail Plus Daughter Board. These can be used to filter the
PWM signals PM11, PM12 and PM13 going to the top switches of the inverter. The filter
outputs FPWM1, FPWM2 and FPWM3 are provided at the test points TP23, TP24 and
TP25 respectively. These test points can be used to monitor the PWM outputs.
2.2.8
Fault Reset Circuit
On occurrence of any kind of fault (i.e., overcurrent, overvoltage, etc.) in the motor
control application, the 3-phase power modules generates a fault signal output to a
dsPIC33F device and inhibits the PWM pulses to the insulated gate bi-polar transistor
(IGBT) switches.
To recover from a fault, the dsPIC33F device drives an I/O pin (FAULT_RESET) and
clears the fault condition in the 3-phase power modules.
2.2.9
Voltage Feedback
The following voltages are taken as feedback from the 3-phase power modules through
the 37-pin D-Type Signal Connector (J2) to the Motor Control Interface PICtail Plus
Daughter Board.
• Phase voltages VPH1, VPH2 and VPH3
• Rectifier output voltage |VAC|
• DC bus voltage VBUS
These voltages are available at the test points TP4, TP5, TP6, TP7 and TP8. These
test points measure and monitor the voltages.
Multiplexing logic on the Explorer 16 Development Board allows RS-232 and SPI signals to be “crossed over” to interconnect the two boards. The analog channels AN12,
AN13, and AN14, are used for feedback of Phase 1, Phase 2, and Phase 3 voltages
respectively. However, these three voltage feedback signals also control the crossover
multiplexers.
If voltage sensing is to be used, it may be necessary to remove resisters R50, R51, and
R52, as well as components U6 and U7 from the Explorer 16 Development Board.
DS51674A-page 14
© 2007 Microchip Technology Inc.
Hardware Overview
2.2.10
Current Feedback
The following currents are taken as feedback from the 3-phase power modules through
the D-Type Signal Connector (J2) to the Motor Control Interface PICtail Plus Daughter
Board:
•
•
•
•
Phase 1, Phase 2, and Phase 3 currents
DC Bus Current
PFC (Power Factor Correction) Current
Brake Chopper Shunt Current
These currents are available at the test points TP9-TP14. These test points measure
and monitor the currents.
© 2007 Microchip Technology Inc.
DS51674A-page 15
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
2.3
JUMPERS
Figure 2-3 shows the jumpers present on the Motor Control Interface PICtail Plus
Daughter Board.
FIGURE 2-3:
DS51674A-page 16
JUMPER LOCATIONS
© 2007 Microchip Technology Inc.
Hardware Overview
TABLE 2-2:
Name
JUMPER DESCRIPTION
Description
J14
Pull-up select for QEI signal QZ
ON: QEI Interface pin QZ pulled up to VQEI
OFF: QEI Interface pin QZ pulled down to ground
J15
Pull-up select for QEI signal QB
ON: QEI Interface pin QB pulled up to VQEI
OFF: QEI Interface pin QB pulled down to ground
J16
Pull-up select for QEI signal QA
ON: QEI Interface pin QA pulled up to VQEI
OFF: QEI Interface pin QA pulled down to ground
J17
Disable QEI
ON: QA, QB and QZ signals are high impedance
OFF: QA, QB and QZ signals are enabled
J1
Trigger Source Select for Brake Chopper Circuit
Pins 1-2: OC7 output is used to trigger the Brake Chopper circuit (TP21)
Pins 3-4: OC5 output is used to trigger the Brake Chopper circuit (TP21)
Pins 5-6: PWM4H output is used to trigger the Brake Chopper circuit (TP21)
J4
Trigger Source Select for PFC Circuit
Pins 1-2: OC8 output is used to trigger the PFC circuit (TP22)
Pins 3-4: OC6 output is used to trigger the PFC circuit (TP22)
Pins 5-6: PWM4H output is used to trigger the PFC circuit (TP22)
J6
Zero Crossing/Hall Sensor Feedback Signal Select (TP1)
Position 1-2: Zero crossing signal of R phase taken as feedback (PM7)
Position 2-3: Hall Sensor signal HA taken as feedback (PM7)
J7
Zero Crossing/Hall Sensor Feedback Signal Select (TP2)
Position 1-2: Zero crossing signal of Y phase taken as feedback (PM25)
Position 2-3: Hall Sensor signal HB taken as feedback (PM25)
J8
Zero Crossing/Hall Sensor Feedback Signal Select (TP3)
Position 1-2: Zero crossing signal of B phase taken as feedback (PM6)
Position 2-3: Hall Sensor signal HC taken as feedback (PM6)
J10
Phase Current Feedback Select for R Phase (TP11)
Position 1-2: R phase current from Hall sensor is taken as feedback (E11)
Position 2-3: R phase current from R shunt resistor is taken as feedback (E11)
J11
Phase Current Feedback Select for Y Phase (TP10)
Position 1-2: Y phase current from Hall sensor is taken as feedback (E12)
Position 2-3: Y phase current from Y shunt resistor is taken as feedback (E12)
J12
Phase Current Feedback Select for B Phase (TP9)
Position 1-2: B phase current from Hall sensor is taken as feedback (E1)
Position 2-3: B phase current from B shunt resistor is taken as feedback (E1)
J13
Voltage Select for VQEI
Position 1-2: QEI is a 5V interface
Position 2-3: QEI is a 3.3V interface
© 2007 Microchip Technology Inc.
DS51674A-page 17
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
2.4
TEST POINTS
Figure 2-4 shows the test points on the Motor Control Interface PICtail Plus Daughter
Board.
FIGURE 2-4:
DS51674A-page 18
TEST POINT LOCATIONS
© 2007 Microchip Technology Inc.
Hardware Overview
Table 2-3 lists and describes the test points of the Motor Control Interface PICtail Plus
Daughter Board.
TABLE 2-3:
TEST POINTS
Number
Test Point
Signal
1
TP1
2
TP2
Hall Sensor B Feedback Signal
Hall B
3
TP3
Hall Sensor C Feedback Signal
Hall C
4
TP4
Phase 1 Voltage Feedback
VPH1
5
TP5
Phase 2 Voltage Feedback
VPH2
6
TP6
Phase 3 Voltage Feedback
VPH3
7
TP7
Rectifier Output Voltage Feedback
| VAC |
8
TP8
DC Bus Voltage Feedback
VBUS
9
TP11
Phase 1 Current Feedback
IPH3
10
TP10
Phase 2 Current Feedback
IPH2
11
TP9
Phase 3 Current Feedback
IPH1
Hall Sensor A Feedback Signal
Net Name
Hall A
12
TP12
DC Bus Current Feedback
IBUS
13
TP13
PFC Current Feedback
IPFC
14
TP14
Brake Chopper Shunt Current Feedback
IBRAKE
15
TP15
PWM Signal for Phase 1, Bottom Switch
PWM1L
16
TP16
PWM Signal for Phase 1, Top Switch
PWM1H
17
TP17
PWM Signal for Phase 2, Bottom Switch
PWM2L
18
TP18
PWM Signal for Phase 2, Top Switch
PWM2H
19
TP19
PWM Signal for Phase 3, Bottom Switch
PWM3L
20
TP20
PWM Signal for Phase 3, Top Switch
PWM3H
21
TP21
PWM Signal for Brake Chopper
BRAKE
22
TP22
PWM Signal for PFC Circuit
23
TP23
Filtered PWM Signal of Phase 1, Top Switch
FPWM1
24
TP24
Filtered PWM Signal of Phase 2, Top Switch
FPWM2
25
TP25
Filtered PWM Signal of Phase 3, Top Switch
FPWM3
© 2007 Microchip Technology Inc.
PFC
DS51674A-page 19
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
NOTES:
DS51674A-page 20
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Appendix A. Board Layout and Schematics
This appendix provides printed circuit board layout drawings and schematics for the
Motor Control Interface PICtail Plus Daughter Board.
A.1
BOARD LAYOUT
FIGURE A-1:
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER BOARD LAYOUT
© 2007 Microchip Technology Inc.
DS51674A-page 21
E52
E60
E62
E66
E59
E61
E65
E106
E110
E112
E105
E109
E111
E118
E104
E114
E102
E117
E100
E99
E101
E103
E116
E98
E97
E115
E96
E113
E92
E94
E91
E95
E90
E89
E93
E84
E82
E86
E88
E80
E79
E81
E85
E87
E78
E75
E77
E83
E74
E76
E73
E72
E50
E49
E71
E46
E45
E51
E68
E44
E70
E40
E39
E43
E69
E38
E35
E37
E67
E34
E36
E33
E28
E20
E19
E30
E18
E17
E29
E14
E13
E27
E12
E11
E4
E8
E7
E2
V
D+5V
GND
PM20
PM21
PM22
PM23
PM24
PM25
PM26
GND
PM28
PM29
PM30
PM31
PM32
PM33
PM34
PM35
E17
GND
VQEI
PM1
PM2
PM3
PM4
PM5
PM6
PM7
PM8
PM10
PM11
PM12
PM13
PM14
HC
HB
HA
QZ
QB
QA
A+5V
D+5V
FAULT
PM16
PM17
+5V
PM33
E97
E99
10 MF
470R
R54
FAULT
E116
E98
E100
E116
0.1 MF
1 nF
E6
E18
E114
E113
E112
E111
E110
E109
E104
R53
10K
PM11
PM12
PM13
4.7K
4.7K
4.7K
R47
R48
R49
E3
A+5V
4.7K
R50
E1
0.1 MF
4.7K
R51
E5
0.1 MF
0.1 MF
4.7K
R52
DS51674A-page 22
74ACT244
0.1 MF
PM10
PM28
PM11
PM29
PM12
PM30
PM13
PM31
FIGURE A-2:
0.1 MF
A.2
0.1 MF
D+5V
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
SCHEMATICS
MOTOR CONTROL INTERFACE PICTAIL™ PLUS DAUGHTERBOARD
SCHEMATIC (SHEET 1 OF 3)
© 2007 Microchip Technology Inc.
10 MF
Board Layout and Schematics
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER BOARD
SCHEMATIC (SHEET 2 OF 3)
E80
+3.3V
+3.3V
E44
100 pF
+3.3V
E85
FIGURE A-3:
.001 MF
E79
PM26
PM8
PM22
VBUS
.001 MF
PM17
+3.3V
E83
+3.3V
E82
E81
+3.3V
+3.3V
.100 pF
.001 MF
.001 MF
E43
.001 MF
PM3
+3.3V
PM23
PM5
PM24
100 pF
© 2007 Microchip Technology Inc.
DS51674A-page 23
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
E1
E12
E11
MOTOR CONTROL INTERFACE PICtail™ PLUS DAUGHTER BOARD
SCHEMATIC (SHEET 3 OF 3)
100 pF
PM34
PM20
+3.3V
PM16
PM2
PM35
PM21
+3.3V
100 pF
+3.3V
100 pF
FIGURE A-4:
E103
PM6
PM25
.001 MF
E102
.001 MF
E101
.001 MF
PM7
E14
E77
E13
0.1 MF
HC
HB
HA
QZ
QB
QA
VQEI
VQEI
VQEI
0.1 MF
DS51674A-page 24
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Appendix B. Bill of Materials (BOM)
B.1
BILL OF MATERIALS
TABLE B-1:
Qty
BILL OF MATERIALS
Component Name
Ref
Value
Description
Vendor
Vendor P/N
1
1N4001_SMT
D2
1N4001
SMT Silicon Rectifier, 1A,
50V
1
2N3904-SOT23-MOD
Q1
2N3904
PNP Transistor
1
2N3906-SOT23-MOD
Q4
2N3906
NPN Transistor
1
3PHDR
J13
2
5PHDR-200
J3
5 Pin Screw Terminal 5mm Digi-Key RT Angle
pitch_R/A
5PHDR-200
J5
5 Pin Screw Terminal 5mm Digi-Key RT Angle
pitch _R/A
74ACT244
U1
1
74LVT125_TSSOP
U2
11
CAP0805
C1
1
Digi-Key S1A
Jameco 109575
Digi-Key 74ACT244SC-ND
Digi-Key 568-2311-1-ND
.001 µF
Capacitor
0.1 µF
Capacitor
0.1 µF
Capacitor
100 pF
Capacitor
C2
C3
C4
C5
C6
C7
C8
C9
C10
C11
C29
3
CAP0805
C12
C13
C21
6
CAP0805
C22
C20
C24
C25
C27
C28
6
CAP0805
C14
C15
C16
C17
C18
C19
© 2007 Microchip Technology Inc.
DS51674A-page 25
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
TABLE B-1:
Qty
BILL OF MATERIALS (CONTINUED)
Component Name
Ref
Value
Description
Vendor
Vendor P/N
1
CAP_VS_A
C26
10 µF/25 Elect. SMT Polarized
Capacitor
Digi-Key PCE3403CT-ND
1
CAP_VS_A
C23
10 µF 25V Elect. SMT Polarized
Capacitor
Digi-Key PCE3403CT-ND
1
CNN-DB37-FEM-RA-PTH
3
DIODE-SMT_SCHOTTKY_0805
J2
Digi-Key 337F-ND
D10
Digi-Key B0540WSDICT-ND
D11
D12
7
DIODE-SMT_SCHOTTKY_0805
D1
Digi-Key B0540WSDICT-ND
D6
D7
D9
D13
D14
D15
1
DIODE-SMT_SCHOTTKY_0805
D8
3
FIDUCIAL
X1
Digi-Key B0540WSDICT-ND
X2
X3
2
HDR2X3
J1
2x3 .1 header
J4
4
JUMPER
J14
Jumper
Jameco 108337
J15
J16
J17
1
LED-0805
1
LM2940S_MOD
D3
Power
VR1
LM2940
1
MEC1-160-EDGE-SOCKET
J9
3
RES0805
R6
Green Light Emitting Diode
Samtec MEC1-160-02-F-D-EM2
1K
Resistor
1K
Resistor
3.3K
Resistor
R7
R8
2
RES0805
R44
3
RES0805
R15
R45
R16
R17
DS51674A-page 26
© 2007 Microchip Technology Inc.
Bill of Materials (BOM)
TABLE B-1:
Qty
16
BILL OF MATERIALS (CONTINUED)
Component Name
RES0805
Ref
Value
Description
R24
4.7K
Resistor
9.1K
Resistor
10K
Resistor
Vendor
Vendor P/N
R25
R26
R30
R32
R34
R36
R38
R40
R42
R47
R48
R49
R50
R51
R52
6
RES0805
R31
R33
R35
R37
R39
R41
6
RES0805
R1
R2
R3
R4
R5
R46
R53
1
RES0805
R12
10R
Resistor
3
RES0805
R21
33K
Resistor
470R
Resistor
R22
R23
12
RES0805
R9
R10
R11
R13
R14
R18
R19
R20
R27
R28
R29
R54
R55
© 2007 Microchip Technology Inc.
DS51674A-page 27
Motor Control Interface PICtailTM Plus Daughter Board User’s Guide
TABLE B-1:
Qty
BILL OF MATERIALS (CONTINUED)
Component Name
1
RES1206
6
SIP_3_MOD
Ref
Value
R43
1R
J6
Description
Vendor
Vendor P/N
Resistor
Jameco 109575
J7
J8
J10
J11
J12
1
TP-60R38
TP21
BRAKE
Digi-Key 5001K-ND
1
TP-60R38
TP23
FPWM 1
Digi-Key 5001K-ND
1
TP-60R38
TP24
FPWM 2
Digi-Key 5001K-ND
1
TP-60R38
TP25
FPWM 3
Digi-Key 5001K-ND
1
TP-60R38
TP1
HALL A
Digi-Key 5001K-ND
1
TP-60R38
TP2
HALL B
Digi-Key 5001K-ND
1
TP-60R38
TP3
HALL C
Digi-Key 5001K-ND
1
TP-60R38
TP14
IBRAKE
Digi-Key 5001K-ND
1
TP-60R38
TP12
IBUS
Digi-Key 5001K-ND
1
TP-60R38
TP13
IPFC
Digi-Key 5001K-ND
1
TP-60R38
TP11
IPH1
Digi-Key 5001K-ND
1
TP-60R38
TP10
IPH2
Digi-Key 5001K-ND
1
TP-60R38
TP9
IPH3
Digi-Key 5001K-ND
1
TP-60R38
TP22
PFC
Digi-Key 5001K-ND
1
TP-60R38
TP16
PWM 1H
Digi-Key 5001K-ND
1
TP-60R38
TP15
PWM 1L
Digi-Key 5001K-ND
1
TP-60R38
TP18
PWM 2H
Digi-Key 5001K-ND
1
TP-60R38
TP17
PWM 2L
Digi-Key 5001K-ND
1
TP-60R38
TP20
PWM 3H
Digi-Key 5001K-ND
1
TP-60R38
TP19
PWM 3L
Digi-Key 5001K-ND
1
TP-60R38
TP7
VAC
Digi-Key 5001K-ND
1
TP-60R38
TP8
VBUS
Digi-Key 5001K-ND
1
TP-60R38
TP4
VPH1
Digi-Key 5001K-ND
1
TP-60R38
TP5
VPH2
Digi-Key 5001K-ND
1
TP-60R38
TP6
VPH3
Digi-Key 5001K-ND
1
TP-106
TP28
+3.3V
Digi-Key 5011K-ND
1
TP-106
TP27
+5V
Digi-Key 5011K-ND
1
TP-106
TP26
GND
Digi-Key 5011K-ND
DS51674A-page 28
© 2007 Microchip Technology Inc.
MOTOR CONTROL INTERFACE
PICtailTM PLUS DAUGHTER BOARD
Index
Numerics
R
3-Phase High Voltage Power Module ........................ 3
3-Phase Low Voltage Power Module ......................... 3
Reading, Recommended ........................................... 3
B
Schematics
Sheet 1 of 3....................................................... 22
Sheet 2 of 3....................................................... 23
Sheet 3 of 3....................................................... 24
Board Layout............................................................ 21
C
Connectors
120-pin Signal Connector (J9) .......................... 12
37-pin D-Type Signal Connector (J2) ............... 12
Hall Sensor ....................................................... 14
Current Feedback .................................................... 15
Customer Notification Service.................................... 4
Customer Support ...................................................... 5
D
Documentation
Conventions ........................................................ 2
Layout ................................................................. 1
S
T
Test Points ........................................................... 8, 18
TP1-TP25.......................................................... 19
V
Voltage Feedback .................................................... 14
Voltage Regulator .................................................... 12
W
Warranty Registration ................................................ 3
WWW Address........................................................... 4
E
Explorer 16 Development Board ................................ 3
F
Fault Reset Circuit ................................................... 14
H
Hall Sensor .............................................................. 14
I
Input and Output Control Connectors ........................ 8
Interface Card Setup .................................................. 9
Internet Address......................................................... 4
J
Jumpers ................................................................... 16
JP1-JP13 .......................................................... 17
L
Low Pass Filter ........................................................ 14
M
Microchip Internet Web Site ....................................... 4
O
Octal Buffer⁄Line Driver ............................................ 13
P
Potentiometer (R6)................................................... 13
PWM Signals ........................................................... 14
Q
Quadrature Encoder Interface (QEI) ........................ 13
© 2007 Microchip Technology Inc.
DS51674A-page 29
Worldwide Sales and Service
AMERICAS
ASIA/PACIFIC
ASIA/PACIFIC
EUROPE
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://support.microchip.com
Web Address:
www.microchip.com
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Habour City, Kowloon
Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
India - Bangalore
Tel: 91-80-4182-8400
Fax: 91-80-4182-8422
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
Kokomo, IN
Tel: 765-864-8360
Fax: 765-864-8387
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
DS51674A-page 30
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8528-2100
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
Korea - Gumi
Tel: 82-54-473-4301
Fax: 82-54-473-4302
China - Fuzhou
Tel: 86-591-8750-3506
Fax: 86-591-8750-3521
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
Malaysia - Penang
Tel: 60-4-646-8870
Fax: 60-4-646-5086
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
Taiwan - Hsin Chu
Tel: 886-3-572-9526
Fax: 886-3-572-6459
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-536-4803
China - Shunde
Tel: 86-757-2839-5507
Fax: 86-757-2839-5571
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
China - Xian
Tel: 86-29-8833-7250
Fax: 86-29-8833-7256
© 2007 Microchip Technology Inc.