Motor Control 10-24V Driver Board (Dual/Single) User’s Guide 2014 Microchip Technology Inc. DS50002261A 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, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale 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. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. © 2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. ISBN: 978-1-63276-149-1 QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV == ISO/TS 16949 == DS50002261A-page 2 Microchip received ISO/TS-16949:2009 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. 2014 Microchip Technology Inc. Object of Declaration: Motor Control 10-24V Driver Board (Dual/Single) 2014 Microchip Technology Inc. DS50002261A-page 3 Motor Control 10-24V Driver Board (Dual/Single) NOTES: DS50002261A-page 4 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Table of Contents Preface ........................................................................................................................... 7 Chapter 1. Introduction 1.1 Overview ...................................................................................................... 13 1.2 Motor Control 10-24V Driver Board (Dual/Single) Features ......................... 13 1.3 Block Diagram .............................................................................................. 15 Chapter 2. Board Interface Description 2.1 Introduction ................................................................................................... 17 2.2 Highlights ...................................................................................................... 17 2.3 Board Connectors ........................................................................................ 17 2.4 User Interface Hardware .............................................................................. 35 Chapter 3. Hardware Description 3.1 Introduction ................................................................................................... 41 3.2 Highlights ...................................................................................................... 41 3.3 Three-Phase Inverter Bridge and Gate Driver .............................................. 43 3.4 DC Bus Voltage Sensing .............................................................................. 43 3.5 Hall Sensor/Quadrature Encoder Interface .................................................. 44 3.6 Back-EMF and Recreated Neutral Signals ................................................... 45 3.7 Phase and Bus Current Sensing Circuits ..................................................... 46 3.8 Fault Generation Logic Circuit ...................................................................... 50 3.9 Brake Circuit ................................................................................................. 52 3.10 Power Supply ............................................................................................. 55 Appendix A. Board Schematics and Layout A.1 Introduction .................................................................................................. 57 A.2 Board Schematics and Layout ..................................................................... 57 Appendix B. Electrical Specifications B.1 Introduction .................................................................................................. 63 Appendix C. Component Selection C.1 Introduction .................................................................................................. 65 C.2 Highlights ..................................................................................................... 65 C.3 Motor Current Amplifier Configuration ......................................................... 65 C.4 Brake Current Amplifier Configuration ......................................................... 68 C.5 Hardware Brake Enable Circuit Configuration ............................................. 70 C.6 Hardware Brake Enable Circuit Configuration Resistors ............................. 73 Worldwide Sales and Service .................................................................................... 74 2014 Microchip Technology Inc. DS50002261A-page 5 Motor Control 10-24V Driver Board (Dual/Single) NOTES: DS50002261A-page 6 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE 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. Please refer to our web site (www.microchip.com) to obtain the latest documentation available. 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 “DSXXXXXXXXA”, where “XXXXXXXX” 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 online help. Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before using the Motor Control 10-24V Driver Board (Dual/Single). Items discussed in this chapter include: • • • • • • • • Document Layout Conventions Used in this Guide Warranty Registration Recommended Reading The Microchip Web Site Development Systems Customer Change Notification Service Customer Support Document Revision History 2014 Microchip Technology Inc. DS50002261A-page 7 Motor Control 10-24V Driver Board (Dual/Single) DOCUMENT LAYOUT This document describes how to use the Motor Control 10-24V Driver Board (Dual/ Single). This user’s guide is composed of the following chapters: • Chapter 1. “Introduction” provides a brief overview of the Motor Control 10-24V Driver Board (Dual/Single) and its features. • Chapter 2. “Board Interface Description” summarizes the Motor Control 10-24V Driver Board (Dual/Single) input and output interfaces. • Chapter 3. “Hardware Description” provides the hardware descriptions of the Motor Control 10-24V Driver Board (Dual/Single). • Appendix A. “Board Schematics and Layout” provides a block diagram, board layouts and detailed schematics of the Motor Control 10-24V Driver Board (Dual/Single). • Appendix B. “Electrical Specifications” provides the electrical specifications of the Motor Control 10-24V Driver Board (Dual/Single). • Appendix C. “Component Selection” details the component selection of the motor current amplifier, brake current amplifier and the hardware brake enable circuit. DS50002261A-page 8 2014 Microchip Technology Inc. Preface CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Italic characters Referenced books MPLAB IDE User’s Guide Emphasized text ...is the only compiler... Initial caps A window the Output window A dialog the Settings dialog A menu selection select Enable Programmer A field name in a window or dialog “Save project before build” Quotes Underlined, italic text with A menu path right angle bracket File>Save Bold characters Click OK A dialog button A tab Text in angle brackets < > A key on the keyboard Click the Power tab Press <Enter>, <F1> Sample source code #define START Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’ Italic Courier New A variable argument file.o, where file can be any valid filename Square brackets [ ] Optional arguments mcc18 [options] file [options] Curly brackets and pipe character: { | } Choice of mutually exclusive arguments; an OR selection errorlevel {0|1} Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by user void main (void) { ... } Plain Courier New Notes A Note presents information that we want to re-emphasize, Note: This is a standard either to help you avoid a note box. common pitfall or to make you aware of operating differences CAUTION between some device family members. A Note can be in a box, or when used in a table or This is a Caution note. figure, it is located at the Note 1: This is a note used in a bottom of the table or figure. table. WARRANTY REGISTRATION Please 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. 2014 Microchip Technology Inc. DS50002261A-page 9 Motor Control 10-24V Driver Board (Dual/Single) RECOMMENDED READING This user’s guide describes how to use the Motor Control 10-24V Driver Board (Dual/ Single). The following Microchip documents are available and recommended as supplemental reference resources. MPLAB® X IDE User’s Guide (DS50002027) This user’s guide is a comprehensive guide that describes installation and features of Microchip’s MPLAB X Integrated Development Environment (IDE), as well as the editor and simulator functions in the MPLAB X IDE environment. Please visit www.microchip.com/mplabx for more information. Readme Files For the latest information on using other tools, read the tool-specific Readme files in the Readme subdirectory of the MPLAB X IDE installation directory. The Readme files contain updated information and known issues that may not be included in this user’s guide. MPLAB® XC16 Assembler, Linker and Utilities User’s Guide (DS52106) This user’s guide describes how to use GNU language tools to write code for 16-bit applications. MPLAB® XC16 C Compiler User’s Guide (DS50002071) This user’s guide describes how to use the 16-bit MPLAB XC16 C Compiler. Please visit www.microchip.com/compilers for more information. dsPIC® DSC Signal Board User’s Guide (DS50002263) This user’s guide describes how to use Microchip’s dsPIC DSC Signal Board. dsPIC33EV256GM106 5V Motor Control Plug-In Module (PIM) Information Sheet (DS50002225) This information sheet provides information specific to the dsPIC33EV256GM106 5V Motor Control Plug-In Module (PIM). dsPIC33EP512GM710 Plug-In Module (PIM) Information Sheet for Single-Dual Motor Control (DS50002216) This information sheet provides information specific to the dsPIC33EP512GM710 Plug-In Module (PIM) for Single-Dual Motor Control. AN1299, Single-Shunt Three-Phase Current Reconstruction Algorithm for Sensorless FOC of a PMSM (DS01299) AN1160, Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function (DS01160) AN1078, Sensorless Field Oriented Control of a PMSM (DS01078) AN1292, “Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Field Weakening (FW) (DS01292) AN1017, Sinusoidal Control of PMSM Motors with dsPIC30F DSC (DS01017) DS50002261A-page 10 2014 Microchip Technology Inc. Preface THE MICROCHIP WEB SITE Microchip provides online support via our web site at http://www.microchip.com. This web site makes files and information easily available to customers. Accessible by most Internet browsers, 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 listings • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listings of seminars and events; and 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 • Emulators – The latest information on the Microchip in-circuit emulator, MPLAB REAL ICE™ • In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 3 • MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the Windows® Integrated Development Environment for development systems tools • Programmers – The latest information on Microchip programmers including the PICkit™ 3 development programmer 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 field application engineer (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 2014 Microchip Technology Inc. DS50002261A-page 11 Motor Control 10-24V Driver Board (Dual/Single) DOCUMENT REVISION HISTORY Revision A (April 2014) This is the initial release of this document. DS50002261A-page 12 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Chapter 1. Introduction 1.1 OVERVIEW The Motor Control 10-24V Driver Board (Dual/Single) is a low-voltage, dual motor control power stage, targeted to drive two Brushless DC (BLDC) motors or Permanent Magnet Synchronous Motors (PMSMs) concurrently. The Motor Control 10-24V Driver Board (Dual/Single), along with the compatible dsPIC® DSC Signal Board, provides a software development platform to build and evaluate embedded motor control application software using Microchip’s high-performance motor control Digital Signal Controllers (DSCs) and Microcontrollers (MCUs). 1.2 MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) FEATURES The Motor Control 10-24V Driver Board (Dual/Single) is shown in Figure 1-1. The board includes these key features: • Two PMSM/BLDC motor control power stages with electrical specifications: - Input DC voltage: 10-24V DC ±10% (9V-26.4V DC) - Output phase RMS current: 10A nominal @ +25ºC per phase • MCP8024 gate drivers with undervoltage, overvoltage, overcurrent, shoot-through and short-circuit protection • Hall sensors/Quadrature Encoder Interface (QEI) in each motor control stage to enable sensor-based motor control algorithms • Phase voltage and reconstructed neutral feedback signals in each motor control stage to enable sensorless BLDC operation • DC bus current sense resistor for overcurrent protection, torque control of the BLDC motor and single-shunt Field Oriented Control (FOC) of PMSMs • Phase current sensing resistors for Field Oriented Control • DC bus voltage sensing • Dynamic braking chopper circuit with hardware and software brake control for both the inverter stages • Overcurrent protection • LED indication for PWM signals and Power-on Status 2014 Microchip Technology Inc. DS50002261A-page 13 Motor Control 10-24V Driver Board (Dual/Single) FIGURE 1-1: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) The block diagram of the Motor Control 10-24V Driver Board (Dual/Single) is shown in Figure 1-2. For more information on electrical specifications, see Appendix B. “Electrical Specifications”. DS50002261A-page 14 2014 Microchip Technology Inc. BLOCK DIAGRAM FIGURE 1-2: BLOCK DIAGRAM OF THE MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) MCP8024 +12V LDO Amplified Current O/Ps Communication Inverter – B Section MCP8024 DE2 Communication +5V LDO +5V LDO +12V LDO Protection Circuit DE2 Communication Three Operational Amplifiers and One Comparator Three Half-Bridge Drivers Three Half-Bridge Drivers DC Voltage Sense Amplifier – 3rd Phase Current Three-Phase Inverter Bridge Three-Phase Inverter Bridge Phase and Bus Current Sensing Phase and Bus Current Sensing 3˜ VDC_A Motor Connector I/P Supply Connector VDC_A (9V-26.4V) +12V LDO +12V I/P Supply Connector DC+ (9V-26.4V) Input Jack VDC_B I/P Supply Connector Brake Current Sense Circuit 3˜ Motor Connector VDC_B (9V-26.4V) Hardware Brake Enable Circuit Driver and Brake Switch Introduction DS50002261A-page 15 Load Resistor Brake Current Sense Circuit Driver and Brake Switch Hall Sensor/ Quadrature Encoder Interface Dynamic Brake Circuit – B Dynamic Brake Circuit – A Hardware Brake Enable Circuit VREF_EXT Three-Phase Back-EMFs and Recreated Neutral Protection Circuit Three Operational Amplifiers and One Comparator Amplifier – 3rd Phase Current AVDD Load Resistor DC Voltage Sense Fault Generation Logic DVDD Current Shunt Feedbacks Three-Phase Back-EMFs and Recreated Neutral Inverter – A Section PWMS Hall Sensor/ Quadrature Encoder Interface Chip Enable DC+ Communication +5V PWMs Chip Enable 120-Pin Signal Board Interface Connector, J13 Current Shunt Feedbacks 2014 Microchip Technology Inc. 1.3 Motor Control 10-24V Driver Board (Dual/Single) NOTES: DS50002261A-page 16 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Chapter 2. Board Interface Description 2.1 INTRODUCTION This chapter provides a more detailed description of the input and output interfaces of the Motor Control 10-24V Driver Board (Dual/Single). 2.2 HIGHLIGHTS This chapter covers the following topics: • Board Connectors • User Interface Hardware The input power supply for powering the gate drivers, inverters and other control circuits on the board, must be in the range of 10-24V DC ±10%. 2.3 BOARD CONNECTORS The Motor Control 10-24V Driver Board (Dual/Single) has various connectors, jumpers and LED indications. The on-board connectors are provided in Table 2-1 and are shown in Figure 2.3. TABLE 2-1: Designator MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) CONNECTORS Description J1 Input DC Power Supply Connector for Inverter A J2 Hall Sensor/Quadrature Encoder Interface Connector for Motor A J4 Hall Sensor/Quadrature Encoder Interface Connector for Motor B J5,J8 Input DC Power Supply Connector J6 Input DC Power Supply Connector for Inverter B J7 Inverter A Three-Phase Output Connector J9 Inverter B Three-Phase Output Connector J10, J11, J12 MCP8024 (U8) Operational Amplifier Interface Connector J13 dsPIC® DSC Signal Board Interface Connector J15 Auxiliary Power Supply Output Connectors for +5V, DVDD, AVDD, AGND, DGND J16 +12V LDO (U11) Output Connector TP46-TP47 Terminals to Connect Brake Resistor on Inverter A Side TP51-TP52 Terminals to Connect Brake Resistor on Inverter B Side 2014 Microchip Technology Inc. DS50002261A-page 17 Motor Control 10-24V Driver Board (Dual/Single) FIGURE 2-1: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) CONNECTORS J13 J15 J2 J4 J12 J11 J10 J16 TP51-TP52 TP46-TP47 J8 J1 J5 J6 J9 J7 The following are the on-board connectors: • • • • • • • DS50002261A-page 18 Power Supply Connectors (J5, J8, J1 and J6) Inverter Output Connectors (J7, J9) Signal Board Interface Connector (J13) Hall Sensor/Quadrature Encoder Interface Connectors (J2, J4) Terminals for Brake Resistors (TP46-TP47, TP51-TP52) Auxiliary Power Supply Output Connectors (J15, J16) MCP8024 (U8) Operational Amplifier Interface Connectors (J10, J11, J12) 2014 Microchip Technology Inc. Board Interface Description 2.3.1 Power Supply Connectors (J5, J8, J1 and J6) The Motor Control 10-24V Driver Board (Dual/Single) is designed to operate in the DC voltage range of 9-26.4V. The possible input DC power supply connections are shown in Figure 2-2. FIGURE 2-2: J8 INPUT DC POWER SUPPLY CONNECTORS DC+ Jumper J1 VDC_A J13 TP3 PGND TP6 Populated By Default Jumper VDC_B J5 Signal Board Interface Connector PGND J6 PGND DC+ TP7 TP8 Populated By Default PGND PGND If the wire jumpers between TP3-TP6 and TP7-TP8 are populated, Inverter A and Inverter B can be powered by a common voltage source, DC+, connected to either the coaxial plug, J5, or to the connector, J8. The voltage source, DC+, supplies power to the dsPIC DSC Signal Board through the signal board interface connector, J13. Connector, J5, can carry current up to 2.5A and connector, J8, can carry current up to 30A. Note: On the Motor Control 10-24V Driver Board (Dual/Single),TP3-TP6 and TP7-TP8 wire jumpers are populated by default. Both the Inverter A and Inverter B sections on the Motor Control 10-24V Driver Board (Dual/Single) can be powered independently by different voltage sources, such as VDC_A and VDC_B. Inverter A can be powered up by different voltage sources connected to connector, J1, if a wire jumper between TP3-TP6 is disconnected. Similarly, Inverter B can be powered up by different voltage sources connected to connector, J6, if a wire jumper between TP7-TP8 is disconnected. Connectors, J1 and J6, can carry the maximum current of 15A each. If both the jumpers, TP3-TP6 and TP7-TP8, are opened, then the dsPIC DSC Signal Board is powered from the connector, J5 or J8. Input power supply configuration is shown in Table 2-2. TABLE 2-2: INPUT POWER SUPPLY CONFIGURATION Wire Jumper Configuration TP3-TP6 TP7-TP8 Power Supply Connectors Inverter A Section Inverter B Section Connected Connected J5/J8 (DC+) Disconnected Connected J1 (VDC_A) J5/J8 Connected Disconnected J5/J8 J6 (VDC_B) Disconnected Disconnected J1 (VDC_A) J6 (VDC_B) 2014 Microchip Technology Inc. Signal Board J5/J8 (DC+) J5/J8 DS50002261A-page 19 Motor Control 10-24V Driver Board (Dual/Single) 2.3.2 Inverter Output Connectors (J7, J9) The Motor Control 10-24V Driver Board (Dual/Single) can drive two three-phase PMSM/BLDC motors. These motors are driven through Inverter A and Inverter B outputs from connectors, J7 and J9. The pin assignments for connectors, J7 and J9, are provided in Table 2-3 and Table 2-4. TABLE 2-3: INVERTER A OUTPUT CONNECTOR (J7) Pin # Signal Name Pin Description 1 PHASE3_MA Phase 3 Output of Inverter A 2 PHASE2_MA Phase 2 Output of Inverter A 3 PHASE1_MA Phase 1 Output of Inverter A TABLE 2-4: INVERTER B OUTPUT CONNECTOR (J9) Pin # Signal Name Pin Description 1 PHASE3_MB Phase 3 Output of Inverter B 2 PHASE2_MB Phase 2 Output of Inverter B 3 PHASE1_MB Phase 1 Output of Inverter B 2.3.3 Signal Board Interface Connector (J13) The signal board interface connector, J13, is used to interface the Motor Control 10-24V Driver Board (Dual/Single) to the dsPIC DSC Signal Board. The signal board interface connector, J13, has three rows and each row has 40 pins. The signals on the connector, J13, can be grouped into the following function sets: • Control Signals to the Motor Control 10-24V Driver Board (Dual/Single) for each Inverter: - Three pairs of PWMH/L signals - Braking chopper circuit control signal • Feedback Signals from the Motor Control 10-24V Driver Board (Dual/Single) for each Inverter: - Current shunt feedbacks - DC bus voltage and current feedback - Three-phase back-EMF signals and recreated neutral signals - Hall Sensor/Quadrature Encoder Interface (QEI) sensor feedbacks - Fault signals • Power Supply Signals to Signal Board: - Input DC power signal, DC+, and power ground • Power Supply Signals from Signal Board: - Auxiliary power supply signals, DVDD, +5V, DGND, AVDD and AGND - DC bias voltage (VREF_EXT) signal to offset op amp outputs by a fixed DC voltage and this potential is referenced to AGND • Signal Interface between Gate Driver and Microcontroller for each Inverter: - Chip enable signal from microcontroller - UART RX and TX to establish DE2 communication between controller and the MCP8024 gate driver Connector, J13, pin function and pin mapping to the mate connector on the signal board are provided in Table 2-5 and Table 2-6. In Table 2-5, J13 pins are tabulated in order of their number, whereas in Table 2-6, signals on connector, J13, are grouped according to their functionality. DS50002261A-page 20 2014 Microchip Technology Inc. Board Interface Description TABLE 2-5: SIGNAL BOARD INTERFACE CONNECTOR (J13) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name Pin Function Signal Type A1 A40 DVDD +3.3V or +5V Digital Power Supply from dsPIC® DSC Signal Board(2) Power Supply B1 B40 DVDD +3.3V or +5VDigital Power Supply from dsPIC DSC Signal Board(2) Power Supply C1 C40 DVDD +3.3V or +5V Digital Power Supply from dsPIC DSC Signal Board(2) Power Supply A2 A39 DGND Digital Ground Ground B2 B39 DGND Digital Ground Ground C2 C39 DGND Digital Ground Ground A3 A38 VPHASE1_MB B3 B38 — C3 C38 DGND A4 A37 — — — B4 B37 FAULT_AB Inverter A and Inverter B Combined Fault Output generated by Fault Generation Logic Circuit Digital Output C4 C37 VPHASE2_MB Phase 2 BEMF Voltage Feedback of Motor B Analog Output A5 A36 VPHASE1_MA Phase 1 BEMF Voltage Feedback of Motor A Analog Output Phase 1 BEMF Voltage Feedback of Motor B — Analog Output — Digital Ground Ground B5 B36 VPHASE2_MA Phase 2 BEMF Voltage Feedback of Motor A Analog Output C5 C36 VPHASE3_MA Phase 3 BEMF Voltage Feedback of Motor A Analog Output A6 A35 VPHASE3_MB Phase 3 BEMF Voltage Feedback of Motor B Analog Output B6 B35 RECN_MA, IPHASE3_MA, IBRAKE_A Recreated Neutral Feedback for Motor A or Inverter A Phase 3 Current Feedback, or Braking Chopper Circuit – A Current Sense Output Analog Output C6 C35 — A7 A34 VREF_EXT B7 B34 — — — C7 C34 — — — A8 A33 — — — — +1.65V/+2.5V Voltage Reference to Shift Op Amp Outputs(4) — Analog Output B8 B33 — — — C8 C33 — — — A9 A32 — B9 B32 VBUS_A C9 C32 — — — A10 A31 — — — — DC Bus Feedback of Inverter A — Analog Output B10 B31 — — — C10 C31 — — — Note 1: 2: 3: 4: The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 21 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-5: SIGNAL BOARD INTERFACE CONNECTOR (J13) (CONTINUED) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name A11 A30 DGND Digital Ground Ground B11 B30 DGND Digital Ground Ground C11 C30 DGND A12 A29 RECN_MB, IPHASE3_MB, IBRAKE_B Recreated Neutral Feedback for Motor B or Inverter B Phase 3 Current Feedback, or Braking Chopper Circuit – B Current Sense Output Analog Output B12 B29 DE2_RX_B UART RX from Microcontroller to establish DE2 Communication with MCP8024 (U9) Digital Output C12 C29 — — — A13 A28 — B13 B28 HALLC_MA Hall Sensor C/INDEX Feedback from Motor A Digital Output C13 C28 HALLB_MA Hall Sensor B/QEB Feedback from Motor A Digital Output A14 A27 — Pin Function Signal Type Digital Ground Ground — — — — B14 B27 — — — C14 C27 — — — A15 A26 IBUS_MB B15 B26 DE2_TX_B Bus Current Feedback of Inverter B Analog Output C15 C26 BRAKE_EN_B A16 A25 — B16 B25 IPHASE2_MB Inverter B Phase 2 Current Feedback Analog Output C16 C25 IPHASE1_MB Inverter B Phase 1 Current Feedback Analog Output A17 A24 BRAKE_EN_A Software Brake Enable Signal for Braking Chopper Circuit – A UART TX from Microcontroller to establish DE2 Communication with MCP8024 (U9) Digital Input Software Brake Enable Signal for Braking Chopper Circuit – B Digital Input — — Digital Input B17 B24 — — — C17 C24 — — — A18 A23 — — — B18 B23 — — — C18 C23 HOME_MA A22 B19 B22 SHUNT_LOW_SUM_A Inverter A Bus Current Shunt (Rsh5) Negative Terminal Analog Output C19 C22 SHUNT_HIGH_SUM_A Inverter A Bus Current Shunt (Rsh5) Positive Terminal Analog Output 2: 3: 4: — Digital Output A19 Note 1: — Quadrature Encoder Interface HOME Signal from Motor A — The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. DS50002261A-page 22 2014 Microchip Technology Inc. Board Interface Description TABLE 2-5: SIGNAL BOARD INTERFACE CONNECTOR (J13) (CONTINUED) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name A20 A21 FAULT_MA Inverter A Bus Current Fault Output from Signal Board Digital Output B20 B21 DE2_RX_A UART RX from Microcontroller to establish DE2 Communication with MCP8024 Digital Output C20 C19 — — — A21 A20 DGND Digital Ground Ground B21 B20 DGND Digital Ground Ground C21 C20 DGND Digital Ground A22 A19 — B22 B19 C22 C21 — — — A23 A18 — — — B23 B18 SHUNT_HIGH_1_A Inverter A Phase 1 Current Shunt (Rsh7) Positive Terminal Analog Output C23 C18 SHUNT_HIGH_2_A Inverter A Phase 2 Current Shunt (Rsh1) Positive Terminal Analog Output A24 A17 — — — B24 B17 DE2_TX_A UART TX from Microcontroller to establish DE2 Communication with MCP8024 Digital Input C24 C17 — A25 A16 HALLA_MA B25 B16 VBUS_B C25 C16 — A26 A15 — B26 B15 CE_A C26 C15 A27 A14 — — — B27 B14 — — — C27 C14 — — — A13 CE_B B13 HOME_MB C28 C13 — 3: 4: Ground — — Analog Output — — Hall Sensor A/QEA Feedback from Motor A Digital Output DC Bus Feedback of Inverter B Analog Output — — — — Chip Enable Signal to MCP8024 (U8) Digital Input SHUNT_HIGH_SUM_A Inverter A Phase 1 Current Shunt (Rsh7) Negative Terminal B28 2: Signal Type SHUNT_HIGH_SUM_A Inverter A Phase 2 Current Shunt (Rsh1) Negative Terminal A28 Note 1: Pin Function Analog Output Chip Enable Signal to MCP8024 (U9) Digital Input Quadrature Encoder Interface HOME Signal of Motor B — Digital Output — The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 23 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-5: SIGNAL BOARD INTERFACE CONNECTOR (J13) (CONTINUED) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name A29 A12 PWM1L_A PWM for Inverter A Phase 1 Bottom MOSFET Control Hall Sensor C/INDEX Feedback of Motor B Pin Function Signal Type Digital Input B29 B12 HALLC_MB C29 C12 — A30 A11 HALLA_MB Hall Sensor A/QEA Feedback of Motor B Digital Output B30 B11 HALLB_MB Hall Sensor B/QEB Feedback of Motor B Digital Output C30 C11 PWM1H_A PWM for Inverter A Phase 1 Top MOSFET Control A31 A10 DGND Digital Ground Ground B31 B10 DGND Digital Ground Ground C31 C10 DGND Digital Ground Ground A32 A9 PWM2H_A PWM for Inverter A Phase 2 Top MOSFET Control Digital Input B32 B9 PWM2L_A PWM for Inverter A Phase 2 Bottom MOSFET Control Digital Input C32 C9 — A33 A8 PWM3H_A — Digital Output — Digital Input — — PWM for Inverter A Phase 3 Top MOSFET Control Digital Input B33 B8 — C33 C8 PWM3L_A PWM for Inverter A Phase 3 Bottom MOSFET Control Digital Input A34 A7 PWM2L_B PWM for Inverter B Phase 2 Bottom MOSFET Control Digital Input B34 B7 PWM1L_B PWM for Inverter B Phase 1 Bottom MOSFET Control Digital Input C34 C7 PWM1H_B PWM for Inverter B Phase 1 Top MOSFET Control Digital Input A35 A6 PWM3H_B PWM for Inverter B Phase 3 Top MOSFET Control Digital Input B35 B6 PWM3L_B PWM for Inverter B Phase 3 Bottom MOSFET Control Digital Input C35 C6 PWM2H_B PWM for Inverter B Phase 2 Top MOSFET Control Digital Input A36 A5 — — — B36 B5 — — — C36 C5 FAULT_MB Note 1: 2: 3: 4: — — Inverter B Bus Current Fault Output to Microcontroller on Signal Board Digital Input The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. DS50002261A-page 24 2014 Microchip Technology Inc. Board Interface Description TABLE 2-5: SIGNAL BOARD INTERFACE CONNECTOR (J13) (CONTINUED) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name A37 A4 AVDD +3.3V or +5V Analog Power Supply from Signal Board(3) Power Supply B37 B4 AVDD +3.3V or +5V Analog Power Supply from Signal Board(3) Power Supply C37 C4 AGND Analog Ground A38 A3 +5V +5V Digital Power Supply from Signal Board Power Supply B38 B3 +5V +5V Digital Power Supply from Signal Board Power Supply C38 C3 AGND Analog Ground Ground A39 A2 PGND Power Ground Ground B39 B2 PGND Power Ground Ground C39 C2 PGND Power Ground Ground A40 A1 DC+ DC Supply (10-24V) from Power Board to Signal Board Power Supply B40 B1 DC+ DC Supply (10-24V) from Power Board to Signal board Power Supply C40 C1 DC+ DC Supply (10-24V) from Power Board to Signal Board Power Supply Note 1: 2: 3: 4: Pin Function Signal Type Ground The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 25 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-6: On-Board J13 Connector Pin # SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY Mating Connector Pin #(1) Signal Name Pin Function Signal Type A. Power Supply Signals A1 A40 DVDD +3.3V or +5V Digital Power Supply from Signal Board(2) Power Supply B1 B40 DVDD +3.3V or 5V Digital Power Supply from Signal Board(2) Power Supply C1 C40 DVDD +3.3V or 5V Digital Power Supply from Signal Board Power Supply A2 A39 DGND Digital Ground Ground B2 B39 DGND Digital Ground Ground C2 C39 DGND Digital Ground Ground C3 C38 DGND Digital Ground Ground A11 A30 DGND Digital Ground Ground B11 B30 DGND Digital Ground Ground C11 C30 DGND Digital Ground Ground A21 A20 DGND Digital Ground Ground B21 B20 DGND Digital Ground Ground C21 C20 DGND Digital Ground Ground A31 A10 DGND Digital Ground Ground B31 B10 DGND Digital Ground Ground C31 C10 DGND Digital Ground Ground A37 A4 AVDD +3.3V or +5V Analog Power Supply from Signal Power Supply Board(3) B37 B4 AVDD +3.3V or +5V Analog Power Supply from Signal Power Supply Board(3) C37 C4 AGND Analog Ground A38 A3 +5V Ground +5V Digital Power Supply from Signal Board Power Supply +5V Digital Power Supply from Signal Board Power Supply B38 B3 +5V C38 C3 AGND Analog Ground Ground A39 A2 PGND Power Ground Ground B39 B2 PGND Power Ground Ground C39 C2 PGND Power Ground A40 A1 DC+ DC Supply (10-24V) from Power Board to Signal Board Power Supply B40 B1 DC+ DC Supply (10-24V) from Power Board to Signal Board Power Supply C40 C1 DC+ DC Supply (10-24V) from Power Board to Signal Board Power Supply Note 1: 2: 3: 4: Ground The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. DS50002261A-page 26 2014 Microchip Technology Inc. Board Interface Description TABLE 2-6: On-Board J13 Connector Pin # SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY (CONTINUED) Mating Connector Pin #(1) Signal Name Pin Function Signal Type B. Signals to and from Inverter A Section B.1 PWM Signals C30 C11 PWM1H_A PWM for Inverter A Phase 1 Top MOSFET Control Digital Input A29 A12 PWM1L_A PWM for Inverter A Phase 1 Bottom MOSFET Control Digital Input A32 A9 PWM2H_A PWM for Inverter A Phase 2 Top MOSFET Control Digital Input B32 B9 PWM2L_A PWM for Inverter A Phase 2 Bottom MOSFET Control Digital Input A33 A8 PWM3H_A PWM for Inverter A Phase 3 Top MOSFET Control Digital Input C33 C8 PWM3L_A PWM for Inverter A Phase 3 Bottom MOSFET Control Digital Input A17 A24 BRAKE_EN_A Software Brake Enable Signal for Braking Chopper Circuit – A Digital Input B.2 Interface Signals between Microcontroller and Gate Driver, MCP8024 (U8) B26 B15 CE_A Chip Enable Signal to MCP8024 (U8) Digital Input B24 B17 DE2_TX_A UART TX from Microcontroller to establish DE2 Communication with MCP8024 Digital Input B20 B21 DE2_RX_A UART RX from Microcontroller to establish DE2 Communication with MCP8024 Digital Output B.3 Hall Sensor/Quadrature Encoder Interface Feedback Signals from Motor A A25 A16 C13 C28 B13 B28 C18 C23 HOME_MA Note 1: 2: 3: 4: HALLA_MA Hall Sensor A/QEA Feedback from Motor A Digital Output HALLB_MA Hall Sensor B/QEB Feedback from Motor A Digital Output HALLC_MA Hall Sensor C/INDEX Feedback from Motor A Digital Output Quadrature Encoder Interface HOME Signal from Motor A Digital Output The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 27 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-6: On-Board J13 Connector Pin # SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY (CONTINUED) Mating Connector Pin #(1) Signal Name Pin Function Signal Type B.4 Voltage and Current Feedback Signals A5 A36 VPHASE1_MA Phase 1 Voltage Feedback of Motor A Analog Output B5 B36 VPHASE2_MA Phase 2 Voltage Feedback of Motor A Analog output C5 C36 VPHASE3_MA Phase 3 Voltage Feedback of Motor A Analog Output B6 B35 RECN_MA, IPHASE3_MA, IBRAKE_A Recreated Neutral Feedback for Motor A or Analog Output Inverter A Phase 3 Current Feedback, or Braking Chopper Circuit – A Current Sense Output B23 B18 SHUNT_HIGH_1_A C26 C15 C23 C18 B22 Inverter A Phase 1 Current Shunt (Rsh7) Positive Terminal Analog Output SHUNT_HIGH_SUM_A Inverter A Phase 1 Current Shunt (Rsh7) Negative Terminal Analog Output Inverter A Phase 2 Current Shunt (Rsh1) Positive Terminal Analog Output B19 SHUNT_HIGH_SUM_A Inverter A Phase 2 Current Shunt (Rsh1) Negative Terminal Analog Output C19 C22 SHUNT_HIGH_SUM_A Inverter A bus Current Shunt (Rsh5) Positive Terminal Analog Output B19 B22 SHUNT_LOW_SUM_A Inverter A bus Current Shunt (Rsh5) Negative Terminal Analog Output B9 B32 SHUNT_HIGH_2_A VBUS_A DC Bus Feedback of Inverter A Analog Output C. Signals to and from Inverter B Section C.1 PWM Signals C34 C7 PWM1H_B PWM for Inverter B Phase 1 Top MOSFET Control Digital Input B34 B7 PWM1L_B PWM for Inverter B Phase 1 Bottom MOSFET Control Digital Input C35 C6 PWM2H_B PWM for Inverter B Phase 2 Top MOSFET Control Digital Input A34 A7 PWM2L_B PWM for Inverter B Phase 2 Bottom MOSFET Control Digital Input A35 A6 PWM3H_B PWM for Inverter B Phase 3 Top MOSFET Control Digital Input B35 B6 PWM3L_B PWM for Inverter B Phase 3 Bottom MOSFET Control Digital Input C15 C26 BRAKE_EN_B Software Brake Enable Signal for Braking Chopper Circuit – B Digital Input Note 1: 2: 3: 4: The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. DS50002261A-page 28 2014 Microchip Technology Inc. Board Interface Description TABLE 2-6: On-Board J13 Connector Pin # SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY (CONTINUED) Mating Connector Pin #(1) Signal Name Pin Function Signal Type C.2 Interface Signals between Microcontroller and Gate Driver, MCP8024 (U9) A28 A13 CE_B Chip Enable Signal to MCP8024 (U9) Digital Input B15 B26 DE2_TX_B UART TX from Microcontroller to establish DE2 Communication with MCP8024 (U9) Digital Input B12 B29 DE2_RX_B UART RX from Microcontroller to establish DE2 Communication with MCP8024 (U9) Digital Output C.3 Hall Sensor/Quadrature Encoder Interface Feedback Signals from Motor B A30 A11 HALLA_MB Hall Sensor A/QEA Feedback of Motor B Digital Output B30 B11 HALLB_MB Hall Sensor B/QEB Feedback of Motor B Digital Output B29 B12 HALLC_MB Hall Sensor C/INDEX Feedback of Motor B Digital Output B28 B13 HOME_MB Quadrature Encoder Interface HOME Signal of Motor B Digital Output C.4 Voltage and Current Feedback Signals A3 A38 VPHASE1_MB Phase 1 BEMF Voltage Feedback of Motor B Analog Output C4 C37 VPHASE2_MB Phase 2 BEMF Voltage Feedback of Motor B Analog Output Analog Output A6 A35 VPHASE3_MB Phase 3 BEMF Voltage Feedback of Motor B A12 A29 RECN_MB, IPHASE3_MB, IBRAKE_B Recreated Neutral Feedback for Motor B or Analog Output Inverter B Phase 3 Current Feedback, or Braking Chopper Circuit – B Current Sense Output C16 C25 IPHASE1_MB Inverter B Phase 1 Current Feedback B16 B25 IPHASE2_MB Inverter B Phase 2 Current Feedback Analog Output A15 A26 IBUS_MB Bus Current Feedback of Inverter B Analog Output B25 B16 VBUS_B DC Bus Feedback of Inverter B Analog Output Analog Output D. Others D.1 Fault Signals A20 A21 FAULT_MA Inverter A Bus Current Fault Output from Signal Board Digital Output C36 C5 FAULT_MB Inverter B Bus Current Fault Output to Microcontroller on Signal Board Digital Input B4 B37 FAULT_AB Inverter A and Inverter B Combined Fault Output generated by Fault Generation Logic Circuit Digital Input D.2 Voltage Offset A7 Note 1: 2: 3: 4: A34 VREF_EXT +1.65V/+2.5VVoltage Reference to Shift Op Amp Outputs(4) Analog Input The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 29 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-6: On-Board J13 Connector Pin # SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY (CONTINUED) Mating Connector Pin #(1) Signal Name Pin Function Signal Type E. Pins – Not Connected on Motor Control 10-24V Driver Board (Dual/Single)(2) B3 B38 — — — A4 A37 — — — C6 C35 — — — — B7 B34 — — C7 C34 — — — A8 A33 — — — B8 B33 — — — C8 C33 — — — A9 A32 — — — C9 C32 — — — A10 A31 — — — B10 B31 — — — C10 C31 — — — C12 C29 — — — A13 A28 — — — A14 A27 — — — B14 B27 — — — C14 C27 — — — A16 A25 — — — B17 B24 — — — C17 C24 — — — A18 A23 — — — B18 B23 — — — A19 A22 — — — C20 C19 — — — A22 A19 — — — C22 C21 — — — A23 A18 — — — A24 A17 — — — C24 C17 — — — C25 C16 — — — A15 — — — A26 Note 1: 2: 3: 4: The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. DS50002261A-page 30 2014 Microchip Technology Inc. Board Interface Description TABLE 2-6: SIGNAL BOARD INTERFACE CONNECTOR (J13), GROUPED BY FUNCTIONALITY (CONTINUED) On-Board J13 Connector Pin # Mating Connector Pin #(1) Signal Name Pin Function Signal Type A27 A14 — — — B27 B14 — — — C27 C14 — — — C28 C13 — — — C29 C12 — — — C32 C9 — — — B33 B8 — — — A36 A5 — — — B5 — — — B36 Note 1: 2: 3: 4: The mating connector pin refers to the mating connector on the dedicated signal board interfaced to the Motor Control 10-24V Driver Board (Dual/Single). On the dsPIC® DSC Signal Board, the DVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the AVDD voltage level can be configured as either +3.3V or +5V by the PIM plugged into the board. On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65 or +2.5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002261A-page 31 Motor Control 10-24V Driver Board (Dual/Single) 2.3.4 Hall Sensor/Quadrature Encoder Interface Connectors (J2, J4) The Hall sensors or Quadrature Encoder Interfaces (QEIs) are used for determining the motor position. Connectors, J2 and J4, can be used to interface the Hall Sensor/ Quadrature Encoder Interface of motors driven by Inverter A and Inverter B, respectively. The pin descriptions of connectors, J2 and J4, are shown in Table 2-7 and Table 2-8. TABLE 2-7: HALL SENSOR/QUADRATURE ENCODER INTERFACE CONNECTOR (J2) Pin # Signal Name 1 +5V Pin Description Hall Sensors/QEI Power Supply 2 DGND 3 HALLA_MA Digital Ground Hall Sensor A/QEI Phase A Feedback for Motor A 4 HALLB_MA Hall Sensor B/QEI Phase B Feedback for Motor A 5 HALLC_MA Hall Sensor C/QEI INDEX Feedback for Motor A 6 HOME_MA QEI HOME Signal Feedback for Motor A TABLE 2-8: Pin # HALL SENSOR/QUADRATURE ENCODER INTERFACE CONNECTOR (J4) Signal Name Pin Description 1 +5V 2 DGND 3 HALLA_MB Hall Sensor A/QEI Phase A Feedback for Motor B 4 HALLB_MB Hall Sensor B/QEI Phase B Feedback for Motor B 5 HALLC_MB Hall Sensor C/QEI INDEX Feedback for Motor B 6 HOME_MB QEI HOME Signal Feedback for Motor B 2.3.5 Hall Sensors/QEI Power Supply Digital Ground Terminals for Brake Resistors (TP46-TP47, TP51-TP52) Brake resistors can be added to Braking Chopper Circuit of Inverter A and Inverter B through terminals provided on the Motor Control 10-24V Driver Board (Dual/Single). Table 2-7 and Table 2-10 provides the terminal pin-outs. TABLE 2-9: TERMINALS FOR BRAKE RESISTOR ON INVERTER A SIDE Terminal # Terminal Name 1 TP46 Inverter A Brake Resistor Positive Terminal 2 TP47 Inverter A Brake Resistor Negative Terminal TABLE 2-10: TERMINALS FOR BRAKE RESISTOR ON INVERTER B SIDE Terminal # Terminal Name DS50002261A-page 32 Terminal Description Terminal Description 1 TP51 Inverter B Brake Resistor Positive Terminal 2 TP52 Inverter B Brake Resistor Negative Terminal 2014 Microchip Technology Inc. Board Interface Description 2.3.6 Auxiliary Power Supply Output Connectors (J15, J16) Various auxiliary power supply outputs can be tapped through connectors, J15 and J16. The auxiliary power supply outputs on connector, J15, are provided in Table 2-11 and Table 2-12 provides the power supply outputs on connector, J16. TABLE 2-11: Pin # Signal Name 1 DGND AUXILIARY POWER SUPPLY OUTPUT CONNECTOR (J15) Signal Description Digital Ground 2 +5V 3 DVDD +3.3V/+5V Digital Power Output 4 AGND Analog Ground 5 AVDD +3.3V/+5V Analog Power Output TABLE 2-12: +5V Digital Power Output +12V LDO (U11) OUTPUT CONNECTOR (J16) Pin # Signal Name 1 +12V +12V Output of LDO U11 (L7812CD2T-TR) 2 PGND Power Ground 2014 Microchip Technology Inc. Signal Description DS50002261A-page 33 Motor Control 10-24V Driver Board (Dual/Single) 2.3.7 MCP8024 (U8) Operational Amplifier Interface Connectors (J10, J11, J12) The three-phase BLDC motor gate driver with the power module, MCP8024, has three internal operational amplifiers. These amplifiers can be configured as either inverting or non-inverting, and are labeled as U8-A, U8-B and U8-C. Each of these amplifier inputs and outputs are accessible through connectors, J10, J11 and J12 (see Figure A-1). The inputs and output of the gate driver amplifiers, U8-A, U8-B and U8-C, are provided in Table 2-13 through Table 2-15, respectively. TABLE 2-13: AMPLIFIER U8-A INPUT AND OUTPUT CONNECTOR (J12) Pin # Signal Name 1 IN3+ Positive Input of U8-A Amplifier Circuit 2 IN3- Negative Input of U8-A Amplifier Circuit 3 OUT3 TABLE 2-14: Signal Description U8-A Amplifier Output AMPLIFIER U8-B INPUT AND OUTPUT CONNECTOR (J11) Pin # Signal Name 1 IN2+ Positive Input of U8-B Amplifier Circuit 2 IN2- Negative Input of U8-B Amplifier Circuit 3 OUT2 TABLE 2-15: Pin # Signal Description U8-B Amplifier Output AMPLIFIER U8-C INPUT AND OUTPUT CONNECTOR (J10) Signal Name Signal Description 1 IN1- Negative Input of U8-C Amplifier Circuit 2 IN1+ Positive Input of U8-C Amplifier Circuit 3 OUT1 U8-C Amplifier Output By default, the U8-A, U8-B and U8-C amplifiers are configured as non-inverting buffers with their non-inverting input connected to VREF_EXT (half of the amplifier supply voltage) for low-power consumption. For circuit details, see Figure A-1. DS50002261A-page 34 2014 Microchip Technology Inc. Board Interface Description 2.4 USER INTERFACE HARDWARE 2.4.1 Board Jumpers The Motor Control 10-24V Driver Board (Dual/Single) has three power jumpers and two signal jumpers. The on-board jumpers are provided in Table 2-16. Figure 2-3 shows the jumper positions. TABLE 2-16: BOARD JUMPERS Jumper Designator FIGURE 2-3: Jumper Description JP2 Connects the chip enable signal of gate driver, IC U8, to +5 VLDO1 (CE_A = High) enabling all device functions. JP3 Connects the chip enable signal of gate driver, IC U9, to +5 VLDO2 (CE_B = High) enabling all device functions. TP3-TP6 Connects the power supply, DC+ signal, to Inverter A circuits which are populated by default and can carry 15A current. TP7-TP8 Connects the power supply, DC+ signal, to Inverter B circuits which are populated by default and can carry 15A current. TP54-TP55 If populated, +12V LDO (U11) input and output are shorted bypassing the low LDO. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) JUMPERS JP2 JP3 TP54-TP55 TP3-TP6 2014 Microchip Technology Inc. TP7-TP8 DS50002261A-page 35 Motor Control 10-24V Driver Board (Dual/Single) 2.4.2 Board LED Indications The on-board LEDs are provided in Table 2-17 and Figure 2-4 shows the LED positions. TABLE 2-17: LED Designator DS50002261A-page 36 BOARD LEDs LED Indication D1 Power-on status indication for Auxiliary Supply Output DVDD (+3.3V/+5V) from the Signal Board. D2 Power-on status indication for Auxiliary Supply Output +5V from the Signal Board. D3 Power-on status indication for the on-board +12V LDO (U11) output. D25 Indicates PWM Pin status of Inverter A Phase 1 Top MOSFET control. D26 Indicates PWM Pin status of Inverter A Phase 1 Bottom MOSFET control. D27 Indicates PWM Pin status of Inverter A Phase 2 Top MOSFET control. D28 Indicates PWM Pin status of Inverter A Phase 2 Bottom MOSFET control. D29 Indicates PWM Pin status of Inverter A Phase 3 Top MOSFET control. D30 Indicates PWM Pin status of Inverter A Phase 3 Bottom MOSFET control. D31 Indicates PWM Pin status of Inverter B Phase 1 Top MOSFET control. D32 Indicates PWM Pin status of Inverter B Phase 1 Bottom MOSFET control. D33 Indicates PWM Pin status of Inverter B Phase 2 Top MOSFET control. D34 Indicates PWM Pin status of Inverter B Phase 2 Bottom MOSFET control. D35 Indicates PWM Pin status of Inverter B Phase 3 Top MOSFET control. D36 Indicates PWM Pin status of Inverter B Phase 3 Bottom MOSFET control. 2014 Microchip Technology Inc. Board Interface Description FIGURE 2-4: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) LEDs D2 D1 D25-D30 D31-D36 D3 2014 Microchip Technology Inc. DS50002261A-page 37 Motor Control 10-24V Driver Board (Dual/Single) 2.4.3 Board Test Points There are several test points on the Motor Control 10-24V Driver Board (Dual/Single) to allow probing of voltages, currents and signals. Table 2-18 provides all the test points on the board. TABLE 2-18: Test Point Number Test Point Name TP1 VBUS_A TP2 VBUS_B TP4 DGND Digital Ground TP5 DGND Digital Ground TP9 DE2_A DE2 Communication Link of MCP8024 U8 Description DC Bus Feedback of Inverter A DC Bus Feedback of Inverter B TP10 DE2_B TP11 FAULT_MB Inverter B Bus Current Fault Output to Microcontroller on Signal Board TP12 FAULT_AB Inverter A and Inverter B Combined Fault Output generated by Fault Generation Logic DE2 Communication Link of MCP8024 U9 TP13 IPHASE1_MB Inverter B Phase 1 Current Feedback TP14 IPHASE2_MB Inverter B Phase 2 Current Feedback TP15 IBUS_MB TP16 FAULT_MA TP17 5VLDO1 Output of Internal +5V LDO Regulator of Gate Driver, MCP8024 U8 TP18 5VLDO2 Output of Internal +5V LDO Regulator of Gate Driver, MCP8024 U9 TP19 TP20 Inverter B Bus Current Feedback Inverter A Bus Current Fault Output from Signal Board VPHASE3_MA Phase 3 BEMF Voltage Feedback of Motor A RECN_MA Recreated Neutral Feedback for Motor A TP21 VPHASE2_MA Phase 2 BEMF Voltage Feedback of Motor A TP22 VPHASE1_MA Phase 1 BEMF Voltage Feedback of Motor A TP23 GT1H_A Gate Signal from Driver for Inverter A Phase 1 Top MOSFET Control TP24 GT2H_A Gate Signal from Driver for Inverter A Phase 2 Top MOSFET Control TP25 GT3H_A Gate Signal from Driver for Inverter A Phase 3 Top MOSFET Control TP26 GT3L_A Gate Signal from Driver for Inverter A Phase 3 Bottom MOSFET Control TP27 GT2L_A Gate Signal from Driver for Inverter A Phase 2 Bottom MOSFET Control TP28 GT1L_A Gate Signal from Driver for Inverter A Phase 1 Bottom MOSFET Control TP29 VDC_A DC Bus Voltage of Inverter A TP30 12VLDO1 Output of Internal +12V LDO Regulator of Gate Driver, MCP8024 U8 RECN_MB Recreated Neutral Feedback for Motor B TP31 TP32 Note 1: 2: DS50002261A-page 38 BOARD TEST POINTS VPHASE3_MB Phase 3 BEMF Voltage Feedback of Motor B On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65V or +2.5V by the PIM plugged into the board 2014 Microchip Technology Inc. Board Interface Description TABLE 2-18: Test Point Number BOARD TEST POINTS (CONTINUED) Test Point Name Description TP33 VPHASE1_MB Phase 1 BEMF Voltage Feedback of Motor B TP34 VPHASE2_MB Phase 2 BEMF Voltage Feedback of Motor B TP35 GT1H_B Gate Signal from Driver for Inverter B Phase 1 Top MOSFET Control TP36 GT2H_B Gate Signal from Driver for Inverter B Phase 2 Top MOSFET Control TP37 GT3H_B Gate Signal from Driver for Inverter B Phase 3 Top MOSFET Control TP38 GT3L_B Gate Signal from Driver for Inverter B Phase 3 Bottom MOSFET Control TP39 GT2L_B Gate Signal from Driver for Inverter B Phase 2 Bottom MOSFET Control TP40 GT1L_B Gate Signal from Driver for Inverter B Phase 1 Bottom MOSFET Control TP41 VDC_B DC Bus Voltage of Inverter B TP42 12VLDO2 Output of Internal +12V LDO Regulator of Gate Driver, MCP8024 U9 TP43 IPHASE3_MB Inverter B Phase 3 Current Feedback TP44 IPHASE3_MA Inverter A Phase 3 Current Feedback TP45 — Reference Voltage Output of Comparator, U4 TP48 — Brake Enable Input to Brake Switch Driver, U5 TP49 IBRAKE_A TP50 — Reference Voltage Output of Comparator, U7 TP53 — Brake Enable Input to Brake Switch Driver, U10 Brake Circuit A Current Sensing Amplifier Output TP54 DC+ DC Power Supply (10V-24V) TP55 +12V On-board +12V LDO (U11) Regulator Output TP56 IBRAKE_B TP58 PGND Power Ground TP59 PGND Power Ground TP60 AGND Analog Ground TP61 AGND Analog Ground TP62 DVDD +3.3V or 5V Digital Power Supply from Signal Board(1) TP63 PGND Power Ground TP64 PGND Power Ground TP68 VREF_EXT +1.65V/+2.5V Voltage Reference to shift Op Amp Outputs(2) J3-1 PWM1H_A PWM Input to Driver for Inverter A Phase 1 Top MOSFET Control J3-2 PWM1L_A PWM Input to Driver for Inverter A Phase 1 Bottom MOSFET Control J3-3 PWM2H_A PWM Input to Driver for Inverter A Phase 2 Top MOSFET Control J3-4 PWM2L_A PWM Input to Driver for Inverter A Phase 2 Bottom MOSFET Control Note 1: 2: 2014 Microchip Technology Inc. Brake Circuit B Current Sensing Amplifier Output On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65V or +2.5V by the PIM plugged into the board DS50002261A-page 39 Motor Control 10-24V Driver Board (Dual/Single) TABLE 2-18: Test Point Number Test Point Name Description J3-5 PWM3H_A PWM Input to Driver for Inverter A Phase 3 Top MOSFET Control J3-6 PWM3L_A PWM Input to Driver for Inverter A Phase 3 Bottom MOSFET Control J3-7 DGND J14-1 PWM1H_B PWM Input to Driver for Inverter B Phase 1 Top MOSFET Control J14-2 PWM1L_B PWM Input to Driver for Inverter B Phase 1 Bottom MOSFET Control J14-3 PWM2H_B PWM Input to Driver for Inverter B Phase 2 Top MOSFET Control J14-4 PWM2L_B PWM Input to Driver for Inverter B Phase 2 Bottom MOSFET Control J14-5 PWM3H_B PWM Input to Driver for Inverter B Phase 3 Top MOSFET Control J14-6 PWM3L_B PWM Input to Driver for Inverter B Phase 3 Bottom MOSFET Control J14-7 DGND HA_A HALLA_MA Hall Sensor A/QEA Feedback of Motor A HB_A HALLB_MA Hall Sensor B/QEB Feedback of Motor A Digital Ground Digital Ground HC_A HALLC_MA Hall Sensor C/INDEX Feedback of Motor A HOME_A HOME_MA QEI HOME Signal of Motor A HA_B HALLA_MB Hall Sensor A/QEA Feedback of Motor B HB_B HALLB_MB Hall Sensor B/QEB Feedback of Motor B HC_B HALLC_MB Hall Sensor C/INDEX Feedback of Motor B HOME_B HOME_MB QEI HOME Signal of Motor B Note 1: 2: DS50002261A-page 40 BOARD TEST POINTS (CONTINUED) On the dsPIC® DSC Signal Board, the DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as either +1.65V or +2.5V by the PIM plugged into the board 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Chapter 3. Hardware Description 3.1 INTRODUCTION This chapter provides a more detailed description of the hardware features of the Motor Control 10-24V Driver Board (Dual/Single). The Motor Control 10-24V Driver Board (Dual/Single) is a power board with dual motor control and three-phase inverter stages that can be interfaced with the dsPIC® DSC Signal Board. The boards support PMSM/BLDC motor control application development using Microchip controllers. The Motor Control 10-24V Driver Board (Dual/Single) also features a three-phase Brushless DC (BLDC) motor gate driver with power module, MCP8024, from Microchip’s product portfolio. Motor control algorithms, position feedback interface, and current and voltage sensing circuits are built-in to facilitate development of various PMSM/BLDC motors. Two dynamic brake circuit stages are also integrated on the board. Both Inverter A and Inverter B can be operated from an input voltage in the range of 10-24V, and are capable of delivering a continuous output phase current of 10A (RMS) in the specified operating range. The dynamic brake circuit can also handle continuous current of 10A, without exceeding the specified operating conditions. Note: 3.2 Inverter A and Inverter B, and associated circuits are referred to using the symbols, A and B. HIGHLIGHTS This chapter covers the following hardware sections: • • • • • • • • Three-Phase Inverter Bridge and Gate Driver DC Bus Voltage Sensing Hall Sensor/Quadrature Encoder Interface Back-EMF and Recreated Neutral Signals Phase and Bus Current Sensing Circuits Fault Generation Logic Circuit Brake Circuit Power Supply The hardware section of the Motor Control 10-24V Driver Board (Dual/Single) is shown in Figure 3-1. 2014 Microchip Technology Inc. DS50002261A-page 41 Motor Control 10-24V Driver Board (Dual/Single) FIGURE 3-1: MOTOR CONTROL10-24V DRIVER BOARD HARDWARE SECTIONS 1 7-A 7-B 8-B 8-A 5-A 5-B 2 10-B 10-A 6-B 6-A 4-A 4-B 3 9-A 3-B 3-A 9-B Legend: 1 dsPIC® DSC Signal Board Interface Connector 3 Input Power Supply 4 Three-Phase Inverter Bridge A and B 5 Gate Driver Circuit 6 Current Sensing Shunts 7 Back-EMF Sensing Circuit 8 Hall Sensor/QE Interface Circuit 9 Motor Connector 10 Dynamic Brake Circuit Note: 2 +12V LDO Circuit A and B indicates the inverter section to which each hardware block is associated. DS50002261A-page 42 2014 Microchip Technology Inc. Hardware Description 3.3 THREE-PHASE INVERTER BRIDGE AND GATE DRIVER The three-phase motor power stage is implemented using six N-channel MOSFETs (IPB054N06N3 G), configured as three half-bridges. A resistor is connected across the gate and source of each MOSFET, to ensure soft turn-off of the MOSFET, if the gate signal is disconnected. Low-ESR ceramic capacitors are provided across each half-bridge for filtering high-frequency currents due to switching. Transient voltage suppressors are connected between each inverter supply and ground for protecting inverter and driver against voltage transients. Microchip’s three-phase, BLDC motor gate driver along with the power module, MCP8024, are used for low and high side MOSFET gate drive. Gate driver inputs are 3.3V compatible. MCP8024 provides undervoltage, overvoltage, shoot-through and short-circuit protection of the inverter bridge. It also integrates three amplifiers and an overvoltage comparator. DE2 communication (half-duplex, 9600 baud, 8-bit, no parity, single line communication link) is provided for driver Fault status indication, driver configuration and setting parameters, such as dead time, blanking time, overcurrent threshold and so on. The DE2 communication link that interfaces between the microcontroller and the MCP8024 can be established by the UART controller module, and by connecting the UART receive and transmit pins to a single line DE2 communication link of the gate driver, as shown in Figure 3-2. FIGURE 3-2: DE2 COMMUNICATION LINK Microcontroller MCP8024 TX UART RX DE2 DE2 Interface The three-phase BLDC motor gate driver, with the power module MCP8024, also integrates +5V and +12V LDO voltage regulators, capable of delivering up to 20 mA of current. The +12V LDO output from MCP8024 supplies power to the bootstrap circuit on the same chip used for driving the high side MOSFETs. The +5V LDO output is used to supply power to the amplifier circuits on the board. Pull-down resistors are added to all driver inputs to turn off MOSFETs in the absence of PWM signals. For more information on MCP8024, refer to the “3-Phase Brushless DC (BLDC) Motor Gate Driver with Power Module” (DS20005228) data sheet. 3.4 DC BUS VOLTAGE SENSING On the Motor Control 10-24V Driver Board (Dual/Single), the DC bus voltage sensing network is present in both the Inverter A and Inverter B sections. These inverters can be operated from different input voltage supplies. 2014 Microchip Technology Inc. DS50002261A-page 43 Motor Control 10-24V Driver Board (Dual/Single) 3.5 HALL SENSOR/QUADRATURE ENCODER INTERFACE The BLDC/PMSM motor control applications can read rotor position and speed information from Hall sensors or encoders. The Hall sensors can be powered by the +5V supply output available through the interface connector terminals. The Hall sensor/ Quadrature Encoder Interface circuit supports either open-collector or push-pull output sensors. A capacitor is added to each signal output to reduce the noise. The Hall sensor outputs can be interfaced with a +3.3V or +5V microcontroller. By default, the voltage divider scales down the +5V output to +3.3V. If the sensor outputs are interfaced with a +5V microcontroller, and the VIH of the controller input pins is less than 3.3V, the divider has to be modified to deliver a +5V output. Circuit configurations to set sensor output voltage are provided in Table 3-1 and Table 3-2. TABLE 3-1: OUTPUT VOLTAGE LEVEL SETTING HALL SENSOR/ QUADRATURE ENCODER INTERFACE CIRCUIT A Resistor Value to Set Signal Output Voltage Level Signal Description 3.3V (default setting) HALLA_MA (Hall Sensor A/QEA Feedback from Motor A) R40 HALLB_MA (Hall Sensor B/QEB Feedback from Motor A) R41 HALLC_MA (Hall Sensor C/INDEX Feedback from Motor A) R42 HOME_MA (QEI HOME Signal from Motor A) R43 TABLE 3-2: 5V R40 47 k 0 R41 47 k 0 R42 47 k 0 R43 47 k 0 OUTPUT VOLTAGE LEVEL SETTING HALL SENSOR/ QUADRATURE ENCODER INTERFACE CIRCUIT B Resistor Value to Set Signal Output Voltage Level Signal Description 3.3V (default setting) DS50002261A-page 44 HALLA_MB (Hall Sensor A/QEA Feedback from Motor B) R52 HALLB_MB (Hall Sensor B/QEB Feedback from Motor B) R53 HALLC_MB (Hall Sensor C/INDEX Feedback from Motor B) R54 HOME_MB (QEI HOME Signal from Motor B) R55 5V R52 47 k 0 R53 47 k 0 R54 47 k 47 k 0 R55 0 2014 Microchip Technology Inc. Hardware Description 3.6 BACK-EMF AND RECREATED NEUTRAL SIGNALS The BLDC motors can be commutated by monitoring back-EMF signals. The motor back-EMF is scaled down by voltage dividers. The capacitors can be added at divider outputs to filter the noise. An additional resistor network is added to reconstruct motor neutral signals. The recreated neutral signals, RECN_MA and RECN_MB, are connected to the J13 connector pins through zero ohm resistors (board default setting). The back-EMF sensing circuits in both inverter sections are identical. Table 3-3 provides the resistor jumper setting for connecting the recreated neutral outputs to the J13 connector pins. TABLE 3-3: RESISTOR JUMPER SETTING FOR RECREATED NEUTRAL OUTPUT SELECTION Signal Description Zero Ohm Resistor Jumper Setting RECN_MA to J13:B6 R196 To connect RECN_MA (recreated neutral output) to the B6 pin of the signal board interface connector, J13. RECN_MA 47 k R197 IPHASE3_MA J13:B6 R227 IBRAKE_A RECN_MB to J13:A12 R194 To connect RECN_MB (recreated neutral output) to the A12 pin of the signal board interface connector, J13. RECN_MB 47 k R195 IPHASE3_MB J13:A12 R228 IBRAKE_B 2014 Microchip Technology Inc. DS50002261A-page 45 Motor Control 10-24V Driver Board (Dual/Single) 3.7 PHASE AND BUS CURRENT SENSING CIRCUITS In the Motor Control 10-24V Driver Board (Dual/Single), shunt resistors are provided in each inverter leg to determine the amount of current flowing through the motor phases that are required to implement the field-oriented control of the PMSMs. An additional shunt resistor is provided for sensing bus current. DC bus current information is necessary for overcurrent protection and to implement torque control of the BLDC motors. Motor phase currents can also be reconstructed from the DC bus current information by sampling currents appropriately in the PWM switching period. A non-inverting differential amplifier is used for amplifying voltage drop across shunt resistors. The amplifier output voltage is shifted by VREF_EXT to allow positive and negative current swings. The voltage offset can be modified by a resistor divider provided in the non-inverting input of the bus current amplifiers. The Common mode and Differential mode filters are added to the op amp input pins for noise filtering. It is possible to add filters at the output of the amplifiers, if required. See Section C.3 “Motor Current Amplifier Configuration” for on-board amplifier gain setting and input filter details. Note: 3.7.1 On the dsPIC DSC Signal Board, the VREF_EXT voltage level is configured as +1.65V or +2.5V by the PIM plugged into the board. Inverter A Current Amplifiers As shown in Figure 3-3, Phase 1, Phase 2 and the bus current shunt voltage drops are transferred to the dsPIC DSC Signal Board through connector, J13. On the dsPIC DSC Signal Board, amplifiers that are internal to the dsPIC DSC are used for amplification of Phase 1, Phase 2 and the bus current signals. The comparator that is internal to the dsPIC DSC is used for overcurrent detection. For more information, refer to the “dsPIC® DSC Signal Board User’s Guide” (DS50002263). For dsPIC DSC internal amplifier gain setting information, refer to the “dsPIC33EV256GM106 5V Motor Control Plug-In Module (PIM) Information Sheet” (DS50002225) and the “dsPIC33EP512GM710 Plug-In Module (PIM) Information Sheet for Single-Dual Motor Control” (DS50002216). Please check the Microchip web site (www.microchip.com) for future Plug-In Module (PIM) Information Sheets. The Phase 3 current can be amplified using the operational amplifier, MCP6021, provided in the Inverter A section. This amplifier can also be configured to sense any phase current or bus current by populating the appropriate input resistors. The output of this amplifier can be connected to the J13 pin through the zero ohm jumper resistors. The resistor jumper setting is provided in Table 3-4. 3.7.2 Inverter B Current Amplifiers As shown in Figure 3-4, operational amplifiers, U9-A, U9-B and U9-C that are internal to MCP8024, are used for Phase 1, Phase 2 and bus current amplification. IOUT1 of the MCP8024 is also connected to an internal overcurrent comparator and generates a Fault output at the ILIMIT_OUT pin of the driver. The Motor Control 10-24V Driver Board (Dual/Single) exploits this driver feature to generate the Inverter B overcurrent Fault, known as FAULT_MB. The MCP8024 amplifier, U9-C (see Figure A-1), can be configured to sense third phase current instead of DC bus current by populating the input resistors appropriately. The operational amplifier, MCP6021, is added for Phase 3 current amplification. This amplifier can be configured to sense any phase current or bus current by populating the appropriate input resistors. The output of this amplifier can be connected to the J13 pins through zero ohm jumper resistors. The resistor jumper setting is provided in Table 3-5. DS50002261A-page 46 2014 Microchip Technology Inc. Hardware Description TABLE 3-4: RESISTOR JUMPER FOR INVERTER A THIRD PHASE CURRENT OUTPUT SELECTION Signal Description Zero Ohm Resistor Jumper Setting IPHASE3_MA to J13:B6 R196 To connect IPHASE3_MA (output of phase current sensing amplifier, U3) to the B6 pin of the signal board interface connector, J13. RECN_MA R197 IPHASE3_MA 470 k J13:B6 R227 IBRAKE_A TABLE 3-5: RESISTOR JUMPER FOR INVERTER B THIRD PHASE CURRENT OUTPUT SELECTION Signal Description Zero Ohm Resistor Jumper Setting IPHASE3_MB to J13:A12 R194 To connect IPHASE3_MB (output of phase current sensing amplifier, U2) to the A12 pin of the signal board interface connector, J13. RECN_MA R195 IPHASE3_MA 0 J13:A12 R228 IBRAKE_A 2014 Microchip Technology Inc. DS50002261A-page 47 Motor Control 10-24V Driver Board (Dual/Single) FIGURE 3-3: INVERTER A CURRENT SENSING CIRCUIT ARCHITECTURE Power Board VDC_A Signal Board Three-Phase Inverter Bridge – A Phase 1 Current (+) 0.015 Phase 1 Current (–) Phase 2 Current (+) Phase 3 Current (+) Rsh7 Rsh1 0.015 Phase 2 Current (–) 0.015 Rsh2 Phase 3 Current (–) Bus Current (+) 0.015 Rsh5 Bus Current (–) PGND R192 Phase 3 Current (+) R190 Bus Current (+) 0 R191 Bus Current (–) J13 0 C19 + B19 – Phase 2 Current (+) C23 + Phase 2 Current (–) B22 Phase 1 Current (+) B23 Phase 1 Current (–) C26 R193 R189 Phase 3 Current (–) Phase 1 Current (+) R186 Phase 2 Current (+) R184 Phase 3 Current (+) R R181 Phase 3 Current (–) R R180 U3 + R197 B6 MCP6021 – FAULT_MA Interface Connector R187 Signal Board Interface Connector Bus Current (+) – + – – CMP + Phase 2 Current (–) R178 dsPIC33EP Phase 1 Current (–) R177 Bus Current (–) DS50002261A-page 48 2014 Microchip Technology Inc. Hardware Description FIGURE 3-4: INVERTER B CURRENT SENSING CIRCUIT ARCHITECTURE VDC_B Three-Phase Inverter Bridge – B Phase 2 Current (+) Phase 1 Current (+) Rsh8 0.015 Phase 3 Current (+) Rsh3 0.015 Phase 2 Current (–) Phase 1 Current (–) Rsh4 0.015 Phase 3 Current (–) Bus Current (+) Rsh6 0.015 Bus Current (–) PGND R32 Phase 3 Current (+) R164 R Bus Current (+) U9 R161 R64 Bus Current (+) MCP8024 R Bus Current (–) 18 R21 R22 17 Phase 3 Current (–) R31 Phase 2 Current (+) Phase 2 Current (+) R62 R R Phase 2 Current (–) U2 14 13 + B – 12 + MCP6021 R35 Phase 3 Current (–) – IOUT1 C 16 Phase 1 Current (+) Phase 3 Current (+) + Phase 1 Current (+) – Phase 1 Current (–) 11 10 + A – 9 R19 R195 Phase 2 Current (–) R20 DVDD ILIMIT_OUT Phase 1 Current (–) 15 FAULT_MB R34 TX Bus Current (–) RX – CMP + DAC REF 44 DE2 Interface J13 A12 A15 B16 C16 C36 B15 B12 Signal Board Interface Connector 2014 Microchip Technology Inc. DS50002261A-page 49 Motor Control 10-24V Driver Board (Dual/Single) 3.8 FAULT GENERATION LOGIC CIRCUIT This section describes the Fault outputs on the Motor Control 10-24V Driver Board (Dual/Single). There are three Fault outputs: Inverter A Overcurrent Fault (FAULT_MA), Inverter B Overcurrent Fault (FAULT_MB) and combined Fault (Fault_AB). All Faults are active-low outputs. 3.8.1 Inverter A Overcurrent Fault (FAULT_MA) The Inverter A Overcurrent Fault output, FAULT_MA, is generated on the dsPIC DSC Signal Board and is transferred to the Motor Control 10-24V Driver Board (Dual/Single) through connector, J13. On the dsPIC DSC Signal Board, the comparator internal to the dsPIC DSC is used to generate the Overcurrent Fault FAULT_MA. 3.8.2 Inverter B Overcurrent Fault (FAULT_MB) The Inverter B Overcurrent Fault, FAULT_MB, is generated by the comparator internal to the gate driver, MCP8024 (U9). The output of the operational amplifier (U9-C), configured to amplify bus current, is connected internally to the inverting input of the comparator. The non-inverting input of the comparator threshold may be set with a SET_ILIMIT command from the microcontroller to MCP8024 through the DE2 communications link. For more information on DE2 communication and message protocol, refer to the “3-Phase Brushless DC (BLDC) Motor Gate Driver with Power Module” (DS20005228A) data sheet. 3.8.3 Combined Fault (FAULT_AB) The Fault generation circuit performs logical and Overcurrent Faults, FAULT_MA and FAULT_MB, to generate a single Fault output called FAULT_AB. Table 3-6 provides the truth table of the Fault generation logic circuit. TABLE 3-6: FAULT GENERATION LOGIC TRUTH TABLE FAULT_MA FAULT_MB FAULT_AB 0 0 0 0 1 0 0 1 0 1 1 1 Fault inputs, FAULT_MA or FAULT_MB, can be transferred to the Fault logic circuit output, FAULT_AB, by setting the other input at logic ‘1’. Figure 3-5 shows three possible configurations of Fault generation logic. DS50002261A-page 50 2014 Microchip Technology Inc. Hardware Description FIGURE 3-5: FAULT GENERATION LOGIC CIRCUIT CONFIGURATIONS Configuration 1: R28 DVDD R29 FAULT_MA 0 FAULT_AB = ‘FAULT_MA’ and ‘FAULT_MB’ R30 FAULT_MB 0 R27 DVDD Configuration 2: R28 DVDD R29 FAULT_MA 0 R30 A B Y FAULT_AB = ‘FAULT_MA’ FAULT_MB R27 DVDD LOGIC ‘1’ 0k 4.7 Configuration 3: R28 DVDD 4.7 k LOGIC ‘1’ R29 FAULT_MA A R30 FAULT_MB B Y FAULT_AB = ‘FAULT_MB’ 0 R27 DVDD 2014 Microchip Technology Inc. DS50002261A-page 51 Motor Control 10-24V Driver Board (Dual/Single) 3.9 BRAKE CIRCUIT In motor control applications, during deceleration or periods of swift reversal, the motor can work as a generator, feeding energy back into the motor drive. When the motor drive does not provide four quadrant operation, and the braking power is not dissipated, the DC link voltage will increase and cause an overvoltage condition. During regeneration or braking, a dynamic brake (brake switch in-series with a brake resistor connected across the DC bus) can be employed to absorb this excess energy, thereby ensuring that the DC link voltage is maintained at a safe operating level. In the Motor Control 10-24V Driver Board (Dual/Single), dynamic brake circuits are provided for both the inverters. As per the application requirement, the user can add a brake resistor to the respective brake circuits using the on-board terminals. The diode is provided across the brake resistor terminals to free wheel current due to the inductance of the brake resistor. The brake switches can handle 10A (RMS) @ +25ºC in the operating voltage range. The value of the resistor should be chosen such that the current is less than 10A at peak DC bus voltage. By default, the Braking Chopper Circuits are disabled by pull-down resistors connected as inputs of the MOSFET driver, TC1412N. The brake switch can be controlled either through a hardware overvoltage detection comparator with hysteresis or through software brake enable. Figure 3-6 shows the brake circuit block diagram. Resistors to select the brake enable signal are provided in Table 3-7. FIGURE 3-6: BRAKE CIRCUIT BLOCK DIAGRAM VDC Overvoltage Comparator VIN+ Load VOUT VOH VOL VINVTL VR VTH Brake Switch Brake Enable from dsPIC® DSC DS50002261A-page 52 MOSFET Driver TC1412N 2014 Microchip Technology Inc. Hardware Description TABLE 3-7: BRAKE ENABLE SIGNAL CONFIGURATION RESISTORS Brake Enable Signal Brake Circuit Hardware Brake Enable Firmware Brake Enable R232 Disable Brake Circuit (default setting) R232 R232 R238 R238 0 Brake Circuit – A R238 0 R239 R239 R239 47 k 10 R248 R248 R248 R254 R254 0 Brake Circuit – B R254 0 R255 R255 R255 10 k 3.9.1 Firmware Brake Enable Signal (BRAKE_EN_A or BRAKE_EN_B): The user firmware has to monitor the DC bus voltage and the brake enable signal to be made active if the voltage exceeds the predefined threshold level. The brake enable signal is turned off when the voltage reaches a safe inverter operating voltage. The firmware brake enable signal can be Pulse-Width Modulated at an appropriate frequency for brake switch control. The dsPIC DSC output compare module can be used for generating PWMs for controlling the brake switch. 3.9.2 Hardware Brake Enable Circuit The non-inverting comparator circuit, MCP65R41, is provided on the board to generate a hardware brake enable signal and to control dynamic braking without firmware intervention. A voltage divider circuit is provided to monitor the bus voltage. The output of the DC bus voltage divider is fed to the non-inverting input of the comparator. The inverting input of the comparator is generated by dividing the Comparator Voltage Reference (VREF) output, 2.4V. The hysteresis ensures that false triggering does not occur due to noise spikes and ripple voltage present on the DC bus voltage. The comparator hysteresis is configured externally by the resistors. There may be variation in the trip levels due to component tolerance and variation in comparator operating voltage. See Section C.5 “Hardware Brake Enable Circuit Configuration” for equations to calculate comparator hysteresis. 2014 Microchip Technology Inc. DS50002261A-page 53 Motor Control 10-24V Driver Board (Dual/Single) 3.9.3 Brake Current Sensing Amplifier An MCP6021 device-based, non-inverting differential amplifier is added to sense the current through the brake resistor. A shunt resistor is added in-series with the brake switch for sensing the current. The voltage across the shunt resistor is connected to the differential amplifier inputs. See Section C.4 “Brake Current Amplifier Configuration” for brake current amplifier gain setting. The brake current amplifier output can be connected to an analog pin of the controller through connector, J13, by configuring the resistor jumpers. The resistor jumper setting is shown in Table 3-8. TABLE 3-8: RESISTOR JUMPER TO SELECT BRAKE CURRENT OUTPUT SIGNAL Signal Description Zero Ohm Resistor Jumper Setting IBRAKE_A to J13:B6 R196 To connect IBRAKE_A (output of brake current sensing amplifier, U6) to the B6 pin of the signal board interface connector, J13. RECN_MA R197 IPHASE3_MA J13:B6 R227 IBRAKE_A 0 47 k 0 IBRAKE_B to J13:A12 R194 To connect IBRAKE_B (output of brake current sensing amplifier, U12) to the A12 pin of the signal board interface connector, J13. RECN_MB R195 IPHASE3_MB J13:A12 R228 IBRAKE_B DS50002261A-page 54 0 0 47 k 0 2014 Microchip Technology Inc. Hardware Description 3.10 POWER SUPPLY The Motor Control 10-24V Driver Board (Dual/Single) receives power through the connectors, J5 or J8. The same voltage is transferred to the signal board through connector, J13. Each inverter bridge and its associated circuits can be powered independently, allowing each power stage to operate at a different voltage level. Inverter A can be powered up by a voltage source connected to connector, J1, if a wire jumper between TP3-TP7 is disconnected. Similarly, Inverter B can be powered up by a different voltage source connected to connector, J6, if a wire jumper between TP7-TP8 is disconnected. See Section 2.3.1 “Power Supply Connectors (J5, J8, J1 and J6)” for configuration details. Each MCP8024 gate driver is operated from the voltage supply that is powering the respective inverter bridge. The supply for biasing the low side gate drive and the bootstrap circuit for the high side gate drive is regulated by the +12V LDO, internal to MCP8024. The output of the +5V LDO, internal to the gate drivers, U8 and U9, supplies power to the operational amplifier, MCP6021, in the respective inverter sections. The low dropout voltage regulators, +5V and +12V, internal to MCP8024, are capable of delivering current up to 20 mA. For more information on the specifications of the +5V or +12V LDO that are internal to MCP8024 and the bootstrap circuit requirements, refer to the “3-Phase Brushless DC (BLDC) Motor Gate Driver with Power Module” (DS20005228) data sheet. The signal board provides a +5V DC output for powering Hall sensors or encoders. The DVDD (+3.3V/+5V) for powering the Fault generation logic for the overvoltage detection comparator circuit and the hardware brake enable is provided through connector, J13. The voltage reference (VREF_EXT) for the operational amplifier output offset is also provided by the signal board through connector, J13. The on-board +12V LDO (U11) supplies power to the MOSFET driver, TC1412N (U5 and U10), circuitry. The same +12V LDO output is also available through connector, J16, for powering the external circuits. Figure 3-7 shows the Motor Control 10-24V Driver Board (Dual/Single) power supply architecture. 2014 Microchip Technology Inc. DS50002261A-page 55 MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) POWER SUPPLY ARCHITECTURE J13 120-Pin Signal Board Interface Connector DC+ DC+ Fault Generation Logic +12V +12V LDO DVDD Inverter A Section +5V +5V 5VLDO2 VDC_A U8 +5V To Sensors Amplifier – 3rd Phase Current 5VLDO1 MCP8024 Three Op Amps and a Comparator +5V LDO Three Op Amps and a Comparator +12V LDO Low Side Drivers +12V LDO Low Side Drivers 5VLDO1 5VLDO1 High Side Drivers High Side Drivers Bootstrap Circuit Bootstrap Circuit 12VLDO1 12VLDO2 2014 Microchip Technology Inc. DVDD Driver TC1412N +12V VDC_A VDC_A I/P Supply Connector 3 TP3 TP6 Hall Sensor/ Quadrature Encoder Interface 5VLDO2 Amplifier – 3rd Phase Current Dynamic Brake Circuit B 5VLDO2 Brake Current Sense Circuit DVDD Hardware Brake Enable Circuit +12V Driver TC1412N VDC_B DC+ 3 J1 Brake Switch +5V Three-Phase Inverter Bridge Three-Phase Inverter Bridge Hardware Brake Enable Circuit VREF_EXT Inverter B Section +5V LDO Dynamic Brake Circuit A Brake Current Sense Circuit VDC_B AVDD U9 MCP8024 Hall Sensor/ Quadrature Encoder Interface DVDD J5 J8 I/P Supply Connector Input Jack Input Supply 9-26.4V TP7 TP8 J6 I/P Supply Connector VDC_B Brake Switch +5V To Sensors Motor Control 10-24V Driver Board (Dual/Single) DS50002261A-page 56 FIGURE 3-7: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Appendix A. Board Schematics and Layout A.1 INTRODUCTION This chapter provides detailed technical information on the Motor Control 10-24V Driver Board (Dual/Single). A.2 BOARD SCHEMATICS AND LAYOUT The following are the Motor Control 10-24V Driver Board (Dual/Single) schematics: • Figure A-1: Motor Control 10-24V Driver Board (Dual/Single) Schematics (Sheet 1 of 3) • Figure A-2: Motor Control 10-24V Driver Board (Dual/Single) Schematics (Sheet 2 of 3) • Figure A-3: Motor Control 10-24V Driver Board (Dual/Single) Schematics (Sheet 3 of 3) • Figure A-4: Motor Control 10-24V Driver Board (Dual/Single) Layout 2014 Microchip Technology Inc. DS50002261A-page 57 PWM3L_A PWM3H_A PWM2L_A PWM2H_A PWM1L_A PWM1H_A MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) SCHEMATIC REVISION 1.0 (SHEET 1 OF 3) R200 R201 R202 R203 R204 R205 47k 0603 47k 0603 47k 0603 47k 0603 47k 0603 47k 0603 A U8 13 U8:ISENSE2- 14 U8:ISENSE2+ R198 10k DVDD 15 0603 U8:IOUT1 16 17 U8:ISENSE1- 18 U8:ISENSE1+ 19 20 21 22 23 24 49 PGND VDD ISENSE3+ VDD IOUT2 LX ISENSE2- PGND ISENSE2+ PGND ILIMIT_OUT +12V I_OUT1 VBA I_SENSE1- VBB I_SENSE1+ VBC PGND FA PGND FB LA FC LB HA LC HB PGND HC 41 R127 3 2 1 AGND DNP IN1+ C16 40 4.7 μF 25V TP29 37 VB3_A C46 10 μF 50V 2220 TP30 35 PHASE1_MA PGND 0R 0603 3 2 1 AGND 31 VB3_A 30 PHASE1_MA 29 PHASE2_MA 28 PHASE3_MA IN2+ 3.3 μF 25V 0805 10R DNP R138 0R 0603 GT1H_A 10R DNP GT3H_A DNP 10R IN3+ 3 2 1 J15 5 4 3 2 1 2014 Microchip Technology Inc. AGND IPB054N06N3 G TP24 GT2H_A Q1 G GT1H_A 332k 0603 R80 10R R68 DNP C3 4.7 μF 50V 1210 PGND PHASE1_MA HALLC_MA R69 GT2L_A DNP R82 TP27 D12 10R R70 DNP TP28 GT1L_A GT1L_A IPB054N06N3 G G R7 Q7 C58 DNP GT2H_A IPB054N06N3 G G 332k DGND Note: The operational amplifiers, U8-A, U8-B, U8-C shown in the schematic, are internal to the MCP8024. OUT1 0R 0603 C35 C4 Q2 4.7 μF 50V 1210 C59 DNP R144 R145 1k 0R 0603 R3 332k 0603 PGND IPB054N06N3 G G Q8 332k 0603 Rsh1 .015 R OARS-3 SHUNT_HIGH_3_A .015 R OARS-3 SHUNT_HIGH_SUM_A Rsh5 .015 R OARS-3 R13 0R 0603 J3 DNP SHUNT_HIGH_SUM_A PWM1H_A SHUNT_LOW_SUM_A DGND SHUNT_HIGH_SUM_A PWM2L_A R214 U8:IOUT3 9 + SHUNT_HIGH_SUM_A PWM3L_A OUT3 0R 0603 SHUNT_HIGH_SUM_A SHUNT_HIGH_3_A AGND SHUNT_HIGH_SUM_A PWM1L_A 1k PWM2H_A R114 1k PWM2L_A R115 1k PWM3L_A PWM3H_A R116 1k R117 1k SHUNT_HIGH_1_A VDC_A R118 1k D25 GREEN D26 GREEN DGND D27 GREEN DGND D28 GREEN DGND D29 GREEN DGND D30 GREEN DGND TP9 TP1 VBUS_A R16 1.8k 0603 Tolerance of all resistors in the page must be 1% AGND R179 DNP R178 47k AGND DNP R181 1k R184 DNP R187 DNP 5VLDO1 R182 C41 1k 1000 pF 100V R185 0603 1k 4 -A U3 OUTA 3 DE2_TX_A C9 0.1 μF 16V 0603 AGND DE2_RX_A R23 2k 0603 DE2_A TP44 MCP6021 VDD R183 1 IPHASE3_MA 0R 0603 VSS +A C42 DNP C43 AGND 470 pF R186 DNP AGND 470 pF 1k R189 0.1 μF 25V DNP C40 R180 DNP C39 R215 AGND R188 R278 47k 0R AGND R224 R275 DNP DNP VREF_EXT TP68 TP PAD PCB 1.2x0.7 AGND R15 18k 0603 DGND 5VLDO1 R177 C37 DNP R113 Rsh2 SHUNT_HIGH_SUM_A PWM2H_A PWM1H_A SJ-5518 PGND Q9 R9 .015 R OARS-3 AGND PAD1 PAD2 PAD3 PAD4 PAD5 IPB054N06N3 G G GT3L_A Rsh7 DNP DGND DNP PHASE3_MA 332k 0603 PWM3H_A 11 PGND C60 SHUNT_HIGH_SUM_A C36 0R 0603 10 U8-A 4.7 μF 50V 1210 OUT2 0R 0603 DNP U8:ISENSE3+ C5 Q3 PGND R213 U8:IOUT2 12 + U8:ISENSE3- IPB054N06N3 G G GT3H_A SHUNT_HIGH_2_A SHUNT_LOW_SUM_A R141 DNP DGND VDC_A PGND R8 PWM1L_A DNP 100 pF DGND SHUNT_HIGH_1_A R212 U8:IOUT1 16 + AGND R143 C22 91k 100 pF DGND 1 2 3 4 5 6 7 R142 R47 C21 91k 100 pF DGND 0603 PGND SHUNT_HIGH_2_A RUBBER PAD 0.50x0.50x0.23 DGND R46 C20 91k 100 pF DGND R2 GT2L_A DNP AGND R45 C19 PHASE2_MA DNP AVDD HALLB_MA HOME_MA TP26 GT3L_A 332k 0603 R176 +5V DVDD TP25 DNP R175 47k HOME_A HALLA_MA 91k R1 DNP 13 – U8-B IN3- VREF_EXT R66 DNP DNP DNP IN3+ IN3OUT3 10R D8 DNP R67 D10 17 – U8-C 14 R43 HC_A R78 TP23 0R 0603 U8:ISENSE2+ 47k DGND R79 D9 25 DNP U8:ISENSE2- 47k R42 INVERTER A R65 DNP DNP 26 R136 1k R41 R77 D7 R140 DNP 3.3 μF 25V 0805 R134 DNP 47k PGND AGND R137 HB_A HA_A R40 DGND AGND J12 4.7k 4.7 μF 25V 27 18 R39 4.7k C11 VB2_A DNP R139 3.3 μF 25V 0805 0R 0603 U8:ISENSE1- R38 4.7k R44 PGND U8:ISENSE1+ R37 4.7k PHASE3_MA VB1_A 32 R128 DNP R36 C48 R126 R130 +5V 12VLDO1 33 DNP VREF_EXT C47 R81 1k 1 2 3 4 5 6 PHASE2_MA 34 IN2- IN2+ IN2OUT2 SSA24 VDC_A C13 36 +5V ED500/6DS AGND DNP D21 SSA24 VB2_A R133 J11 D20 SSA24 PAD DNP R135 D19 VB1_A PGND 38 MCP8024 R129 R131 0R 1206 5VLDO1 39 IN1- VREF_EXT 0R 1206 PHASE3_MA PHASE2_MA PHASE1_MA J2 D11 IN1IN1+ OUT1 0R 1206 OSTVI030152 TP17 DNP J10 R267 D 12 U8:IOUT2 FB ISENSE3- 42 R266 S 11 U8:ISENSE3+ IOUT3 +5V R265 D 10 CAP2 J7 S 9 U8:IOUT3 U8:ISENSE3- PGND LV_OUT1 DGND 5 DGND 8 47k 0603 DE2_A C44 1 μF 25V DGND 12VLDO1 R73 44 43 DGND 2 10k 0603 CAP1 DGND D 7 R72 DE2 HV_IN1 PWM3L_A DGND S 5VLDO1 HV_IN2 45 DGND DVDD D 6 PWM3L PWM2L_A PWM3H_A S 10k 0603 LV_OUT2 PWM2H_A 47 46 D 5 R167 DGND PWM3H S JP2 CE 48 D 47k 0603 PWM2L S 2 1 R74 4 PWM2H PWM1H 2 1 3 CE_A PWM1L 3 2 MOTOR A 1 PWM1L_A PWM1H_A Motor Control 10-24V Driver Board (Dual/Single) DS50002261A-page 58 FIGURE A-1: 14 U9:ISENSE2+ DVDD R199 10k 0603 15 ILIMIT_OUT_B 16 U9:IOUT1 17 U9:ISENSE1- 18 U9:ISENSE1+ 19 20 21 22 23 24 49 VDD IOUT2 PGND ISENSE2+ PGND ILIMIT_OUT +12V I_OUT1 VBA I_SENSE1- VBB I_SENSE1+ VBC PGND FA PGND FB LA FC LB HA LC 37 D23 PWM3L_B PWM3H_B J9 PHASE3_MB PHASE2_MB PHASE1_MB SSA24 SSA24 C12 4.7 μF 25V VB2_B VB3_B +5V SSA24 J4 C50 3.3 μF 25V 0805 PHASE1_MB 3.3 μF 25V 0805 1 2 3 4 5 6 C51 3.3 μF 25V 0805 +5V R48 R49 R50 R51 4.7k 4.7k 4.7k 4.7k ED500/6DS 28 D13 PHASE3_MB 10R R169 D14 26 D15 25 10R R170 DNP R85 10R R171 DNP TP37 GT3H_B DNP DNP R172 10R DNP R173 10R TP39 GT2L_B DNP GT2H_B TP36 DNP GT3L_B TP38 GT1L_B TP40 INVERTER B D18 R174 10R DNP GT1H_B IPB054N06N3 G G 1k U9:ISENSE3- 1k U9:ISENSE3+ 10 – U9-A R149 470 pF SHUNT_HIGH_2_B DGND 100 pF DGND DGND VDC_B GT1L_B C61 DNP GT2H_B IPB054N06N3 G G R5 332k 0603 C7 Q5 4.7 μF 50V 1210 PGND PGND C62 DNP R6 332k 0603 IPB054N06N3 G G Q10 GT2L_B C8 Q6 4.7 μF 50V 1210 PGND PGND PHASE2_MB R10 IPB054N06N3 G G GT3H_B IPB054N06N3 G G R11 332k 0603 Q11 IPB054N06N3 G G GT3L_B R12 Q12 332k 0603 SHUNT_HIGH_3_B 13 – U9-B U9:ISENSE2U9:ISENSE2+ 14 TP14 R156 0R 0603 1k 470 pF C76 SHUNT_LOW_SUM_B AGND DNP AGND Rsh4 .015 R OARS-3 Rsh6 VREF_EXT R219 47k Rsh3 .015 R OARS-3 SHUNT_HIGH_SUM_B DNP R159 C77 IPHASE2_MB U9:IOUT2 12 + Rsh8 .015 R OARS-3 R14 .015 R OARS-3 0R 0603 PGND J14 DNP 1 2 3 4 5 6 7 SHUNT_HIGH_SUM_B SHUNT_HIGH_3_B C78 DNP 470 pF R160 R161 R162 1k 1k R164 1k C79 1000 pF 100V R165 0603 1k R32 C81 DNP 470 pF U9:ISENSE1- R166 DS50002261A-page 59 DNP PWM2H_B TP15 5VLDO2 DGND IBUS_MB U9:IOUT1 0R 0603 1k GREEN DGND Tolerance of all resistors in the page must be 1% R20 DNP R19 DNP R35 1k AGND R280 DNP PWM2L_B PWM2H_B R120 1k R121 1k D32 GREEN DGND D33 GREEN DGND PWM3H_B R122 1k D34 GREEN DGND AGND VDC_B PWM3L_B R123 1k R17 R124 1k 18k 0603 TP10 D35 GREEN DGND VBUS_B D36 R18 GREEN 1.8k 0603 DE2_TX_B C10 0.1 μF 16V 0603 DGND AGND AGND DE2_RX_B R24 2k 0603 SHUNT_HIGH_3_B R62 1k SHUNT_HIGH_SUM_B R64 DNP SHUNT_HIGH_2_B R31 DNP SHUNT_HIGH_1_B R22 DNP C18 DNP R33 C27 0.1 μF 25V 47k AGND 470pF 5VLDO2 R60 C28 TP2 D31 SHUNT_HIGH_SUM_B SHUNT_HIGH_SUM_B VREF_EXT 0R R225 DNP SHUNT_HIGH_SUM_B PWM3L_B DNP PWM1L_B R119 R34 PWM3H_B C80 AGND PWM1H_B SHUNT_LOW_SUM_B PWM2L_B R163 16 + 18 R279 47k R221 AGND 17 – U9-C SHUNT_HIGH_SUM_B PWM1L_B DNP U9:ISENSE1+ SHUNT_HIGH_SUM_B PWM1H_B R220 47k 1000 pF 100V 0603 1k 4 5 SHUNT_LOW_SUM_B R21 -A VDD OUTA R63 1k 3 U2 TP43 MCP6021 1 R61 IPHASE3_MB 0R 0603 VSS +A 2 AGND SHUNT_HIGH_SUM_B 470 pF AGND R71 AGND AGND R277 47k 0R R226 R276 DNP DNP VREF_EXT AGND DE2_B C29 DNP C34 C63 DNP PGND PHASE3_MB SHUNT_HIGH_2_B 1000 pF 100V R158 0603 1k 91k 100 pF DGND SHUNT_HIGH_1_B DNP 1k C75 DGND C26 AGND R218 47k R155 R157 91k 100 pF DGND R59 C25 R153 DNP AGND R154 PGND PHASE1_MB 332k 0603 VREF_EXT R217 47k C74 1k C72 DNP 470 pF SHUNT_HIGH_SUM_B 0R 0603 R152 C73 AGND IPHASE1_MB U9:IOUT3 9 + 11 TP13 4.7 μF 50V 1210 S DNP 1000 pF 100V R151 0603 1k Note: The operational amplifiers, U9-A, U9-B, U9-C shown in the schematic, are internal to the MCP8024. R216 R148 C6 Q4 S 332k 0603 47k 470 pF 91k 100 pF DGND R58 C24 R88 R146 C70 HALLC_MB R57 C23 Board Schematics and Layout AGND HALLB_MB HOME_MB 91k R4 C71 47k R86 D16 PGND DNP 1k R55 R84 TP35 GT1H_B DNP DNP HOME_B HC_B HALLA_MB DGND R87 R150 47k DGND DNP SHUNT_HIGH_1_B 47k R54 R83 PAD R147 R53 R56 PHASE3_MB PGND PHASE2_MB HB_B 47k PHASE1_MB D17 SHUNT_HIGH_SUM_B HA_B R52 PHASE2_MB 27 HC D22 C49 VB1_B 29 MCP8024 PGND OSTVI030152 12VLDO2 31 DGND D24 PGND 30 DGND 0R 1206 VB3_B 34 32 DGND R270 0R 1206 VB2_B C14 33 DGND R269 0R 1206 VB1_B VDC_B 10 μF 50V 2220 TP42 35 DGND R268 TP41 PGND 36 HB PGND 4.7 μF 25V 38 LX ISENSE2- 5VLDO2 39 47k 0603 D 13 VDD ISENSE3+ R211 47k 0603 S 12 U9:IOUT2 U9:ISENSE2- ISENSE3- R210 47k 0603 DGND C17 40 FB R209 47k 0603 TP18 41 +5V IOUT3 1 μF 25V R208 47k 0603 12VLDO2 DE2_B C45 42 R207 47k 0603 D 11 U9:ISENSE3+ LV_OUT1 44 43 R206 S 10 U9:ISENSE3- CAP2 47k 0603 D 9 U9:IOUT3 CAP1 PGND R75 PWM3L_B S DGND 8 DE2 HV_IN1 B DVDD PWM3H_B D 10k 0603 5VLDO2 PWM3L HV_IN2 PWM2L_B 45 S 7 R125 LV_OUT2 PWM2H_B 46 D 6 10k 0603 PWM3H D 5 R168 DGND CE 48 47 2 1 JP3 PWM2L 3 R76 47k 0603 4 PWM2H MOTOR B 3 CE_B PWM1L PWM1H PWM2L_B 2 PWM1H_B PWM2H_B U9 1 PWM1L_B PWM1H_B PWM1L_B MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) SCHEMATIC REVISION 1.0 (SHEET 2 OF 3) 2 1 2014 Microchip Technology Inc. FIGURE A-2: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) SCHEMATIC REVISION 1.0 (SHEET 3 OF 3) Both J13 IPHASE3_MB IBRAKE_B R197 DNP R227 VBUS_A DNP DGND R194 0R DE2_RX_B R195 HALLC_MA DNP R228 IBUS_MB DNP DE2_TX_B A16 TP PAD PCB 1.6x1 BRAKE_EN_A SHUNT_LOW_SUM_A SHUNT_HIGH_SUM_A IPHASE2_MB R191 0R FAULT_MA R193 DE2_RX_A DNP SHUNT_HIGH_SUM_A DGND SHUNT_HIGH_1_A DE2_TX_A HALLA_MA VBUS_B CE_A B27 CE_B TP PAD PCB 1.6x1 HOME_MB PWM1L_A HALLC_MB HALLA_MB HALLB_MB PWM2H_A PWM2L_A PWM3H_A DGND PWM2L_B PWM1L_B PWM3H_B PWM3L_B AVDD +5V C94 1 μF 25V DC+ 0603 J8 RECN_MA AGND AGND C8 R229 PHASE2_MA R105 30.1k C10 301R AGND AGND R89 PHASE3_MA R97 R98 30.1k 301R IPHASE1_MB TP19 VPHASE3_MA R192 DNP +A TP48 R234 280K 0603 2.2M R240 2 DNP 3 R238 4 BRAKE_EN_A PGND .C24 R106 PHASE1_MB R107 30.1k VPHASE1_MB 301R BRAKE_SHUNT_LOW_A C33 PWM3L_A C34 PWM1H_B C35 PWM2H_B 301R TP50 R109 30.1k 301R TP32 VPHASE3_MB 1.2k 0603 R247 5 18k 0603 3 AGND AGND SCREW 2-56x.500 Qty 2 DGND VDC_B Mounting hardware for J13 PGND 280K 0603 R252 1.8k 0603 For wire jumper AGND R272 AGND +12V -A VDD R246 TP54 1 2 VDC_A C30 470 μF P5D10H20 PGND TP7 10 mm Populate by default TP8 J6 PGND C64 C31 PGND 10 μF 50V 5KP26A-E3/54 63V 2220 10 μF 1000 pF 100V 0603 PGND 1 C91 PGND VIN VOUT C89 3 PGND TP58 +12V C90 U7 MCP65R41/2.4V 1 VSS PGND TP53 R250 2 DNP 3 R254 4 BRAKE_EN_B 0.1 μF 0603 25V PGND TP59 TP63 PGND PGND PGND TP LOOP Black PGND TP LOOP Black PGND TP LOOP Black TP61 C65 1000 pF 100V 0603 63V 2220 10 μF PGND PGND PGND R262 R263 470R 0603 470R 0603 D1 D2 GREEN TP11 470 μF P5D10H20 JACK Power 2.1 mm Male C2 1000 pF 100V 0603 PGND Tolerance of all resistors in the page must be 1% ILIMIT_OUT_B R132 0R 0603 DGND FAULT_MB GREEN DGND R264 1k 0603 BRAKE_SHUNT_LOW_B R258 4 D3 AGND TP62 TP LOOP Black TP LOOP Red J16 VDD OUTA TP5 BRAKE_SHUNT_HIGH_B 3 DGND TP LOOP Black DVDD R27 DNP FAULT_MA R222 0R 1206 DGND DGND R261 0R 1206 AGND AGND 0R 1206 PGND DGND VSS +A 2 AGND R274 47k C15 0.1 μF 25V R29 R30 0R R28 TP16 DVDD DGND DVDD DNP 0R 1 2 A Y B DGND PGND DGND TP LOOP Black AGND DNP PGND FAULT_MB R223 R253 U1 4 SN74AHC1G09DBVR R25 TP12 4.7k 0603 R26 0R 0603 FAULT_AB Q14 IPB054N06N3 G 332k 0603 5 5VLDO2 C88 PGND 0.1 μF 0603 25V U12 MCP6021 -A 2k R260 DVDD GREEN PGND C38 DNP 22R 0603 PGND 47k 0603 PGND TP LOOP Black 5 C1 PGND AGND TP LOOP Black +12V +12V DC+ DC+ 1 3 2 +5V GND G 6 .015 R OARS-3 R257 DNP DVDD GND DNP R251 Rsh10 R273 D47 5KP26A-E3/54 OUT 8 7 BRAKE_SHUNT_LOW_B PGND TP64 TP4 DVDD 3 -24V Power Connector C33 NC 5VLDO2 TP60 2 1 470 μF P5D10H20 OUT BRAKE_SHUNT_HIGH_B VREF_EXT C32 VDD IN PGND 2k PGND D51 VDD 10k 0603 10 μF 50V PGND SS35 TAB .250 TC1412N R255 C87 D50 5 mm apart TP52 PGND U10 1 R248 2.2M VDC_B OSTVI022152 1 μF 25V 0603 VREF OUTA +A TAB .250 C86 0.1 μF 0603 25V C92 0.1 μF 0603 25V .33 μF 50V 0805 L7812CD2T-TR PGND PGND TP55 U11 DC+ D46 1 2 2014 Microchip Technology Inc. OSTVI022152 TP51 C85 5 Populate by default GND TP6 VDC_B 22R 0603 DGND PGND 2 J1 180R 0603 10 mm C83 1000 pF 50V 0603 DNP R256 PGND TP3 IBRAKE_A 1k 0603 R271 DGND R249 NUT #2-56 SS AGND DVDD 4 2k 0603 DNP AGND R243 1 VSS DVDD R245 10k 0603 Qty 2 PGND VDD +A 0.1 μF 0603 25V R112 C57 PGND TP49 47k C38 DC+ U6 MCP6021 -A 3 DNP R94 R108 C37 C40 C82 0.1 μF 0603 25V C84 FAULT_MB IPB054N06N3 G AGND AGND AGND C39 4 R244 10k 0603 DGND PHASE3_MB C36 TP34 VPHASE2_MB 2k 0603 DNP C32 R242 R103 C54 Q13 332k 0603 .015 R OARS-3 2k R93 R100 30.1k C31 BRAKE_SHUNT_HIGH_A TP31 VREF_EXT AGND AGND R99 PHASE2_MB R237 5VLDO1 OUTA C29 PWM1H_A G 22R 0603 Rsh9 2k RECN_MB C30 R235 6 PGND 5VLDO1 C27 C28 GND 7 5 BRAKE_SHUNT_LOW_A R241 10k TP33 0603 2k 0603 DNP OUT DNP BRAKE_SHUNT_HIGH_A PGND R111 C56 SHUNT_HIGH_SUM_A OUT NC 8 PGND R92 TP PAD PCB 1.6x1 C26 IN GND 47k 0603 DGND C25 VDD 10k 0603 C22 C24 TAB .250 D49 VDD PGND SHUNT_HIGH_3_A SHUNT_HIGH_2_A SS35 TC1412N R239 C69 0.1 μF 0603 25V D48 5 mm apart PGND U5 1 R232 C21 C23 1 μF 25V 0603 TP47 PGND AGND AGND SHUNT_HIGH_SUM_A TAB .250 C68 0.1 μF 0603 25V U4 MCP65R41/2.4V 1 VSS DNP 180R 0603 C20 TP46 C67 VREF OUTA R233 1.8k 0603 2k 0603 DNP C19 VDD VDC_A 22R 0603 DGND R236 10k 0603 HOME_MA R190 0R -A R230 DGND R102 C53 C17 C18 3 DGND BRAKE_EN_B C16 5 18k 0603 DGND C14 C15 R231 VDC_A TP PAD PCB 1.6x1 HALLB_MA C13 4 10k 0603 2k 0603 DNP .C12 C12 TP21 VPHASE2_MA R110 C55 C11 DVDD R90 R104 C9 +12V 0.1 μF 0603 25V 1.2k 0603 DC+ 2 1 TP20 C7 OSTT7022150 J5 DVDD C66 2k 0603 DNP 5650874-4 AGND TP45 10k 0603 R101 C52 C6 TP22 VPHASE1_MA D RECN_MB VREF_EXT R96 301R S IBRAKE_A VPHASE3_MB 0R DGND VPHASE3_MA R95 30.1k D IPHASE3_MA R196 C5 PHASE1_MA S RECN_MA VPHASE2_MB 5 VPHASE2_MA C4 2 VPHASE1_MA R91 C3 6 FAULT_AB C2 2 DGND VPHASE1_MB DVDD C1 6 A1 B1 A2 B2 A3 B3 A4 B4 A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 A13 B13 A14 B14 A15 B15 A16 B16 A17 B17 A18 B18 A19 B19 A20 B20 A21 B21 A22 B22 A23 B23 A24 B24 A25 B25 A26 B26 A27 B27 A28 B28 A29 B29 A30 B30 A31 B31 A32 B32 A33 B33 A34 B34 A35 B35 A36 B36 A37 B37 A38 B38 A39 B39 A40 B40 2 DVDD 1 AGND TP56 R259 1k 0603 IBRAKE_B C93 1000 pF 50V 0603 AGND Motor Control 10-24V Driver Board (Dual/Single) DS50002261A-page 60 FIGURE A-3: Board Schematics and Layout FIGURE A-4: MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) LAYOUT 2014 Microchip Technology Inc. DS50002261A-page 61 Motor Control 10-24V Driver Board (Dual/Single) NOTES: DS50002261A-page 62 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Appendix B. Electrical Specifications B.1 INTRODUCTION This chapter provides the electrical specifications for the Motor Control 10-24V Driver Board (Dual/Single) (see Table B-1). TABLE B-1: ELECTRICAL SPECIFICATIONS Parameter Input DC Voltage Operating Range 10-24V ±10% (9-26.4V) Maximum Input Current through Connector J5 2.5A Maximum Input Current through Connector J8 30A Maximum Input Current through Connector J1 or J6 15A Continuous Output Current per Phase @ +25ºC 10A (RMS) Brake Switch Continuous Current @ +25ºC 10A (RMS) At ambient temperature (+25ºC), the board remains within the thermal range when operating with continuous output currents of up to 10A (RMS) at the rated voltage. 2014 Microchip Technology Inc. DS50002261A-page 63 Motor Control 10-24V Driver Board (Dual/Single) NOTES: DS50002261A-page 64 2014 Microchip Technology Inc. MOTOR CONTROL 10-24V DRIVER BOARD (DUAL/SINGLE) USER’S GUIDE Appendix C. Component Selection C.1 INTRODUCTION This chapter provides detailed information on the component selection of the motor current amplifier, brake current amplifier and the hardware brake enable circuit. C.2 HIGHLIGHTS This chapter covers the following topics: • Motor Current Amplifier Configuration • Brake Current Amplifier Configuration • Hardware Brake Enable Circuit Configuration C.3 MOTOR CURRENT AMPLIFIER CONFIGURATION An amplifier circuit for sensing the motor currents on the Motor Control 10-24V Driver Board (Dual/Single), Inverter A and Inverter B sections, is shown in Figure C-1. 2014 Microchip Technology Inc. DS50002261A-page 65 Motor Control 10-24V Driver Board (Dual/Single) FIGURE C-1: MOTOR CURRENT SENSING AMPLIFIER C VREF_EXT D U9 MCP8024 B E Filter, Feedback and Bias Circuit SHUNT_HIGH_1_B A SHUNT_HIGH_SUM_B C 11 F 10 E 14 + Op Amp A 9 IPHASE1_MB – D VREF_EXT B SHUNT_HIGH_2_B A SHUNT_HIGH_SUM_B Filter, Feedback and Bias Circuit F 13 E 18 + Op Amp B – 12 IPHASE2_MB Voltage Divider VREF_EXT D C B SHUNT_HIGH_SUM_B A SHUNT_LOW_SUM_B Filter, Feedback and Bias Circuit F Voltage Divider VREF_EXT 17 + Op Amp C 16 IBUS_MB – U2 MCP6021 D C B SHUNT_HIGH_3_B A SHUNT_HIGH_SUM_B E Filter, Feedback and Bias Circuit F Voltage Divider VREF_EXT 3 4 + 1 IPHASE3_MB – U3 MCP6021 D C B SHUNT_HIGH_3_A A SHUNT_HIGH_SUM_A DS50002261A-page 66 E Filter, Feedback and Bias Circuit F 3 4 + 1 IPHASE3_MA – 2014 Microchip Technology Inc. Component Selection Figure C-2 shows the amplifier gain setting. FIGURE C-2: AMPLIFIER GAIN SETTING Filter, Feedback and Bias Circuit C 47k D 47k 470 pF 1k 1k E B 1000 pF A F 1k 1k 470 pF Equation C-1 provides the amplifier gain setting calculations. Equation C-2 and Equation C-3 show the cutoff frequency calculations using a differential-mode filter and a common-mode filter, respectively. EQUATION C-1: AMPLIFIER GAIN 47 k - = 23.5 Differential Amplifier Gain = --------------------2 1 k EQUATION C-2: CUTOFF FREQUENCY DIFFERENTIAL-MODE FILTER 1 Differential mode f –3dB ------------------------------------------------------------------------------------- 65 kHz pF- + 1000 pF 2 2 1 k 470 ---------------- 2 EQUATION C-3: CUTOFF FREQUENCY COMMON-MODE FILTER 1 Common mode f – 3dB ------------------------------------------------ 340 kHz 2 1 k 470 pF 2014 Microchip Technology Inc. DS50002261A-page 67 Motor Control 10-24V Driver Board (Dual/Single) C.4 BRAKE CURRENT AMPLIFIER CONFIGURATION Figure C-3 shows an amplifier circuit for sensing current flow through brake switches in the Motor Control 10-24V Driver Board (Dual/Single). Figure C-4 shows the brake current amplifier configuration. FIGURE C-3: BRAKE CURRENT SENSING AMPLIFIER Voltage Divider VREF_EXT U6 MCP6021 D C B BRAKE_SHUNT_HIGH_A A BRAKE_SHUNT_LOW_A E Feedback and Bias Circuit + 1 F Voltage Divider VREF_EXT 3 4 IBRAKE_A – U12 MCP6021 D C B BRAKE_SHUNT_HIGH_B A BRAKE_SHUNT_LOW_B DS50002261A-page 68 E Feedback and Bias Circuit 3 + 1 F 4 IBRAKE_B – 2014 Microchip Technology Inc. Component Selection FIGURE C-4: BRAKE CURRENT AMPLIFIER CONFIGURATION Feedback and Bias Circuit C 47k D 47k 1k B E F A 1k EQUATION C-4: AMPLIFIER GAIN k- = 23.5 Differential Amplifier Gain = 47 -------------2 k 2014 Microchip Technology Inc. DS50002261A-page 69 Motor Control 10-24V Driver Board (Dual/Single) C.5 HARDWARE BRAKE ENABLE CIRCUIT CONFIGURATION Figure C-5 shows the hardware brake enable circuit comparator with hysteresis in the Motor Control 10-24V Driver Board (Dual/Single). FIGURE C-5: HARDWARE BRAKE ENABLE CIRCUIT COMPARATOR WITH HYSTERESIS VREF (2.4V) U4 5 MCP65R41/2.4V Reference VR Voltage Divider 3 + 4 1 Hardware Brake Enable A 1 Hardware Brake Enable B – VDC_A DC Bus Voltage Divider VIN RF RIN VREF (2.4V) U7 5 MCP65R41/2.4V Reference Voltage Divider 3 VR 4 + – VDC_B DC Bus Voltage Divider DS50002261A-page 70 VIN RIN RF 2014 Microchip Technology Inc. Component Selection Figure C-6 shows the hysteresis diagram of the non-inverting comparator. FIGURE C-6: HYSTERESIS DIAGRAM – NON-INVERTING COMPARATOR VOUT VDD VOH High-to-Low Low-to-High VOL VSS VSS VTHL VTLH VDD Equation C-5 determines the input threshold voltages. EQUATION C-5: INPUT THRESHOLD VOLTAGES RIN RIN V TLH = V R 1 + ------- – V OL ------ RF RF RIN RIN V THL = V R 1 + ------- – V OL -------- RF R F Where: VOL is the saturation voltage in the low state at the comparator output. VOH is the saturation voltage in the high state at the comparator output. VTLH is the threshold voltage from low-to-high. VTHL is the threshold voltage from high-to-low. VR is the comparator reference input voltage. Equation C-6 determines RF, RIN and VR from the threshold voltage. EQUATION C-6: DETERMINING RF, RIN AND VR FROM THRESHOLD VOLTAGE V TLH + V THL V TRIP = -----------------------------2 RF V OH + V OL ------- = -----------------------------VTLH – VTHL R IN R IN VOH + V OL RF + -------------------------- V TRIP V R = ------------------------------2 R IN + RF R IN + R F Where: VTRIP is the average trip voltage at the middle of the comparator hysteresis. 2014 Microchip Technology Inc. DS50002261A-page 71 Motor Control 10-24V Driver Board (Dual/Single) C.5.1 Setting Trip Voltage The example calculations to set the DC bus upper and lower trip points, DC Bus Voltage Low-to-High (VDCLH) at 27.5V and DC Bus Voltage High-to-Low (VDCHL) at 23.5V for the hardware brake enable circuit in the Motor Control 10-24V Driver Board (Dual/Single) are shown in Equation C-7. The comparator supply voltage is 3.3V, the DC bus voltage divider circuit ratio is 11, VOH comparator is 3.1V and VOL comparator is 0.2V. The trip voltages scaled by the DC bus voltage divider circuit ratio (VTLH and VTHL) can be calculated as shown in Equation C-8. EQUATION C-7: THRESHOLD VOLTAGE CALCULATIONS 27.5 V TLH = ---------- = 2.5V 11 23.5 V THL = ---------- = 2.136V 11 From VTLH and VTHL, the middle of the hysteresis or average Trip Voltage (VTRIP) is calculated as shown in Equation C-8. EQUATION C-8: CALCULATION FOR AVERAGE TRIP VOLTAGE 2.5V + 2.136V - = 2.318V V TRIP = --------------------------------------2 From VOH, VOL, VTLH and VTHL, the hysteresis setting resistor ratio can be determined. By selecting one resistor value, the other resistor value can be calculated as in Equation C-9. EQUATION C-9: HYSTERESIS SETTING RESISTOR RATIO VALUE RF 3.1V – 0.2V ------- = --------------------------------------- = 7.967 R IN 2.5V – 2.136V If RIN is 280 k R F = 7.967 280 k = 2230.76 k 2200 k After calculating the hysteresis setting resistor values, the Comparator Reference Voltage (VR) input can be calculated as in Equation C-10. EQUATION C-10: COMPARATOR REFERENCE (VR) INPUT CALCULATION 2200 k 280 k 3.1V + 0.2V - + --------------------------------------------------V R = -------------------------------------------------------- 2.318 2 280 k + 2200 k 280 k + 2200 k = 0.186V + 2.056V = 2.24V The Comparator Reference Voltage (VR) input is generated by the voltage divider circuit supplied by the Comparator Reference Voltage (VREF) output at 2.4V. This voltage divider ratio can be calculated as, 2.4V/2.242V = 1.07. Then, the voltage divider resistors can be determined: If R2 = 18 k, then R1 =18 k 1.07 = 1.2 k DS50002261A-page 72 2014 Microchip Technology Inc. Component Selection C.6 HARDWARE BRAKE ENABLE CIRCUIT CONFIGURATION RESISTORS Configuration resistors for setting the DC bus upper and lower trip points for comparator supply voltages of 3.3V and 5V are provided in Table C-1 and Table C-2. TABLE C-1: CONFIGURATION RESISTORS IN HARDWARE BRAKE ENABLE CIRCUIT A Resistor Designator Resistor Value to Set VDCHL @ 23.5V and VDCLH @ 27.5V, If the Comparator Supply Voltage is 3.3V R233 280 k 280 k R234 2200 k 3600 k R231 18 k 36 k R229 1.2 k 1 k TABLE C-2: CONFIGURATION RESISTORS IN HARDWARE BRAKE ENABLE CIRCUIT B Resistor Designator 2014 Microchip Technology Inc. 5V Resistor Value to Set VDCHL @ 23.5V and VDCLH @ 27.5V, If the Comparator Supply Voltage is 3.3V 5V R249 280 k 280 k R250 2200 k 3600 k R247 18 k 36 k R245 1.2 k 1 k DS50002261A-page 73 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://www.microchip.com/ support Web Address: www.microchip.com Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2943-5100 Fax: 852-2401-3431 India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 China - Beijing Tel: 86-10-8569-7000 Fax: 86-10-8528-2104 Austin, TX Tel: 512-257-3370 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Cleveland Independence, OH Tel: 216-447-0464 Fax: 216-447-0643 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Novi, MI Tel: 248-848-4000 Houston, TX Tel: 281-894-5983 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 New York, NY Tel: 631-435-6000 San Jose, CA Tel: 408-735-9110 Canada - Toronto Tel: 905-673-0699 Fax: 905-673-6509 DS50002261A-page 74 China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500 China - Hangzhou Tel: 86-571-8792-8115 Fax: 86-571-8792-8116 China - Hong Kong SAR Tel: 852-2943-5100 Fax: 852-2401-3431 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China - Shenzhen Tel: 86-755-8864-2200 Fax: 86-755-8203-1760 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India - Pune Tel: 91-20-3019-1500 Japan - Osaka Tel: 81-6-6152-7160 Fax: 81-6-6152-9310 Japan - Tokyo Tel: 81-3-6880- 3770 Fax: 81-3-6880-3771 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Dusseldorf Tel: 49-2129-3766400 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Germany - Pforzheim Tel: 49-7231-424750 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Italy - Venice Tel: 39-049-7625286 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 Poland - Warsaw Tel: 48-22-3325737 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-5778-366 Fax: 886-3-5770-955 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 Fax: 44-118-921-5820 Taiwan - Kaohsiung Tel: 886-7-213-7830 Taiwan - Taipei Tel: 886-2-2508-8600 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 03/25/14 2014 Microchip Technology Inc.